-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Python 3 / wxPython 4 Support #78
Comments
Patches are welcome, it's unlikely that I will find time for that. |
I may take a stab at it. I'm assuming you would want to retain Python 2 / wxPython 3.x support as well? |
I would not mind dropping Python 2 support |
Hello , |
Yes, @sergiomb2 that was my motivation in the first place. However, I'm not very motivated as I don't actually use wammu. |
ya , even https://github.com/gammu/wammu/blob/master/setup.py is not python 3 compatible ... |
Maybe just retire it from Fedora? |
The same issue is on Debian, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=938807 |
Let me know if any progress on Debian package I will follow it on Fedora . Thanks |
Unless somebody steps up to implement needed changes, the package will be removed. |
How does 33faf64 relate to this? |
There is no relationship. It is just a bump of a GitHub action... |
Hello. I am trying to make Wammu working on Python 3 during spare time at work. It's Windows 7 PC with limited (because security) internet, and I upload many changes at once later at home. I worked with Delphi for several years and Python is new for me but it is very interesting. Hopefully there are a lot of documentation and advice over the web. Next thing to fix: SMS and Messages export. These are the main things why I use Wammu. Please check my Wammu fork. Looking forward to any help. |
Hi! Any news regarding use of Wammu on Linux having Python 3.9? I went around one issue, but wammu expects wxPython being installed under 2.7. |
I have successfully tested fork https://github.com/kamikaze-kun/wammu. The branch python3 works for me with some minor corrections. --- Main.py.orig 2024-01-14 10:46:20.917228159 +0100
+++ Main.py 2024-01-14 10:47:56.017224259 +0100
@@ -975,7 +975,7 @@
def OnProgress(self, evt):
if hasattr(self, 'progress'):
- if not self.progress.Update(evt.progress):
+ if not self.progress.Update(round(evt.progress)):
try:
evt.cancel()
except:
to resolve
and I have some problems with resources/images lookup solved by --- Paths.py.orig 2024-01-14 02:58:13.430861085 +0100
+++ Paths.py 2024-01-14 01:56:29.882999398 +0100
@@ -36,6 +37,8 @@
os.path.join(os.path.dirname(__file__).replace('lib/python2.7/dist-packages/Wammu', ''), 'share', 'Wammu'),
# Local directory
os.path.join(os.path.dirname(__file__), '..'),
+ os.path.join(os.path.dirname(__file__), '../share/Wammu'),
+ #os.path.join(os.path.dirname(__file__), '/opt/gammu/lib/python3.11/dist-packages/wammu-0.44-py3.11.egg/share'),
]
def CheckImagesPath(path):
My test are on Debian 12.4 (Bookworm, actual stable). The gammu, python_gammu and wammu are build into |
Now that wxPython 4 is out (with Python 3 support) it would be great if wammu supported wxPython 4 and Python 3.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: