Page 1 of 2

Import problem with ROE

PostPosted: 19 Apr 2010, 19:57
by Burnf
I get this error after doing the import scripts off the new Goblin Hero masterbase
Any ideas how to fix?

arcane.ArcaneException: Invalid picture number "Alt" for card: Ertai, the Corrupted
at arcane.Card.<init>(Card.java:137)
at arcane.CardDataStore.populate(CardDataStore.java:152)
at arcane.Arcane$DataLoader.loadCardData(Arcane.java:506)
at arcane.Arcane$DataLoader.load(Arcane.java:428)
at arcane.util.Loader.run(Loader.java:78)
at java.lang.Thread.run(Unknown Source)

Re: Import problem with ROE

PostPosted: 20 Apr 2010, 08:49
by Snacko
Picture numbers are supposed to be numerical, but here it's a string 'Alt', you would need to change this to a number.

Re: Import problem with ROE

PostPosted: 20 Apr 2010, 11:18
by Burnf
Seems there's a few cards like this after the import. Now it's saying the same thing about Skyship Weatherlight. Perhaps there's been a change in the way Goblin Hero handled his masterbase?

Would it be possible to have future versions of the import script check for non-numeric values in that field and replace if invalid entries are found? Or perhaps go the other way, make it so deckbuilder accepts non-numeric and display non-numeric values for that field.

Re: Import problem with ROE

PostPosted: 20 Apr 2010, 14:26
by Snacko
Yes, from what I remember the masterbase had some changes since GH made Magic Album.

You can test this version, which allows for version strings like Alt, April etc.
http://www.mediafire.com/?njztkztclii

Re: Import problem with ROE

PostPosted: 20 Apr 2010, 22:22
by Burnf
The executable doesn't seem to want to start after adding those. :(

Don't suppose anyone has gotten the import to work and can upload that?

Re: Import problem with ROE

PostPosted: 21 Apr 2010, 16:51
by Snacko
You can test this package as it contains data as well. There might still be some functionality not working as I didn't test those changes extensively.

http://www.mediafire.com/file/iyazdnzty ... ing-ROE.7z

Re: Import problem with ROE

PostPosted: 22 Apr 2010, 03:25
by Burnf
I tried those files and got a similar result, so I wanted to install a fresh copy of the deckbuilder. I tried to get the latest version off the main thread (viewtopic.php?f=29&t=464), but the download link is dead. So, I went and grabbed the latest version off that Card Proxy Generator and Deckbuilder updates link in your post and then did the update.
I got the following error:

MagicTraders: Unknown set "med" for card: ankh of mishra
MagicTraders: Unknown set "med" for card: armageddon
MagicTraders: Unknown set "med" for card: ball lightning
MagicTraders: Unknown set "med" for card: berserk
MagicTraders: Unknown set "ar" for card: creeping mold
MagicTraders: Unknown set "med" for card: crusade
MagicTraders: Unknown set "ar" for card: diabolic edict
MagicTraders: Unknown set "ar" for card: fling
MagicTraders: Unknown set "med" for card: force of will
MagicTraders: Unknown set "med" for card: fyndhorn elves
MagicTraders: Unknown set "med" for card: goblin grenade
MagicTraders: Unknown set "med" for card: ice storm
MagicTraders: Unknown set "med" for card: illusionary wall
MagicTraders: Unknown set "ar" for card: island
MagicTraders: Unknown set "med" for card: khabal ghoul
MagicTraders: Unknown set "ltd" for card: lightning bolt
MagicTraders: Unknown set "med" for card: lightning bolt
MagicTraders: Unknown set "med" for card: mishra's factory
MagicTraders: Unknown set "med" for card: moat
MagicTraders: Unknown set "med" for card: nevinyrral's disk
MagicTraders: Unknown set "ltd" for card: serra angel
MagicTraders: Unknown set "med" for card: the fallen
MagicTraders: Unknown set "med" for card: thrull champion
MagicTraders: Unknown set "med" for card: time elemental
MagicTraders: Unknown set "med" for card: winter orb
arcane.ArcaneException: Card not found: myr
arcane.ArcaneException: Card not found: pegasus
arcane.ArcaneException: Card not found: demon
arcane.ArcaneException: Card not found: spirit
arcane.ArcaneException: Card not found: bird
arcane.ArcaneException: Card not found: squirrel
arcane.ArcaneException: Card not found: saproling
arcane.ArcaneException: Card not found: zombie
arcane.ArcaneException: Card not found: elephant
arcane.ArcaneException: Card not found: dragon
arcane.ArcaneException: Card not found: beast
arcane.ArcaneException: Card not found: soldier
arcane.ArcaneException: Card not found: sliver
arcane.ArcaneException: Card not found: insect
arcane.ArcaneException: Card not found: sheep
arcane.ArcaneException: Card not found: who what when where why
arcane.ArcaneException: Card not found: bear
arcane.ArcaneException: Card not found: angel
arcane.ArcaneException: Card not found: goblin
arcane.ArcaneException: Error setting card table preferences.
at arcane.ui.table.CardTable.setPreferences(CardTable.java:485)
at arcane.deckbuilder.ui.DeckBuilder.loadPreferences(DeckBuilder.java:396)
at arcane.deckbuilder.ui.DeckBuilder.access$18(DeckBuilder.java:357)
at arcane.deckbuilder.ui.DeckBuilder$1.load(DeckBuilder.java:179)
at arcane.util.Loader.run(Loader.java:95)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: No enum const class arcane.CardProperty.pictureNumber
at java.lang.Enum.valueOf(Unknown Source)
at arcane.CardProperty.valueOf(CardProperty.java:1)
at arcane.ui.table.CardTable.setPreferences(CardTable.java:463)
... 5 more

