-
Notifications
You must be signed in to change notification settings - Fork 33
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
Refuses to launch on wxPython 3.0 #12
Comments
/cc |
This is because Fedora 22 comes with wxpython 3.0.2 and metamorphose is looking strictly at 2.8. I forced the usage of wxpython to 3.0.2 by modifying the required script. |
Is wxPython 2.8 not available in Fedora 22? |
Hello @ianare, Yes Fedora 22 is shipped only with 3.0.2. It was part of the main changes : I tried to investigate a bit more on the issue but I was unable to get the main window working. |
Sorry, upon re-reading your output log, I see the problem is actually with the preferences menu... I'll see what I can do ;-) |
@ianare wahou ! Thanks for your support ! |
OK it should be working now, can you test the latest master branch? Thanks! |
Hello @ianare, It is better, but unfortunately I still get a core dump. :( 1. Install issue.messages/update_langs.sh --> ok
Installation is looking for a html file and none is available. 2. Issue configuring metamorphose.Language selection --> ok
3. Metamorphose starts.Then metamorphose refuses to start. I guess this is normal because the configuration phase was not completed.
|
Strange, I am not getting any of these warnings and no error on startup. I will see if I can find some info on them. Which desktop environment are you using? |
I noticed some files are missing in the master branch compared to the source code for 0.8.2. make install fails because readme_en.html is missing in the root directory. I got the latest version to install by adding it back. I was missing a dependency python-wxgtk3.0. Once that was taken care of launching metamorphose worked fine by using the command metamorphose2 -w 3 I'm using Debian Stretch, Gnome 3 I'll be testing it out more soon. Have a pile of files to be renamed. ;) |
@ianare, sorry for the late answer. I did not noticed your message above before. |
This is also related to #13 . |
@javierpra not sure if the above comment is related to mine. However in my case I manage to build the application. |
I was able to launch metamorphose2 on Fedora 23 by extracting only wx-2.8-gtk2-unicode directory to /usr/lib64/python2.7/site-packages from wxPython-2.8.12.0-8.fc21.x86_64.rpm. |
Hi! What's the actual situation of this issue? Is there a work around that may work for fc22? Many thanks! |
I think the last commit to master fixes this bug definitely. After much fighting with this problem, I simply removed the preferences dialog on first start. Preferences are of course still available after the application starts up. Please test, if it works for you I'll release a new version. Thanks! |
Master still segfaults when launched with -w=3 Edit: it segfaults even when launched without -w=3. |
Damn it! Can you run with the -d option and post the results here? Thanks much |
|
Try to delete your preferences file: It might fix it... |
Still the same:
|
BTW, I see /usr/share/metamorphose2/preferences/default.ini has the path: |
It launched when I deleted /home/nerijus/.metamorphose2/language.ini, but after choosing language it segfaulted again. |
Well back to work... will let you know when I have something. Thnaks for the patience ;-) |
any news? doesn't work on Ubuntu 16.04 either (wxpython 3) |
I am unable to launch on Fedora 24 even with the
|
Still an issue in 2017 |
Hi ianare, any progress resolving this issue please? I just upgraded from Ubuntu Trusty LTS to Ubunt Xenial LTS and heartbroken to discover that my best ever file renaming app for linux will not run with latest Python. I messed around for 3 hours trying the tips suggested above and no luck :-( |
Here's a trace which I believe may be related. (gdb) run /usr/share/metamorphose2/metamorphose2.py Thread 1 "python" received signal SIGSEGV, Segmentation fault. |
NOTE: The following may break other applications that rely on wxPython 3 As a workaround the following works. You can downgrade wxPython to 2.8.12. This worked for me on Fedora 24 as follows: $sudo dnf downgrade wxPython-2.8.12.0-9.el7.x86_64.rpm $cd metamorphose2/ $sudo make all |
@ianare I was on fire today and I decided to really look at this issue. Here is an early report of my findings, I probably need to look deeper in the code however, I think I have found the reason of the segfault. I'm using Fedora 24 (wxPython 3.0.2) The line which is causing the segfault is in /usr/share/metamorphose2/renamer/wxRenamerView.py. Line 144.
So right now metamorphose is not segfaulting anymore, but the gui is screwed. Here is a screenshot: If someone else could do the same and confirm it is resolving the segfault, that will be great. |
- This is probably not the best fixes, however it avoids metamorphose2 to segfault.
@uggla @ianare So Uggla seems to have found the issue. I played with this a bit. I don't know the reason for it yet, but it doesn't seem to specifically like the Destroy() function. Changing this to Close() removes the segfault for me. I don't have much time to play with this as I used to. line 144 |
@javierpra 👍 |
Awesome work on troubleshooting this issue guys! Any chance this might result in a bug-fix release in the near future? Alternatively..... Would it be safe to install a parallel (older/compatible) version of python alongside the one which comes bundled with Ubuntu Studio Xenial? Thanks a bunch :-) |
I have created Metamorphose2 Fedora RPMS. |
refuses to launch on fedora 22 claiming wxpythion 2.8 is needed while latest wxpython is installed.
The text was updated successfully, but these errors were encountered: