Closed Jihoon closed 4 years ago
I find the same code runs fine with
vv = 'Investment|Energy Supply|Electricity|Transmission and Distribution'
.
These two variables are already in the DB.
running with debug log level:
java.sql.BatchUpdateException: ORA-12899: value too large for column "IXMP_NGFS_INTERNAL"."CHANGE_LOG"."ITEM" (actual: 261, maximum: 256)
so this means the variable name is just too long?
so this means the variable name is just too long?
That was one of my suspicions, but even longer names for MESSAGE didn't cause problems..
No, it was bug in ixmp java code. Strange that it was not detected earlier. There was wrong value written instead of timeseries variable name - a combination of variable, region, unit etc
One more PR https://github.com/iiasa/ixmp_source/pull/304
PR was merged. Could you please install ixmp from master and test (seems that issue was closed automatically by comment on PR).
Code sample or context
It may not be an IXMP issue, in which case please let me know where to move this.
I was trying to add or remove time series from a specific model (REMIND) through IXMP API from/to NGFS-internal DB.
Expected result
I expect it just removes the df and commits to the scenario. I do the same for other models on the DB (GCAM & MESSAGE) without any problems.
Problem description
I get the following error:
Versions
Output of ixmp show-versions
``` C:\ProgramData\Anaconda3\lib\site-packages\statsmodels\tools\_testing.py:19: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead. import pandas.util.testing as tm ixmp: 2.0.0.post.dev328 8c247a5 (HEAD -> origin/master, origin/master, origin/HEAD) Merge pull request #298 from iiasa/jdbc-memory-mgmt message_ix: 2.0.0 adcf0e7 (HEAD -> hackathon-reporting) Fix the bug in the previous commit message_data: installed 0fb9acd (HEAD -> add_generic_baseline_and_runscripts, Jihoon/fertilizer) Merge remote-tracking branch 'Jihoon/add_generic_baseline_and_runscripts' into add_generic_baseline_and_runscripts click: 7.0 dask: 2.14.0 graphviz: 0.12 jpype: 0.7.0 pandas: 1.0.3 pint: 0.11 xarray: 0.15.1 xlrd: 1.2.0 xlsxwriter: 1.2.7 yaml: 5.2 iam_units: installed jupyter: installed matplotlib: 3.0.2 plotnine: None pyam: 0.2.0+16.gdd7ae0c python: 3.7.4 (default, Aug 9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)] python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder: little LC_ALL: None LANG: None LOCALE: None.None ```