Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Leap 15.1 KDE applications crash when clicking "Print"

  1. #1

    Default Leap 15.1 KDE applications crash when clicking "Print"

    Hello everyone,

    I'm getting weird printing-related issues after upgrading from 42.3 to 15.1. At first, I couldn't use the network printer that was installed in the system, the problem was this:


    1. I could print the test page from YaST but couldn't print anything from any of the applications;
    2. All KDE applications (okular, gwenview, kwrite, kmail, konsole) would freeze when I selected Menu -> Print, sometimes for good, but mostly they would come back live after 3-5 minutes but then freeze again when I chose a printer or clicked "Print"
    3. Non-KDE applications (LibreOffice) would not freeze but printing would not work (with the "filter failed" error)


    I installed a newer version of CUPS (2.3b instead of 2.2.7) from the Printing repository (together with the dependencies, of course). Now the printing seems to work fine in non-KDE apps (I tried FoxIt Reader and LibreOffice). This also seems to have fixed the KDE printing menu freeze. However, KDE apps crash invariably after I select a printer (even "Print to file") and click "Print".

    I would be grateful for any help :-)

  2. #2
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,219

    Default Re: Leap 15.1 KDE applications crash when clicking "Print"

    Hi, and welcome to the forums.


    Is a new user affected in the same manner?

    How did you update?

    What repositories have you enabled?
    Code:
    sudo zypper lr -d
    Regards, Paul

    Tumbleweed (Snapshot: 20190918) KDE Plasma 5
    Non-Tumbling Tumblweed (20150508) KDE 4 - Resurrected
    2x Leap 15.1 KDE Plasma 5

  3. #3

    Default Re: Leap 15.1 KDE applications crash when clicking "Print"

    Quote Originally Posted by tannington View Post
    Hi, and welcome to the forums.
    Thanks!

    Quote Originally Posted by tannington View Post
    Is a new user affected in the same manner?
    Yes, I just checked with the root account and with a new user, both seem to be affected in the same way.

    Quote Originally Posted by tannington View Post
    How did you update?
    Live upgrade 42.3 -> 15.0 -> 15.1

    Quote Originally Posted by tannington View Post
    What repositories have you enabled?
    Code:
    sudo zypper lr -d
    Code:
    #  | Alias                               | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI   
       | Service
    ---+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------+--------
     1 | Games                               | Games                                   | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_Leap_42.3/          |        
     2 | Skype                               | Skype                                   | No      | ----      | ----    |   99     | rpm-md | https://repo.skype.com/rpm/stable                                            |        
     3 | download.nvidia.com-leap            | nVidia Graphics Drivers                 | No      | ----      | ----    |   99     | rpm-md | http://download.nvidia.com/opensuse/leap/42.3                                |        
     4 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/            |        
     5 | download.opensuse.org-non-oss_1     | Update Repository (Non-Oss)             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.1/non-oss/                       |        
     6 | download.opensuse.org-oss           | Main Repository (OSS)                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/oss/                |        
     7 | download.opensuse.org-oss_1         | Main Update Repository                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.1/oss                            |        
     8 | download.opensuse.org-oss_2         | Main Repository (Sources)               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.1/repo/oss          |        
     9 | http-download.opensuse.org-4621cdaf | science                                 | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/science/openSUSE_Leap_42.3/        |        
    10 | http-download.opensuse.org-8e43eed5 | openSUSE:Leap:42.3:Ports                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Leap:/42.3:/Ports/ports/ |        
    11 | openSUSE-42.3-0                     | openSUSE-42.3-0                         | No      | ----      | ----    |   99     | yast2  | hd:/?device=/dev/disk/by-id/scsi-1SanDiskUltra-part2                         |        
    12 | openSUSE_Leap_15.1                  | Printing                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/Printing/openSUSE_Leap_15.1/      |        
    13 | packman.inode.at-suse               | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.1/                             |
    14 | repo-debug                          | openSUSE-Leap-42.3-Debug                | No      | ----      | ----    |   99     | yast2  | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/          |        
    15 | repo-debug-non-oss                  | openSUSE-Leap-42.3-Debug-Non-Oss        | No      | ----      | ----    |   99     | yast2  | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/      |        
    16 | repo-debug-update                   | openSUSE-Leap-42.3-Update-Debug         | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/42.3/oss/                     |        
    17 | repo-debug-update-non-oss           | openSUSE-Leap-42.3-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/42.3/non-oss/
    Sorry, I guess I need to do some clean-up here.

  4. #4

    Default Re: Leap 15.1 KDE applications crash when clicking "Print"

    After some more playing around: it appears that I can print my TeX sources from kile, but not from kwrite or kate (both of which crash as described in the first post). Print preview also causes some issues: it seems to be working fine in kwrite and kate, however, okular shows a gray screen saying "could not load the preview part". Previewing doesn't seem to be causing any crashes, though.

    EDIT: If I get it correctly, Kile is using KDE 4.14, and all the other apps are KDE 5.55, which may be the reason Kile is behaving differently.

  5. #5

    Default Re: Leap 15.1 KDE applications crash when clicking "Print"

    More fiddling around: the apps also crash when I click Print -> Printer Properties -> Advanced (just on my click on the Advanced tab, any of the installed printers/print to file).

  6. #6
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,219

    Default Re: Leap 15.1 KDE applications crash when clicking "Print"

    I'm suspecting you may have some remnants of 42.3 still installed.

    Although in post #3 they are shown as disabled, I'd remove the old 42.3 repos, and temporarily disable the "Printing" repository. Then from the command line:

    Code:
    sudo zypper dup
    to see what it would do if you performed another distribution upgrade.
    Regards, Paul

    Tumbleweed (Snapshot: 20190918) KDE Plasma 5
    Non-Tumbling Tumblweed (20150508) KDE 4 - Resurrected
    2x Leap 15.1 KDE Plasma 5

  7. #7

    Default Re: Leap 15.1 KDE applications crash when clicking "Print"

    Thanks. Here's the output:

    Code:
    zypper dup
    Loading repository data...
    Reading installed packages...
    Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
    Computing distribution upgrade...
    12 Problems:
    Problem: problem with installed package cups-2.3b6-lp151.237.3.x86_64
    Problem: problem with installed package cups-client-2.3b6-lp151.237.3.x86_64
    Problem: problem with installed package cups-config-2.3b6-lp151.237.3.x86_64
    Problem: problem with installed package ghostscript-9.27-lp151.134.1.x86_64
    Problem: problem with installed package ghostscript-fonts-other-9.06-lp151.29.1.noarch
    Problem: problem with installed package ghostscript-x11-9.27-lp151.134.1.x86_64
    Problem: problem with installed package gutenprint-5.2.14pre15.1-lp151.70.1.x86_64
    Problem: problem with installed package hplip-hpijs-3.19.6-lp151.191.1.x86_64
    Problem: problem with installed package hplip-sane-3.19.6-lp151.191.1.x86_64
    Problem: problem with installed package libcups2-2.3b6-lp151.237.3.x86_64
    Problem: problem with installed package libcupsimage2-2.3b6-lp151.237.3.x86_64
    Problem: problem with installed package libQtWebKit4-4.8.7+2.3.4-7.3.2.x86_64
    
    Problem: problem with installed package cups-2.3b6-lp151.237.3.x86_64
     Solution 1: install cups-2.2.7-lp151.5.2.x86_64 (with vendor change)
      obs://build.opensuse.org/Printing  -->  openSUSE
     Solution 2: keep obsolete cups-2.3b6-lp151.237.3.x86_64
    
    Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1
    
    Problem: problem with installed package cups-client-2.3b6-lp151.237.3.x86_64
     Solution 1: install cups-client-2.2.7-lp151.5.2.x86_64 (with vendor change)
      obs://build.opensuse.org/Printing  -->  openSUSE
     Solution 2: keep obsolete cups-client-2.3b6-lp151.237.3.x86_64
    
    Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1
    
    Problem: problem with installed package cups-config-2.3b6-lp151.237.3.x86_64
     Solution 1: install cups-config-2.2.7-lp151.5.2.x86_64 (with vendor change)
      obs://build.opensuse.org/Printing  -->  openSUSE
     Solution 2: keep obsolete cups-config-2.3b6-lp151.237.3.x86_64
    
    Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1
    
    Problem: problem with installed package ghostscript-9.27-lp151.134.1.x86_64
     Solution 1: install ghostscript-9.26a-lp151.2.1.x86_64 (with vendor change)
      obs://build.opensuse.org/Printing  -->  openSUSE
     Solution 2: keep obsolete ghostscript-9.27-lp151.134.1.x86_64
    
    Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1
    
    Problem: problem with installed package ghostscript-fonts-other-9.06-lp151.29.1.noarch
     Solution 1: install ghostscript-fonts-other-9.06-lp151.5.1.noarch (with vendor change)
      obs://build.opensuse.org/Printing  -->  openSUSE
     Solution 2: keep obsolete ghostscript-fonts-other-9.06-lp151.29.1.noarch
    
    Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1
    
    Problem: problem with installed package ghostscript-x11-9.27-lp151.134.1.x86_64
     Solution 1: install ghostscript-x11-9.26a-lp151.2.1.x86_64 (with vendor change)
      obs://build.opensuse.org/Printing  -->  openSUSE
     Solution 2: keep obsolete ghostscript-x11-9.27-lp151.134.1.x86_64
    
    Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1
    
    Problem: problem with installed package gutenprint-5.2.14pre15.1-lp151.70.1.x86_64
     Solution 1: install gutenprint-5.2.14-lp151.2.3.x86_64 (with vendor change)
      obs://build.opensuse.org/Printing  -->  openSUSE
     Solution 2: keep obsolete gutenprint-5.2.14pre15.1-lp151.70.1.x86_64
    
    Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1
    
    Problem: problem with installed package hplip-hpijs-3.19.6-lp151.191.1.x86_64
     Solution 1: install hplip-hpijs-3.18.6-lp151.1.1.x86_64 (with vendor change)
      obs://build.opensuse.org/Printing  -->  openSUSE
     Solution 2: keep obsolete hplip-hpijs-3.19.6-lp151.191.1.x86_64
    
    Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1
    
    Problem: problem with installed package hplip-sane-3.19.6-lp151.191.1.x86_64
     Solution 1: install hplip-sane-3.18.6-lp151.1.1.x86_64 (with vendor change)
      obs://build.opensuse.org/Printing  -->  openSUSE
     Solution 2: keep obsolete hplip-sane-3.19.6-lp151.191.1.x86_64
    
    Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1
    
    Problem: problem with installed package libcups2-2.3b6-lp151.237.3.x86_64
     Solution 1: install libcups2-2.2.7-lp151.5.2.x86_64 (with vendor change)
      obs://build.opensuse.org/Printing  -->  openSUSE
     Solution 2: keep obsolete libcups2-2.3b6-lp151.237.3.x86_64
    
    Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1
    
    Problem: problem with installed package libcupsimage2-2.3b6-lp151.237.3.x86_64
     Solution 1: install libcupsimage2-2.2.7-lp151.5.2.x86_64 (with vendor change)
      obs://build.opensuse.org/Printing  -->  openSUSE
     Solution 2: keep obsolete libcupsimage2-2.3b6-lp151.237.3.x86_64
    
    Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1
    
    Problem: problem with installed package libQtWebKit4-4.8.7+2.3.4-7.3.2.x86_64
     Solution 1: install libQtWebKit4-4.8.7+2.3.4-lp151.2.78.x86_64 (with vendor change)
      openSUSE  -->  http://packman.links2linux.de
     Solution 2: keep obsolete libQtWebKit4-4.8.7+2.3.4-7.3.2.x86_64
    
    Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): 1
    Resolving dependencies...
    Computing distribution upgrade...
    
    The following NEW package is going to be installed:
      libx264-155
    
    The following 15 packages are going to be REMOVED:
      ImageMagick-config-6-SUSE libass5 libgif6 libgnutls28 libHalf11 libhogweed2 libIex-2_1-11 libIlmImf-Imf_2_1-21 libIlmThread-2_1-11 liblcms1 libMagickCore-6_Q16-1 libMagickWand-6_Q16-1 libmng1 libnettle4
      libwebp5
    
    The following 29 packages are going to be downgraded:
      cups cups-client cups-config flash-player-ppapi ghostscript ghostscript-fonts-other ghostscript-x11 gmplayer gutenprint hplip-hpijs hplip-sane libcups2 libcupsimage2 libdca0 libdcadec0 libfaac0 libfaad2
      libfdk-aac1 libopencore-amrnb0 libopencore-amrwb0 libprojectM3 libQtWebKit4 librtmp1 libvo-aacenc0 libx265-176 libxvidcore4 MPlayer normalize transcode
    
    The following 12 packages are going to change vendor:
      cups                     obs://build.opensuse.org/Printing -> openSUSE
      cups-client              obs://build.opensuse.org/Printing -> openSUSE
      cups-config              obs://build.opensuse.org/Printing -> openSUSE
      ghostscript              obs://build.opensuse.org/Printing -> openSUSE
      ghostscript-fonts-other  obs://build.opensuse.org/Printing -> openSUSE
      ghostscript-x11          obs://build.opensuse.org/Printing -> openSUSE
      gutenprint               obs://build.opensuse.org/Printing -> openSUSE
      hplip-hpijs              obs://build.opensuse.org/Printing -> openSUSE
      hplip-sane               obs://build.opensuse.org/Printing -> openSUSE
      libcups2                 obs://build.opensuse.org/Printing -> openSUSE
      libcupsimage2            obs://build.opensuse.org/Printing -> openSUSE
      libQtWebKit4             openSUSE -> http://packman.links2linux.de    
    
    29 packages to downgrade, 1 new, 15 to remove, 12  to change vendor.
    Overall download size: 69.5 MiB. Already cached: 0 B. After the operation, 1.6 MiB will be freed.
    Continue? [y/n/v/...? shows all options] (y): n
    Could it be the libQtWebKit package? I would guess it's not the culprit, but I'm not that well-experienced as to judge. Apart from that one, it seems that it mostly wants to roll the printing packages back to the factory version.

    Also, I did some more playing around: I removed all printers from the YaST printer setup. After that I could print to a file (however, the Printer Properties -> Advanced tab is not accessible if there's only the print to file option, so I could not test it). After reinstalling the printers again, I'm back at step one.

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,010

    Default Re: Leap 15.1 KDE applications crash when clicking "Print"

    As what @tannington tries to do, is being sure you have 15.1 and nothing but 15.1, I would indeed change vendor to openSUSE. When need arises, you can always change to the Printing repo later.

    That should be needed btw, your problem is not a general one and most people just print with the standrad 15.1 repo.
    Henk van Velden

  9. #9

    Default Re: Leap 15.1 KDE applications crash when clicking "Print"

    Thanks @hcvv. I disabled the printing repository, rolled back to the 15.1 version and rebooted, and it now seems that at least the printing is working fine with the factory versions of CUPS etc. I can print the test page from YaST and I can also print from non-KDE5 applications (including Kile). However, KDE5 applications are still crashing when I click print (including print to file) or advanced printer settings. There is no freezing like I had it in the very beginning, though.

  10. #10

    Default Re: Leap 15.1 KDE applications crash when clicking "Print"

    Quote Originally Posted by kw1000 View Post
    Print preview also causes some issues: it seems to be working fine in kwrite and kate, however, okular shows a gray screen saying "could not load the preview part".
    The preview issue in okular doesn't seem to be related to crashing. As described here (in German) - https://www.opensuse-forum.de/thread...hau-in-okular/ - the preview issue is solved by installing the okular-spectre package. It doesn't make the main issue any better, though.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •