Page 1 of 1

[0.8.0Alpha2] Running on windows as a service.

Posted: June 9th, 2015, 7:47 pm
by nate1280
Running SAB on Windows Server 2012 R2 as a service.

To install, I backup my current install (0.7.20), empty the folder (except the config), and copy the 0.8.0Alpha2 files to it. I startup the service, and everything seems fine, except when I try to browse the UI, i get the error below, when using Simpl, or Glitter UIs

Code: Select all

2015-06-09 20:06:28,349::ERROR::[_cplogging:201] [09/Jun/2015:20:06:28] HTTP Traceback (most recent call last):
  File "cherrypy\_cprequest.pyo", line 656, in respond
  File "cherrypy\lib\encoding.pyo", line 188, in __call__
  File "cherrypy\_cpdispatch.pyo", line 34, in __call__
  File "sabnzbd\interface.pyo", line 307, in index
  File "Cheetah\Template.pyo", line 1259, in __init__
  File "Cheetah\Template.pyo", line 1553, in _compile
  File "Cheetah\Template.pyo", line 637, in compile
  File "Cheetah\convertTmplPathToModuleName.pyo", line 20, in convertTmplPathToModuleName
TypeError: character mapping must return integer, None or unicode
I believe the error above is fixed using in the following commit from Cheetah's github.

https://github.com/cheetahtemplate/chee ... 89d9993eb7

To test this out, I compiled the file (python -O -m compileall <file>) to get the pyo file, and replaced it in the library zip file, and restarted the service, everything starts up fine, and I'm able to get to the UI again. This also occured in 0.8.0Alpha1.

The strange thing, if I run sab via the command line exe, same options as the service uses, everything works fine (without replacing the file).

Hope this helps. Let me know if anymore information is needed.

Re: [0.8.0Alpha2] Running on windows as a service.

Posted: June 16th, 2015, 9:49 am
by damousys
I Would love to know how you fixxed it exactly
because i have the same problem

Re: [0.8.0Alpha2] Running on windows as a service.

Posted: December 25th, 2016, 6:47 am
by safihre
In case ever someone comes here again: we will fix this in release 1.2.0!

Re: [0.8.0Alpha2] Running on windows as a service.

Posted: December 29th, 2016, 11:08 am
by eddiepropane
Hi,

Just wanted to say that I came here and thanks as it is just the update I was looking for ;D