Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
app-office/glabels substitute
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sat Mar 21, 2020 7:14 pm    Post subject: app-office/glabels substitute Reply with quote

Hi.

Today glabels-3 started segfaulting on my face each time I try to open a print dialog. I suspect it has something to do with a recent glibc update, but I am already fed up with it anyway, so, before gdbing it deeply and try to patch it, I will ask what alternatives do you use, people, use to mass-print labels from a CSV file. I know that there's a qt version around but I find it complicated to use and a bit clunky. Is there anything else around?

I don't need anything too fancy besides code128 support for barcodes.

Thanks!

Code:

$ gdb glabels-3
GNU gdb (Gentoo 9.1 vanilla) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from glabels-3...
Reading symbols from /usr/lib/debug//usr/bin/glabels-3.debug...
(No debugging symbols found in /usr/lib/debug//usr/bin/glabels-3.debug)
(gdb) run
Starting program: /usr/bin/glabels-3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff34cb700 (LWP 22135)]
[New Thread 0x7ffff2cca700 (LWP 22136)]
[New Thread 0x7ffff2345700 (LWP 22137)]
[New Thread 0x7ffff17a1700 (LWP 22152)]
[New Thread 0x7ffff0fa0700 (LWP 22153)]
[New Thread 0x7fffdbfff700 (LWP 22154)]
[New Thread 0x7fffdb7fe700 (LWP 22155)]
[New Thread 0x7fffdaffd700 (LWP 22156)]
[New Thread 0x7fffda7fc700 (LWP 22157)]
[Thread 0x7fffda7fc700 (LWP 22157) exited]
[Thread 0x7ffff0fa0700 (LWP 22153) exited]
[Thread 0x7fffdb7fe700 (LWP 22155) exited]
[Thread 0x7fffdaffd700 (LWP 22156) exited]
[Thread 0x7ffff17a1700 (LWP 22152) exited]

Thread 1 "glabels-3" received signal SIGSEGV, Segmentation fault.
0x00007ffff6eaef56 in __strlen_sse2 () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff6eaef56 in __strlen_sse2 () at /lib64/libc.so.6
#1  0x00007ffff72f058d in g_strjoinv () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ffff044229a in avahi_service_resolver_cb ()
    at /usr/lib64/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so
#3  0x00007ffff74c8ad3 in g_task_return_now () at /usr/lib64/libgio-2.0.so.0
#4  0x00007ffff74c947d in g_task_return.part () at /usr/lib64/libgio-2.0.so.0
#5  0x00007ffff751dbff in g_dbus_connection_call_done ()
    at /usr/lib64/libgio-2.0.so.0
#6  0x00007ffff74c8ad3 in g_task_return_now () at /usr/lib64/libgio-2.0.so.0
#7  0x00007ffff74c8b09 in complete_in_idle_cb () at /usr/lib64/libgio-2.0.so.0
#8  0x00007ffff72cf401 in g_main_context_dispatch ()
    at /usr/lib64/libglib-2.0.so.0
#9  0x00007ffff72cf7c8 in g_main_context_iterate.isra ()
    at /usr/lib64/libglib-2.0.so.0
#10 0x00007ffff72cfaf3 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#11 0x00007ffff7a3a4d3 in gtk_dialog_run () at /usr/lib64/libgtk-3.so.0
#12 0x00007ffff7c4947e in _gtk_print_operation_platform_backend_run_dialog ()
    at /usr/lib64/libgtk-3.so.0
#13 0x00007ffff7b1eece in gtk_print_operation_run ()
    at /usr/lib64/libgtk-3.so.0
#14 0x000055555557c383 in gl_ui_cmd_file_print ()
#15 0x00007ffff73b4d8d in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#16 0x00007ffff73c7a43 in signal_emit_unlocked_R ()
--Type <RET> for more, q to quit, c to continue without paging--
    at /usr/lib64/libgobject-2.0.so.0
#17 0x00007ffff73d07c6 in g_signal_emit_valist ()
    at /usr/lib64/libgobject-2.0.so.0
#18 0x00007ffff73d0e37 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#19 0x00007ffff7946b41 in _gtk_action_emit_activate ()
    at /usr/lib64/libgtk-3.so.0
#20 0x00007ffff79470c9 in closure_accel_activate () at /usr/lib64/libgtk-3.so.0
#21 0x00007ffff73b4d8d in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#22 0x00007ffff73c7a43 in signal_emit_unlocked_R ()
    at /usr/lib64/libgobject-2.0.so.0
#23 0x00007ffff73cfe53 in g_signal_emit_valist ()
    at /usr/lib64/libgobject-2.0.so.0
#24 0x00007ffff73d0e37 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#25 0x00007ffff799cc18 in gtk_accel_group_activate ()
    at /usr/lib64/libgtk-3.so.0
