Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError undefined Symbol _PyUnicode_AsStringAndSize #510

Closed
charlyrock opened this issue Apr 17, 2024 · 1 comment
Closed

ImportError undefined Symbol _PyUnicode_AsStringAndSize #510

charlyrock opened this issue Apr 17, 2024 · 1 comment

Comments

@charlyrock
Copy link

charlyrock commented Apr 17, 2024

Issue Description

I experience an issue when I installed king-phisher.
I installed it, configured pipenv and after it runs and installed king-phisher and try to start /opt/king-phisher/KingPhisher I get the a error message, that it is a undefined symbol.

Reproduction Steps

  1. Install King Phisher
  2. /opt/king-phisher/KingPhisher
  3. I must update some packages in Pipfile, because pipenv doesn´t run. I updated the package: PyYAML, Cython, Numpy.
  4. I tried different versions of Cython, because my google search give me some informations that 0.29.22 or 0.29.21 shouldn´t have the problem with the icon. But in every version I get the failure

Environment Details

Host OS: Ubuntu 22.04
King Phisher Version: latest version

Error Details / Stack Trace

Loading .env environment variables...
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/opt/king-phisher/king_phisher/client/__init__.py", line 35, in <module>
    import gi
  File "/opt/king-phisher/.venv/lib/python3.10/site-packages/gi/__init__.py", line 42, in <module>
    from . import _gi
ImportError: /opt/king-phisher/.venv/lib/python3.10/site-packages/gi/_gi.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyUnicode_AsStringAndSize
@charlyrock
Copy link
Author

I delete the file. Then it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant