Skip to content

Exception: NameError: name 'unicode' is not defined #122

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

Open
techengineerworkstation opened this issue Jan 14, 2025 · 2 comments
Open

Exception: NameError: name 'unicode' is not defined #122

techengineerworkstation opened this issue Jan 14, 2025 · 2 comments

Comments

@techengineerworkstation

Unhandled exception appeared. If you want to help improving this program, please report this together with description how this situation has happened. Please report in english, otherwise you will be most likely told to translate you report to english later.

Traceback:
File "/home/techengrwork/From Online/wammu/Wammu/App.py", line 52, in OnInit
frame = Wammu.Main.WammuFrame(None, -1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/techengrwork/From Online/wammu/Wammu/Main.py", line 160, in init
self.cfg = Wammu.WammuSettings.WammuConfig()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/techengrwork/From Online/wammu/Wammu/WammuSettings.py", line 116, in init
self.InitGammu()
File "/home/techengrwork/From Online/wammu/Wammu/WammuSettings.py", line 125, in InitGammu
self.gammu = Wammu.GammuSettings.GammuSettings(self, path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/techengrwork/From Online/wammu/Wammu/GammuSettings.py", line 42, in init
self.filename = self.wammu_cfg.Read('/Gammu/Gammurc')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/techengrwork/From Online/wammu/Wammu/WammuSettings.py", line 138, in Read
result = Wammu.OSUtils.ExpandPath(result)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/techengrwork/From Online/wammu/Wammu/OSUtils.py", line 61, in ExpandPath
if isinstance(orig, unicode):
^^^^^^^

@techengineerworkstation
Copy link
Author

Do kindly respond as soon as possible, Thank You with Appreciation

@sergiomb2
Copy link

wammu is poorly maintained especially since python2 stopped being supported, I don't know what the status of the migration to python3 is, but therefore it doesn't seem to me that this bug will be fixed quickly

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

2 participants