[Bug 1501009] Re: g_type_init error when using cups-browsed

2015-10-21 Thread Tim Waugh
Since GLib 2.36, g_type_init() is not necssary. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1501009 Title: g_type_init error when using cups-browsed To manage notifications about this bug go to:

[Bug 1431041] Re: cups-browsed crashed with SIGSEGV in timeout_free()

2015-03-27 Thread Tim Waugh
No, I've not seen similar crashes in Red Hat Enterprise Linux or in Fedora. From the varied reports, I haven't actually seen one that definitely uses the auto-shutdown feature, so I'm not sure the destroy/remove thing is relevant. In fact, with several reports it seems to be with the default

[Bug 1434608] Re: system config printer troubleshooting not translated in French

2015-03-22 Thread Tim Waugh
Translations for system-config-printer come from Zanata. There is absolutely no sense in having two translation sources: there has to be one authoritative one. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1431041] Re: cups-browsed crashed with SIGSEGV in timeout_free()

2015-03-16 Thread Tim Waugh
Maybe it's an avahi bug? Without symbols it's hard to say. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431041 Title: cups-browsed crashed with SIGSEGV in timeout_free() To manage notifications

[Bug 1427344] Re: cups-browsed crashed with SIGSEGV in timeout_free()

2015-03-11 Thread Tim Waugh
From a quick glance, this looks wrong: ``` /* If auto shutdown is active we have perhaps scheduled a timer to shut down due to not having queues any more to maintain, kill the timer now */ if (autoshutdown autoshutdown_exec_id cupsArrayCount(remote_printers) 0) {

[Bug 1427344] Re: cups-browsed crashed with SIGSEGV in timeout_free()

2015-03-11 Thread Tim Waugh
Well, read the documentation, don't just call functions at random. ;-) https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html Or look at what other programs do. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1376335] Re: XFCE printer GUI does not set the default printer when there is only one printer

2015-01-05 Thread Tim Waugh
Ah, that's right. So I wonder why that isn't happening? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1376335 Title: XFCE printer GUI does not set the default printer when there is only one

[Bug 1007226] Re: toolbox.py crashed with SIGSEGV in _dbus_pthread_mutex_lock()

2014-12-18 Thread Tim Waugh
Still happens with 3.14.10: https://bugzilla.redhat.com/show_bug.cgi?id=1173820 ** Bug watch added: Red Hat Bugzilla #1173820 https://bugzilla.redhat.com/show_bug.cgi?id=1173820 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1400232] Re: system-config-printer crash UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 1441: invalid continuation byte

2014-12-12 Thread Tim Waugh
Fixed upstream: https://git.fedorahosted.org/cgit/system-config-printer.git/commit/?h=1.4.xid=2ba173ad0a072043f331ed2c2feb9eaeab305cb8 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400232 Title:

[Bug 1388601] Re: not possible to move a print task from one printer queue to another printer queue

2014-11-05 Thread Tim Waugh
In 1.5.4: https://lists.fedorahosted.org/pipermail/system-config-printer-devel/2014-November/000173.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1388601 Title: not possible to move a print

[Bug 1388601] Re: not possible to move a print task from one printer queue to another printer queue

2014-11-03 Thread Tim Waugh
The signal handler never seems to be called. Not sure why not. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1388601 Title: not possible to move a print task from one printer queue to another

[Bug 1388601] Re: not possible to move a print task from one printer queue to another printer queue

2014-11-03 Thread Tim Waugh
Seems like a GTK+ bug. Should be worked around in current 1.4.x (the relevant commits are 8cdc6a7, 0f83c0a, b6fd62a). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1388601 Title: not possible to

[Bug 1380514] Re: system-config-printer.py crashed with KeyError in display_auth_info_dialog(): 'auth-info-required'

2014-10-29 Thread Tim Waugh
This change might fix it: https://git.fedorahosted.org/cgit/system-config-printer.git/commit/?h=1.4.xid=e9a0ccfe4b7280f946f856f93ab03df6bbf89c63 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1380514

[Bug 1366756] Re: system-config-printer.py crashed with FileNotFoundError in _execute_child(): [Errno 2] Datei oder Verzeichnis nicht gefunden: 'gpk-install-package-name'

2014-10-14 Thread Tim Waugh
Till, I've had this on my to-do list since comment #4, but it really is not top-priority for me. Please stop asking. :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1366756 Title:

[Bug 1366756] Re: system-config-printer.py crashed with FileNotFoundError in _execute_child(): [Errno 2] Datei oder Verzeichnis nicht gefunden: 'gpk-install-package-name'

2014-10-14 Thread Tim Waugh
I've pushed changes to 1.4.x to just remove that code (it's now just a stub). If you'd like to re-implement it using asynchronous D-Bus calls to packagekitd, that would be useful. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1156398] Re: scp-dbus-service creates 100s of thousands symlinks to the ppd-file in /tmp untill the root filesystem runs out of inodes everytime I print something

2014-10-13 Thread Tim Waugh
The clue is every time I print something. scp-dbus-service is not involved in the print path, and is only used when configuring queues. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1156398 Title:

[Bug 1156398] Re: scp-dbus-service creates 100s of thousands symlinks to the ppd-file in /tmp untill the root filesystem runs out of inodes everytime I print something

2014-10-13 Thread Tim Waugh
cupsGetPPD3() and related calls create symlinks to /etc/cups/ppd/* but it is the caller's responsibility to remove them. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1156398 Title:

[Bug 1376335] Re: XFCE printer GUI does not set the default printer when there is only one printer

2014-10-07 Thread Tim Waugh
I thought it already did, but looking at the code it seems it doesn't. There is code there to fix up the default when the default printer is renamed, but not to set it when there is none set and the first queue is created. Patch welcome. -- You received this bug notification because you are a

[Bug 1367368] Re: system-config-printer.py crashed with TypeError in __init__(): Type str doesn't support the buffer API

2014-09-11 Thread Tim Waugh
Try the current git HEAD. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367368 Title: system-config-printer.py crashed with TypeError in __init__(): Type str doesn't support the buffer API To

[Bug 1265778] Re: Add two word special handling for Fuji Xerox

2014-01-06 Thread Tim Waugh
Applied in commit 5792666. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1265778 Title: Add two word special handling for Fuji Xerox To manage notifications about this bug go to:

[Bug 1229337] Re: system-config-printer.py crashed with SIGSEGV in g_object_freeze_notify() on renaming a printer

2013-12-09 Thread Tim Waugh
How would that explain the problem? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1229337 Title: system-config-printer.py crashed with SIGSEGV in g_object_freeze_notify() on renaming a printer

[Bug 1202198] Re: gnome-settings daemon notifies as error an info message

2013-11-07 Thread Tim Waugh
Just as in comment #10, but you have to make sure it isn't already running first. (Waiting for 30 seconds should be sufficient as it will time out.) I'm not sure scp-dbus-service is really involved here though. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1243484] Re: Incorrect handling of orientation when printing PDF files

2013-10-23 Thread Tim Waugh
It exposed a pre-existing bug in pdftopdf. Run it through just the pdftopdf fliter and you'll see the same output (or at least I do). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1243484 Title:

[Bug 1243484] Re: Incorrect handling of orientation when printing PDF files

2013-10-23 Thread Tim Waugh
Note: if you change the behaviour of pdftopdf, please make sure it keeps its output in the correct orientation ready for rasterization. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1243484 Title:

[Bug 1229337] Re: system-config-printer.py crashed with SIGSEGV in g_object_freeze_notify() on renaming a printer

2013-10-02 Thread Tim Waugh
OK, I see the same thing. Putting a return immediately after this section doesn't make the problem go away: def on_rename_activate(self, *UNUSED): tuple = self.dests_iconview.get_cursor () if tuple == None: return return # -- here ...but putting it

[Bug 1220066] Re: system-config-printer.py crashed with TypeError: smb_select_function() takes exactly 5 arguments (6 given)

2013-09-09 Thread Tim Waugh
*** This bug is a duplicate of bug 1217850 *** https://bugs.launchpad.net/bugs/1217850 Should be fixed upstream in commit 8558975. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1220066 Title:

[Bug 1203276] Re: cups-browsed memory usage unacceptable

2013-07-24 Thread Tim Waugh
Till, there were several memory leaks in 1.0.34. I don't know if you backported any to 1.0.34-0ubuntu1.1. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1203276 Title: cups-browsed memory usage

[Bug 1203276] Re: cups-browsed memory usage unacceptable

2013-07-24 Thread Tim Waugh
That's already been done and the fixes went into 1.0.35. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1203276 Title: cups-browsed memory usage unacceptable To manage notifications about this bug

[Bug 1159213] Re: cups server connection worked nicely under 12.10 but fails on 13.04

2013-03-25 Thread Tim Waugh
For Fedora we just copy over BrowsePoll. There's not much point in copying over anything else: DNS-SD is meant to just work anyway, and in any case it's the preferred option. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1158158] Re: system-config-printer.py crashed with TypeError in on_enabled_activate(): decoding Unicode is not supported

2013-03-21 Thread Tim Waugh
Fixed upstream in 6c7ea87. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1158158 Title: system-config-printer.py crashed with TypeError in on_enabled_activate(): decoding Unicode is not supported

[Bug 1108860] Re: Printer status messages box squashed in 12.10

2013-01-29 Thread Tim Waugh
Should be fixed upstream in commit 6417ca3. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1108860 Title: Printer status messages box squashed in 12.10 To manage notifications about this bug go to:

[Bug 1085362] Re: trouble on smb URI with domain authentication

2012-12-03 Thread Tim Waugh
The smbspool man page says the correct forms are: · smb://server[:port]/printer · smb://workgroup/server[:port]/printer · smb://username:password@server[:port]/printer · smb://username:password@workgroup/server[:port]/printer -- You received this bug notification because you are

[Bug 1041613] Re: system-config-printer.py crashed with KeyError in on_job_retrieve_activate(): 'document-count'

2012-10-18 Thread Tim Waugh
I've added a check for this upstream. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1041613 Title: system-config-printer.py crashed with KeyError in on_job_retrieve_activate(): 'document-count'

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Tim Waugh
There were quite a few differences with the upstream approach. The upstream Avahi support looked more correct as the changes were going in, but I haven't tested it out. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1059286] Re: avahi-daemon takes 100% CPU right after boot and at every restart of CUPS

2012-10-08 Thread Tim Waugh
Till: try finish until it hangs. That will tell you how far down the stack the hang originates. Then you can step through it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1059286 Title:

[Bug 951001] Re: system-config-printer.py crashed with SIGSEGV in __GI_fileno()

2012-03-22 Thread Tim Waugh
Thanks. Applied upstream, but with the unnecessary 'if (!self)' part removed -- that function won't be called if the object doesn't exist. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/951001 Title:

[Bug 447027] Re: system-config-printer.py crashed with KeyError in quote()

2012-03-14 Thread Tim Waugh
Thanks, applied upstream. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/447027 Title: system-config-printer.py crashed with KeyError in quote() To manage notifications about this bug go to:

[Bug 925870] Re: system-config-printer crashes during configuration

2012-02-03 Thread Tim Waugh
Is it reproducible? I've seen one other report of this but can't see a cause: https://bugzilla.redhat.com/show_bug.cgi?id=786232 The ppdcache.py changes between 1.3.7 and 1.3.8 look safe to me, and amount to: 1. Moving some debugprints around 2. Removing unused code for handling pycups 1.9.50

[Bug 908667] Re: system-config-printer can't determine username if multiple users are logged in

2012-01-03 Thread Tim Waugh
The real problem is that cupsUser() is returning more than one username in this case, and should be fixed in CUPS. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/908667 Title: system-config-printer

[Bug 844976] Re: scp-dbus-service.py crashed with NameError in on_dialog_canceled(): global name 'g__killtimer' is not defined

2011-11-21 Thread Tim Waugh
Fixed upstream in 50bfb38. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/844976 Title: scp-dbus-service.py crashed with NameError in on_dialog_canceled(): global name 'g__killtimer' is not

[Bug 874445] Re: system-config-printer keeps tmp files open resulting in the ulimit to be reached

2011-10-26 Thread Tim Waugh
Leftover open fd is a bit vague: does the number of file descriptors go up when repeating a particular action? Which action? The one I know about is that a file descriptor for a PPD gets left open when viewing properties for a printer. It's a bit tricky to fix, as it's due to a non-trivial

[Bug 874445] Re: system-config-printer keeps tmp files open resulting in the ulimit to be reached

2011-10-26 Thread Tim Waugh
Some open temporary files are expected: cups.PPD objects are cached by name, and each cups.PPD object holds a file descriptor for a temporary file containing the PPD, in case it needs to be written out at any stage. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 874445] Re: system-config-printer keeps tmp files open resulting in the ulimit to be reached

2011-10-21 Thread Tim Waugh
Probably due to the bug fixed in commit a2057a9. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874445 Title: system-config-printer keeps tmp files open resulting in the ulimit to be reached To

[Bug 874445] Re: system-config-printer keeps tmp files open resulting in the ulimit to be reached

2011-10-21 Thread Tim Waugh
Yes, it's pushed: http://git.fedorahosted.org/git/?p=system-config-printer.git;a=commit;h=a2057a9 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874445 Title: system-config-printer keeps tmp files

[Bug 877967] Re: avahi leaks dbus connections to the system bus, breaking other apps depending on them

2011-10-19 Thread Tim Waugh
I think when you added the support for periodically retrying avahi connections, the guard condition wasn't set early enough. Please take a look at commit 15bd402 in the fedorapeople.org repository. It sets the global AvahiCupsClientConnecting variable as soon as it sees that avahi_client_new()

[Bug 235399] Re: Print black does not use black ink cartridge

2011-10-18 Thread Tim Waugh
This is still broken in 3.11.10 (see comment #71). The hpcups driver gives over-printed blacks, using black ink *and* composite colour ink, with loss of quality/resolution in colour dithering. Only the hpijs driver works correctly (tried 600 dpi, color, black + color cartridge). -- You

[Bug 860691] Re: cupsd crashed with SIGSEGV in main() straight after boot and then periodically.

2011-10-07 Thread Tim Waugh
Very clearly a memory scribble. The called address is 0x632d7365, which is ASCII. $ printf %b '\x63\x2d\x73\x65\n' c-se -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/860691 Title: cupsd crashed

[Bug 860691] Re: cupsd crashed with SIGSEGV in main() straight after boot and then periodically.

2011-10-07 Thread Tim Waugh
My best guess is that this is another instance of cupsArrayRemove() causing problems, as in http://www.cups.org/str.php?L3951. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/860691 Title: cupsd

[Bug 653132] Re: Add Printer dialog requests root password if user is not in Configure Printers group

2011-10-07 Thread Tim Waugh
The pre-filled root username only appears when the user's own username was tried and got forbidden (i.e. they authenticated but were not authorized). I'm not particularly interested in tinkering with the credentials cache very much, but if you want to play with it feel free to send patches. --

[Bug 860691] Re: cupsd crashed with SIGSEGV in main() straight after boot and then periodically.

2011-10-07 Thread Tim Waugh
Please take a look at commit 2ed292ab433f6fa51f2dd8639ca445390ae25fac. It changes the Timeouts array into an unsorted array, which makes cupsArrayRemove() a lot more predictable. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 860691] Re: cupsd crashed with SIGSEGV in main() straight after boot and then periodically.

2011-10-07 Thread Tim Waugh
I've pushed another, simpler, fix: compare_timeouts() now uses the address of the cupsd_timeout_t object in the case of a tie. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/860691 Title: cupsd

[Bug 653132] Re: Add Printer dialog requests root password if user is not in Configure Printers group

2011-10-06 Thread Tim Waugh
See if ef59305 fixes it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/653132 Title: Add Printer dialog requests root password if user is not in Configure Printers group To manage notifications

[Bug 653132] Re: Add Printer dialog requests root password if user is not in Configure Printers group

2011-10-04 Thread Tim Waugh
Is this with CUPS 1.5, or an older version? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/653132 Title: Add Printer dialog requests root password if user is not in Configure Printers group To

[Bug 848065] Re: system-config-printer cannot authenticate Windows Samba printer, while smbclient can (cli_init_creds)

2011-10-04 Thread Tim Waugh
Could the problem be to do with some unusual character in your password (or username)? Are you able to try with a simpler one? I don't really know what the problem might be otherwise, I'm afraid. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 653132] Re: Add Printer dialog requests root password if user is not in Configure Printers group

2011-10-03 Thread Tim Waugh
s-c-p falls into an unbreakable infinite loop of the credentials dialog and the dialog telling that the credentials are not correct. This seems to be a change in behaviour for CUPS. It used to be that providing an empty string for the password from the auth callback would cancel the operation,

[Bug 855445] Re: cupsd crashed with SIGSEGV in _cups_strcasecmp()

2011-09-28 Thread Tim Waugh
I'd rather we didn't hide this difficult-to-debug issue any further than it is already hidden. The valgrind trace unfortunately doesn't reveal anything -- but perhaps MALLOC_CHECK_ would have, or libefence. It's a shame you can't reproduce this now. -- You received this bug notification

[Bug 860498] Re: cupsd crashed with SIGSEGV in main() : cannot access memory at address 0x7ffffff7

2011-09-28 Thread Tim Waugh
Well, this is calling the timer callback, so I guess it's happening in the Avahi code. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/860498 Title: cupsd crashed with SIGSEGV in main() : cannot

[Bug 855445] Re: cupsd crashed with SIGSEGV in _cups_strcasecmp()

2011-09-27 Thread Tim Waugh
Till, I haven't been able to reproduce this. Could you please try running your local build (without the work-around) under valgrind to track down what the cause is? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 848065] Re: system-config-printer cannot authenticate Windows Samba printer, while smbclient can (cli_init_creds)

2011-09-23 Thread Tim Waugh
Try setting the PYSMBC_DEBUG environment variable to 1 before running your test program. What output do you get? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/848065 Title: system-config-printer

[Bug 789602] Re: scp-dbus-service.py crashed with IOError in on_save_clicked(): [Errno 13] Keine Berechtigung: '/troubleshoot.txt'

2011-09-23 Thread Tim Waugh
Fixed in 50dc32b. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/789602 Title: scp-dbus-service.py crashed with IOError in on_save_clicked(): [Errno 13] Keine Berechtigung: '/troubleshoot.txt' To

[Bug 843342] Re: getJobs does not return job details

2011-09-21 Thread Tim Waugh
Yes, or if you need that attribute for all jobs, c.getJobs(requested_attributes=['job-id', 'job-media-sheets- completed']). You should be getting the job-uri attribute with c.getJobs() though, and you're not. Could you set the environment variable PYCUPS_DEBUG=1 and see what output you get? I

[Bug 843342] Re: getJobs does not return job details

2011-09-20 Thread Tim Waugh
How do you mean empty values? You should get a dict of job_id: {'job_uri': str}, as by default the only attributes returned now are job_id and job_uri. To specify other attributes, use the request_attributes parameter (make sure to include 'job_id', of course). -- You received this bug

[Bug 835462] Re: cupsd assert failure: cupsd: ../avahi-common/dbus-watch-glue.c:205: timeout_data_ref: Assertion `t-ref = 1' failed.

