Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#55192 - [volume_key] volume_key does not actually support python3.

Attached to Project: Arch Linux
Opened by Gris Ge (cathay4t) - Friday, 18 August 2017, 09:51 GMT
Last edited by Felix Yan (felixonmars) - Wednesday, 15 November 2017, 16:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Got error when `python -c 'import volume_key'`:
```
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/volume_key.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 978, in _gcd_import
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 648, in _load_unlocked
File "<frozen importlib._bootstrap>", line 560, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
ImportError: /usr/lib/python3.6/site-packages/_volume_key.so: undefined symbol: PyString_FromStringAndSize

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.6/site-packages/volume_key.py", line 17, in <module>
_volume_key = swig_import_helper()
File "/usr/lib/python3.6/site-packages/volume_key.py", line 16, in swig_import_helper
return importlib.import_module('_volume_key')
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /usr/lib/python3.6/site-packages/_volume_key.so: undefined symbol: PyString_FromStringAndSize
```

Additional info:
* package version(s)
volume_key 0.3.9-3
* config and/or log files etc.


Steps to reproduce:
python -c 'import volume_key'
This task depends upon

Closed by  Felix Yan (felixonmars)
Wednesday, 15 November 2017, 16:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.3.9-4
Comment by Gris Ge (cathay4t) - Friday, 18 August 2017, 10:57 GMT
I have send an patch to upstream for this by forcing volume_key to use python2:

https://pagure.io/fork/cathay4t/volume_key/c/028106f408206dcabece6ee7cbe09ef3bb327988
Comment by Gris Ge (cathay4t) - Wednesday, 15 November 2017, 15:04 GMT
Any update on this bug?

Loading...