Installing SpreadPi on your Raspberry Pi

Johannes Baiter's Spreads and SpreadPi are the latest control systems and postprocessors for DIY scanning. http://spreads.readthedocs.org

Moderator: peterZ

Catapult
Posts: 14
Joined: 15 Dec 2013, 13:04
Number of books owned: 0
Country: Canada

Re: Installing SpreadPi on your Raspberry Pi

Post by Catapult »

So here's what I did:
Downloaded latest image file and extracted .img file
Formatted SD card
Wrote .img to SD card with Win32DiskImager and put SD card in RPi

Connected RPi to network and used PuTTY to connect to SSH
Logged on with spreads:spreads
Typed

Code: Select all

source ~/virtspreads/bin/activate
and got

Code: Select all

-bash: /root/virtspreads/bin/activate: No such file or directory
Logged on with root:raspberry
Typed

Code: Select all

/etc/init.d/spread start
and got no output

Typed

Code: Select all

tail -n100 /var/log/spreads/spread.log
and got

Code: Select all

tail: cannot open `/var/log/spreads/spread.log' for reading: No such file or directory
Typed

Code: Select all

netstat -ptan|grep 5000 
and got no output

Typed

Code: Select all

ps aux|grep spread
and got

Code: Select all

root      2001  0.0  0.1   3508   796 pts/0    S+   20:04   0:00 grep --color=auto spread
Typed

Code: Select all

/etc/init.d/spread restart
and got

Code: Select all

[....] Restarting spread: spread/etc/init.d/spread: 67: kill: No such process

 failed!
User avatar
jbaiter
Posts: 98
Joined: 17 Jun 2013, 16:42
E-book readers owned: 2
Number of books owned: 0
Country: Germany
Location: Munich, Germany
Contact:

Re: Installing SpreadPi on your Raspberry Pi

Post by jbaiter »

Catapult, the current nightly is unfortunately broken due to an outdated package in the image.

Code: Select all

22:25 < jbaiter> jfyi, the last image probably won't boot
22:25 < jbaiter> i just noticed that I introduced a feature from tornado 4.0 in one of the last commits
22:25 < jbaiter> while the spreadpi image is still on 3.2
22:26 < jbaiter> quick workaround: sudo apt-get remove python-tornado; sudo pip install tornado
22:26 < jbaiter> on the pi
22:26 < jbaiter> it should start again after that
If you do these two commands and reboot the Pi, spreads should start up automatically.
virtualenv is no longer needed!
spreads: Command-line workflow assistant
User avatar
jbaiter
Posts: 98
Joined: 17 Jun 2013, 16:42
E-book readers owned: 2
Number of books owned: 0
Country: Germany
Location: Munich, Germany
Contact:

Re: Installing SpreadPi on your Raspberry Pi

Post by jbaiter »

I just pushed a fix to the SpreadPi buildscript to GitHub and a new nightly build should be available tomorrow morning.
spreads: Command-line workflow assistant
PocketLibrarian
Posts: 17
Joined: 12 Apr 2010, 21:39

Re: Installing SpreadPi on your Raspberry Pi

Post by PocketLibrarian »

I appreciate all the work done through this forum but am having trouble find spreadpi.img download.
Would anyone be able to help with locating this image?

Thank you!!
Post Reply