Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

PTU Importer Not Working

Hello, Recently I've had an error (?) where I try to import a character from the JSON from the Fancy Sheet editor to the Pokemon Tabletop United Sheet and it just does nothing. This is obviously very annoying since I've gone my entire campaign with these sheets working just fine and now nothing? I made a copy of my game and tried using the v2 sheet and it also does not work.  Can anyone tell me what's going on here? Is there a fix?
1609753956

Edited 1609754130
Oosh
Sheet Author
API Scripter
Can you pastebin link an example JSON that you're trying to import? It looks like that sheet hasn't been updated for 7 months, so maybe this Fancy Sheet editor (never heard of it) is the issue.
<a href="https://pastebin.com/Y6x3EpQL" rel="nofollow">https://pastebin.com/Y6x3EpQL</a> &nbsp;This is the JSON for the most recent Pokemon I've been trying to add to my games.
1609798138

Edited 1609798481
Oosh
Sheet Author
API Scripter
It looks like this Fancy Sheet editor is causing the problems when it exports - there's a line break and some unescaped quotation marks that are breaking the JSON. This is the problem part: "Ability2": { "Name": "Decoy", "Freq": "Daily - Free Action", "Info": "The user uses the Move " Follow Me " as if it was on their Move List, and their Evasion is raised by +2 until the end of their next turn." }, the export process isn't dealing with the quotation marks as it should. "The user uses the move "Follow Me" as if it were.... needs to have that line-break removed, and the double quotation marks need to either be replaced with singles 'Follow Me', or escaped, \"Follow Me\" First thing to try (if you're able to) is to delete ability 2, and try the export/import process again to see if it's the only problem. Alternatively, replace the relevant text with this: "Ability2": { "Name": "Decoy", "Freq": "Daily - Free Action", "Info": "The user uses the Move 'Follow Me' as if it was on their Move List, and their Evasion is raised by +2 until the end of their next turn." }, If it works, you're going to have to either export your JSON in a better way (if that's possible) or manually remove any quotation marks from input fields before exporting.
That seemed to do the trick. Thanks so much! I removed both Ability 2 and later edited to single quotes and both methods worked out. I'll try to keep this in mind for future sheets.
1609816027
Oosh
Sheet Author
API Scripter
No problem. Is this fancy sheet editor something you have any control over? It's probably not too hard to fix it so it won't stumble over those quotation marks. But if it's someone else's software that's probably not possible.
Someone please give this man @Oosh a medal and get this worked on. I'm not intelligent enough to edit or recognize the JSON yet, but the importer isn't working and it's KILLING ME. *SCREAM*
Mine is working on the V1 Character sheet but not the V2 and its driving me nuts!