windows commands not running due to dict
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
New
|
Undecided
|
Unassigned |
Bug Description
i was trying to run a blender command;
i received a cryptic "error 6" message;
i debugged, and realied several things:
at "blender.py"
line 339: out, err = system.
the variable "self.exe" is later used in file "system.py" as an argument to supbrocess.open()
supbrocess.open() expects a string;
the problem is that self.exe, at line 339, is a dictionary, not a string.
i couldn't understand the code responsible for this; so i can't report the exact culprit.
to work around that, i changed the code:
line 339 - old: out, err = system.
line 339 - new: out, err = system.
after that i realized that the path is passed with double-quotes, e.g. (the extra spaces are just for visibility in this bug report)
' " c:\program files\blender\
so i changed it to
self.
(eventually it didn't work out anyway, due to incompatible version :\ i have 2.69, which is not yet supported in phatch --- but thanks for the program anyway)