"Save" or "save as" closes program

Asked by Rae on 2015-09-08

I'm running Ubuntu 15.04 with the GNOME/GNOME Classic DE. I followed the instructions at http://titaniumbunker.com/?tag=kxstitch to get the minimal KDE pre-requisites (noting that the git address has changed to git://anongit.kde.org/kxstitch).

The program opens just fine. Files open just fine. When I try to make a new pattern, I can edit just fine. But when I go to save it, both "save" and "save as" simply close the program out. All progress is lost.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu kxstitch Edit question
Assignee:
No assignee Edit question
Solved by:
Rae
Solved:
2015-09-10
Last query:
2015-09-10
Last reply:
2015-09-10

If you use KDE, is it OK?

Rae (raendrop) said : #2

I don't have a KDE installation.

So if you log off you don't have the option of KDE to log in to

Rae (raendrop) said : #4

That's right. It's a standard Ubuntu installation (Unity) with GNOME DE installed (because that's my preferred). I do have a minimal infusion of KDE as I described in my original post.

Manfred Hampl (m-hampl) said : #5

Try starting the program from within a terminal window. Do you get any error messages when using the 'save' or 'save as' function?

Rae (raendrop) said : #6

This is what I get when I launch the program:

`$ kxstitch`
`kxstitch(2600)/kdeui (KIconLoader): Error: standard icon theme "oxygen" not found! `

`QLayout: Attempting to add QLayout "" to MainWindow "MainWindow#", which already has a layout`
`kxstitch(2600)/kdeui (kdelibs): Attempt to use QAction "showPreviewDockWidget" with KXMLGUIFactory! `
`kxstitch(2600)/kdeui (kdelibs): Attempt to use QAction "showPaletteDockWidget" with KXMLGUIFactory! `
`kxstitch(2600)/kdeui (kdelibs): Attempt to use QAction "showHistoryDockWidget" with KXMLGUIFactory! `
`kxstitch(2600)/kdeui (kdelibs): Attempt to use QAction "showImportedDockWidget" with KXMLGUIFactory! `

This is what I get when I try to save:

`Could not find 'klauncher' executable.`
`kdeinit4: Communication error with launcher. Exiting!`
`KCrash: Application 'kxstitch' crashing...`
`KCrash: Attempting to start from kdeinit`
`KCrash: Connect sock_file=/home/me/.kde/socket-computer/kdeinit4__0`
`Warning: connect() failed: : Connection refused`
`KCrash: Attempting to start directly`
`KCrash failed to exec(), errno = 2`
`Unable to start Dr. Konqi`
`Not forwarding the crash to Apport.`

Manfred Hampl (m-hampl) said : #7

What is the output of the following commands:

uname -a
lsb_release -crid
apt-cache policy kxstitch
dpkg -l | grep kdelib

Searching for klauncher shows that it is contained in the kdelibs5-plugins package. Maybe you have to install that also.

Rae (raendrop) said : #8

~$ uname -a
Linux computer 3.19.0-28-generic #30-Ubuntu SMP Mon Aug 31 15:52:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid

~/kxstitch$ apt-cache policy kxstitch
N: Unable to locate package kxstitch

~/kxstitch$ ls -a
. doc_images kxstitch.xml
.. Doxyfile.in lo16-app-kxstitch.png
build .git lo32-app-kxstitch.png
build.sh hi32-app-kxstitch.png Messages.sh
CMakeLists.txt icons schemes
configuration.kcfgc kxstitch.desktop src
COPYING kxstitch.kcfg symbols
doc kxstitchui.rc ui

~/kxstitch$ dpkg -l | grep kdelib
ii kdelibs-bin 4:4.14.6-4~ubuntu3.1 amd64 core executables for KDE Applications
ii kdelibs5-data 4:4.14.6-4~ubuntu3.1 all core shared data for all KDE Applications
ii kdelibs5-dev 4:4.14.6-4~ubuntu3.1 amd64 development files for the KDE Development Platform libraries

Installing kdelibs5-plugins was exactly what I needed, thank you. Save and save as now work as they should. I still get output in the terminal window when I do that, but the program seems to be functioning the way it should for now.

$ kxstitch
kxstitch(3482)/kdeui (KIconLoader): Error: standard icon theme "oxygen" not found!

QLayout: Attempting to add QLayout "" to MainWindow "MainWindow#", which already has a layout
kxstitch(3482)/kdeui (kdelibs): Attempt to use QAction "showPreviewDockWidget" with KXMLGUIFactory!
kxstitch(3482)/kdeui (kdelibs): Attempt to use QAction "showPaletteDockWidget" with KXMLGUIFactory!
kxstitch(3482)/kdeui (kdelibs): Attempt to use QAction "showHistoryDockWidget" with KXMLGUIFactory!
kxstitch(3482)/kdeui (kdelibs): Attempt to use QAction "showImportedDockWidget" with KXMLGUIFactory!

When I select "save as":
kxstitch(3482)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found
kxstitch(3482)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found
kxstitch(3482)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found
kxstitch(3482)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found

When I overwrite a(n expendable test) file:
kxstitch(3482) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.sheet.binary.macroEnabled.12"
kxstitch(3482) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.addin.macroEnabled.12"
kxstitch(3482) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"
kxstitch(3482) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.sheet.macroEnabled.12"
kxstitch(3482) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.presentation.macroEnabled.12"
kxstitch(3482) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-word.template.macroEnabled.12"
kxstitch(3482) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.template.macroEnabled.12"
kxstitch(3482) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.template.macroEnabled.12"
kxstitch(3482) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-word.document.macroEnabled.12"
kxstitch(3482) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.slide.macroEnabled.12"
kxstitch(3482): Couldn't start knotify from knotify4.desktop: "Could not find service 'knotify4.desktop'."

kxstitch(3482)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "The name org.kde.knotify was not provided by any .service files"
kxstitch(3482)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "No such object path '/modules/ktimezoned'"

kxstitch(3482)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned

But It properly saves and opens back up with no issues. Unless I encounter another usability issue later on, I happily consider this question solved. Thank you very much.