CoderDojoPL / stacja_pogodowa

Weather station with web-access based od Intel Galileo
MIT License
3 stars 0 forks source link

Error when running deb_install.sh #1

Open wpiekutowski opened 9 years ago

wpiekutowski commented 9 years ago
python-flask is already the newest version.
git is already the newest version.
python-smbus is already the newest version.
ipython is already the newest version.
python-pip is already the newest version.
python-rrdtool is already the newest version.
rrdtool is already the newest version.
python-requests is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
python JSON-RPC library
Requirement already satisfied (use --upgrade to upgrade): python-jsonrpc in /usr
/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): bunch in /usr/local/li
b/python2.7/dist-packages (from python-jsonrpc)
Cleaning up...
-------- links in web server config directory ---
ln: failed to create symbolic link `./10-cgi.conf': File exists
ln: failed to create symbolic link `./10-rrdtool.conf': File exists
ln: failed to create symbolic link `./10-status.conf': File exists
Lighttpd features enabled...
wiring-x86 python library for coderdojo library
Cloning into 'wiring-x86'...
remote: Counting objects: 347, done.
remote: Total 347 (delta 0), reused 0 (delta 0), pack-reused 347
Receiving objects: 100% (347/347), 620.76 KiB | 285 KiB/s, done.
Resolving deltas: 100% (182/182), done.
error: fetch-pack died of signal 11
deb_install.sh: 33: cd: can't cd to wiring-x86
python: can't open file 'setup.py': [Errno 2] No such file or directory
done.

Obviously it fails when cloning the wiring-x86 repo. Cloning the repo on my desktop works fine.

I've managed to build wiring-x86 like this:

wget https://github.com/emutex/wiring-x86/archive/master.zip 
apt-get install unzip
unzip master.zip
cd wiring-x86-master
python setup.py install

Is there any way to solve the issue with git or are you going to update the deb_install.sh script?

abixadamj commented 9 years ago

I cannot reproduce error......Everything works as expected...

adasiek@adasiek-ThinkPad-X200:~/tmp$ git clone https://github.com/emutex/wiring-x86.git
Cloning into 'wiring-x86'...
remote: Counting objects: 347, done.
remote: Total 347 (delta 0), reused 0 (delta 0), pack-reused 347
Receiving objects: 100% (347/347), 620.76 KiB | 708 KiB/s, done.
Resolving deltas: 100% (182/182), done.
adasiek@adasiek-ThinkPad-X200:~/tmp$ cd wiring-x86/
adasiek@adasiek-ThinkPad-X200:~/tmp/wiring-x86$ 

But, I see an error in yours screen: "error: fetch-pack died of signal 11" I think there were problem with fetching repo...and there is noo need to change scripts..

Maybe there is a problem with SD card and filesystem on it? Did you check md5 sum before writing image?

wpiekutowski commented 9 years ago

The problem happens only on gallileo. md5 sum was matching, although this check should be also mentioned in the wiki.

abixadamj commented 9 years ago

The same answer - without galileo I cannot help.