Bug 232080 - Printer module from YaST hangs on Rebuild Drivers Database
Summary: Printer module from YaST hangs on Rebuild Drivers Database
Status: RESOLVED DUPLICATE of bug 229231
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Final
Hardware: i686 SUSE Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-05 13:05 UTC by Sebastien ROHAUT
Modified: 2007-01-05 14:53 UTC (History)
0 users

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
YaST printer module is hanging (in french) (49.76 KB, image/jpeg)
2007-01-05 13:07 UTC, Sebastien ROHAUT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastien ROHAUT 2007-01-05 13:05:44 UTC
Hi,

Yesterday I bought a new printer/combo (printer/scanner) from HP : HP C4190. So to configure it I installed and launched HPLIP, then tired to go in YaST Printer configuration. YaST hangs when it tries to rebuild the drivers database. I put as attachement a capture of YaST. At step 3 it blocks at 4%.

Here are the revelants infos from YaST log file :

2007-01-05 13:56:01 <1> slyserver(7410) [YCP] Printerdb.ycp:340 Checking foomatic database
2007-01-05 13:56:01 <1> slyserver(7410) [YCP] Printerdb.ycp:343 Database changed
2007-01-05 13:56:01 <1> slyserver(7410) [agent-ppd] PPDdb.cc(createdbThread):419 CreateDbThread started
2007-01-05 13:56:02 <1> slyserver(7410) [agent-ppd] PPDdb.cc(loadPrebuiltDatabase):1439 Database file parsed correctly by YCP parser
2007-01-05 13:56:02 <1> slyserver(7410) [agent-ppd] PPDdb.cc(loadPrebuiltDatabase):1670 Database contents is OK

And a ps :
root      7389     1  0 13:55 ?        00:00:00 /bin/bash /sbin/yast2 printer
root      7410  7389 99 13:55 ?        00:04:27 /usr/lib/YaST2/bin/y2base printer qt
root      7440  7410  0 13:56 ?        00:00:00 /bin/bash /usr/lib/YaST2/servers_non_y2/ag_initscripts

As you can see, "y2base printer qt" uses 99% of CPU. I tried it for a while (4 hours) without success.

It always possible to add a printer using CUPS Web frontend (http://localhost:631) or from KDE control Center. With KDE, I have a dialog box which indicates an error during the database drivers rebuild but without any comment, then it works.

I tried to reinstall cups, cups-drivers, foomatic, Yast printer module, etc. It doesn't change anything.

I didn't put Severity to normal because not everybody knows how to install printer without YaST, but not to critical because it's always possible to install a printer.

Help !
Comment 1 Sebastien ROHAUT 2007-01-05 13:07:53 UTC
Created attachment 111638 [details]
YaST printer module is hanging (in french)

Database rebuild hangs at 4%
Comment 2 Matej Horvath 2007-01-05 14:40:45 UTC
Please attach all your yast and cups logs. The CUPS web front-end works just fine? Doesn't it show any error? What version of cups-drivers and foomatic are you using? Could you please attach the KDE control center error screenshot?
Comment 3 Michal Zugec 2007-01-05 14:53:53 UTC
This is duplicate report, fixed in yast2-printer-2.14.17
Workarround: delete /var/lib/YaST2/ppd_db.ycp and start yast again

*** This bug has been marked as a duplicate of bug 229231 ***