2011-09-19 Thread Tim Waugh
There are no symbols or local variables in the stack trace. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/835462 Title: cupsd assert failure: cupsd: ../avahi-common/dbus-watch-glue.c:205:

[Bug 839250] Re: Add printer goes to a loop of asking for root password.

2011-09-13 Thread Tim Waugh
I can't find a way of getting an infinite loop... the Cancel button (which is already there) works fine for me. I've tried it both with the PolicyKit path (locally) and the non-PolicyKit path (using a remote CUPS server). I won't add any sudo support to system-config-printer; the PolicyKit

[Bug 838666] Re: system-config-printer assumes that a CUPS-based toner level check is available for a printer but it is not

2011-09-01 Thread Tim Waugh
Note: system-config-printer does not assume this; see updateMarkerLevels(). can_refresh = (printer.type cups.CUPS_PRINTER_COMMANDS) != 0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/838666

[Bug 827573] Re: scp-dbus-service.py crashed with KeyError in get_notifications(): 'job-originating-user-name'

2011-08-23 Thread Tim Waugh
The real question here is why that attribute is missing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827573 Title: scp-dbus-service.py crashed with KeyError in get_notifications():

[Bug 828442] Re: system-config-printer.py crashed with KeyError in _init_makes(): None

2011-08-19 Thread Tim Waugh
With this same crash? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/828442 Title: system-config-printer.py crashed with KeyError in _init_makes(): None To manage notifications about this bug go

