[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: https://bu

[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 tas

[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 ma

[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: "scp-dbus-servic

[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: system-config-pr

[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. https:

[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 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 ge

[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 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. https://bugs.launchpa

[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 because

[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 acces

[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 solu

[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

[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 to:

[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 eachm

[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 recei

[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() has

[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 m

[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 subscribe

[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 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 wi

[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 crash

[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. https://

[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 crash

[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' T

[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. https://bugs.laun

[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: avahi-da

[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 defined

[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 c

[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 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. https://b

[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 a

[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 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 unacc

[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 g

[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(): 'job-originat

[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 ref

[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, wh

[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 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 ma

[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 op

[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: https://bugs.launchpad.net/syste

[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: scp-d

[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 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 attribute

[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 no

[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 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 not

[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 notificat

[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: Shoul

[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 avah

[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: https://bugs.launchpad.net/u

[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" https://bugs.launchpad.net/ubuntu/+source/cups/

[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" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/793265/+attachment/2172638/+files/0001-Make-sure-service-na

[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 https://lists.ubuntu.

[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 truncatio

[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 s

[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. https://bugs.l

[Bug 735297] Re: Can not print on an SMB shared printer after password change

2011-03-18 Thread Tim Waugh
So, here's what happened: CUPS receives job to print, fires up smb backend to print it smb backend communicates with server, server requires password We don't have one, so smb backend stops, telling cupsd why cupsd marks the job as requiring authentication At this point, CUPS knows that "username,

[Bug 735297] Re: Can not print on an SMB shared printer after password change

2011-03-18 Thread Tim Waugh
No -- this would permanently break the queue when the password is changed. Print dialogs that want to talk to CUPS must support authentication. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/735297 Ti

[Bug 735297] Re: Can not print on an SMB shared printer after password change

2011-03-18 Thread Tim Waugh
"When this happens I get prompted to enter the new password but I can no longer connect to the using the new password." This is the crux of the problem from what I can see. Need to find out which prompt that is, and why it isn't correctly supplying the right credentials (or why they fail). -- Y

[Bug 729966] Re: system-config-printer.py crashed with AttributeError in setPUsers(): 'NoneType' object has no attribute 'clear'

2011-03-08 Thread Tim Waugh
How to reproduce it: Double-click on a printer to open the properties dialog. Close the dialog window by using the window-close control Double-click on the printer again to open the properties dialog. Fixing... -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 729966] Re: system-config-printer.py crashed with AttributeError in setPUsers(): 'NoneType' object has no attribute 'clear'

2011-03-08 Thread Tim Waugh
Fixed in fb5cccb. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/729966 Title: system-config-printer.py crashed with AttributeError in setPUsers(): 'NoneType' object has no attribute 'clear' -- u

[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' o

[Bug 721051] Re: system-config-printer.py crashed with UnboundLocalError in fetch_jobs(): local variable 'jobid' referenced before assignment

2011-03-28 Thread Tim Waugh
The only way this could happen is if we don't enter this loop: for jobid in xrange (self.fetch_first_job_id, last_jobid + 1): and the only way I can see of that happening is that last_jobid < self.fetch_first_job_id. But the only way I can see that happening is if CUPS returned a job wit

[Bug 721051] Re: system-config-printer.py crashed with UnboundLocalError in fetch_jobs(): local variable 'jobid' referenced before assignment

2011-03-28 Thread Tim Waugh
It's in 1.2.x, just hadn't been merged yet. I've done that now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/721051 Title: system-config-printer.py crashed with UnboundLocalError in fetch_jobs()

[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 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 af

[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: timeout_

[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 notifi

[Bug 657357] Re: GTK Printing Dialog: Duplex printing on HP inkjets does not work

2010-10-21 Thread Tim Waugh
I actually think it's an HPLIP bug: the PPD spec does say specifically that a given PageSize's ImageableArea should be the maximum area common across all options (5.15, Information About Media Sizes, "On some devices, ..."). See also bug #487695. -- GTK Printing Dialog: Duplex printing on HP ink

[Bug 657357] Re: GTK Printing Dialog: Duplex printing on HP inkjets does not work

2010-10-21 Thread Tim Waugh
The exact wording is "In PPD files where the imageable area of a given page size can vary depending on other factors, the imageable area recorded for that page size will be the intersection of all possible imageable areas for that page size." -- GTK Printing Dialog: Duplex printing on HP inkjets

[Bug 711779] Re: request feature: airprint support

2011-02-02 Thread Tim Waugh
Does the Avahi patch even need modification in order for this to work? Seems to me that's just Bonjour service announcement. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711779 Title: request featu

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

2011-02-03 Thread Tim Waugh
There's no useful stack trace so it's hard to tell, but it might well be to do with one of your changes to it which stored a pointer to a local automatic variable in a global variable and referenced it after the local variable had been taken off the stack. See https://bugzilla.redhat.com/show_bug.

[Bug 419138] Re: [ui-bug] Text clipped in "Existing Settings" page of "Change Driver" window

2011-02-03 Thread Tim Waugh
Fixed upstream in 350cd86e8075a172c5dab1b04f8983b63bd3afcb. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/419138 Title: [ui-bug] Text clipped in "Existing Settings" page of "Change Driver" window

[Bug 588200] Re: Replace standard printing applet with indicator

2010-12-13 Thread Tim Waugh
OK. I'm very unlikely to have time to do this I'm afraid. More useful would be to remove the necessity for the status icon and instead have e.g. "Cancel" action in a 'job queued/printing' notification. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subsc

[Bug 564917] Re: Ubuntu 10.04 does not recognize local printer (HP Laserjet 4) connected via USB/parallel adapter cable.

2010-12-13 Thread Tim Waugh
Why is the Device ID corrupted though? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/564917 Title: Ubuntu 10.04 does not recognize local printer (HP Laserjet 4) connected via USB/parallel adapter c

[Bug 716357] Re: system-config-printer.py crashed with KeyError in _reply(): (dbus.String(u'hp psc 1310 series'), dbus.String(u'_ipp._tcp'), dbus.String(u'local'))

2011-02-14 Thread Tim Waugh
What does this command say?: su -c 'lpinfo -l --include-schemes=dnssd -v' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/716357 Title: system-config-printer.py crashed with KeyError in _reply(): (

[Bug 716357] Re: system-config-printer.py crashed with KeyError in _reply(): (dbus.String(u'hp psc 1310 series'), dbus.String(u'_ipp._tcp'), dbus.String(u'local'))

2011-02-16 Thread Tim Waugh
Thanks for the information. Yes, it's actually to do with there being a non-ASCII UTF-8 encoded character. We store an entry in the look-up table under this key: 'Brother MFC-7420 @ David Gersten\xe2\x80\x99s Computer._ipp._tcp.local' but end up trying to look it up using this key: u'Brother

[Bug 726954] Re: system-config-printer.py crashed with AttributeError in rename_printer(): 'GUI' object has no attribute 'printer'

2011-03-23 Thread Tim Waugh
Should be fixed upstream by commit f7427c0. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/726954 Title: system-config-printer.py crashed with AttributeError in rename_printer(): 'GUI' object has n

[Bug 741987] Re: system-config-printer.py crashed with AttributeError in on_printer_removed(): 'NoneType' object has no attribute 'name'

2011-03-25 Thread Tim Waugh
*** This bug is a duplicate of bug 741449 *** https://bugs.launchpad.net/bugs/741449 Should be fixed in 9f7d8f0. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/741987 Title: system-config-printe

[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 notific

[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 dbus_connection_get_is_con

[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 ubuntu-bu

[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 clic

[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 mail

[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 receive

[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 ubuntu-bugs@

[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 setNPButt

[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 maili

[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' referenc

[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 dbus_message_iter_append

[Bug 403540] Re: Should use GtkBuilder rather than libglade

2010-10-05 Thread Tim Waugh
I just need to rename the files now that glade-3 recognises the .ui file extension. -- Should use GtkBuilder rather than libglade https://bugs.launchpad.net/bugs/403540 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mail

[Bug 604357] Re: Ubuntu's printing queue is not user friendly

2010-10-13 Thread Tim Waugh
How about an even simpler approach: "Cancel" is only available for active jobs, and "Delete" is only available for inactive jobs. Isn't that clear then? -- Ubuntu's printing queue is not user friendly https://bugs.launchpad.net/bugs/604357 You received this bug notification because you are a mem

[Bug 599269] Re: use libinklevel for reporting toner levels

2010-06-28 Thread Tim Waugh
This should go into the drivers, not into system-config-printer. -- use libinklevel for reporting toner levels https://bugs.launchpad.net/bugs/599269 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bug

<    1   2   3   4   5   >