arcane.ArcaneException: Arcane Deck Builder initialization aborted.
at arcane.deckbuilder.ui.DeckBuilder.<init>(DeckBuilder.java:185)
at arcane.deckbuilder.ui.DeckBuilder.main(DeckBuilder.java:2706)

Re: Import problem with ROE

PostPosted: 22 Apr 2010, 10:53
by Snacko
Delete data/arcane.properties, it should fix your problems. There were some changes to variables and those properties link to renamed variables.

Re: Import problem with ROE

PostPosted: 22 Apr 2010, 11:30
by Burnf
Looks like some stuff in my version wants that file.
This may be because I have a long term install that has every file for the past 7 versions. The last arcana version link is broken, so can't get a fresh install file for it.

arcane.ArcaneException: File not found: "data/arcane.properties".
at arcane.ArcanePreferences.<init>(ArcanePreferences.java:41)
at arcane.Arcane$DataLoader.load(Arcane.java:417)
at arcane.util.Loader.run(Loader.java:95)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: data\arcane.properties (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at arcane.ArcanePreferences.<init>(ArcanePreferences.java:37)
... 3 more

arcane.ArcaneException: File not found: "data/arcane.properties".
at arcane.ArcanePreferences.<init>(ArcanePreferences.java:41)
at arcane.Arcane$DataLoader.load(Arcane.java:417)
at arcane.util.Loader.run(Loader.java:95)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: data\arcane.properties (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at arcane.ArcanePreferences.<init>(ArcanePreferences.java:37)
... 3 more
arcane.ArcaneException: Arcane initialization aborted.
at arcane.Arcane.setup(Arcane.java:109)
at arcane.deckbuilder.ui.DeckBuilder.main(DeckBuilder.java:2705)

Re: Import problem with ROE

PostPosted: 24 Apr 2010, 17:04
by Snacko
Ah I thought the file would be recreated, but it's other way around you need to have an empty file and all the options will be reset.

However if you still have your old arcane.properties you can open it in a text editor and delete those entries:
deckbuilder.deck.table.columns=...
deckbuilder.deck.table.widths=...
deckbuilder.deck.table.auto.resize=...
deckbuilder.deck.table.sort=....

Re: Import problem with ROE

PostPosted: 24 Apr 2010, 19:48
by motionmatrix
Hi, I installed the workspace-arcane-0.17-rc6.3.7z
and updated with wwkdeckbuilder.7z from mediafire, which is stable.
I tried updating afterwards with testing-ROE.7z and I get


arcane.ArcaneException: Error setting card table preferences.
at arcane.ui.table.CardTable.setPreferences(CardTable.java:485)
at arcane.deckbuilder.ui.DeckBuilder.loadPreferences(DeckBuilder.java:396)
at arcane.deckbuilder.ui.DeckBuilder.access$18(DeckBuilder.java:357)
at arcane.deckbuilder.ui.DeckBuilder$1.load(DeckBuilder.java:179)
at arcane.util.Loader.run(Loader.java:95)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: No enum const class arcane.CardProperty.pictureNumber
at java.lang.Enum.valueOf(Unknown Source)
at arcane.CardProperty.valueOf(CardProperty.java:1)
at arcane.ui.table.CardTable.setPreferences(CardTable.java:463)
... 5 more

any help is appreciated and thanks for the great program (my decks are just so much nastier these days) ^.^

Edit:

I noticed that Burnf had the same problem (at the end of his post some of it is the same, see below)

Burnf wrote:I tried those files and got a similar result, so I wanted to install a fresh copy of the deckbuilder. I tried to get the latest version off the main thread (viewtopic.php?f=29&t=464), but the download link is dead. So, I went and grabbed the latest version off that Card Proxy Generator and Deckbuilder updates link in your post and then did the update.
I got the following error:

MagicTraders: Unknown set "med" for card: ankh of mishra
MagicTraders: Unknown set "med" for card: armageddon
MagicTraders: Unknown set "med" for card: ball lightning
MagicTraders: Unknown set "med" for card: berserk
MagicTraders: Unknown set "ar" for card: creeping mold
MagicTraders: Unknown set "med" for card: crusade
MagicTraders: Unknown set "ar" for card: diabolic edict
MagicTraders: Unknown set "ar" for card: fling
MagicTraders: Unknown set "med" for card: force of will
MagicTraders: Unknown set "med" for card: fyndhorn elves
MagicTraders: Unknown set "med" for card: goblin grenade
MagicTraders: Unknown set "med" for card: ice storm
MagicTraders: Unknown set "med" for card: illusionary wall
MagicTraders: Unknown set "ar" for card: island
MagicTraders: Unknown set "med" for card: khabal ghoul
MagicTraders: Unknown set "ltd" for card: lightning bolt
MagicTraders: Unknown set "med" for card: lightning bolt
MagicTraders: Unknown set "med" for card: mishra's factory
MagicTraders: Unknown set "med" for card: moat
MagicTraders: Unknown set "med" for card: nevinyrral's disk
MagicTraders: Unknown set "ltd" for card: serra angel
MagicTraders: Unknown set "med" for card: the fallen
MagicTraders: Unknown set "med" for card: thrull champion
MagicTraders: Unknown set "med" for card: time elemental
MagicTraders: Unknown set "med" for card: winter orb
arcane.ArcaneException: Card not found: myr
arcane.ArcaneException: Card not found: pegasus
arcane.ArcaneException: Card not found: demon
arcane.ArcaneException: Card not found: spirit
arcane.ArcaneException: Card not found: bird
arcane.ArcaneException: Card not found: squirrel
arcane.ArcaneException: Card not found: saproling
arcane.ArcaneException: Card not found: zombie
arcane.ArcaneException: Card not found: elephant
arcane.ArcaneException: Card not found: dragon
arcane.ArcaneException: Card not found: beast
arcane.ArcaneException: Card not found: soldier
arcane.ArcaneException: Card not found: sliver
arcane.ArcaneException: Card not found: insect
arcane.ArcaneException: Card not found: sheep
arcane.ArcaneException: Card not found: who what when where why
arcane.ArcaneException: Card not found: bear
arcane.ArcaneException: Card not found: angel
arcane.ArcaneException: Card not found: goblin
arcane.ArcaneException: Error setting card table preferences.
at arcane.ui.table.CardTable.setPreferences(CardTable.java:485)
at arcane.deckbuilder.ui.DeckBuilder.loadPreferences(DeckBuilder.java:396)
at arcane.deckbuilder.ui.DeckBuilder.access$18(DeckBuilder.java:357)
at arcane.deckbuilder.ui.DeckBuilder$1.load(DeckBuilder.java:179)
at arcane.util.Loader.run(Loader.java:95)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: No enum const class arcane.CardProperty.pictureNumber
at java.lang.Enum.valueOf(Unknown Source)
at arcane.CardProperty.valueOf(CardProperty.java:1)
at arcane.ui.table.CardTable.setPreferences(CardTable.java:463)
... 5 more

arcane.ArcaneException: Arcane Deck Builder initialization aborted.
at arcane.deckbuilder.ui.DeckBuilder.<init>(DeckBuilder.java:185)
at arcane.deckbuilder.ui.DeckBuilder.main(DeckBuilder.java:2706)

Re: Import problem with ROE

PostPosted: 24 Apr 2010, 21:01
by Snacko
Solution was posted above.

Re: Import problem with ROE

PostPosted: 25 Apr 2010, 00:42
by motionmatrix
thanks 4 the help, I noticed (and placed the edit) but didn't right away. Either way, thanks =)

Re: Import problem with ROE

PostPosted: 25 Apr 2010, 09:13
by kristijanH
When can we get a working update? I tried the test one and can't start deckbuilder anymore.

Re: Import problem with ROE

PostPosted: 25 Apr 2010, 16:15
by Snacko
Same files, just clears your old configuration so you wont see those errors.
http://www.mediafire.com/file/k2ymtmwkn ... gv2-ROE.7z