View Full Version : Message "QSettings::value: Empty key passed" / Kubuntu

11th July 2017, 15:23
Hi all,

I'm on this "newbie" thread, but in fact I'm more ignorant in this matter than a newbie : I'm a user...

I run Kubuntu 16.04 on a VM / VirtualBox hosted on Linux Mint17.
I've installed an appli so called "Makerware" on it .
Makerware needs Qt5 to run, and not any earlier version than ubuntu, 16.04 this is why I choose Kubuntu. Installation ran fine.

I could run my appli once, but when I launched it for the second time, I got this message:

gerard@gerard-VirtualBox:~$ makerware
QSettings::value: Empty key passed
QSettings::value: Empty key passed
Illegal instruction (core dumped)

The window popps up for 2 seconds and then disappear. Every time since.

Would anyone here have an idea about that and how to solve it, I'll be very greatfull.

Thanks in advance.

11th July 2017, 16:58
Apparently Makerware has a bug where it is either asking to read or write something to the app's INI file (or the equivalent on linux) but it is passing an empty string as the key for the lookup. It then probably proceeds to try to use the value it has looked up without checking to see if it is NULL first. Crash, burn.

I don't know how you fix it. You could look for an INI file (or ".something") file in your home or the program directory and delete it (after making a backup copy somewhere else), but if this is something that recurs every time you run the program it won't be a permanent fix.

If you can't fix it, then you'll probably have to contact the authors of Makerware to report the bug.

11th July 2017, 23:38
Thanks a lot for your assistance d_stranz;
Here is the content of the program directory:

gerard@gerard-VirtualBox:/usr/share/makerbot$ ls -l
total 36368
-rw-r--r-- 1 root root 84066 août 8 2016 app-icon.png
drwxr-xr-x 2 root root 4096 juil. 11 10:46 birdwing_profiles
drwxr-xr-x 2 root root 4096 juil. 11 10:46 default_configs
-rw-r--r-- 1 root root 118268 août 8 2016 digitizer.ico
drwxr-xr-x 2 root root 4096 juil. 11 10:46 digitizer_profiles
-rwxr-xr-x 1 root root 17720248 août 8 2016 digitizer_ui
-rw-r--r-- 1 root root 85883 août 8 2016 License.txt
-rwxr-xr-x 1 root root 19185592 août 8 2016 makerware
-rw-r--r-- 1 root root 5 août 8 2016 miracle_grue_version.txt
drwxr-xr-x 2 root root 4096 juil. 11 10:46 python
drwxr-xr-x 2 root root 4096 juil. 11 10:46 python34
drwxr-xr-x 4 root root 4096 juil. 11 10:46 s3g
drwxr-xr-x 2 root root 4096 juil. 11 10:46 testfiles
drwxr-xr-x 3 root root 4096 juil. 11 23:10 things-skel
drwxr-xr-x 2 root root 4096 juil. 11 23:10 videos

So apparently nothing like a .ini file. So I'll follow your advice and try to get assistance from the maker support.

Thanks again,
cheers !

Added after 37 minutes:

Here's what I found in the log:

obj/src/core/application.cpp:166: error
Application::Application(int*, char**, const QString&, const QString&, const MakerBot::Version&)
Tue Jul 11 23:44:27 2017
Exception : Unable to connect to: /var/run/conveyor/conveyord.socket

So d_stranz you're right, the application is passing some "Qstring", but the exception is true too, there is no "conveyord.socket" in my system... :confused:

I've sent all the batch to Makerbot support, we'll see ...

12th July 2017, 00:20
The ini file (or .makererware or whatever it is called) might be in your user home directory instead of in the program directory.

12th July 2017, 08:07
No, nothing like that neither ...
but this unknown conveyord.socket seems to be a track, no ?

12th July 2017, 17:33
Makerbot kicked in touch, answering that my OS is not supported ... Although Ubuntu 16.04 is mentioned in the supported OS list.
cf. : https://support.makerbot.com/learn/makerbot-desktop-software/installation-and-setup/how-to-install-makerbot-desktop-for-linux_11262

Shame ! :mad:

I read in other forums that other people had to face this bug too, (again around this conveyord ...) and the only workaround they found is : uninstall the program and the OS, then reinstall the lot every time they need to use the program ! Middle age !
I will try another OS, hoping that one would work.
Thanks a lot for your help,
All the best,