lad1337 / XDM

XDM: eXtendable Download Manager. Plugin based media collection manager.
xdm.lad1337.de
Other
203 stars 46 forks source link

TypeError on Windows #182

Open Daikamar opened 10 years ago

Daikamar commented 10 years ago

Seeing similar messages in both the log file and the UI status page. Any help clearing this up would be appreciated.

Log file: ←[32;1mINFO←[0m| 2014-07-21 21:28:51.330000: Checking if Git needs an update ←[31;1mERROR←[0m| 2014-07-21 21:28:51.330000: environment can only contain strings Traceback: Traceback (most recent call last): File "C:\Utilities\XDM\xdm\updater.py", line 139, in check self.info = self.updater.need_update() File "C:\Utilities\XDM\xdm\updater.py", line 370, in need_update self.response.localVersion = self.git("rev-parse", "HEAD").rstrip('\n') File "C:\Utilities\XDM\site-packages\pbs.py", line 461, in call cwd=call_args["cwd"], stdin=stdin, stdout=stdout, stderr=stderr) File "C:\Python27\lib\subprocess.py", line 710, in init errread, errwrite) File "C:\Python27\lib\subprocess.py", line 958, in _execute_child startupinfo) TypeError: environment can only contain strings

←[31;1mERROR←[0m| 2014-07-21 21:28:51.362000: Error in the scheduler thread of core updater. 1 fa ils so far. Traceback: Traceback (most recent call last): File "C:\Utilities\XDM\xdm\scheduler.py", line 81, in run self._action() File "C:\Utilities\XDM\xdm\tasks.py", line 62, in coreUpdateCheck updateResponse = common.UPDATER.check() File "C:\Utilities\XDM\xdm\updater.py", line 139, in check self.info = self.updater.need_update() File "C:\Utilities\XDM\xdm\updater.py", line 370, in need_update self.response.localVersion = self.git("rev-parse", "HEAD").rstrip('\n') File "C:\Utilities\XDM\site-packages\pbs.py", line 461, in call cwd=call_args["cwd"], stdin=stdin, stdout=stdout, stderr=stderr) File "C:\Python27\lib\subprocess.py", line 710, in init errread, errwrite) File "C:\Python27\lib\subprocess.py", line 958, in _execute_child startupinfo) TypeError: environment can only contain strings

Status page: 500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last): File "C:\Utilities\XDM\site-packages\cherrypy_cprequest.py", line 656, in respond response.body = self.handler() File "C:\Utilities\XDM\site-packages\cherrypy\lib\encoding.py", line 188, in call self.body = self.oldhandler(_args, _kwargs) File "C:\Utilities\XDM\site-packages\cherrypy_cpdispatch.py", line 34, in call return self.callable(_self.args, _self.kwargs) File "C:\Utilities\XDM\xdm\webinit.py", line 137, in status tasks.coreUpdateCheck() File "C:\Utilities\XDM\xdm\tasks.py", line 62, in coreUpdateCheck updateResponse = common.UPDATER.check() File "C:\Utilities\XDM\xdm\updater.py", line 139, in check self.info = self.updater.need_update() File "C:\Utilities\XDM\xdm\updater.py", line 370, in need_update self.response.localVersion = self.git("rev-parse", "HEAD").rstrip('\n') File "C:\Utilities\XDM\site-packages\pbs.py", line 461, in call cwd=call_args["cwd"], stdin=stdin, stdout=stdout, stderr=stderr) File "C:\Python27\lib\subprocess.py", line 710, in init errread, errwrite) File "C:\Python27\lib\subprocess.py", line 958, in _execute_child startupinfo) TypeError: environment can only contain strings