Comments (7)
Probably haven't installed the python dependencies. Run via command prompt or powershell to see the error.
from cobra-tools.
I opened it in powershell and this came up.
PS C:\Users*> "E:\Games\Game Utilities\JWE Mods\cobra-tools\cobra-tools\ovl_tool.bat"
E:\Games\Game Utilities\JWE Mods\cobra-tools\cobra-tools\ovl_tool.bat
PS C:\Users*>
I moved it to C drive and managed to get an error, so something happening might be drive ID dependent (which could likely be powershell, I don't know much about it).
C:\Users****\Desktop\cobra-tools\ovl_tool.bat
C:\Users*>python ovl_tool_gui.py
python: can't open file 'ovl_tool_gui.py': [Errno 2] No such file or directory
PS C:\Users*>
from cobra-tools.
If you type python ovl_tool_gui.py
the cmd has to be in the folder that contains ovl_tool_gui.py (ie. cobra-tools). You can shift-right click in the cobra-tools folder to open a powershell there.
from cobra-tools.
Thanks for the shift-right click trick.
PS E:\Games\Game Utilities\JWE Mods\cobra-tools\cobra-tools> python ovl_tool_gui.py
Traceback (most recent call last):
File "ovl_tool_gui.py", line 4, in
from PyQt5 import QtWidgets, QtGui, QtCore
ModuleNotFoundError: No module named 'PyQt5'
PS E:\Games\Game Utilities\JWE Mods\cobra-tools\cobra-tools>
I'm still not quite certain what to do from here. I need a python module named "PyQt5" I presume, but there seems to be dozens of python related modules or add-ons with that name.
edit
I've figured this part out, they can be installed "automatically" though pip (I was trying to find files with that title and download them manually through the PyPi website).
After adding PyQt5 and pyffi I now get this error.
python ovl_tool_gui.py
Traceback (most recent call last):
File "C:\Users****\AppData\Local\Programs\Python\Python37\lib\site-packages\pyffi\object_models\xml_init_.py", line 418, in startElement
tag = self.tags[name]
KeyError: 'token'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users****\AppData\Local\Programs\Python\Python37\lib\site-packages\pyffi\object_models\xml_init_.py", line 421, in startElement
tag = self.tags_niftools[name]
KeyError: 'token'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "ovl_tool_gui.py", line 6, in
from pyffi_ext.formats.ovl import OvlFormat
File "E:\Games\Game Utilities\JWE Mods\cobra-tools\cobra-tools\pyffi_ext\formats\ovl_init_.py", line 48, in
from pyffi_ext.formats.ms2 import Ms2Format
File "E:\Games\Game Utilities\JWE Mods\cobra-tools\cobra-tools\pyffi_ext\formats\ms2_init_.py", line 56, in
class Ms2Format(pyffi.object_models.xml.FileFormat):
File "C:\Users*\AppData\Local\Programs\Python\Python37\lib\site-packages\pyffi\object_models\xml_init_.py", line 106, in init
parser.parse(xml_file)
File "C:\Users*\AppData\Local\Programs\Python\Python37\lib\xml\sax\expatreader.py", line 111, in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\Users*\AppData\Local\Programs\Python\Python37\lib\xml\sax\xmlreader.py", line 125, in parse
self.feed(buffer)
File "C:\Users*\AppData\Local\Programs\Python\Python37\lib\xml\sax\expatreader.py", line 217, in feed
self.parser.Parse(data, isFinal)
File "c:\a\18\s\modules\pyexpat.c", line 417, in StartElement
File "C:\Users*\AppData\Local\Programs\Python\Python37\lib\xml\sax\expatreader.py", line 333, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "C:\Users*\AppData\Local\Programs\Python\Python37\lib\site-packages\pyffi\object_models\xml_init.py", line 423, in startElement
raise XmlError("error unknown element '%s'" % name)
pyffi.object_models.xml.XmlError: error unknown element 'token'
from cobra-tools.
Run a cmd with admin rights and install the following python modules using the given pip
commands:
- pyffi 2.2.4.dev3 (run:
pip install PyFFI==2.2.4.dev3
) - pyqt5 (run:
pip install pyqt5
) - imageio (run:
pip install imageio
)
from cobra-tools.
Update: you don't have pyffi 2.2.4.dev3 installed but some earlier version of pyffi. Must be dev3 so run: pip install PyFFI==2.2.4.dev3
from cobra-tools.
That got it working! Thanks so much for the help.
from cobra-tools.
Related Issues (20)
- Improve Search Archives results gui HOT 1
- loc_tool_gui.py Crashes On windows 11 with error min_width being an unexpected argument. HOT 1
- Rework of mod_tool_gui
- MANIS - JWE1 error on injection HOT 4
- Blender Scenery improvements HOT 4
- GUI - Auto updater reliability HOT 1
- Blender - Shader Improvements HOT 2
- FileDirWidget set_modified missing cases
- GUI - compression activated vs textChanged HOT 1
- model to rig in blender
- Font Files? HOT 7
- GUI - Logger Improvements
- RCT3 OVL support HOT 1
- JWE1 - Constraints Support HOT 2
- JWE2 - Format deficiencies
- Blender - Manis features
- GUI - Backend Improvements
- Step by Step process to automate the creation of a habitat animal
- ModuleNotFoundError: No module named 'win32api' HOT 3
- Animation with left hand has issues. [Planet Zoo]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cobra-tools.