Menu

#83 Stable release - crash at starting

Windows Binary
open
nobody
None
5
2017-12-21
2013-09-12
Brunetton
No

Just downloaded and installed stable release of Metamorphose, but after installing, the programm chashes. It indiquates me that a log file was created, but it's not the case.
To have a log file, I've to lunch the program as admin (right click -> "run as admin").

Here is the log :

Traceback (most recent call last):
  File "metamorphose.py", line 95, in <module>
  File "metamorphose.py", line 88, in main
  File "wx\_core.pyo", line 7978, in __init__
  File "wx\_core.pyo", line 7552, in _BootstrapApp
  File "metamorphose.py", line 74, in OnInit
  File "main_window.pyo", line 73, in create
  File "main_window.pyo", line 442, in __init__
  File "main_window.pyo", line 612, in makeInitialEnvironment
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 28: ordinal not in range(128)

Discussion

  • Gigabyte

    Gigabyte - 2014-01-18

    I can confirm this issue. It is caused when Méta is installed under a directory path that contains a hyphen or accent aigu (acute). Mine was C:\Program Files- Utils -\Métamorphose and it failed to start with the same error message as reported above.

    -Barry

     
  • J. Reis

    J. Reis - 2017-12-21

    This post is ridiculously old & I don't actually have a solution to offer presently. That said, I do believe I know what the issue is (or likely may be) and am aware of some possible solutions on the Linux platform. Since this project offers a unique combination of capabilities (discrete ordered operations + exif & audio tag support + undo, etc.) that aren't available in alternatives that I'm aware of (on Linux: Gprename/pyRenamer/etc); I'm going to ignore the usual etiquette and risk a little spamming.

    In short, metamorphose2 depends on an old version of wxPython that is not longer available on most operating systems. Whether this can be solved at compile time is unclear (to neophyte me) since python-wxgtk seems to be a dependency of the binary package, I'm assuming not. In any case (compile time dependency, or something expected to be provided by the base system at execution time) I believe the compatible 2.8 version of wxPython can be bundled with metamorphose2 to make a self-contained executable package via something like AppImage or Flatpak. No doubt there's a way to do this for Windows as well.

    For myself, I have a bit to learn before I can even test this, but someone more knowledgable might be able to implement this in a matter of minutes and the result would be an atomic package which should work for folks a long time into the future without any additional dev support.

    I've set up a new ticket --here-- in the hopes of consolidating any efforts related to this issue.

    Justin R.

    P.S. One last thing, back when I did run windows daily, I used an older version of den4b's ReNamer which worked very well and was (at that time) free for personal use. In fact it is the funcionality of this tool that I've been hoping to replicate on Linux. So you Windows folks might want to check that out if you haven't already.

     

Log in to post a comment.