Bug 510423

Summary: python bindings are broken
Product: [Fedora] Fedora Reporter: Tomeu Vizoso <tomeu>
Component: csoundAssignee: Peter Robinson <pbrobinson>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: alsroot, paul, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.10.1-12.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-10 03:47:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 461806    

Description Tomeu Vizoso 2009-07-09 08:15:04 UTC
Description of problem:

Cannot import the csound python module

Version-Release number of selected component (if applicable):

csound-python.i586 0:5.10.1-7.fc11

How reproducible:

Always

Steps to Reproduce:
[tomeu@zviratko ~]$ python -c "import csound"
  
Actual results:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named csound
[tomeu@zviratko ~]$ python -c "import csnd"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/csnd.py", line 25, in <module>
    _csnd = swig_import_helper()
  File "/usr/lib/python2.6/site-packages/csnd.py", line 17, in swig_import_helper
    import _csnd
ImportError: No module named _csnd


Expected results:

No traceback.

Additional info:

Comment 1 Aleksey Lim 2009-07-09 08:28:37 UTC
https://sourceforge.net/tracker/index.php?func=detail&aid=2817271&group_id=81968&atid=564599 relates to `import csnd` issue as well

Comment 2 Peter Robinson 2009-07-09 12:09:59 UTC
I think one of the many patches that need to be added to compile on F11 are broken from when I forward ported them due to either the update to csound 5.10 or python 2.6.

My guess is that its this one if anyone has time to have a look at it
http://cvs.fedoraproject.org/viewvc/rpms/csound/OLPC-2/csound-5.07.0-install-fixes.patch?view=markup

Comment 3 Peter Robinson 2009-07-16 11:34:28 UTC
Please test build

http://koji.fedoraproject.org/koji/taskinfo?taskID=1478646

It has the libcnd.so file built and included but I'm not convinced it properly fixes the issue.

Comment 4 Fedora Update System 2009-07-16 11:40:51 UTC
csound-5.10.1-9.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/csound-5.10.1-9.fc11

Comment 5 Fedora Update System 2009-07-19 10:35:05 UTC
csound-5.10.1-9.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update csound'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7787

Comment 6 Fedora Update System 2009-09-05 14:38:31 UTC
csound-5.10.1-12.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/csound-5.10.1-12.fc11

Comment 7 Fedora Update System 2009-09-06 20:41:40 UTC
csound-5.10.1-12.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update csound'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-9349

Comment 8 Fedora Update System 2009-09-10 03:47:49 UTC
csound-5.10.1-12.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.