[0.8.0Alpha2] Running on windows as a service.

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
nate1280
Newbie
Newbie
Posts: 10
Joined: March 27th, 2011, 9:02 pm

[0.8.0Alpha2] Running on windows as a service.

Post 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.
damousys
Newbie
Newbie
Posts: 1
Joined: June 16th, 2015, 9:44 am

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

Post by damousys »

I Would love to know how you fixxed it exactly
because i have the same problem
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

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

Post by safihre »

In case ever someone comes here again: we will fix this in release 1.2.0!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
eddiepropane
Newbie
Newbie
Posts: 1
Joined: December 29th, 2016, 11:05 am

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

Post by eddiepropane »

Hi,

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