Bug#486941: cannot apply changes

Armin Fuerst armin.fuerst at beko.at
Wed Jul 23 05:16:29 UTC 2008


Hi,

Josselin Mouette wrote:
> Hi,
> 
> Le jeudi 19 juin 2008 à 08:34 +0200, Armin Fuerst a écrit :
>> Package: system-config-printer
>> Version: 0.7.81-4
>>
>> When I try to apply changes, some values are not really
>> changes (for example "Orientation" in "Job Options"). In
>> console, I get following message:
> 
>>   File "/usr/share/system-config-printer/cupshelpers.py", line 202, in
>> setJobSheets
>>     self.connection.setPrinterJobSheets(self.name, start, end)
>> TypeError: string or unicode object required
> 
> Does it still happen with version 1.0.0 ?
> 
> Are you running system-config-printer as root or as user ?

There is a major change, even the script mentioned above doesn't
exist anymore. But the basic problem remains. Usually, I run
it from the Gnome-Menu which starts it with "gksu". I tried
with sudo and get following results:

$ sudo /usr/bin/python /usr/bin/system-config-printer
[sudo] password for armin:
Traceback (most recent call last):
  File "/usr/share/system-config-printer/contextmenu.py", line 115, in
on_printer_context_edit_activate
    self.parent.dests_iconview_item_activated (self.iconview, self.paths[0])
  File "/usr/bin/system-config-printer", line 562, in
dests_iconview_item_activated
    if not self.save_printer (self.printer):
  File "/usr/bin/system-config-printer", line 1293, in save_printer
    printer.setJobSheets(job_sheet_start, job_sheet_end)
  File "/var/lib/python-support/python2.5/cupsutils/cupshelpers.py",
line 213, in setJobSheets
    self.connection.setPrinterJobSheets(self.name, start, end)
  File "/usr/share/system-config-printer/authconn.py", line 124, in <lambda>
    return lambda *args, **kwds: self._authloop (fname, fn, *args, **kwds)
  File "/usr/share/system-config-printer/authconn.py", line 130, in
_authloop
    result = fn.__call__ (*args, **kwds)
TypeError: string or unicode object required


I even tried really running as root but there is no change.


Feel free to ask me additional questions!

Armin







More information about the pkg-gnome-maintainers mailing list