#26 0x00007ffff799e52d in gtk_accel_groups_activate ()
    at /usr/lib64/libgtk-3.so.0
#27 0x00007ffff7c33972 in gtk_window_activate_key ()
    at /usr/lib64/libgtk-3.so.0
#28 0x00007ffff7c33c52 in gtk_window_key_press_event ()
    at /usr/lib64/libgtk-3.so.0
#29 0x00007ffff7c6299c in _gtk_marshal_BOOLEAN__BOXEDv ()
    at /usr/lib64/libgtk-3.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#30 0x00007ffff73b4fb6 in _g_closure_invoke_va ()
    at /usr/lib64/libgobject-2.0.so.0
#31 0x00007ffff73d0295 in g_signal_emit_valist ()
    at /usr/lib64/libgobject-2.0.so.0
#32 0x00007ffff73d0e37 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#33 0x00007ffff7c0f112 in gtk_widget_event_internal ()
    at /usr/lib64/libgtk-3.so.0
#34 0x00007ffff7ad0c41 in propagate_event () at /usr/lib64/libgtk-3.so.0
#35 0x00007ffff7ad2c9b in gtk_main_do_event () at /usr/lib64/libgtk-3.so.0
#36 0x00007ffff780a9f5 in _gdk_event_emit () at /usr/lib64/libgdk-3.so.0
#37 0x00007ffff783c7a2 in gdk_event_source_dispatch ()
    at /usr/lib64/libgdk-3.so.0$ gdb glabels-3
GNU gdb (Gentoo 9.1 vanilla) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from glabels-3...
Reading symbols from /usr/lib/debug//usr/bin/glabels-3.debug...
(No debugging symbols found in /usr/lib/debug//usr/bin/glabels-3.debug)
(gdb) run
Starting program: /usr/bin/glabels-3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff34cb700 (LWP 22135)]
[New Thread 0x7ffff2cca700 (LWP 22136)]
[New Thread 0x7ffff2345700 (LWP 22137)]
[New Thread 0x7ffff17a1700 (LWP 22152)]
[New Thread 0x7ffff0fa0700 (LWP 22153)]
[New Thread 0x7fffdbfff700 (LWP 22154)]
[New Thread 0x7fffdb7fe700 (LWP 22155)]
[New Thread 0x7fffdaffd700 (LWP 22156)]
[New Thread 0x7fffda7fc700 (LWP 22157)]
[Thread 0x7fffda7fc700 (LWP 22157) exited]
[Thread 0x7ffff0fa0700 (LWP 22153) exited]
[Thread 0x7fffdb7fe700 (LWP 22155) exited]
[Thread 0x7fffdaffd700 (LWP 22156) exited]
[Thread 0x7ffff17a1700 (LWP 22152) exited]

Thread 1 "glabels-3" received signal SIGSEGV, Segmentation fault.
0x00007ffff6eaef56 in __strlen_sse2 () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff6eaef56 in __strlen_sse2 () at /lib64/libc.so.6
#1  0x00007ffff72f058d in g_strjoinv () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ffff044229a in avahi_service_resolver_cb ()
    at /usr/lib64/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so
#3  0x00007ffff74c8ad3 in g_task_return_now () at /usr/lib64/libgio-2.0.so.0
#4  0x00007ffff74c947d in g_task_return.part () at /usr/lib64/libgio-2.0.so.0
#5  0x00007ffff751dbff in g_dbus_connection_call_done ()
    at /usr/lib64/libgio-2.0.so.0
#6  0x00007ffff74c8ad3 in g_task_return_now () at /usr/lib64/libgio-2.0.so.0
#7  0x00007ffff74c8b09 in complete_in_idle_cb () at /usr/lib64/libgio-2.0.so.0
#8  0x00007ffff72cf401 in g_main_context_dispatch ()
    at /usr/lib64/libglib-2.0.so.0
#9  0x00007ffff72cf7c8 in g_main_context_iterate.isra ()
    at /usr/lib64/libglib-2.0.so.0
#10 0x00007ffff72cfaf3 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#11 0x00007ffff7a3a4d3 in gtk_dialog_run () at /usr/lib64/libgtk-3.so.0
#12 0x00007ffff7c4947e in _gtk_print_operation_platform_backend_run_dialog ()
    at /usr/lib64/libgtk-3.so.0
#13 0x00007ffff7b1eece in gtk_print_operation_run ()
    at /usr/lib64/libgtk-3.so.0
#14 0x000055555557c383 in gl_ui_cmd_file_print ()
#15 0x00007ffff73b4d8d in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#16 0x00007ffff73c7a43 in signal_emit_unlocked_R ()
--Type <RET> for more, q to quit, c to continue without paging--
    at /usr/lib64/libgobject-2.0.so.0
