macports installation crashes (Bug #939)
Description
installation¶
according to https://project.auto-multiple-choice.net/projects/auto-multiple-choice/wiki/Installing_AMC_with_MacPorts_on_macOS
using $ sudo port install auto-multiple-choice +mactex
OS is mac Sonoma 14.7
troubles to circumvent: $ sudo port -f deactivate libgcc-devel
and $ sudo port -v install libgcc
to install AMC port including ImageMagic and imath
more troubles with xQuartz - the AMC window comes with a black background (thus boxes invisble): $ defaults write org.xquartz.X11 enable_render_extension 0
associated problem¶
AMC starts correctly, an existing test can be edited. When checking the boxes or when calculating the grades or when exporting the grades or when annotating the pdfs, AMC crashes and issues a report (see below)
macports/x11 output:¶
elster@elster ~ % auto-multiple-choice
(auto-multiple-choice:1328): Gtk-WARNING **: 13:06:04.673: Theme parsing error: gtk.css:23:11: not a number
(auto-multiple-choice:1328): Gtk-WARNING **: 13:06:04.674: Theme parsing error: gtk.css:23:24: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
(auto-multiple-choice:1328): Gdk-ERROR **: 13:08:05.333: The program 'auto-multiple-choice' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.
(Details: serial 4926 error_code 16 request_code 72 (core protocol) minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
zsh: trace trap auto-multiple-choice
elster@elster ~ % Unable to flush stdout: Broken pipe