| Summary: | HP printer not installing despite task-hp being preinstalled | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Andrew S <andybiker> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | cmrisolde, doktor5000, makowski.mageia |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | system-config-printer-1.5.1-3.mga5-x86_64 | CVE: | |
| Status comment: | |||
(In reply to Andrew S from comment #0) > File "/usr/share/system-config-printer/newprinter.py", line 2810, in > on_tvNPDevices_cursor_changed > if self.get_hplip_scan_type_for_uri (device.uri): > File "/usr/share/system-config-printer/newprinter.py", line 1865, in > get_hplip_scan_type_for_uri > fields = scan_type.split ("=", 1) > TypeError: Type str doesn't support the buffer API Seems to be an issue with python3 - the relevant code needs to be converted to work with python 3. Does this still happen with latest system-config-printer 1.5.4 ? > Traceback (most recent call last): > File "/usr/share/system-config-printer/newprinter.py", line 2810, in > on_tvNPDevices_cursor_changed > if self.get_hplip_scan_type_for_uri (device.uri): > File "/usr/share/system-config-printer/newprinter.py", line 1865, in > get_hplip_scan_type_for_uri > fields = scan_type.split ("=", 1) > TypeError: Type str doesn't support the buffer API Same again. > ^X^C^C^CTraceback (most recent call last): > File "/usr/share/system-config-printer/newprinter.py", line 2638, in > device_row_separator_fn > def device_row_separator_fn (self, model, iter, data): > KeyboardInterrupt @Philippe: Could you please take a look? Maybe some types need to be converted to work with python 3. E.g. AFAIK CC:
(none) =>
doktor5000, makowski.mageia please test with system-config-printer-1.5.4-1.mga5 and report here thanks
Philippe Makowski
2015-03-19 21:54:17 CET
Status:
NEW =>
UNCONFIRMED No answer to comment #3, which suggests it could be fixed now. Closing as fixed, please reopen if needed. Status:
UNCONFIRMED =>
RESOLVED |
Description of problem: Located usb printer not installing Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.run MCC and add printer. You may get a list of available printers to choose from 2.New Printer (as superuser) window hangs with no option to go "Forward" from this point. 3.Using console method: [root@localhost andrew]# system-config-printer /usr/share/system-config-printer/gui.py:43: Warning: The property GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) /usr/share/system-config-printer/gui.py:43: Warning: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) /usr/share/system-config-printer/gui.py:43: Warning: The property GtkButton:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) /usr/share/system-config-printer/gui.py:43: Warning: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) /usr/share/system-config-printer/gui.py:43: Warning: The property GtkAlignment:yalign is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) /usr/share/system-config-printer/gui.py:43: Warning: The property GtkAlignment:top-padding is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) /usr/share/system-config-printer/gui.py:43: Warning: The property GtkAlignment:left-padding is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) /usr/share/system-config-printer/gui.py:43: Warning: The property GtkAlignment:xscale is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) /usr/share/system-config-printer/gui.py:43: Warning: The property GtkAlignment:yscale is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) /usr/share/system-config-printer/gui.py:43: Warning: The property GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) /usr/share/system-config-printer/system-config-printer.py:331: Warning: The property GtkToolButton:stock-id is deprecated and shouldn't be used anymore. It will be removed in a future version. self.btnNew = Gtk.MenuToolButton.new_from_stock(Gtk.STOCK_ADD) /usr/share/system-config-printer/gui.py:43: Warning: The property GtkMisc:ypad is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) /usr/share/system-config-printer/gui.py:43: Warning: The property GtkAlignment:right-padding is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) Error creating proxy: The connection is closed (g-io-error-quark, 18) /usr/share/system-config-printer/gui.py:43: Warning: The property GtkMisc:xpad is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) (system-config-printer.py:7266): IBUS-WARNING **: The owner of /home/andrew/.config/ibus/bus is not root! /usr/share/system-config-printer/gui.py:43: Warning: The property GtkContainer:resize-mode is deprecated and shouldn't be used anymore. It will be removed in a future version. bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui")) task-printing-server-2011-6.mga5 task-printing-hp-2011-6.mga5 Traceback (most recent call last): File "/usr/share/system-config-printer/newprinter.py", line 2810, in on_tvNPDevices_cursor_changed if self.get_hplip_scan_type_for_uri (device.uri): File "/usr/share/system-config-printer/newprinter.py", line 1865, in get_hplip_scan_type_for_uri fields = scan_type.split ("=", 1) TypeError: Type str doesn't support the buffer API Traceback (most recent call last): File "/usr/share/system-config-printer/newprinter.py", line 2810, in on_tvNPDevices_cursor_changed if self.get_hplip_scan_type_for_uri (device.uri): File "/usr/share/system-config-printer/newprinter.py", line 1865, in get_hplip_scan_type_for_uri fields = scan_type.split ("=", 1) TypeError: Type str doesn't support the buffer API ^X^C^C^CTraceback (most recent call last): File "/usr/share/system-config-printer/newprinter.py", line 2638, in device_row_separator_fn def device_row_separator_fn (self, model, iter, data): KeyboardInterrupt [root@localhost andrew]# Reproducible: Steps to Reproduce: