Code Monkey home page Code Monkey logo

fomod-validator's People

Contributors

gandag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fomod-validator's Issues

Unhandled exception

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

ModInfo checker

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?

Unhandled exception

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 !

Unhandled error on invalid group type

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 when trying to validate

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

Unhandled Exception

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.