Opened 9 years ago

Closed 7 years ago

#48585 closed defect (fixed)

zim @0.63_0+python27: startup failure

Reported by: vitorn Owned by: gabriel.ben.jamin@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: zim

Description

After recent update to version 0.63, zim stopped working. Running the app at Applications/MacPorts/Zim, I get a window "Python exited unexpectedly", with the contents below (and I later need to force-stop the app). Running from the terminal, the call freezes after a few warnings ( (process:1210): WARNING : Trying to regitser gtype 'GDriveStarFlags'as enum when in fact it is of type 'GFlags'). After pressing CTRL-C the zim window appears.

Attachments (1)

zim_error.txt (52.8 KB) - added by vitorn 9 years ago.
Printout of error window that opens when running zim from the app.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by vitorn

Attachment: zim_error.txt added

Printout of error window that opens when running zim from the app.

comment:1 Changed 9 years ago by Ionic (Mihai Moldovan)

Owner: changed from macports-tickets@… to gabriel.ben.jamin@…
Port: @0.63_0+python27 removed
Priority: HighNormal
Summary: Zim 0.63 not workingzim @0.63_0+python27: startup failure

Please remember to CC the maintainer(s) of the port, if any.

And no, the priority isn't "high", just because this bug affects you.

Also, I haven't quite understood what exactly isn't working - you're getting error messages on startup, but after terminating the application via Ctrl-C(?) it finally starts up fine?

comment:2 Changed 9 years ago by Ionic (Mihai Moldovan)

zim_error.txt shows a crash log for Python (ouch!)

comment:3 Changed 9 years ago by vitorn

Cc: vitornasc@… added

Thanks for your nice comments.

OK, let's try again. You can start zim from Zim.app in Applications/MacPorts, or from the command line.

When running from the app: A window pops up reporting a crash in python (yes!). I've not seen other problems with python, just when I try to open zim. Zim freezes, and process must be killed.

When running from the command line: A few warnings appear (see list below), and sometimes (but not always!) zim will start after a CTRL-C. Below is an example of an instance in which the program did not start, even after the CTRL-C.

(process:901): WARNING : Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

(process:901): WARNING : Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

(process:901): WARNING : Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' C (process:903): WARNING : Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

(process:903): WARNING : Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

(process:903): WARNING : Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'

Last edited 9 years ago by vitorn (previous) (diff)

comment:4 Changed 9 years ago by Ionic (Mihai Moldovan)

Cc: vitornasc@… removed

Please don't CC yourself, reporters are automatically notified of changes.

The warning messages don't look critical, they are glib warnings which shouldn't cause any trouble. The problem probably lies somewhere else...

The python binary crashing is very bad news. Not even sure what to make out of this, because a python program shouldn't ever crash the interpreter itself.

comment:5 Changed 9 years ago by stefan+macports@…

I've created a bug report about this on the zim bugtracker: https://bugs.launchpad.net/zim/+bug/1489202 I'm not entirely sure this is a zim issue or a zim 0.63+osx python issue. Anyway, see that ticket for a possible fix to these problems.

If you're using el capitan, you will probably also run into a gtk2 issue that can be fixed with a patch from here: https://bugzilla.gnome.org/show_bug.cgi?id=753992

comment:6 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added
Resolution: fixed
Status: newclosed

This should have been fixed a while ago - the latest version works

Note: See TracTickets for help on using tickets.