Csound Csound-dev Csound-tekno Search About

[Csnd] Creating new SoaS USB drive to run Csound activity

Date2009-10-04 22:02
From"Art Hunkins"
Subject[Csnd] Creating new SoaS USB drive to run Csound activity
Peter and Csound developers,

I've just tried to create a new SoaS USB drive (Strawberry - 1) to run my 
Csound activities, and I get the following error trace:
----
/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the 
sha module is deprecated; use the hashlib module instead

import sha

Traceback (most recent call last):

File "/usr/bin/sugar-activity", line 21, in 

main.main()

File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 105, in 
main

module = __import__(module_name)

File "/home/liveuser/Activities/OurMusicMC.activity/ourmusicmc.py", line 56, 
in 

import csndsugui

File "/home/liveuser/Activities/OurMusicMC.activity/csndsugui.py", line 36, 
in 

import csnd

File "/usr/lib/python2.6/site-packages/csnd.py", line 25, in 

_csnd = swig_import_helper()

File "/usr/lib/python2.6/site-packages/csnd.py", line 24, in 
swig_import_helper

return _mod

UnboundLocalError: local variable '_mod' referenced before assignment

----

I upgraded csound-python, Csound, python and python-libs to their latest 
versions (to my knowledge):

python and python-libs to 2.6-11.fc11

and csound and csound-python to 5.10.1-12.fc11

Has anything changed in the yum installs/updates in the last weeks? Another 
fairly recent stick is working fine.

What does the above log indicate is going wrong? (It looks vaguely 
familiar.)

Art Hunkins





Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-10-04 22:28
Fromvictor
Subject[Csnd] Re: Creating new SoaS USB drive to run Csound activity
This error possibly indicates that the binary module _csnd.so was not
loaded properly. Could be a version mismatch, or perhaps _csnd.so
was not found, or one of its dependencies.

Victor

>
> File "/usr/lib/python2.6/site-packages/csnd.py", line 24, in 
> swig_import_helper
>
> return _mod
>
> UnboundLocalError: local variable '_mod' referenced before assignment
>
> ----
>
> I upgraded csound-python, Csound, python and python-libs to their latest 
> versions (to my knowledge):
>
> python and python-libs to 2.6-11.fc11
>
> and csound and csound-python to 5.10.1-12.fc11
>
> Has anything changed in the yum installs/updates in the last weeks? 
> Another fairly recent stick is working fine.
>
> What does the above log indicate is going wrong? (It looks vaguely 
> familiar.)
>
> Art Hunkins
>
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"