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
Error occurred while generating preview #399
Comments
Thanks for the report. What I do conclude from the log is that the gobject introspection system throws the error. The system provides the Python bindings for the gtk interface of TexText (and other extensions like the extension manager). So I assume a packaging problem here. What does happen of you open the extension manager and work a little bit with it? |
@jcwinkler Thanks for the reply.
I'm sorry, but I'm unsure if the "extension manager" means the window that pops up when clicking on |
@jcwinkler I encountered the same problem. When I open the extension manager or Textext (or other extensions require textext, e.g. inkscapeMadeEasy) for a few seconds, it pops out System information
|
@jcwinkler Ran into the same problem just now. When I opened the extension manager, I could not find TexText in it, and the error messages persisted. System info:
|
Hi guys (@jcwinkler ), same issue for me.
I tried Xorg and Wayland. Same problem. |
Which info needed @jcwinkler ??? |
Please could you perform the following test: generate a small pdf snippet using latex, e.g with the content |
@jcwinkler I have TeX Live 2023 |
Ok, thanks @andreyzhitnikov . Now a final test. Take your pdf snippet (I assume it is called inkscape --pdf-poppler --pages=1 --export-type=svg --export-text-to-path --export-area-drawing --export-filename test.svg test.pdf Does it produce a valid |
@jcwinkler crashed |
OK, thanks. So this is really an inkscape issue, not an issue of TexText. Background: Inkscape is used by TexText to convert the generated pdf snippet into svg. And this converion crashes Inkscape. Most likely, it is a problem of packaging on your Fedora distro. The Inkscape developers told me that this issue should be fixed in Inkscape 1.3.1. So you can try the following:
Please also post the exact version of the AppImage-Inkscape. |
@jcwinkler I run Appimage. Textex does not start |
It can run on the latest Appimage. Although it's still showing |
This means what? Does it compile sth? Or does it hang? |
It compiles the formula as expected. |
Ok. The "Inkscape is not responding" message is fine and intended since TexText opens a modal dialog, hence blocking the calling program. |
I encountered the same issue than described here on Fedora 39. I downloaded the Appimage from the website but Textext does not start (no window opens).
|
Thanks for this great program; unfortunately, since last update, I can see the error message below.
Minimal Working Example:
ab
default_packages.tex
Full error message here:
Return Code: -11: b'\nEmergency save activated!\nEmergency save completed. Inkscape will close now.\nIf you can reproduce this crash, please file a bug at https://inkscape.org/report\nwith a detailed description of the steps leading to the crash, so we can fix it.\n** Message: 18:12:30.665: Error: \n 0# Inkscape::Application::crash_handler(int) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0\n 1# 0x00007F1AFCC2A710 in /usr/lib/libc.so.6\n 2# 0x00007F1AFB128A7B in /usr/bin/../lib/inkscape/../libgtk-3.so.0\n 3# 0x00007F1AFC34A644 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 4# 0x00007F1AFC34E6AD in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 5# 0x00007F1AFC3B828E in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 6# 0x00007F1AFC34A644 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 7# 0x00007F1AFC34E6AD in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 8# 0x00007F1AFC3A5493 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 9# 0x00007F1AFC34A644 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n10# 0x00007F1AFC34A67D in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n11# g_main_context_dispatch in /usr/lib/libglib-2.0.so.0\n12# 0x00007F1AFD3F1CC9 in /usr/lib/libglib-2.0.so.0\n13# g_main_context_iteration in /usr/lib/libglib-2.0.so.0\n14# g_application_run in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n15# main in /usr/bin/inkscape\n16# 0x00007F1AFCC13CD0 in /usr/lib/libc.so.6\n17# __libc_start_main in /usr/lib/libc.so.6\n18# _start in /usr/bin/inkscape\n'
b''
args: ("Return Code: -11: b'\nEmergency save activated!\nEmergency save completed. Inkscape will close now.\nIf you can reproduce this crash, please file a bug at https://inkscape.org/report\\nwith a detailed description of the steps leading to the crash, so we can fix it.\n** Message: 18:12:30.665: Error: \n 0# Inkscape::Application::crash_handler(int) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0\n 1# 0x00007F1AFCC2A710 in /usr/lib/libc.so.6\n 2# 0x00007F1AFB128A7B in /usr/bin/../lib/inkscape/../libgtk-3.so.0\n 3# 0x00007F1AFC34A644 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 4# 0x00007F1AFC34E6AD in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 5# 0x00007F1AFC3B828E in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 6# 0x00007F1AFC34A644 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 7# 0x00007F1AFC34E6AD in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 8# 0x00007F1AFC3A5493 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 9# 0x00007F1AFC34A644 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n10# 0x00007F1AFC34A67D in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n11# g_main_context_dispatch in /usr/lib/libglib-2.0.so.0\n12# 0x00007F1AFD3F1CC9 in /usr/lib/libglib-2.0.so.0\n13# g_main_context_iteration in /usr/lib/libglib-2.0.so.0\n14# g_application_run in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n15# main in /usr/bin/inkscape\n16# 0x00007F1AFCC13CD0 in /usr/lib/libc.so.6\n17# __libc_start_main in /usr/lib/libc.so.6\n18# _start in /usr/bin/inkscape\n'\nb''\nargs: ('inkscape', -11, b'\nEmergency save activated!\nEmergency save completed. Inkscape will close now.\nIf you can reproduce this crash, please file a bug at https://inkscape.org/report\\nwith a detailed description of the steps leading to the crash, so we can fix it.\n** Message: 18:12:30.665: Error: \n 0# Inkscape::Application::crash_handler(int) in /usr/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0\n 1# 0x00007F1AFCC2A710 in /usr/lib/libc.so.6\n 2# 0x00007F1AFB128A7B in /usr/bin/../lib/inkscape/../libgtk-3.so.0\n 3# 0x00007F1AFC34A644 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 4# 0x00007F1AFC34E6AD in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 5# 0x00007F1AFC3B828E in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 6# 0x00007F1AFC34A644 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 7# 0x00007F1AFC34E6AD in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 8# 0x00007F1AFC3A5493 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n 9# 0x00007F1AFC34A644 in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n10# 0x00007F1AFC34A67D in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n11# g_main_context_dispatch in /usr/lib/libglib-2.0.so.0\n12# 0x00007F1AFD3F1CC9 in /usr/lib/libglib-2.0.so.0\n13# g_main_context_iteration in /usr/lib/libglib-2.0.so.0\n14# g_application_run in /usr/bin/../lib/inkscape/../libgio-2.0.so.0\n15# main in /usr/bin/inkscape\n16# 0x00007F1AFCC13CD0 in /usr/lib/libc.so.6\n17# __libc_start_main in /usr/lib/libc.so.6\n18# _start in /usr/bin/inkscape\n', b'', ['/usr/bin/inkscape', '--export-filename=tmp.png', '--pdf-poppler', '--pages=1', '--export-type=png', '--export-dpi=300', '--export-area-drawing', 'tmp.pdf'])",)
Logfile
Here the TexText log file:
textext.log
System information
The text was updated successfully, but these errors were encountered: