gandag / fomod-validator Goto Github PK
View Code? Open in Web Editor NEWValidate your fomod installers.
License: Apache License 2.0
Validate your fomod installers.
License: Apache License 2.0
Hello, here is a log for an unhandled exception I get every time (also with 2.1.0):
Error information:
Version: 2.2.0
<class 'AttributeError'>: 'Image' object has no attribute 'image'
File "fomod_validator.py", line 258, in button_validate_clicked
File "site-packages\pyfomod\fomod.py", line 279, in validate
File "site-packages\pyfomod\fomod.py", line 282, in validate
File "site-packages\pyfomod\fomod.py", line 91, in validate
File "fomod_validator.py", line 256, in
File "fomod_validator.py", line 196, in validate_image
Do u have any information about ModInfo.xml file?
We can have there Description, Name, Version, Latest Known Version, CategoryID, DownloadID on Nexus, ModID on Nexus, URL, what else?
Hello ! I have a problem with creating a fomod.... I wanted to check with your program but I have this error message:
Error information:
Version: 2.2.2
<class 'lxml.etree.XMLSyntaxError'>: xmlParseEntityRef: no name, line 114, column 46 (file:/C:/Users/Zorro/Desktop/Traductions%20Maison/Magical%20College%20of%20Winterhold/SSE/fomod/moduleconfig.xml, line 114)
File "fomod_validator.py", line 259, in button_validate_clicked
File "site-packages\pyfomod\parser.py", line 244, in parse
File "site-packages\pyfomod\parser.py", line 203, in _iterparse
File "src\lxml\iterparse.pxi", line 209, in lxml.etree.iterparse.next
File "src\lxml\iterparse.pxi", line 194, in lxml.etree.iterparse.next
File "src\lxml\iterparse.pxi", line 229, in lxml.etree.iterparse._read_more_events
File "src\lxml\parser.pxi", line 1364, in lxml.etree._FeedParser.feed
File "src\lxml\parser.pxi", line 592, in lxml.etree._ParserContext._handleParseResult
File "src\lxml\parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src\lxml\parser.pxi", line 711, in lxml.etree._handleParseResult
File "src\lxml\parser.pxi", line 640, in lxml.etree._raiseParseError
I use the version 2.2.2, Thanks !
Error information:
Version: 2.2.2
<class 'ValueError'>: '' is not a valid GroupType
File "fomod_validator.py", line 259, in button_validate_clicked
File "site-packages\pyfomod\parser.py", line 244, in parse
File "site-packages\pyfomod\parser.py", line 205, in _iterparse
File "site-packages\pyfomod\parser.py", line 112, in start
File "c:\users\appveyor\.virtualenvs\fomod-validator-2qe23p5x\lib\enum.py", line 309, in __call__
File "c:\users\appveyor\.virtualenvs\fomod-validator-2qe23p5x\lib\enum.py", line 561, in __new__
File "c:\users\appveyor\.virtualenvs\fomod-validator-2qe23p5x\lib\enum.py", line 545, in __new__
File "c:\users\appveyor\.virtualenvs\fomod-validator-2qe23p5x\lib\enum.py", line 574, in _missing_
I have 2 issues but this is the only one throwing an error code. The other FOMOD just won't run. Both are being created with FOMODCreationTool.
ModuleConfig.txt
Is the xml, in plain text form, for the FOMOD throwing this error message.
Will try to rebuild the FOMOD with FOMODCreationTool to see if it's on my end, for some reason 2 step names keep going blank and I think that might have something to do with this.
ModuleConfig.txt
Is the xml, in plain text form, for the FOMOD that will not run the Validator. I can separate these issues if you like, but I think they are related.
The one that wasn't loading into FOMOD Validator installed w/ Vortex w/o issue. I've reviewed, saved, and repackaged the file and the validator still will not run.
The FOMOD throwing the error code would not install, 2 group names disappeared from the file somehow. That is probably what threw the error code. I think this may actually be an issue with FOMOD Creation Tool.
Yep, that was the issue. XML File had blank group areas. Validated properly after I fixed and saved it.
If I could, I would like to make the suggestion to handle this error in program. It would make debugging of the FOMOD package easier. Thank You.
The validator was running, I'm just an idiot who didn't realize when nothing is read out, it means there are no errors. A second suggestion if you would be so kind, make the program echo something to let the user know it ran and was successful. Thank you again, this tool really has been a lifesaver.
Edit: Inserted Code Markdown so the error would display correctly
Edit 2: Added More information.
Edit 3: Fix
Edit 4: I'm an idiot.
Error information:
Version: 2.4.0
<class 'lxml.etree.XMLSyntaxError'>: xmlParseEntityRef: no name, line 27, column 57 (file:/D:/SANDBOX/MA%20PROJECTS/OPTIMIZED%20TEXTURES/Forgotten%20Retex%20Project/0SOURCE/HALF%20RES/fomod/moduleconfig.xml, line 27)
File "fomod_validator.py", line 295, in button_validate_clicked
File "site-packages\pyfomod\parser.py", line 285, in parse
File "site-packages\pyfomod\parser.py", line 247, in _iterparse
File "src\lxml\iterparse.pxi", line 209, in lxml.etree.iterparse.next
File "src\lxml\iterparse.pxi", line 194, in lxml.etree.iterparse.next
File "src\lxml\iterparse.pxi", line 229, in lxml.etree.iterparse._read_more_events
File "src\lxml\parser.pxi", line 1364, in lxml.etree._FeedParser.feed
File "src\lxml\parser.pxi", line 592, in lxml.etree._ParserContext._handleParseResult
File "src\lxml\parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src\lxml\parser.pxi", line 711, in lxml.etree._handleParseResult
File "src\lxml\parser.pxi", line 640, in lxml.etree._raiseParseError
Add a warning for empty source folders.
Compatiblity with GandaG/fomod-designer.
The program instructed to report this here, so here you are:
Error information:
Version: 2.1.0
<class 'AttributeError'>: 'WindowsPath' object has no attribute 'isfile'
File "fomod_validator.py", line 195, in button_validate_clicked
File "site-packages\pyfomod\base.py", line 460, in validate
File "site-packages\pyfomod\base.py", line 792, in validate
File "site-packages\pyfomod\base.py", line 894, in validate
File "site-packages\pyfomod\base.py", line 1002, in validate
File "site-packages\pyfomod\base.py", line 1156, in validate
File "site-packages\pyfomod\base.py", line 703, in validate
File "site-packages\pyfomod\base.py", line 724, in validate
File "site-packages\pyfomod\base.py", line 282, in validate
File "fomod_validator.py", line 194, in
File "fomod_validator.py", line 147, in validate_file
Processes are not correctly shut down when opening latest release in browser.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.