Tiny Core Linux
dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => dCore x86 Imported Extensions => Topic started by: jls on September 11, 2015, 07:53:05 AM
-
Hi
jls@box:~$ system-config-printer
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 25, in <module>
import config
ImportError: No module named config
Thanks
-
system-config-printer brongs up the GUI in dCore-wheezy. But in dCore-trusty, which I assume you are using, the package name is system-config-printer-gnome, and I see those errors you report. I am sure you have the knowledge to help troubleshoot this, and that would be appreciated. But I will look for the issue and try to resolve it.
-
I have made some startup scripts for the python3 packages, system-config-printer is working in dCore-wily, or at least the gtk3 interface is working. I will get it working on the other dCore ports.
-
Got it working in dCore-trusty, just needed a missing dep. Please run "sce-update -a" and reboot, or just update the SCE that contains system-config-printer if it does not exist in any other loaded SCEs during runtime.
Thank you for the report and your help in the improvement of dCore.
-
Hi
jls@box:~$ system-config-printer
ERROR:root:Could not find any typelib for Gdk
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 32, in <module>
from gi.repository import Gdk
ImportError: cannot import name Gdk
jls@box:~$
-
In core, this means you're missing gtk3-gir or similar
-
Hi
after an update it works but:
jls@box:/mnt/sdc1/tce/sce$ cat system-config-printer-gnome.sce.dep
printer-driver-gutenprint
sce-load system-config-printer-gnome doesn't autoload printer-driver-gutenprint.
Thanks
-
Ok, I will check into the .dep issue.
In this case, the /usr/bin/python3.4 file itself needed to exist as a "real" file and not a symlink to /tmp/tcloop/... as the python binary uses relative paths.
-
Hi. what are the packages to import in order to have a nomad dcore that can print on 'any' printer like the live ubuntu does? Thanks
-
I imported system-config-printer-gnome using printer-driver-gutenprint as a dep and it loads as expected here.
Outside of cups I am not familiar of a package set that supports all printers.
-
Hi,
I imported system-config-printer-gnome and printer-driver-gutenprint and make a system-config-printer-gnome.sce.dep with printer-driver-gutenprint on it, when I run:
tc@ub-dC-tr-ordjd:~$ system-config-printer
ERROR:root:Could not find any typelib for Gdk
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 32, in <module>
from gi.repository import Gdk
ImportError: cannot import name Gdk
tc@ub-dC-tr-ordjd:~$
Then I make a sce-update system-config-printer-gnome with:
No updates available for chosen SCEs at this time.
tc@ub-dC-tr-ordjd:~$
I'm missing something?
All this in trusty.
-
What is the output of "ls -l /usr/bin/python3.4"?
-
tc@ub-dC-tr-ordjd:~$ ls -l /usr/bin/python3.4
lrwxrwxrwx 1 root root 39 sep 24 15:48 /usr/bin/python3.4 -> /tmp/tcloop/jdudesk1t/usr/bin/python3.4
tc@ub-dC-tr-ordjd:~$
-
Hi
jls@box:~$ ls -l /usr/bin/python3.4
ls: impossibile accedere a /usr/bin/python3.4: File o directory non esistente
jls@box:~$
Which in english is: no such file or directory, but system-config-printer here starts.
-
Here is what I get with that command:
tc@box:~$ ls -l /usr/bin/python3.4
lrwxrwxrwx 1 root root 49 Sep 24 22:48 /usr/bin/python3.4 -> /tmp/tcloop/200-multimedia-wily/usr/bin/python3.4
tc@box:~$
-
Hope it is okay to revive a dormant thread! I am at the same point as Onyarian. After loading printer-driver-gutenprint and system-config-printer-gnome, I get the following:
$ system-config-printer
ERROR:root:Could not find any typelib for Gdk
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 32, in <module>
from gi.repository import Gdk
ImportError: cannot import name Gdk
I installed python-gtk2 to no avail.
Since it seemed to play a role in this thread:
$ ls -l /usr/bin/python*
lrwxrwxrwx 1 root root 9 Jan 27 13:59 /usr/bin/python -> python2.7
lrwxrwxrwx 1 root root 9 Jan 27 14:26 /usr/bin/python2 -> python2.7
-rwxr-xr-x 1 root root 3156448 Jun 22 2015 /usr/bin/python2.7
lrwxrwxrwx 1 root root 18 Jan 27 14:04 /usr/bin/python3 -> /usr/bin/python3.4
-rwxr-xr-x 1 root root 3802224 Jun 19 2015 /usr/bin/python3.4
lrwxrwxrwx 1 root root 35 Jan 27 14:04 /usr/bin/python3.4m -> /tmp/tcloop/lxde/usr/bin/python3.4m
lrwxrwxrwx 1 root root 10 Jan 27 14:04 /usr/bin/python3m -> python3.4m
-
Progress made after a lot of fruitless searching: it seems that gir1.2-gtk-3.0 is needed. Can somebody verify? (Onyarian?)
The following DBus-related error message seems harmless but may need additional attention when it comes to saving credentials on network printers.
** (system-config-printer.py:29303): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
ERROR:root:Could not find any typelib for GnomeKeyring
-
I just removed those dependencies from system-config-printer since you said in another thread the package does not exist. How did you import it?
-
Thanks for checking back, Jason! The package is system-config-printer-gnome which imports fine. The remark about the package system-config-printer was simply to point out the issue but it was not an obstacle.
-
Ok, the dep gir1.2-gtk-3.0 has been added back to system-config-printer.
-
I am a bit confused about the difference between system-config-printer{-gnome}. Nevertheless, would you please add gir1.2-gtk-3.0 as dependency of system-config-printer-gnome? At present only the following packages get included.
gir1.2-gdkpixbuf-2.0
gir1.2-glib-2.0
gir1.2-notify-0.7
gir1.2-packagekitglib-1.0
-
Ok, added.