-
Notifications
You must be signed in to change notification settings - Fork 411
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
1.17.1win doesn't import XML fitting library #489
Comments
Please post the xml file on pastebin or somewhere so that I may test it. It might have to do with the recent importation issues that have been reported. |
http://pastebin.com/6LjZpGEV here is the pasted XML On Fri, Jan 1, 2016 at 12:06 AM, blitzmann [email protected] wrote:
|
There are 9200 lines of whitespace before the final tag ? |
For me, loading this XML file fails right away with the same traceback even for very old versions of pyfa.
|
Can't look into it more now, but I can reproduce. =) |
Looking at the XML, it seems it has a lot of
Not sure if this is a problem with how it was uploaded with pastebin or what. Try to upload the XML document directly to evefiles.com or something. What version of pyfa did you export this XML file with? Do you still have the fitting database that the export represents? I just exported 500+ of my own fits and am not running into this specific issue, but am running into another issue:
|
Also, just to get you set up on the new computer, the easiest way is to go to |
The weird spacing is from the paste, when I look at the file directly it On Sat, Jan 2, 2016 at 10:02 PM, blitzmann [email protected] wrote:
|
Any kind of file sharing / cloud service. Dropbox, copy, google docs, etc. Otherwise shoot me an email [email protected] |
https://drive.google.com/open?id=0B6GlcFPYDA-1WDZ3aDIxYWJFTVk On Sun, Jan 3, 2016 at 12:07 AM, blitzmann [email protected] wrote:
|
Thanks! Running that gets me the same error that I got: |
The reason this happens seems to be because we forget to test for utf-8:
Although we attempt to find utf-8 with BOM earlier in the logic. This is fixed simply by adding utf-8 into the codecs to check for. I am not sure how this has been missed for so long, but there you have it. I also might add an error message for things like this to prevent lock-up and give more info to the user: This is tentative and may not make it to release as it's screwing with dialogs, which the OS X client always has issues with, so if it doesn't work on that platform it might be abandoned for now. |
I think this fix also took care of #456 |
Just got a new computer, trying to copy my fitting library over (~590 fits). Importing window hangs with the animation repeating. Tried several ways of starting Pyfa (admin, cmd line) and have tried letting it run the importation for ~4h with no luck.
The text was updated successfully, but these errors were encountered: