It is currently 18 Apr 2024, 10:19
   
Text Size

Import problem with ROE

by Nate

Moderators: Snacko, CCGHQ Admins

Import problem with ROE

Postby Burnf » 19 Apr 2010, 19:57

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)
Burnf
 
Posts: 130
Joined: 06 Mar 2009, 15:16
Has thanked: 0 time
Been thanked: 0 time

Re: Import problem with ROE

Postby Snacko » 20 Apr 2010, 08:49

Picture numbers are supposed to be numerical, but here it's a string 'Alt', you would need to change this to a number.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Import problem with ROE

Postby Burnf » 20 Apr 2010, 11:18

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.
Burnf
 
Posts: 130
Joined: 06 Mar 2009, 15:16
Has thanked: 0 time
Been thanked: 0 time

Re: Import problem with ROE

Postby Snacko » 20 Apr 2010, 14:26

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
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Import problem with ROE

Postby Burnf » 20 Apr 2010, 22:22

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?
Burnf
 
Posts: 130
Joined: 06 Mar 2009, 15:16
Has thanked: 0 time
Been thanked: 0 time

Re: Import problem with ROE

Postby Snacko » 21 Apr 2010, 16:51

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
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Import problem with ROE

Postby Burnf » 22 Apr 2010, 03:25

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)
Burnf
 
Posts: 130
Joined: 06 Mar 2009, 15:16
Has thanked: 0 time
Been thanked: 0 time

Re: Import problem with ROE

Postby Snacko » 22 Apr 2010, 10:53

Delete data/arcane.properties, it should fix your problems. There were some changes to variables and those properties link to renamed variables.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Import problem with ROE

Postby Burnf » 22 Apr 2010, 11:30

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)
Burnf
 
Posts: 130
Joined: 06 Mar 2009, 15:16
Has thanked: 0 time
Been thanked: 0 time

Re: Import problem with ROE

Postby Snacko » 24 Apr 2010, 17:04

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=....
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Import problem with ROE

Postby motionmatrix » 24 Apr 2010, 19:48

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)
motionmatrix
 
Posts: 2
Joined: 24 Apr 2010, 19:45
Has thanked: 0 time
Been thanked: 0 time

Re: Import problem with ROE

Postby Snacko » 24 Apr 2010, 21:01

Solution was posted above.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Import problem with ROE

Postby motionmatrix » 25 Apr 2010, 00:42

thanks 4 the help, I noticed (and placed the edit) but didn't right away. Either way, thanks =)
motionmatrix
 
Posts: 2
Joined: 24 Apr 2010, 19:45
Has thanked: 0 time
Been thanked: 0 time

Re: Import problem with ROE

Postby kristijanH » 25 Apr 2010, 09:13

When can we get a working update? I tried the test one and can't start deckbuilder anymore.
kristijanH
 
Posts: 218
Joined: 24 Nov 2009, 13:49
Has thanked: 52 times
Been thanked: 11 times

Re: Import problem with ROE

Postby Snacko » 25 Apr 2010, 16:15

Same files, just clears your old configuration so you wont see those errors.
http://www.mediafire.com/file/k2ymtmwkn ... gv2-ROE.7z
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Next

Return to Deck Builder and Excellent Rules Viewer

Who is online

Users browsing this forum: No registered users and 14 guests


Who is online

In total there are 14 users online :: 0 registered, 0 hidden and 14 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 14 guests

Login Form