I'm on Ubuntu Server and updated to the latest.
with Python Version: 3.6.9
Installed with git clone ... Works well with some exceptions, such as importing and autoprocessing of DLL isn't working. And most of all I don't want to use docker. They seem to get stuck in the cache folder.
This copy Starts fine but has a few issues that are driving me ape crazy. (There are more issues, but I want to get these issues first)
The two biggest issues so far are:
This Week Tab. I get the following error.
Code: Select all
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/cherrypy/_cprequest.py", line 638, in respond
self._do_respond(path_info)
File "/usr/local/lib/python3.6/dist-packages/cherrypy/_cprequest.py", line 697, in _do_respond
response.body = self.handler()
File "/usr/local/lib/python3.6/dist-packages/cherrypy/lib/encoding.py", line 219, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/cherrypy/_cpdispatch.py", line 54, in __call__
return self.callable(*self.args, **self.kwargs)
File "/opt/mylar3/mylar/webserve.py", line 1736, in pullist
repoll = self.manualpull(weeknumber=weekinfo['weeknumber'],year=weekinfo['year'])
File "/opt/mylar3/mylar/webserve.py", line 2023, in manualpull
return mylar.locg.locg(weeknumber=weeknumber,year=year)
File "/opt/mylar3/mylar/locg.py", line 56, in locg
r = requests.get(url, params=params, verify=True, headers={'User-Agent': mylar.USER_AGENT[:mylar.USER_AGENT.find('/')+7] + mylar.USER_AGENT[mylar.USER_AGENT.find('(')+1]})
AttributeError: 'NoneType' object has no attribute 'find'
Powered by CherryPy 18.6.0
oh and the logs say this:
Code: Select all
2020-10-25 17:18:04 INFO ALT_PULL: 2 PULLBYFILE: False week: 43 year: 2020
2020-10-25 17:18:04 INFO trying to repopulate to week: 43-2020
2020-10-25 17:12:48 INFO ALT_PULL: 2 PULLBYFILE: False week: 43 year: 2020
2020-10-25 17:12:48 INFO trying to repopulate to week: 43-2020
Code: Select all
Version: None (master)
I get this when trying to update:
Code: Select all
2020-10-25 17:12:38 ERROR Uncaught exception: Traceback (most recent call last):
File "/opt/mylar3/Mylar.py", line 386, in
main()
File "/opt/mylar3/Mylar.py", line 356, in main
versioncheck.versionload()
File "/opt/mylar3/mylar/versioncheck.py", line 364, in versionload
version_info = getVersion()
File "/opt/mylar3/mylar/versioncheck.py", line 86, in getVersion
output, err = runGit('describe --exact-match --tags 2> %s && git rev-parse HEAD --abbrev-ref HEAD' % os.devnull)
File "/opt/mylar3/mylar/versioncheck.py", line 69, in runGit
return (output.stdout, output.stderr)
AttributeError: 'NoneType' object has no attribute 'stdout'
2020-10-25 17:12:38 ERROR Command git describe --exact-match --tags 2> /dev/null && git rev-parse HEAD --abbrev-ref HEAD didn't work [__init__() got an unexpected keyword argument 'text']
2020-10-25 17:12:38 DEBUG Trying to execute: git describe --exact-match --tags 2> /dev/null && git rev-parse HEAD --abbrev-ref HEAD with shell in /opt/mylar3
2020-10-25 17:12:38 ERROR Command /usr/bin/git describe --exact-match --tags 2> /dev/null && git rev-parse HEAD --abbrev-ref HEAD didn't work [__init__() got an unexpected keyword argument 'text']
2020-10-25 17:12:38 DEBUG Trying to execute: /usr/bin/git describe --exact-match --tags 2> /dev/null && git rev-parse HEAD --abbrev-ref HEAD with shell in /opt/mylar3