[Bug 828442] Re: system-config-printer.py crashed with KeyError in _init_makes(): None

2011-08-19 Thread Tim Waugh
Would you be able to edit /usr/lib/python2.7/site- packages/cupshelpers/ppds.py and change the part around line 1072 so that it looks like this?: for eachmodel in modelnames: this_model = lmodels[lmake].get (normalize (eachmodel)) print

[Bug 828442] Re: system-config-printer.py crashed with KeyError in _init_makes(): None

2011-08-18 Thread Tim Waugh
Does this happen every time? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/828442 Title: system-config-printer.py crashed with KeyError in _init_makes(): None To manage notifications about this

[Bug 444280] Re: OK button not enabled after adding printer

2011-08-01 Thread Tim Waugh
See what you think of commit 4ede663. The only situation in which OK is not sensitive is if there are conflicts. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/444280 Title: OK button not enabled

[Bug 809076] Re: Need better error message when encountering a bad network name

2011-07-12 Thread Tim Waugh
That error message does not come from system-config-printer. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/809076 Title: Need better error message when encountering a bad network name To manage

[Bug 808137] Re: 2 problems finding SAMBA printer name with spaces inside

2011-07-12 Thread Tim Waugh
Should be fixed in 9008ff24c8dad20f49c41dd79cbc121bc4c0784f. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/808137 Title: 2 problems finding SAMBA printer name with spaces inside To manage