#17 0x00007ffff73d07c6 in g_signal_emit_valist ()
    at /usr/lib64/libgobject-2.0.so.0
#18 0x00007ffff73d0e37 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#19 0x00007ffff7946b41 in _gtk_action_emit_activate ()
    at /usr/lib64/libgtk-3.so.0
#20 0x00007ffff79470c9 in closure_accel_activate () at /usr/lib64/libgtk-3.so.0
#21 0x00007ffff73b4d8d in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#22 0x00007ffff73c7a43 in signal_emit_unlocked_R ()
    at /usr/lib64/libgobject-2.0.so.0
#23 0x00007ffff73cfe53 in g_signal_emit_valist ()
    at /usr/lib64/libgobject-2.0.so.0
#24 0x00007ffff73d0e37 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#25 0x00007ffff799cc18 in gtk_accel_group_activate ()
    at /usr/lib64/libgtk-3.so.0
#26 0x00007ffff799e52d in gtk_accel_groups_activate ()
    at /usr/lib64/libgtk-3.so.0
#27 0x00007ffff7c33972 in gtk_window_activate_key ()
    at /usr/lib64/libgtk-3.so.0
#28 0x00007ffff7c33c52 in gtk_window_key_press_event ()
    at /usr/lib64/libgtk-3.so.0
#29 0x00007ffff7c6299c in _gtk_marshal_BOOLEAN__BOXEDv ()
    at /usr/lib64/libgtk-3.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#30 0x00007ffff73b4fb6 in _g_closure_invoke_va ()
    at /usr/lib64/libgobject-2.0.so.0
#31 0x00007ffff73d0295 in g_signal_emit_valist ()
    at /usr/lib64/libgobject-2.0.so.0
#32 0x00007ffff73d0e37 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#33 0x00007ffff7c0f112 in gtk_widget_event_internal ()
    at /usr/lib64/libgtk-3.so.0
#34 0x00007ffff7ad0c41 in propagate_event () at /usr/lib64/libgtk-3.so.0
#35 0x00007ffff7ad2c9b in gtk_main_do_event () at /usr/lib64/libgtk-3.so.0
#36 0x00007ffff780a9f5 in _gdk_event_emit () at /usr/lib64/libgdk-3.so.0
#37 0x00007ffff783c7a2 in gdk_event_source_dispatch ()
    at /usr/lib64/libgdk-3.so.0
#38 0x00007ffff72cf544 in g_main_context_dispatch ()
    at /usr/lib64/libglib-2.0.so.0
#39 0x00007ffff72cf7c8 in g_main_context_iterate.isra ()
    at /usr/lib64/libglib-2.0.so.0
#40 0x00007ffff72cfaf3 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#41 0x00007ffff7ad1d75 in gtk_main () at /usr/lib64/libgtk-3.so.0
#42 0x00005555555781d0 in main ()
(gdb) q
#38 0x00007ffff72cf544 in g_main_context_dispatch ()
    at /usr/lib64/libglib-2.0.so.0
#39 0x00007ffff72cf7c8 in g_main_context_iterate.isra ()
    at /usr/lib64/libglib-2.0.so.0
#40 0x00007ffff72cfaf3 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#41 0x00007ffff7ad1d75 in gtk_main () at /usr/lib64/libgtk-3.so.0
#42 0x00005555555781d0 in main ()
(gdb) q
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2964
Location: Edge of marsh USA

PostPosted: Tue Mar 31, 2020 4:01 am    Post subject: Reply with quote

This thread seems to have died. Did the problem go away? Get solved? COVID-19?

I don't think there is a substitute. GIMP and Glabels two of the main killer programs for Linux that other OSs pine for.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sat Oct 09, 2021 3:44 pm    Post subject: Reply with quote

Hi!

Sorry for taking so long to come back. Busy life, and I forgot about this thread altogether.

I am using glabels-qt from the jorgicio overlay.

I've been using it since glabels stopped working decently with good results. The interface is as clunky as the gtk version, but it works just as well. I have to retouch my glabel files a bit, not a big deal.

Just in case this info helps someone in the future.

Cheers and thanks!
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2964
Location: Edge of marsh USA

PostPosted: Sat Oct 09, 2021 5:47 pm    Post subject: Reply with quote

Although I've not had problems with the glabels in the tree, it looks like the gtk version is deprecated and the website https://glabels.org has been hijacked by a hosting company.

glabels-qt apppears to be under more-or-less active development and is hosted on github here: https://github.com/jimevins/glabels-qt and can also be found here: https://www.softx64.com/linux/glabels-for-linux.html

The glabels-qt interface seems to be an improvement. I downloaded and tried two of the available appimage glabels-3.99-master555-x86_64.AppImage and glabels-3.99-master564-x86_64.AppImage and both run just fine. The appimages are from the developer.

A version 4 is under development with no releases currently available.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum