.phcstore.phc not found

If you run into trouble with PHCTool you can ask for help here.
Post Reply
thowas
Posts: 2
Joined: Tue 10. Mar 2009, 22:00

.phcstore.phc not found

Post by thowas » Tue 10. Mar 2009, 22:05

Hello,

I try to install PHCTool on my laptop but I have this problem :
portable-thomas:/home/thowas/phctool# sh phctool.sh
File /root
/usr/sbin
/bin
/dev
/bin
/usr/games
/var/cache/man
/var/spool/lpd
/var/mail
/var/spool/news
/var/spool/uucp
/bin
/var/www
/var/backups
/var/list
/var/run/ircd
/var/lib/gnats
/nonexistent
/var/lib/libuuid
/var/spool/exim4
/var/lib/nfs
/var/run/dbus
/var/lib/avahi-autoipd
/var/run/avahi-daemon
/var/lib/gdm
/var/run/hal
/var/run/hplip
/home/thowas/.phcstore.phc not found. Not a problem but there are no values to restore.
But because I like you, I'll create a new one.
Traceback (most recent call last):
File "./phctool.py", line 468, in <module>
app=appgui()
File "./phctool.py", line 100, in __init__
self.phcdata.RestoreValues() ##restore VIDs from last session
File "inc/libs/generic.py", line 60, in RestoreValues
self.StoreValues()
File "inc/libs/generic.py", line 17, in StoreValues
store = file(self.storefile, "w")
IOError: [Errno 2] Aucun fichier ou répertoire de ce type: '/root\n/usr/sbin\n/bin\n/dev\n/bin\n/usr/games\n/var/cache/man\n/var/spool/lpd\n/var/mail\n/var/spool/news\n/var/spool/uucp\n/bin\n/var/www\n/var/backups\n/var/list\n/var/run/ircd\n/var/lib/gnats\n/nonexistent\n/var/lib/libuuid\n/var/spool/exim4\n/var/lib/nfs\n/var/run/dbus\n/var/lib/avahi-autoipd\n/var/run/avahi-daemon\n/var/lib/gdm\n/var/run/hal\n/var/run/hplip\n/home/thowas/.phcstore.phc'
Thanks in advance for your help,
Thowas

thowas
Posts: 2
Joined: Tue 10. Mar 2009, 22:00

Re: .phcstore.phc not found

Post by thowas » Wed 11. Mar 2009, 10:04

I have found my error. I must launch PHCTool with sudo not as root like in my example.

the-fallen
Administrator
Posts: 346
Joined: Wed 9. Jul 2008, 19:57

Re: .phcstore.phc not found

Post by the-fallen » Wed 11. Mar 2009, 19:03

Good to read that it finally worked.

Strange that there is a difference between being root and using sudo...


Welcome on board :)

loomsen
Posts: 5
Joined: Mon 20. Jul 2009, 01:15

Re: .phcstore.phc not found

Post by loomsen » Mon 20. Jul 2009, 11:18

the-fallen wrote: Strange that there is a difference between being root and using sudo...
It's not strange! Actually, it's exactly its purpose.

See:
docter[~] echo $HOME
/home/docter
docter[~] sudo echo $HOME
/home/docter
docter[~] su -l
Password:
root[~] echo $HOME
/root
root[~]
And
docter[~] sudo echo $(whoami)
docter
docter[~] su -c 'echo $(whoami)'
Password:
root

the-fallen
Administrator
Posts: 346
Joined: Wed 9. Jul 2008, 19:57

Re: .phcstore.phc not found

Post by the-fallen » Tue 21. Jul 2009, 16:43

That seems totally logical to me. Thanks for this education :)

Post Reply