[Bug 695199] Re: download printer driver dialog is a dead end

2011-07-11 Thread Tim Waugh
Till, what's an efficient way of doing this? Surely I don't have to iterate over all the results for a printer search, perform a driver search and cull those with empty results? Is there a way of doing that with a single query? i.e. show me all the printers that have onlyfree drivers, for this

[Bug 766818] Re: scp-dbus-service.py crashed with AttributeError in _jockey_error(): 'NoneType' object has no attribute 'destroy'

2011-07-08 Thread Tim Waugh
Fixed upstream in commit 2587e74. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/766818 Title: scp-dbus-service.py crashed with AttributeError in _jockey_error(): 'NoneType' object has no

[Bug 766818] Re: scp-dbus-service.py crashed with AttributeError in _jockey_error(): 'NoneType' object has no attribute 'destroy'

2011-07-08 Thread Tim Waugh
I haven't pushed it yet... will do so soon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/766818 Title: scp-dbus-service.py crashed with AttributeError in _jockey_error(): 'NoneType' object has

[Bug 791690] Re: select a new printer window crashes

2011-07-06 Thread Tim Waugh
Fixed upstream in 60efcbb. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791690 Title: select a new printer window crashes To manage notifications about this bug go to:

[Bug 783967] Re: Translated notifications shown in English

