urlopen errors in script
__peter__ at web.de
Tue Aug 18 14:19:52 CEST 2009
Sleepy Cabbage wrote:
> This is the script up to where the error seems to fall:
> "#!/usr/bin/env superkaramba"
> "# -*- coding: iso-8859-1 -*-"
> "import karamba"
> "import subprocess"
> "from subprocess import Popen, PIPE, STDOUT, call"
> "import urllib"
> "from urllib import urlopen"
> "#this is called when your widget is initialized"
> "def initWidget(widget):"
> "clkPause = karamba.createClickArea(widget, 156, 470, 35, 35, "qdbus
> org.kde.amarok /Player Pause")"
> "nowplaying = urllib.urlopen('http://www.hearteastmids.co.uk//jsfiles/
> Hope this can enlighten things
While there isn't any obvious blunder apart from the odd quotes that you
wrap around every line there seem to be other files missing to run the
script. I'm sorry, but I'm not prepared to invest much more than
$ sudo aptitude install superkaramba
into the problem.
Perhaps an actual user of superkaramba can step in.
More information about the Python-list