mididings abort by dynamic module fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mididings (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
when start mididings, then abort by "dynamic module does not define error"
*Exec result:
$ mididings -f someLiveSetting.py
Traceback (most recent call last):
File "/usr/bin/
__import_
File "/usr/lib/
self.
File "/usr/lib/
exec(code, namespace, namespace)
File "/usr/lib/
import mididings
File "/usr/lib/
import _mididings
ImportError: dynamic module does not define init function (init_mididings)
*Exec result:
this is compile option bug.
I fixed and recompile at setup.py in mididngs source, then work fine.
*Fix setup.py:
at line 115, in function my_customize_
commentout compile option "-fvisibility=
105 def my_customize_
106 retval = distutils_
107 try:
108 # -Wstrict-prototypes is not valid for C++
109 compiler.
110 # immediately stop on error
111 compiler.
112 # some options to reduce the size of the binary
113 compiler.
114 compiler.
115 #compiler.
116 except (AttributeError, ValueError):
117 pass
118 return retval
*Platform=
Kernel: 4.15.0-
dist: Ubuntu 18.04 LTS
package: mididings, python-mididings
python-version:
python2.7 as 2.7.15-rc1-1
no longer affects: | ubuntustudio |
When filing bug reports, best practice is to file against the package. The bug is upstream of Ubuntu Studio.