Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

TypeError on Windows #182

Open
Daikamar opened this issue Jul 22, 2014 · 0 comments
Open

TypeError on Windows #182

Daikamar opened this issue Jul 22, 2014 · 0 comments

Comments

@Daikamar
Copy link

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\web__init
.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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant