PCGen / pcgen

Main code and data development for pcgen program release
http://pcgen.org
GNU Lesser General Public License v2.1
432 stars 339 forks source link

[BUG] Cannot Export character to Fantasy Grounds XML. #6240

Closed MTVExtreme closed 3 years ago

MTVExtreme commented 4 years ago

On the latest release build v6.08.00 RC8, most times when I try to export a Pathfinder 1st ed character using the csheet_FantasyGrounds2_pc_PFc3.xml.ftl I receive an error. Porting these characters over to the newest experimental builds do not solve the problem.

Here is the current Sources used to create a lv 4 Samurai Kamie. The other character used a more expansive list. image

Here is the log Log.txt

I am using Windows 10 Home v1909 OS Build 18363.720

Affected character files.

characters.zip

LegacyKing commented 4 years ago

Didn't like mythic...

LegacyKing commented 4 years ago

csheet_FantasyGrounds2_pc_PFv3.xml.ftl.zip

Give that version a test.

MTVExtreme commented 4 years ago

Sorry for the delayed reply. However, that didn't seem to work.

log2.txt

Deepinthots commented 4 years ago

I have an similar issue exporting to any format with the error being along the lines of an incorrect path. The source list is...extensive so maybe that is the issue log of issue Log.txt character attempting to export Falad.zip

windows 10

MTVExtreme commented 4 years ago

Update on this, I believe it is something related to certain feats. Removing all the feats from some of these characters will fix this issue.

LegacyKing commented 4 years ago

That's not beneficial if you lose your feats though.

LegacyKing commented 4 years ago

The only error is it doesn't like the characters in the name Baalgor "SNAKE EYES" Whitemane.TXT

I can only guess the Quotes are the dislike there, which is odd.

alanshutko commented 4 years ago

There's a related bug in Jira about quotes in filenames. https://pcgenorg.atlassian.net/jira/software/c/projects/CODE/issues/CODE-3501?filter=allopenissues

NTFS doesn't allow quotes in filenames. I think there should be something stripping invalid characters from pathnames before suggesting them. This sounds like something I could look at as a first project.

PokeyCA commented 3 years ago

I found the errors in the export script. There is no mythicFeat tag in PCGen, they are straight feats (at least for this output). Here is the export file. csheet_FantasyGrounds2_pc_PFv3.xml.zip

williambbertram commented 3 years ago

This happens every time I create a wizard, regardless of which feats I select. I have tried multiple Wizards, including absolute basic ones with no feats added. Something as simple as File / New Character, add one wizard level.

I have created fighters, rogues, and clerics and the export works fine.

I really like this export, because it creates actual Fantasy Grounds equipment items. If the character has a "Long Sword," the correct item in Fantasy Grounds is imported. The 3.5 export will create an item called "Long Sword," but it's just a new blank item in Fantasy Grounds. FG can't use it for calculating bonuses, etc. Unfortunately I can't export anything with a Wizard level currently.

pcgen.log

PokeyCA commented 3 years ago

This happens every time I create a wizard, regardless of which feats I select. I have tried multiple Wizards, including absolute basic ones with no feats added. Something as simple as File / New Character, add one wizard level.

I have created fighters, rogues, and clerics and the export works fine.

I really like this export, because it creates actual Fantasy Grounds equipment items. If the character has a "Long Sword," the correct item in Fantasy Grounds is imported. The 3.5 export will create an item called "Long Sword," but it's just a new blank item in Fantasy Grounds. FG can't use it for calculating bonuses, etc. Unfortunately I can't export anything with a Wizard level currently.

pcgen.log

Did you use the above export template, or the one that comes with PCGen (which has a known error)?

williambbertram commented 3 years ago

Oh, I'm sorry Pokey. I didn't realize that zip file was a corrected version. I thought you were providing more information about the bug. I'll give it a try. Thank you!

Edit - It worked, thanks again.

MTVExtreme commented 3 years ago

I did not realize this thread was still open my apologies. The file that PokeyCA added seemed to have resolved the issue that was occurring I will now close out this issue. Thanks for all the support!