2011-06-29 Thread Tim Waugh
Thanks, applied. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/783967 Title: Translated notifications shown in English To manage notifications about this bug go to:

[Bug 801190] Re: Should use gobject introspection (GTK3)

2011-06-24 Thread Tim Waugh
Martin Pitt has already done some preparatory work on this but there is a fair amount more to do. Take a look at the 'pygi' branch. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/801190 Title:

[Bug 793265] Re: If the service name is too long, printer does not get advertized via DNS-SD

2011-06-17 Thread Tim Waugh
Another improvement: don't require 15 characters of room if DNSSDComputerName is shorter than that. ** Patch added: 0001-Make-sure-service-name-contains-at-least-15-characte.patch

[Bug 235399] Re: Print black does not use black ink cartridge

2011-06-16 Thread Tim Waugh
I've seen a report of 3.11.5 still getting this wrong with an HP DeskJet F2200. Original report: https://bugzilla.redhat.com/show_bug.cgi?id=581656 == OK, with 3.11.5-3, I deleted the printer and then re-installed it (so, fresh PPD). On the default settings, it now appears to be over-printing

[Bug 793265] Re: If the service name is too long, printer does not get advertized via DNS-SD

2011-06-16 Thread Tim Waugh
This sort of thing ought to work. What do you think? It applies to upstream 1.4 (current SVN), and should be applied upstream. It's a separate issue from avahi support. ** Patch added: Always leave space for DNSSDComputerName in service name

