Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with books.xml #597

Closed
thefoolofemmaus opened this issue Dec 24, 2015 · 7 comments
Closed

Issue with books.xml #597

thefoolofemmaus opened this issue Dec 24, 2015 · 7 comments
Assignees
Labels

Comments

@thefoolofemmaus
Copy link

This crash happens at different times, but consistently when trying to open a character sheet that has not been completed.

backtrace.txt

chummerlog.txt

@chummer5a
Copy link
Owner

Hrm. It's having trouble parsing your registry file, I think. Try opening up regedit, and expanding HKEY_CURRENTUSER\Software and deleting the Chummer5 folder.

@joha4270
Copy link
Collaborator

joha4270 commented Dec 25, 2015 via email

@thefoolofemmaus
Copy link
Author

If you can tell me how to extract a node, or point me towards instructions,
I would be happy to do so.
On Dec 25, 2015 10:34 AM, "Johannes Elgaard" notifications@github.com
wrote:

Now seeing the guy is running chummer under WINE, it might be something
else.

If it is possible to extract a copy of that node i would like copy.


Reply to this email directly or view it on GitHub
#597 (comment)
.

@joha4270
Copy link
Collaborator

joha4270 commented Dec 25, 2015 via email

@thefoolofemmaus
Copy link
Author

The key was under LOCAL_USER, nothing for chummer under LOCAL_MACHINE. Deleting that key had no effect. I have included both the export and the JIT debug output.
chum.txt
JIT.txt

@joha4270
Copy link
Collaborator

Okay, that is interesting. During loading of settings (some in registry, some in ./settings/settings.XML) it tries to read ./sheets/data/books.XML (both sheets and data live in the same folder...)

As a stopgap, try copying ./data/books.XML to ./sheets/data.xml

I have a few ideas to what is happening, but without some more detailed logging they all reside in the category of how the hell did would that happen.

@chummer5a
Copy link
Owner

May have found something related to this; received a character that wouldn't load as part of #1025 that gave me an error about not being able to find books.xml in my desktop directory, as I'd deleted the settings file. Investigation revealed that we're using environment.currentdirectory in a few places that aren't sanitised to only be accessed by the application, such as when we're loading a character file. Might be related?

@chummer5a chummer5a self-assigned this Aug 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants