-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Lawrence a écrit : > Have you tried this with the version of foomatic-gui you reported the > bug in? Line 851 of foomatic-gui explicitly calls "touch > /etc/cups/printers.conf" if the spooler is cups.
Yes, I also noticed this. I am not a python expert in any way, but I believe this is either never called or won't work. I just tried again on another system with a strace -f -eopen attached : [pid 15810] open("/etc/ld.so.cache", O_RDONLY) = 5 [pid 15810] open("/lib/tls/libc.so.6", O_RDONLY) = 5 [pid 15810] open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 5 [pid 15810] open("/etc/foomatic/defaultspooler", O_RDONLY|O_LARGEFILE) = 5 Process 15809 suspended Process 15809 resumed Process 15810 detached [pid 15809] --- SIGCHLD (Child exited) @ 0 (0) --- [pid 15809] open("/etc/cups/printers.conf", O_RDONLY|O_LARGEFILE) = -1 ENOENT (N o such file or directory) well, there *is* no such file or directory. This is really annoying, as the average foomatic-gui user would use it to configure his first printer... and won't have a printers.conf. I can send you a full trace if you want, but as this is a python script I suppose there are better ways to catch this one :) - -- Clement 'nodens' Hermann -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCdUlu0yQ2guvROZ0RAhtoAJ0Uomwpo4J0EsAOrJ3eXrlzVwAkYQCfcM7h njcI6Q/PGckrk98XyogKKJI= =oIKo -----END PGP SIGNATURE-----