monome: community
news
events
applications
projects
hardware
arduinome
help
trade
ioflow
movie
open
not signed in (sign in / register)
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
-
- CommentAuthorspace.wizard
- CommentTimeFeb 19th 2010
when trying to run the latest branch of serial-pyio i get the following error:
Traceback (most recent call last):
File "serial-pyio.py", line 55, in <module>
import gui.singletonqueue as singletonQueue
ImportError: No module named singletonqueue
i was also able to run a different version but it said that pypm.so was 32 bit and i need 64 bit. is there a 64 bit version of pypm?
i am currently running ubuntu 10.04 with an arduinome any feedback would be appreciated -
- CommentAuthorspace.wizard
- CommentTimeFeb 19th 2010
here is the exact error involving pypm. to get to this point i need to first
export PYTHONPATH=src
python import gui.singletonqueue
then i get to the point where the pypm error happens:
File "serial-pyio.py", line 56, in <module>
import router
File "/home/jared/serial-pyio/src/router.py", line 36, in <module>
import proxy.midiproxy
File "/home/jared/serial-pyio/src/proxy/midiproxy.py", line 35, in <module>
import pypm
ImportError: /home/jared/serial-pyio/lib/pypm/pypm.so: wrong ELF class: ELFCLASS32 -
- CommentAuthorspace.wizard
- CommentTimeFeb 21st 2010
any ideas? -
-
CommentAuthorjul
- CommentTimeFeb 22nd 2010
Hello,
Sorry for the late reply. I've been out for the week end.
Serial-pyio needs python PortMidi (pypm) for the midi functions. It ships with a compiled version for windows and linux 32bits.
To get it work on your machine you'll need to compile it from the sources. This is not so difficult, if you're a bit used to library compilation under linux.
Download this file:
http://downloads.sourceforge.net/project/portmedia/portmidi/200/portmidi-src-200.zip?use_mirror=sunet
Then compile and install the library. Instructions are in the readme file of the linux dir. This is based on cmake. Probably typing cmake in a term should be enough. To install it's probably cmake install. I cannot test this now.
Once you compiled and installed the portmidi lib, you have to compile and install the python bindings. This is easier. Go into pm-python and type: sudo python setup.py install . This should be enough.
Let me know if you face problems. If you succeed to compile the python binding for 64 bit, I'll be able to include it in serial-pyio so that others do not have to redo it.
Hopefully there will be one day ubuntu packages for this.
Good luck,
Jul -
-
-
CommentAuthorjul
- CommentTimeMar 10th 2010
Hello,
I've updated serial-pyio to support linux 64 bits. Can you update your copy (svn update) and tell me if it works ?
To launch serial-pyio, lauch serial-pyio.sh in a terminal. Do not run serial-pyio.py directly.
Do NOT use the setup.py file, this is broken. This file is excluded from releases, but still present in the repository. -