[WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app
(2014-05-26, 20:38)hellow Wrote:
(2014-05-26, 16:47)Ayla Wrote:
(2014-05-26, 16:40)hellow Wrote: I don't why it isn't working.. What os version? Can you import it manually?

I'm using 10.9.3 - how do I import it manually?

Thanks


open terminal
write python and press enter
import psutil

do you get any error?

No errors, with 'import psutil'.

'psutil' gives:
Code:
>>> psutil
<module 'psutil' from '/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psutil-2.1.1-py2.7-macosx-10.9-x86_64.egg/psutil/__init__.pyc'>

(2014-05-27, 04:05)MadClicker Wrote: Look, since it's obvious you installed a valid version. Just comment out the sanity check:

PHP Code:
@cherrypy.expose()
    
def index(self):
        
#Since many linux repos still have psutil version 0.5
        
if psutil.version_info >= (07):
            
pass
        
else:
            
self.logger.error("Psutil is outdated, needs atleast version 0,7")

        return 
htpc.LOOKUP.get_template('stats.html').render(scriptname='stats'

To look like this:

PHP Code:
@cherrypy.expose()
    
def index(self):
        
#Since many linux repos still have psutil version 0.5
        #if psutil.version_info >= (0, 7):
        #    pass
       # else:
        #    self.logger.error("Psutil is outdated, needs atleast version 0,7")

        
return htpc.LOOKUP.get_template('stats.html').render(scriptname='stats'

And let us know how it works. I have an interest.

Thanks for helping out,

I saw that check when I browsed the code, but I wasn't too keen on commenting it out, because then I would have to do it every time I update HTPC-Manager.

I'll try it and see if it works.

EDIT: It doesn't work, I just get this error now:
Code:
2014-05-27 10:01:21    modules.stats    ERROR    Could't import psutil. See http://psutil.googlecode.com/hg/INSTALL
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
HTPC Manager Install - by menage - 2013-07-24, 15:27
RE: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - by Ayla - 2014-05-27, 09:49
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