elementary / switchboard-plug-printers

Switchboard Printers Plug
GNU General Public License v3.0
12 stars 11 forks source link

crash when clicking on the printer icon #43

Open phocean opened 6 years ago

phocean commented 6 years ago

I copied my cups configuration from a backup. Of course, cups works perfectly fine itself.

However, switchboard-plug-printer crashes when I try to open it. Here is the error I get:

% switchboard 
[INFO 21:35:42.779552] Application.vala:153: Paramètres du système version: 2.0
[INFO 21:35:42.779599] Application.vala:155: Kernel version: 4.13.0-32-generic
**
ERROR:arraylist.c:967:gee_array_list_real_get: assertion failed: (index < _size)
zsh: abort (core dumped)  switchboard

There is no issue with printing and other dialog boxes like pantheon-print, or configuring printers with system-config-printer.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/54303186-crash-when-clicking-on-the-printer-icon?utm_campaign=plugin&utm_content=tracker%2F60188248&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F60188248&utm_medium=issues&utm_source=github).
gre0j commented 6 years ago

I 'thumbed up' because i have the same issue...click on switchboard-plug-printer does nothing. The error does not exist for so long yet. Updates in the last 4 weeks?

~$ switchboard
[INFO 20:02:06.556671] Application.vala:153: Systemeinstellungen version: 2.0
[INFO 20:02:06.556712] Application.vala:155: Kernel version: 4.15.0-041500-generic
**
ERROR:arraylist.c:967:gee_array_list_real_get: assertion failed: (index < _size)
Abgebrochen (Speicherabzug geschrieben)

UPDATE:

Since i created a new (admin) user account switchboard-plug-printer is working again. I don't know what was causing the problem...also i had problems with opening network and sound settings from wingpanel, but thats also gone with the new user account.

ddmng commented 6 years ago

Same issue here. @J0Ar I'll try creating another admin account as you did

ddmng commented 6 years ago

Solved in another way: used system-config-printer to remove all the configured printers and switchboard-plug-printer started working again

viniciusrtf commented 5 years ago

Solved in another way: used system-config-printer to remove all the configured printers and switchboard-plug-printer started working again

That worked for me as well.