Results 1 to 6 of 6

Thread: Message "QSettings::value: Empty key passed" / Kubuntu

  1. #1
    Join Date
    Jul 2017
    Posts
    4
    Qt products
    Qt5

    Default Message "QSettings::value: Empty key passed" / Kubuntu

    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:
    Qt Code:
    1. gerard@gerard-VirtualBox:~$ makerware
    2. QSettings::value: Empty key passed
    3. QSettings::value: Empty key passed
    4. Illegal instruction (core dumped)
    5. gerard@gerard-VirtualBox:~$
    To copy to clipboard, switch view to plain text mode 

    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.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Message "QSettings::value: Empty key passed" / Kubuntu

    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.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    Jul 2017
    Posts
    4
    Qt products
    Qt5

    Default Re: Message "QSettings::value: Empty key passed" / Kubuntu

    Thanks a lot for your assistance d_stranz;
    Here is the content of the program directory:
    Qt Code:
    1. gerard@gerard-VirtualBox:/usr/share/makerbot$ ls -l
    2. total 36368
    3. -rw-r--r-- 1 root root 84066 août 8 2016 app-icon.png
    4. drwxr-xr-x 2 root root 4096 juil. 11 10:46 birdwing_profiles
    5. drwxr-xr-x 2 root root 4096 juil. 11 10:46 default_configs
    6. -rw-r--r-- 1 root root 118268 août 8 2016 digitizer.ico
    7. drwxr-xr-x 2 root root 4096 juil. 11 10:46 digitizer_profiles
    8. -rwxr-xr-x 1 root root 17720248 août 8 2016 digitizer_ui
    9. -rw-r--r-- 1 root root 85883 août 8 2016 License.txt
    10. -rwxr-xr-x 1 root root 19185592 août 8 2016 makerware
    11. -rw-r--r-- 1 root root 5 août 8 2016 miracle_grue_version.txt
    12. drwxr-xr-x 2 root root 4096 juil. 11 10:46 python
    13. drwxr-xr-x 2 root root 4096 juil. 11 10:46 python34
    14. drwxr-xr-x 4 root root 4096 juil. 11 10:46 s3g
    15. drwxr-xr-x 2 root root 4096 juil. 11 10:46 testfiles
    16. drwxr-xr-x 3 root root 4096 juil. 11 23:10 things-skel
    17. drwxr-xr-x 2 root root 4096 juil. 11 23:10 videos
    18. gerard@gerard-VirtualBox:/usr/share/makerbot$
    To copy to clipboard, switch view to plain text mode 

    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...

    I've sent all the batch to Makerbot support, we'll see ...
    Last edited by Gersei; 12th July 2017 at 00:38.

  4. #4
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Message "QSettings::value: Empty key passed" / Kubuntu

    The ini file (or .makererware or whatever it is called) might be in your user home directory instead of in the program directory.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  5. #5
    Join Date
    Jul 2017
    Posts
    4
    Qt products
    Qt5

    Default Re: Message "QSettings::value: Empty key passed" / Kubuntu

    No, nothing like that neither ...
    but this unknown conveyord.socket seems to be a track, no ?

  6. #6
    Join Date
    Jul 2017
    Posts
    4
    Qt products
    Qt5

    Default Re: Message "QSettings::value: Empty key passed" / Kubuntu

    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/m...or-linux_11262

    Shame !

    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,
    Gerard

Similar Threads

  1. Replies: 1
    Last Post: 20th November 2015, 11:02
  2. Replies: 3
    Last Post: 16th March 2015, 08:31
  3. Replies: 1
    Last Post: 27th August 2014, 05:16
  4. Replies: 4
    Last Post: 12th October 2008, 14:47
  5. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 20:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.