[Bug 711779] Re: AirPrint support in the Avahi patch for CUPS does not work

2011-06-10 Thread Tim Waugh
But look at the structure of the code. Wherever there's an API call to libdns_sd and supporting code for it, we have equivalent code for avahi. Code that applies to both was already there upstream. These changes for airprint are in neutral territory, code that applies regardless of whether avahi

[Bug 793265] Re: If the service name is too long, printer does not get advertized via DNS-SD

2011-06-08 Thread Tim Waugh
Till, what if strlen(DNSSDComputerName) AVAHI_LABEL_MAX - 4? Wouldn't that underflow the buffer? (Besides the fact that calling strlen() several times on the same string in the same expression is ugly...) Here's the fix I'm planning on going with. ** Patch added: Better service name truncation

[Bug 793265] Re: If the service name is too long, printer does not get advertized via DNS-SD

2011-06-08 Thread Tim Waugh
That's right -- the include is for AVAHI_LABEL_MAX, and if we declare name[] to be that long then the existing checks (snprintf, strlcpy) will already truncate the name. sizeof(name) is AVAHI_LABEL_MAX now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 711779] Re: AirPrint support in the Avahi patch for CUPS does not work

2011-06-08 Thread Tim Waugh
I'm a bit uneasy about the URF=none and _universal._sub.* changes. What do they mean? In particular, why doesn't the existing upstream HAVE_DNSSD support in CUPS do this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 793533] Re: Insecure temporary file creation in asyncpk1.py

