This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Trouble running Amarok from script

Tags: None
(comma "," separated)
smoothpoopin
Registered Member
Posts
1
Karma
0

Trouble running Amarok from script

Wed Jun 23, 2010 8:06 pm
I have been tasked with writing a python script(under an NDA) that will launch amarok, and close it after enough time to finish a playlist has passed.

the problem i am having is as follows

Code: Select all
output = subprocess.Popen(command + " " + '"' + playlist + '"', stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


I have tried appending a ./ before amarok, as well as defining full paths to amarok as well as the playlist, and am at a loss.

any help would be greatly appreciated.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], Sogou [Bot]