← Back to team overview

registry team mailing list archive

[Bug 566303] Re: os.execlp takes two parameters

 

I am using Lucid Lynx with Skype 2.1 in my PATH environment variable.

How to confirm this bug:
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Skype4Py
>>> s = Skype4Py.Skype()
>>> s.Client.Start()
>>> Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/Skype4Py/client.py", line 247, in Start
    self._Skype._API.Start(Minimized, Nosplash)
  File "/usr/lib/pymodules/python2.6/Skype4Py/API/posix_x11.py", line 360, in Start
    os.execlp('skype')
  File "/usr/lib/python2.6/os.py", line 327, in execlp
    execvp(file, args)
  File "/usr/lib/python2.6/os.py", line 344, in execvp
    _execvpe(file, args)
  File "/usr/lib/python2.6/os.py", line 380, in _execvpe
    func(fullname, *argrest)
ValueError: execv() arg 2 must not be empty
>>> 

What should happen:
Skype shuold start.

How to fix this bug:
Change that line 
    os.execlp('skype')
to os.execlp('skype', '') or   os.execlp('skype', argument)
in file: /usr/lib/pymodules/python2.6/Skype4Py/API/posix_x11.py


Packages installed:
ii  python-skype  1.0.31.0-1 Skype API wrapper for Python
ii  python             2.6.5-0ubuntu1  
ii  skype              2.1.0.81-1

-- 
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.
https://bugs.launchpad.net/bugs/566303

Title:
  os.execlp takes two parameters