2011-06-06 Thread Tim Waugh
It's not. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/793533 Title: Insecure temporary file creation in asyncpk1.py -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-03 Thread Tim Waugh
Oops, this came about because the libdns_sd and Avahi APIs differ in which byte order they require the port number. The Avahi API requires it in host order. Remove the htons() calls from avahi_entry_group_add_service() and avahi_entry_group_add_service_strlst(). -- You received this bug

[Bug 752838] Re: system-config-printer.py crashed with SIGSEGV in cupsArrayFind()

2011-04-21 Thread Tim Waugh
Without proper debuginfo there's not much to go on. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/752838 Title: system-config-printer.py crashed with SIGSEGV in cupsArrayFind() -- ubuntu-bugs

[Bug 760661] Re: udev-configure-printer crashed with SIGSEGV in __libc_start_main()

2011-04-21 Thread Tim Waugh
CUPS answered a CUPS-Get-Printers request with a response that was missing a device-uri attribute, despite the fact that our request contained device-uri in the requested-attributes list. I've added some defensive code for this situation: 2a2ba2c3f98c630c3942760f92c06bda41c6fe0c -- You

[Bug 765527] Re: The add a printer wizard windows freezes for some seconds until you can click on the entry of the detected network printer

2011-04-20 Thread Tim Waugh
It ought to be changed so that it is done asynchronously. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/765527 Title: The add a printer wizard windows freezes for some seconds until you can click

