2012-09-03, 20:34
(2012-08-31, 12:27)mbw2001 Wrote: Try starting with "python Htpc.py --debug" and see post the result.
Thanks and almost got the package ready except for 1 minor detail and that is pid argument. When i use --pid i'm getting the following error:
Code:
08:32:18 (master) ~/HTPCManager$ ./Htpc.py --datadir /home/openelec/HTPCManager/userdata/ --debug --pid /home/openelec/HTPCManager/userdata/htpcmanager.pid
Traceback (most recent call last):
File "./Htpc.py", line 89, in <module>
main()
File "./Htpc.py", line 86, in main
start()
File "/home/openelec/HTPCManager/htpc/server.py", line 24, in start
PIDFile(cherrypy.engine, args.pid).subscribe()
NameError: global name 'args' is not defined
Any ideas?