brezerk / q4wine

Q4Wine is a Qt GUI for W.I.N.E. It will help you manage wine prefixes and installed applications.
http://q4wine.brezblock.org.ua/
GNU General Public License v3.0
208 stars 40 forks source link

Error while loading application settings by key: 'WineLibs' #42

Closed Alzarath closed 10 years ago

Alzarath commented 10 years ago

Looks similar to Issue 12. After a fresh installation of Q4Wine under Arch Linux, when I tried to click 'Run...' (or press Ctrl+Z) I immediately got this error:

Error while loading application settings by key: 'WineLibs'. File or path does not exist: ""

Please, go to the q4wine options dialog and set it.

Looking at the options; Binary, Server and Loader were all blank. After filling them in (using /usr/bin/wine, /usr/bin/wineserver and /usr/bin/wine accordingly, as recommended here), the issue persisted. The current directories for Libs (32bit) and Libs (64bit) are /usr/lib32/wine/ and /usr/lib/wine/. I verified that each of these directories exist and have files in them. I am definitely using Q4Wine 1.1.

brezerk commented 10 years ago

Hi @Alzarath

Thanks for bug report. Issue confirmed.

brezerk commented 10 years ago

Fixed: https://github.com/brezerk/q4wine/commit/695125bf20327cafc4fe16aa6ea0d1a68e6882b9

If you have some free time, please, test it. Reopen if needed.

Will hit 1.1-r1 at the end of the week. Other bugs/feature request are welcome.

JKAbrams commented 10 years ago

Hi, still a problem on 1.1-r1 on Arch Linux, just tried building from git, also tried with empty /~/.config/q4wine/ and let the guide set up the settings. Like Alzarath my paths are: Libs (32bit): /usr/lib32/wine/ Libs (64bit): /usr/lib/wine/ Which is correct. Tried with/without trailing / but that did not make a difference. Let me know if I can provide any helping information.

brezerk commented 10 years ago

Hi @JKAbrams please send me an archive of q4wine database: $HOME/.config/q4wine/db/generic.dat to my email.

vorot93 commented 10 years ago

Happens to me with 1.1-r1 on clean setup as well.

brezerk commented 10 years ago

Unfortunately I can't reproduce this issue with 1.1-r1 with old and clean setup.

I need some ones database snapshot to understand what exactly goes wrong.

vorot93 commented 10 years ago

@brezerk Have you tried creating entirely new prefix?

brezerk commented 10 years ago

yep

JKAbrams commented 10 years ago

@brezerk Hi, sorry for the delay, here a clean /~/.config/q4wine/, I have also sent you my old one by email. http://jkabrams.se/q4wine_clean.tar.gz

brezerk commented 10 years ago

@JKAbrams Hi. Hm... Does this issue occurs when you call 'Run' dialog? Or when you try to create\edit icon?

JKAbrams commented 10 years ago

@brezerk It does actually work on the 'Run' dialog, I seldom use it so I forgot to test. The 'New'/'Edit' dialog and gives the error.

brezerk commented 10 years ago

@JKAbrams Ok. It seems I was looking in wrong place ;)

Here is a fix for 'New'/'Edit' dialog issue: https://github.com/brezerk/q4wine/commit/481951c455468f89282adc0ad4f4ede38f20fd6e

Please, test if you have some free time. Thanks.

JKAbrams commented 10 years ago

@brezerk Nice, I'll try it right away :)

JKAbrams commented 10 years ago

@brezerk I get a compiler segmentation fault on: q4wine-git/src/q4wine-git/src/q4wine-gui/widgets/loggingwidget.cpp:483:1: internal compiler error: Segmentation fault Full build log: http://pastebin.com/q99SsU1i

JKAbrams commented 10 years ago

Might be a problem with the Arch Linux package, I'm going to poke around some.

brezerk commented 10 years ago

hm.... Last file's change date is: Mon Jun 10 11:12:44 2013 +0300 I guess something wrong with compiler itself... But I can't say what it is exactly. =\

JKAbrams commented 10 years ago

Yes, something is definitely fishy, did a new build and now I got a different compiler error, this time. I did a successful build 6 days ago before I posted here. Trying on a different pc.

JKAbrams commented 10 years ago

Builds fine on the other machine and indeed now the dialog works with both my a new database and my old one. Great work, thanks!

brezerk commented 10 years ago

Thanks for your reports and tests!

I'll release 1.1-r2 tomorrow then ( if there will be no new issues reported ;) )

Closing this one. Reopen if needed.