Bug 489512
| Summary: | properties gives "TypeError: argument 5 to map() must support iteration" for marker_info['marker-levels'] | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mads Kiilerich <mads> |
| Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | twaugh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.1.6-1.fc11 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-03-16 17:36:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 446451 | ||
Thanks. Fixed upstream. |
Description of problem: I added a printer (selected and auto-detected network printer), and when I select its icon and try to see properties on it I get: Traceback (most recent call last): File "/usr/share/system-config-printer/system-config-printer.py", line 3088, in on_edit_activate self.dests_iconview_item_activated (self.dests_iconview, paths[0]) File "/usr/share/system-config-printer/system-config-printer.py", line 961, in dests_iconview_item_activated self.fillPrinterTab (name) File "/usr/share/system-config-printer/system-config-printer.py", line 2422, in fillPrinterTab self.updateMarkerLevels() File "/usr/share/system-config-printer/system-config-printer.py", line 2460, in updateMarkerLevels marker_info['marker-levels']) TypeError: argument 5 to map() must support iteration I don't know what is relevant, but printers.conf is: # Printer configuration file for CUPS v1.4b3 # Written by cupsd on 2009-03-10 15:34 <DefaultPrinter HP-LaserJet-2430> Info HP LaserJet 2430 Location 192.168.45.50 MakeModel HP LaserJet 2430 Postscript (recommended) DeviceURI socket://192.168.45.50:9100 State Idle StateTime 1236695622 Reason media-low-report Type 8425684 Filter application/vnd.cups-raw 0 - Filter application/vnd.cups-command 0 commandtops Filter application/vnd.cups-postscript 0 - Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer Attribute marker-colors none Attribute marker-levels 31 Attribute marker-names Black Cartridge HP Q6511A Attribute marker-types tonerCartridge Attribute marker-change-time 1236695622 </Printer> Version-Release number of selected component (if applicable): system-config-printer-1.1.5-1.fc11.i586 cups-1.4-0.b2.8.fc11.i586