openshot.developers team mailing list archive
-
openshot.developers team
-
Mailing list archive
-
Message #00551
Re: [Bug 425600] Re: pid.lock should not be on the main directory
I don't think this bug is valid anymore. We've moved the lock file into the
home directory now.
On Wed, Oct 7, 2009 at 5:04 PM, Andy Finch
<we.rocked.in79@xxxxxxxxxxxxxx>wrote:
> Is this still valid now we have the .deb/PPA?
>
> ** Changed in: openshot
> Status: New => Incomplete
>
> --
> pid.lock should not be on the main directory
> https://bugs.launchpad.net/bugs/425600
> You received this bug notification because you are a member of OpenShot
> Developers, which is subscribed to OpenShot Video Editor.
>
> Status in OpenShot Video Editor: Incomplete
>
> Bug description:
> Hi,
> Debian lenny 5.0 (Stable version)
> Build Wizard 1.0.6
> OpenShot (version 0.9.29)
>
> All compile went fine. But I have to use root for this wizard to work. When
> try to execute as normal user:
>
> cheche@casa:/root/openshot/main$ python /root/openshot/main/OpenShot.py
> --------------------------------
> OpenShot (version 0.9.29)
> --------------------------------
> Traceback (most recent call last):
> File "/root/openshot/main/OpenShot.py", line 28, in <module>
> lock.check_pid()
> File "/root/openshot/main/classes/lock.py", line 54, in check_pid
> fp=open(pidPath, 'w')
> IOError: [Errno 13] Permission denied: '/root/openshot/main/pid.lock'
>
>
> on classes/lock.py check_pid()
> path = os.path.dirname(os.path.abspath(sys.argv[0]))
>
> I think that you should not use this path for the lock file.
> /var/run/ seem more appropiate
>
> I found some info that maybe is suitable for this issue and others:
>
> http://mail.python.org/pipermail/python-list/2003-January/183447.html
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openshot.developers<https://launchpad.net/%7Eopenshot.developers>
> Post to : openshot.developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openshot.developers<https://launchpad.net/%7Eopenshot.developers>
> More help : https://help.launchpad.net/ListHelp
>
--
pid.lock should not be on the main directory
https://bugs.launchpad.net/bugs/425600
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.
Status in OpenShot Video Editor: Incomplete
Bug description:
Hi,
Debian lenny 5.0 (Stable version)
Build Wizard 1.0.6
OpenShot (version 0.9.29)
All compile went fine. But I have to use root for this wizard to work. When try to execute as normal user:
cheche@casa:/root/openshot/main$ python /root/openshot/main/OpenShot.py
--------------------------------
OpenShot (version 0.9.29)
--------------------------------
Traceback (most recent call last):
File "/root/openshot/main/OpenShot.py", line 28, in <module>
lock.check_pid()
File "/root/openshot/main/classes/lock.py", line 54, in check_pid
fp=open(pidPath, 'w')
IOError: [Errno 13] Permission denied: '/root/openshot/main/pid.lock'
on classes/lock.py check_pid()
path = os.path.dirname(os.path.abspath(sys.argv[0]))
I think that you should not use this path for the lock file.
/var/run/ seem more appropiate
I found some info that maybe is suitable for this issue and others:
http://mail.python.org/pipermail/python-list/2003-January/183447.html
References