[WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app
(2012-08-07, 19:39)mbw2001 Wrote: Latest commit now has support for setting datadir, pid and port through commandline parameters.

Thanks! This'll make a lot of users over on the unraid forums happy, they've been anxiously awaiting the htpc_manager plugin for their servers, with these settings it will be easier to implement. I'll get right on that, Big Grin

EDIT: Not sure if you'll be able to help me, but when starting the app from the command line directly, it works fine. If I try to start the app passing the command from the plug-in, it starts, but Cherrypy throws an error:

Code:
Traceback (most recent call last):
  File "/usr/local/htpcmanager/libs/cherrypy/_cprequest.py", line 656, in respond
    response.body = self.handler()
  File "/usr/local/htpcmanager/libs/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/local/htpcmanager/libs/cherrypy/_cpdispatch.py", line 34, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/local/htpcmanager/htpc/index.py", line 7, in index
    return template('dash.html')
  File "/usr/local/htpcmanager/htpc/tools.py", line 7, in template
    return lookup.get_template(template).render()
  File "/usr/local/htpcmanager/libs/mako/lookup.py", line 243, in get_template
    "Cant locate template for uri %r" % uri)
TopLevelLookupException: Cant locate template for uri 'dash.html'

EDIT 2: Ok, if the command is called from another directory it won't work, I had to cd into the install directory and then give the start command ( sudo -u nobody python /usr/local/htpcmanager/Htpc.py --daemon ) for it to work...is this a limitation of Mako or a possible bug?
Reply
 
Thread Rating:
  • 7 Vote(s) - 4.71 Average


Messages In This Thread
RE: [WIP] HTPC-Manager - by _Mikie_ - 2012-03-23, 16:03
RE: [WIP] HTPC-Manager - by dakpunne - 2012-03-23, 16:20
RE: [WIP] HTPC-Manager - by Capt.Insano - 2012-03-23, 20:10
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-23, 20:42
RE: [WIP] HTPC-Manager - by ICDeadPpl - 2012-03-23, 21:40
RE: [WIP] HTPC-Manager - by Chromdome93 - 2012-03-24, 00:15
RE: [WIP] HTPC-Manager - by UnderCoverUZI - 2012-03-24, 00:56
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 14:14
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-24, 15:25
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 15:29
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-24, 15:40
RE: [WIP] HTPC-Manager - by ICDeadPpl - 2012-03-24, 15:51
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-24, 16:04
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 17:29
RE: [WIP] HTPC-Manager - by TeKo - 2012-03-24, 17:42
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-24, 18:27
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 19:10
RE: [WIP] HTPC-Manager - by Phantisy - 2012-03-24, 18:35
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 18:40
Re: [WIP] HTPC-Manager - by rflores2323 - 2012-03-24, 18:50
RE: [WIP] HTPC-Manager - by ICDeadPpl - 2012-03-24, 21:01
RE: [WIP] HTPC-Manager - by dakpunne - 2012-03-24, 21:20
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 21:18
RE: [WIP] HTPC-Manager - by TeKo - 2012-03-24, 21:24
RE: [WIP] HTPC-Manager - by paavoris - 2012-03-24, 22:00
RE: [WIP] HTPC-Manager - by sb206 - 2012-03-24, 22:03
RE: [WIP] HTPC-Manager - by TeKo - 2012-03-24, 22:10
RE: [WIP] HTPC-Manager - by _Mikie_ - 2012-03-24, 22:48
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 23:31
RE: [WIP] HTPC-Manager - by Livin - 2012-03-24, 23:54
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-25, 00:18
RE: [WIP] HTPC-Manager - by Livin - 2012-03-25, 00:44
RE: [WIP] HTPC-Manager - by karandras24 - 2012-03-25, 00:45
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-25, 01:19
RE: [WIP] HTPC-Manager - by Livin - 2012-03-25, 01:50
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-25, 02:05
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-25, 14:14
RE: [WIP] HTPC-Manager - by TeKo - 2012-03-25, 14:16
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-25, 14:34
RE: [WIP] HTPC-Manager - by shlag - 2012-03-25, 16:45
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-25, 19:49
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-25, 20:22
RE: [WIP] HTPC-Manager - by TeKo - 2012-03-25, 21:24
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-26, 07:00
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-25, 21:26
RE: [WIP] HTPC-Manager - by shlag - 2012-03-25, 21:41
RE: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - by jcalton88 - 2012-08-23, 23:51
HTPC Manager Install - by menage - 2013-07-24, 15:27
stats for remote pc - by dannyb78 - 2014-07-11, 13:22


Logout Mark Read Team Forum Stats Members Help
[WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app4.717