2014-05-26, 08:03
For some reason small screen menu and desktop menu shows at the same time on your computer. Try reducing length of menu names and force browser cache
(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?
(2014-05-26, 14:53)hellow Wrote: [ -> ]Yes was working when i tested it. I cant remember what i did tho. I think i had to compile som c extensions. I see that the help page that i used (and as error referes returns 404) after the project has been moved to github.
python setup.py install
running install
running bdist_egg
running egg_info
writing psutil.egg-info/PKG-INFO
writing top-level names to psutil.egg-info/top_level.txt
writing dependency_links to psutil.egg-info/dependency_links.txt
reading manifest file 'psutil.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 'docs/_build'
writing manifest file 'psutil.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.9-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-2.7
creating build/lib.macosx-10.9-x86_64-2.7/psutil
copying psutil/__init__.py -> build/lib.macosx-10.9-x86_64-2.7/psutil
copying psutil/_common.py -> build/lib.macosx-10.9-x86_64-2.7/psutil
copying psutil/_compat.py -> build/lib.macosx-10.9-x86_64-2.7/psutil
copying psutil/_psbsd.py -> build/lib.macosx-10.9-x86_64-2.7/psutil
copying psutil/_pslinux.py -> build/lib.macosx-10.9-x86_64-2.7/psutil
copying psutil/_psosx.py -> build/lib.macosx-10.9-x86_64-2.7/psutil
copying psutil/_psposix.py -> build/lib.macosx-10.9-x86_64-2.7/psutil
copying psutil/_pssunos.py -> build/lib.macosx-10.9-x86_64-2.7/psutil
copying psutil/_pswindows.py -> build/lib.macosx-10.9-x86_64-2.7/psutil
running build_ext
building '_psutil_osx' extension
creating build/temp.macosx-10.9-x86_64-2.7
creating build/temp.macosx-10.9-x86_64-2.7/psutil
creating build/temp.macosx-10.9-x86_64-2.7/psutil/arch
creating build/temp.macosx-10.9-x86_64-2.7/psutil/arch/osx
cc -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c psutil/_psutil_osx.c -o build/temp.macosx-10.9-x86_64-2.7/psutil/_psutil_osx.o
cc -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c psutil/_psutil_common.c -o build/temp.macosx-10.9-x86_64-2.7/psutil/_psutil_common.o
cc -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c psutil/arch/osx/process_info.c -o build/temp.macosx-10.9-x86_64-2.7/psutil/arch/osx/process_info.o
cc -bundle -undefined dynamic_lookup -L/usr/local/lib -L/usr/local/opt/sqlite/lib build/temp.macosx-10.9-x86_64-2.7/psutil/_psutil_osx.o build/temp.macosx-10.9-x86_64-2.7/psutil/_psutil_common.o build/temp.macosx-10.9-x86_64-2.7/psutil/arch/osx/process_info.o -o build/lib.macosx-10.9-x86_64-2.7/_psutil_osx.so -framework CoreFoundation -framework IOKit
building '_psutil_posix' extension
cc -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.macosx-10.9-x86_64-2.7/psutil/_psutil_posix.o
cc -bundle -undefined dynamic_lookup -L/usr/local/lib -L/usr/local/opt/sqlite/lib build/temp.macosx-10.9-x86_64-2.7/psutil/_psutil_posix.o -o build/lib.macosx-10.9-x86_64-2.7/_psutil_posix.so
creating build/bdist.macosx-10.9-x86_64
creating build/bdist.macosx-10.9-x86_64/egg
copying build/lib.macosx-10.9-x86_64-2.7/_psutil_osx.so -> build/bdist.macosx-10.9-x86_64/egg
copying build/lib.macosx-10.9-x86_64-2.7/_psutil_posix.so -> build/bdist.macosx-10.9-x86_64/egg
creating build/bdist.macosx-10.9-x86_64/egg/psutil
copying build/lib.macosx-10.9-x86_64-2.7/psutil/__init__.py -> build/bdist.macosx-10.9-x86_64/egg/psutil
copying build/lib.macosx-10.9-x86_64-2.7/psutil/_common.py -> build/bdist.macosx-10.9-x86_64/egg/psutil
copying build/lib.macosx-10.9-x86_64-2.7/psutil/_compat.py -> build/bdist.macosx-10.9-x86_64/egg/psutil
copying build/lib.macosx-10.9-x86_64-2.7/psutil/_psbsd.py -> build/bdist.macosx-10.9-x86_64/egg/psutil
copying build/lib.macosx-10.9-x86_64-2.7/psutil/_pslinux.py -> build/bdist.macosx-10.9-x86_64/egg/psutil
copying build/lib.macosx-10.9-x86_64-2.7/psutil/_psosx.py -> build/bdist.macosx-10.9-x86_64/egg/psutil
copying build/lib.macosx-10.9-x86_64-2.7/psutil/_psposix.py -> build/bdist.macosx-10.9-x86_64/egg/psutil
copying build/lib.macosx-10.9-x86_64-2.7/psutil/_pssunos.py -> build/bdist.macosx-10.9-x86_64/egg/psutil
copying build/lib.macosx-10.9-x86_64-2.7/psutil/_pswindows.py -> build/bdist.macosx-10.9-x86_64/egg/psutil
byte-compiling build/bdist.macosx-10.9-x86_64/egg/psutil/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/psutil/_common.py to _common.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/psutil/_compat.py to _compat.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/psutil/_psbsd.py to _psbsd.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/psutil/_pslinux.py to _pslinux.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/psutil/_psosx.py to _psosx.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/psutil/_psposix.py to _psposix.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/psutil/_pssunos.py to _pssunos.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/psutil/_pswindows.py to _pswindows.pyc
creating stub loader for _psutil_osx.so
creating stub loader for _psutil_posix.so
byte-compiling build/bdist.macosx-10.9-x86_64/egg/_psutil_osx.py to _psutil_osx.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/_psutil_posix.py to _psutil_posix.pyc
creating build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying psutil.egg-info/PKG-INFO -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying psutil.egg-info/SOURCES.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying psutil.egg-info/dependency_links.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying psutil.egg-info/top_level.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
writing build/bdist.macosx-10.9-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/psutil-2.1.1-py2.7-macosx-10.9-x86_64.egg' and adding 'build/bdist.macosx-10.9-x86_64/egg' to it
removing 'build/bdist.macosx-10.9-x86_64/egg' (and everything under it)
Processing psutil-2.1.1-py2.7-macosx-10.9-x86_64.egg
Copying psutil-2.1.1-py2.7-macosx-10.9-x86_64.egg to /usr/local/lib/python2.7/site-packages
Adding psutil 2.1.1 to easy-install.pth file
Installed /usr/local/lib/python2.7/site-packages/psutil-2.1.1-py2.7-macosx-10.9-x86_64.egg
Processing dependencies for psutil==2.1.1
Finished processing dependencies for psutil==2.1.1
(2014-05-26, 16:07)hellow Wrote: [ -> ]What does htpc manager log say?
2014-05-26 15:55:50 modules.stats ERROR Psutil is outdated, needs atleast version 0,7
2014-05-26 15:55:43 modules.stats ERROR Could't import psutil. See http://psutil.googlecode.com/hg/INSTALL
(2014-05-26, 16:40)hellow Wrote: [ -> ]I don't why it isn't working.. What os version? Can you import it manually?
@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')
@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')
(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?
>>> 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 >= (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')
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.
2014-05-27 10:01:21 modules.stats ERROR Could't import psutil. See http://psutil.googlecode.com/hg/INSTALL