Kodi Community Forum

Full Version: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2014-05-27, 09:49)Ayla Wrote: [ -> ]
(2014-05-26, 20:38)hellow Wrote: [ -> ]
(2014-05-26, 16:47)Ayla Wrote: [ -> ]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

I just tested psutil 2.1.1 on osx 10.9.3 and it works as it should.
(2014-05-28, 00:43)hellow Wrote: [ -> ]I just tested psutil 2.1.1 on osx 10.9.3 and it works as it should.

OK, thanks for testing.

Strange.. how did you install psutil and how do you start HTPC-Manager (I just want to compare with how I do it)?
I downloaded the source from pypi. Used sudo python setup.py install
And how do you start HTPC-Manager:
python /Applications/HTPC-Manager/Htpc.py
or:
sudo python /Applications/HTPC-Manager/Htpc.py
I just cd to the dir and start it with python htpc.py
Thanks for all the help, the problem is now fixed.

If anyone else runs into this problem, you need to make sure that the correct python is being used.

For me, when installing python with brew and psutil with pip install, I need to use:
/usr/local/bin/python

I also needed to add that full path in my launchd plist (which starts HTPC-Manager on reboot):
Code:
<key>ProgramArguments</key>
        <array>
                <string>/usr/local/bin/python</string>
                <string>/Applications/HTPC-Manager/Htpc.py</string>
        </array>
(2014-05-26, 14:18)hellow Wrote: [ -> ]
(2014-04-24, 20:36)hatton33 Wrote: [ -> ]Great new version. Only one issue, the mobile version struggles with 'other links'. For some reason, I can't click on any of the links I've added on the mobile version - the full Web version works fine though. Any ideas?

I have sendt a pr regarding your issue, should be fixed as soon as its merged.

Thanks for this - I take it this is still pending as its still broken for me.
Nope, its isnt merged yet. You can find it here: pull request
Shouldnt take to long as its a small change and it dont touch any other code however its up to the dev if he wants to merge it or not.
Pullrequest for dropdown menu on mobile devices mbas been merged.
(2014-06-02, 10:31)styxit Wrote: [ -> ]Pullrequest for dropdown menu on mobile devices mbas been merged.

Thanks!
(2014-06-02, 10:40)hellow Wrote: [ -> ][quote='styxit' pid='1725333' dateline='1401697905']
Pullrequest for dropdown menu on mobile devices mbas been merged.

Thanks!
Working great for me now. Thank you both for your help.
(2014-06-02, 21:07)hatton33 Wrote: [ -> ]
(2014-06-02, 10:40)hellow Wrote: [ -> ]
(2014-06-02, 10:31)styxit Wrote: [ -> ]Pullrequest for dropdown menu on mobile devices mbas been merged.

Thanks!

Thanks guys

Sadly still not fixed for me using iOS or Android.

You have to delete cookies and data in safari settings. I guess the same goes for android
(2014-06-02, 21:20)hellow Wrote: [ -> ]
(2014-06-02, 21:07)hatton33 Wrote: [ -> ]
(2014-06-02, 10:40)hellow Wrote: [ -> ]Thanks!

Thanks guys

Sadly still not fixed for me using iOS or Android.

You have to delete cookies and data in safari settings. I guess the same goes for android

Thanks - realised after my post that for some reason it hadn't actually updated to the latest version. All good now.

Thanks so much for your help.
Np
Anyone else experiencing no movies listed in wanted or history in couchpotato interface? Movies are successfully added to couchpoatato through the interface, so API key is good, but it looks like there is a failure of the query when looking for wanted movies or history - they are just blank. This has happened on several machines just recently (I believe in the last week).

Thanks for any help in advance!