[Bug 748964] Re: scp-dbus-service.py crashed with Error in setlocale(): unsupported locale setting

2011-04-18 Thread Tim Waugh
I can apply that, sure. It's pretty silly that setlocale can fail though IMHO. Till: setlocale is for initialising e.g. gettext(). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/748964 Title:

[Bug 759031] Re: cupsd assert failure: cupsd: ../avahi-common/dbus-watch-glue.c:205: timeout_data_ref: Assertion `t-ref = 1' failed.

2011-04-18 Thread Tim Waugh
Yes, a couple. The complete set (needs re-squashing) is here: http://twaugh.fedorapeople.org/cups-avahi/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/759031 Title: cupsd assert failure: cupsd:

[Bug 759811] Re: gtkbuilder files incorrectly listed in the POTFILES.in and so are not translated

2011-04-15 Thread Tim Waugh
Fixed upstream. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/759811 Title: gtkbuilder files incorrectly listed in the POTFILES.in and so are not translated -- ubuntu-bugs mailing list

[Bug 754567] Re: cupsd crashed with SIGSEGV in dbus_message_iter_append_basic()

2011-04-14 Thread Tim Waugh
Possibly it is; difficult to say what's going wrong without a symbolic stack trace. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/754567 Title: cupsd crashed with SIGSEGV in

[Bug 749762] Re: system-config-printer.py crashed with AttributeError in setNPButtons(): 'NewPrinterGUI' object has no attribute 'printers'

2011-04-13 Thread Tim Waugh
Sure this isn't already fixed upstream? e.g. with d08a302f or de427e5b -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/749762 Title: system-config-printer.py crashed with AttributeError in

[Bug 748366] Re: scp-dbus-service.py crashed with KeyError in _set_job_document_text(): 14

2011-04-13 Thread Tim Waugh
Maybe fixed by upstream commit 3038c9d. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/748366 Title: scp-dbus-service.py crashed with KeyError in _set_job_document_text(): 14 -- ubuntu-bugs

[Bug 744783] Re: scp-dbus-service.py crashed with UnboundLocalError in now_connected(): local variable 'tuple' referenced before assignment

2011-04-13 Thread Tim Waugh
Fixed in upstream commit 6a245d9. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/744783 Title: scp-dbus-service.py crashed with UnboundLocalError in now_connected(): local variable 'tuple'

[Bug 748964] Re: scp-dbus-service.py crashed with Error in setlocale(): unsupported locale setting

2011-04-12 Thread Tim Waugh
Works here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/748964 Title: scp-dbus-service.py crashed with Error in setlocale(): unsupported locale setting -- ubuntu-bugs mailing list

[Bug 751770] Re: cupsd crashed with SIGSEGV in dbus_connection_get_is_connected()

2011-04-06 Thread Tim Waugh
Can you get a proper symbolic stack trace? Only libdbus seems to have symbols... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/751770 Title: cupsd crashed with SIGSEGV in

[Bug 742409] Re: system-config-printer.py crashed with AttributeError in fillDriverList(): 'NoneType' object has no attribute 'getInfoFromModel'

2011-04-04 Thread Tim Waugh
I just committed 50db8e8 in hopes of fixing that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/742409 Title: system-config-printer.py crashed with AttributeError in fillDriverList(): 'NoneType'

  1   2   3   4   5   >