Posted by AndroidianLabs
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I expected Webiopi to be installed, I got an error in terminal instead.
Please provide any additional information below.
I'm not sure what the issue is, I've Googled it to death and didn't get any results. The error in terminal says
urlib.error.URLError: urlopen [Errorno - 5] No address associated with hostname
I have run apt-get update and even tried installing this through the tar.gz package here. The error remains the same. After I get the error a browser window opens and says error connecting to page. I'm not sure if I have to download anything else to get the webpage to open, I haven't owned an Rpi for long.
Posted by trouch
please add full stack trace
Posted by AndroidianLabs
This script will install webiopi but needs root permissions to do so
Please type in your password
Unpacking /var/lib/indiecity/pistore/Installers/522135e0-7d2f-48a1-9586-d8b3e09cc13e/522135e0-7d2f-48a1-9586-d8b3e09cc13e_1_0_0_6.zip to /usr/local/bin/indiecity/InstalledApps/webiopi/Full/
Archive: /var/lib/indiecity/pistore/Installers/522135e0-7d2f-48a1-9586-d8b3e09cc13e/522135e0-7d2f-48a1-9586-d8b3e09cc13e_1_0_0_6.zip
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/522135e0-7d2f-48a1-9586-d8b3e09cc13e_reg.xml
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/examples/custom/index.html
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/examples/custom/webiopi_custom.py
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/examples/custom/webiopi_custom.daemon
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/examples/basic/webiopi_basic.py
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/examples/basic/webiopi_basic.daemon
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/setup.sh
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/doc/CHANGELOG
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/doc/README
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/doc/updatedoc
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/doc/LICENSE
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/play.sh
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/webiopi.py.init
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/passwd
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/webiopi.py
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/setup.py
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/native/cpuinfo.c
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/native/bridge.c
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/native/cpuinfo.h
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/native/gpio.c
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/native/gpio.h
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/webiopi-passwd.py
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/distribute_setup.py
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/htdocs/webiopi.js
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/htdocs/index.html
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/htdocs/jquery.js
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/htdocs/webiopi.css
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/htdocs/app/expert/index.html
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/htdocs/app/expert/style.css
inflating: /usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/midori/config
Registering product...
Installing Dependencies...
Check for Install script...
Install script = /usr/local/bin/indiecity/InstalledApps/webiopi/Full//WebIOPi-0.5.3/setup.sh
Installing WebIOPi...\n
Found Python 2.7.3...
Trying to install WebIOPi for Python 2.7.3
Downloading https://pypi.python.org/packages/source/d/distribute/distribute-0.6.27.tar.gz
Traceback (most recent call last):
File "setup.py", line 2, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3.2/urllib/request.py", line 1140, in do_open h.request(req.get_method(), req.selector, req.data, headers) File "/usr/lib/python3.2/http/client.py", line 970, in request self._send_request(method, url, body, headers) File "/usr/lib/python3.2/http/client.py", line 1008, in _send_request self.endheaders(body) File "/usr/lib/python3.2/http/client.py", line 966, in endheaders self._send_output(message_body) File "/usr/lib/python3.2/http/client.py", line 811, in _send_output self.send(msg) File "/usr/lib/python3.2/http/client.py", line 749, in send self.connect() File "/usr/lib/python3.2/http/client.py", line 727, in connect self.timeout, self.source_address) File "/usr/lib/python3.2/socket.py", line 397, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): socket.gaierror: [Errno -5] No address associated with hostname
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 2, in
Like I said I don't know if this is a problem with the pi or this software. I apologise in advance if it is my pi but I'm running on a fresh install and everything works on it, in fact I'm posting this comment from it.
Posted by trouch
from a terminal, try : wget https://pypi.python.org/packages/source/d/distribute/distribute-0.6.27.tar.gz
Posted by trouch
guessing it was a momentary network error.... closing the issue, do not depend on webiopi.