-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to delete scenario #382
Comments
I tested with v3.1.0 and v3.0.0 and same issue |
PR iiasa/ixmp_source#343 was opened for this on 25 September and is pending review. I don't think there is a corresponding issue in ixmp_source, so there is no further information on when that change was made on the Java side. The easiest way to find out would be to look at the blame for the related file(s). |
thanks @khaeru - so this means it won't work until the PR is merged , i.e. if I use older versions on ixmp it is still unlikely to work? |
Correct.
It means I can't tell how many versions you would need to go back in order for it to work. |
right ok - I see what you mean. |
@fonfon merged that PR in ixmp_source - and I have tested with a recompiled ixmp.jar - and it appears to work - thanks both for your help |
Thanks @fonfon! @byersiiasa (and cc @volker-krey) we will have to figure out who should take care of creating PRs to update the ixmp.jar in this repository at times when ixmp_source is updated. This is not done automatically, and was previously handled manually by @zikolach. |
#406 was just filed as a duplicate of this issue, suggesting there's some urgency to this or a continued need to fix it. As I wrote in November:
|
I did have deja vu but strange that i couldn't find this issue when I searched. Thanks @khaeru |
any glimmer of a resolution for this issue? I have tens of scenarios to delete from AR6, 100s when considering all the versions. @danielhuppmann Scenario Management delete function appears to work - do you know how / why? This interface would be ok - IF one could delete all scenario versions (runids) at the same time. @khaeru @volker-krey @danielhuppmann can it be possible to please assign someone responsible for updating the ixmp.jar file in the major releases of ixmp every 3-6 months? |
I agree this is critical—whether or not work is planned to build a new backend—but I also have no power to assign anyone.
Since no one is assigned, there is no progress, sorry. |
Trying to delete scenarios in backend using command
mp._backend.jobj.removeRunid(run_id)
This manually deletes a scenario. I have tested it on IXSE_AR6 and also IXSE_SANDBOX. This worked about 2 months ago, with presumably a slightly older version of ixmp - new machine and python installation in past weeks, so it could be a problem with my configuration but not sure.
I reinstalled ixmp and ran pytest and it appears the only errors were related to (not having) gams.
Versions
The text was updated successfully, but these errors were encountered: