iiasa / ixmp

The ix modeling platform for integrated and cross-cutting scenario analysis
https://docs.messageix.org/ixmp
Apache License 2.0
38 stars 112 forks source link

Java Error raised when loading older scenarios #381

Open OFR-IIASA opened 4 years ago

OFR-IIASA commented 4 years ago

Code sample or context

loading and old scenario with the latest ixmp/message_ix version (on "ene_ixmp").

import message_ix
import ixmp
mp = ixmp.Platform()

scen = message_ix.Scenario(mp, 'MESSAGE-GLOBIOM CD-LINKS R2.3.1', 'NPi2020-con-prim-dir-ncr')

Expected result

loads message_ix.Scenario object

Problem description

RuntimeError: unhandled Java exception: No Set 'rating' exists in this Scenario!

Versions

ixmp/master message_ix/master