Page 1 of 1

NameMapper

Posted: February 15th, 2009, 4:07 am
by markus101
Hi,

Not sure if this is related to the Trunk version only, but I get the following error message in the sabnzbd.error.log file every time SAB starts.

Code: Select all

/usr/lib/python2.5/site-packages/Cheetah/Compiler.py:1532: UserWarning: 
You don't have the C version of NameMapper installed! I'm disabling Cheetah's useStackFrames option as it is painfully slow with the Python version of NameMapper. You should get a copy of Cheetah with the compiled C version of NameMapper.
  "\nYou don't have the C version of NameMapper installed! "
Just wondering if its an issue.

I'm running Trunk version: 2160
On Slackware 12.1
Python 2.5

I've looked at the Cheetah site and saw the note for Windows users to install the compiled version from their site, tried that despite running Linux.

Any info/suggestions would be great.

Thanks in advance,

Markus

Re: NameMapper

Posted: February 15th, 2009, 6:49 am
by switch
It isn't too serious, just a warning, however you should try reinstalling cheetah so it can compile again. The windows copy of namemapper won't be useful, it would need to be compiled on your system.

Re: NameMapper

Posted: February 15th, 2009, 9:50 am
by shypike
You can download a compiled version of _namemapper here:
http://www.cheetahtemplate.org/download.html

Pick _namemapper.pyd2.4 or _namemapper.pyd2.5 depending on your Python version.
Rename the file to _namemapper.pyd and put it in folder:
PYTHON-PATH\Lib\site-packages\Cheetah

Re: NameMapper

Posted: February 15th, 2009, 9:57 am
by switch
He states he has already tried that, also I doubt a windows compiled pyd would work on a linux system.

Re: NameMapper

Posted: February 16th, 2009, 2:41 am
by shypike
Sorry, did not read very well  :-[
Indeed it doesn't influence functionality, you may lose some Web-UI speed (on slower systems).

Re: NameMapper

Posted: February 16th, 2009, 10:13 am
by markus101
Thanks guys, I'll look into getting it compiled. Otherwise its good to know I'm okay running without it.

Cheers,

Markus