Page 2 of 2
Re: templete inconsistency in 0.4.0
Posted: July 7th, 2008, 12:47 pm
by switch
A solution is to pass the location of the template folder to cheetah to use in the include.
Code: Select all
<!--#include $webdir + "/inc_top.tmpl" #-->
I'll discuss this with Shypike first, then commit a fix to the svn if you wish to use.
Re: templete inconsistency in 0.4.0
Posted: July 7th, 2008, 4:13 pm
by shypike
It's definitely an improvement, but not worth a 0.4.1 release (unless we need to solve an urgent bug).
It will be included in 0.5.0.
I have a working install method
Posted: July 28th, 2008, 11:14 am
by mantis006
I just posted my ebuild configuration for sabnzbd-0.4.2 here:
http://forums.sabnzbd.org/index.php?topic=553.0
Shypike, I know you're not a fan of installing sabnzbd globally in python or watching others rip apart your brain child; however, it's an open source project. People are going to use what you wrote in ways you might not entirely agree with; but, I think you're underestimating our distribution users' (downstream) ability to support eachother if these systems break. You are not held responsible for support, and we are not asking you to be. I prefer to run SABnzbd as a daemonized process and only as that (although my method does support otherwise...). The most effecient manner of configuring and installing this on my system globally like <=0.2.7 permitted.
Now, as for the templates being an issue, I think I have a working solution for that stuff. I setup in my config file /etc/sabnzbd.conf web_dir = /usr/share/sabnzbd-0.4.2/Plush. This works great as a daemon, or you can always pass a template argument [-t|--templates /usr/bin/share/sabnzbd-0.4.2/Default] when executing SABnzbd.py. I haven't run into an problems yet with this method.
Let me know if you guys have any suggestions/comments.