pixels4nickels / webiopi

Automatically exported from code.google.com/p/webiopi
0 stars 0 forks source link

Webiopi install issue #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Fresh install of Wheezy (latest version as of 2/17/2013
2. Go to Pi Store
3. Install Webiopi

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. 

Original issue reported on code.google.com by AndroidianLabs on 17 Feb 2013 at 9:32

GoogleCodeExporter commented 9 years ago
please add full stack trace

Original comment by tro...@trouch.com on 18 Feb 2013 at 7:00

GoogleCodeExporter commented 9 years ago
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/52213
5e0-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/52213
5e0-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 
http://pypi.python.org/packages/source/d/distribute/distribute-0.6.27.tar.gz
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    distribute_setup.use_setuptools()
  File "/usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/distribute_setup.py", line 145, in use_setuptools
    return _do_download(version, download_base, to_dir, download_delay)
  File "/usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/distribute_setup.py", line 124, in _do_download
    to_dir, download_delay)
  File "/usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/distribute_setup.py", line 193, in download_setuptools
    src = urlopen(url)
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 401, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 419, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1211, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno -5] No address associated with hostname>
Build for Python 2.7.3 failed\n
Found Python 3.2.3... 
Trying to install WebIOPi for Python 3.2.3
Downloading 
http://pypi.python.org/packages/source/d/distribute/distribute-0.6.27.tar.gz
Traceback (most recent call last):
  File "/usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/distribute_setup.py", line 139, in use_setuptools
    import pkg_resources
ImportError: No module named pkg_resources

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 <module>
    distribute_setup.use_setuptools()
  File "/usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/distribute_setup.py", line 145, in use_setuptools
    return _do_download(version, download_base, to_dir, download_delay)
  File "/usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/distribute_setup.py", line 124, in _do_download
    to_dir, download_delay)
  File "/usr/local/bin/indiecity/InstalledApps/webiopi/Full/WebIOPi-0.5.3/python/distribute_setup.py", line 193, in download_setuptools
    src = urlopen(url)
  File "/usr/lib/python3.2/urllib/request.py", line 139, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.2/urllib/request.py", line 370, in open
    response = self._open(req, data)
  File "/usr/lib/python3.2/urllib/request.py", line 388, in _open
    '_open', req)
  File "/usr/lib/python3.2/urllib/request.py", line 348, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.2/urllib/request.py", line 1160, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.2/urllib/request.py", line 1143, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -5] No address associated with 
hostname>
Build for Python 3.2.3 failed\n
ERROR: WebIOPi cannot be installed - please check errors above
Exe file = 
/usr/local/bin/indiecity/InstalledApps/webiopi/Full//WebIOPi-0.5.3/play.sh
Install Complete.

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.

Original comment by AndroidianLabs on 19 Feb 2013 at 12:36

GoogleCodeExporter commented 9 years ago
from a terminal, try :
wget 
http://pypi.python.org/packages/source/d/distribute/distribute-0.6.27.tar.gz

Original comment by tro...@trouch.com on 19 Feb 2013 at 7:53

GoogleCodeExporter commented 9 years ago
guessing it was a momentary network error....
closing the issue, do not depend on webiopi.

Original comment by tro...@trouch.com on 2 Mar 2013 at 12:48