Bug 541882
| Summary: | [abrt] marker-levels=None causes traceback | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | piio <bugzilla> | ||||||||||
| Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> | ||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
| Severity: | medium | Docs Contact: | |||||||||||
| Priority: | low | ||||||||||||
| Version: | 12 | CC: | amcnabb, andy_longworth, brandon.gardner, chris.j.n, comcast.really.sucks, jpopelka, matorola, maykelgreenberg, michal, mjs, santiago.lunar.m, stjepan.gros, twaugh | ||||||||||
| Target Milestone: | --- | ||||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | i686 | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | abrt_hash:fbe0d1ae | ||||||||||||
| Fixed In Version: | 1.1.16-8.fc11 | Doc Type: | Bug Fix | ||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | |||||||||||||
| : | 553310 (view as bug list) | Environment: | |||||||||||
| Last Closed: | 2010-01-15 22:04:53 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: | 553310 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
piio
2009-11-27 12:19:36 UTC
Created attachment 374208 [details]
File: backtrace
Please copy and paste this into a terminal window:
python <<"EOF"
import cups
c=cups.Connection()
p=c.getPrinters()
for printer in p.keys():
attrs = c.getPrinterAttributes(printer)
keys = filter (lambda x: x.startswith ('marker-'), attrs.keys ())
print attrs.fromkeys (keys)
EOF
What output do you get?
{'marker-change-time': None}
{'marker-names': None, 'marker-types': None, 'marker-levels': None, 'marker-colors': None, 'marker-change-time': None}
Please attach the /var/cache/cups/*.ipp file corresponding to the queue which caused the system-config-printer crash (or both if you aren't sure which it is). *** Bug 550394 has been marked as a duplicate of this bug. *** HP-LaserJet-4250.ipp for bug 550394 available as attachment (id=381625). OK, that doesn't contain those attributes as I'd hoped. :-(
Please copy and paste this into a terminal window:
strace -s2048 2>strace.txt python <<"EOF"
import cups
c=cups.Connection()
p=c.getPrinters()
for printer in p.keys():
attrs = c.getPrinterAttributes(printer)
EOF
and attach the resulting strace.txt file.
Created attachment 381909 [details] strace results as asked for > ... attach the resulting strace.txt file Here we go. Created attachment 381919 [details]
strace results for a different printer
strace results for a different printer causing in:
python /usr/share/system-config-printer/system-config-printer.py
Summary: TBfbe0d1ae gtkinklevel.py:66:draw:TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
Traceback (most recent call last):
File "/usr/share/system-config-printer/gtkinklevel.py", line 60, in expose_event
self.draw (ctx)
File "/usr/share/system-config-printer/gtkinklevel.py", line 66, in draw
fill_point = self._level / 100.0
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
Could you show me the output of 'system-config-printer --debug' when viewing ink levels for the printer that causes the problem please? I'd like to test a fix, but would like to see this output first... Created attachment 381993 [details]
system-config-printer --debug output
system-config-printer --debug output
system-config-printer-1.1.16-6.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13156 system-config-printer-1.1.16-5.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-13579 system-config-printer-1.1.16-6.fc12 indeed fixes for me that backtrace system-config-printer-1.1.16-8.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-13579 system-config-printer-1.1.16-8.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13156 system-config-printer-1.1.16-8.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. system-config-printer-1.1.16-8.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |