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

Wine 2.0 #104

Closed Yaksinikos closed 7 years ago

Yaksinikos commented 7 years ago

wine2.0 Linux Mint 18.1 q4wine 1.3.3

After the release of Wine 2.0 q4wine wont recognize my wine installations or something like that. It simply wont start anything, even the winecfg.

While other applications like pywinery works fine :confused:

brezerk commented 7 years ago

Hi @Translator5

can you enable the logging and provide the output for app startup please?

Yaksinikos commented 7 years ago

`user@LM ~/desk $ q4wine [ii] Loading translation: "q4wine_de_DE" Could not resolve property : radialGradient3709 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : linearGradient5167 Could not resolve property : linearGradient5167 Could not resolve property : linearGradient5167 Could not resolve property : linearGradient5167 Could not resolve property : radialGradient3709 Could not resolve property : linearGradient5167 Could not resolve property : radialGradient3709 Could not resolve property : radialGradient3709 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : pattern5614 Could not resolve property : pattern5626 Could not resolve property : linearGradient3592 Could not resolve property : linearGradient7999 Could not resolve property : radialGradient2943 Could not resolve property : radialGradient2943

[ii] Loading translation: "q4wine_de_DE" "--prefix" "--nice" "--program-bin" "--wrkdir" Exec string: /usr/bin/env WINEPREFIX='/home/user/.wine' WINESERVER='/usr/bin/wineserver' WINELOADER='/usr/bin/wine-preloader' WINEDLLPATH='/opt/wine-staging/lib' WINEARCH='win32' WINEDEBUG='-all' /bin/sh -c "cd '/home/user/desk' && '/usr/bin/wine' 'winecfg.exe' 2>&1 " Exit code: 256 App STDOUT and STDERR output: wine: WINEARCH set to win32 but '/home/user/.wine' is a 64-bit installation.

[ii] Loading translation: "q4wine_de_DE" "--prefix" "--nice" "--program-bin" "--wrkdir"`

I tried first to open default-wine-prefix-winecfg, than wine64-wineprefix-winecfg

Also you ccan see one output here, there I'm try to start 7zFM trough q4wine in a 64bit wine, all settings are preconfigured to 64bit

[ii] Loading translation: "q4wine_de_DE" "--prefix" "--nice" "--program-bin" "--program-lang" "--wrkdir" Exec string: /usr/bin/env WINEPREFIX='/home/user/.local/share/wineprefixes/game64' WINESERVER='/opt/wine-staging/bin/wineserver' WINELOADER='/opt/wine-staging/bin/wine64-preloader' WINEDLLPATH='/opt/wine-staging/lib64' WINEARCH='win64' WINEDEBUG='-all' LANG='de_DE.UTF-8' /bin/sh -c "cd '/media/user/program/1-Wine/7-Zip/' && '/opt/wine-staging/bin/wine64' '7zFM.exe' 2>&1 " Exit code: 256 App STDOUT and STDERR output: /opt/wine-staging/bin/wine64-preloader: not an i386 ELF binary... don't know how to load it

brezerk commented 7 years ago

Well..

wine: WINEARCH set to win32 but '/home/user/.wine' is a 64-bit installation.

It seems like you have wine arch option set to 'win32', while wineprefix is a 64-bit installation.

Try go to: Prefixes -> Edit this prefix -> General -> Architecture -> Default -> Save

brezerk commented 7 years ago

In general, you don't need to set Architecture option manually. Using Default will let Wine to decide the architecture by its own. So it is the best choice.

Architecture option needs to be overridden only if you would like wine to create and use specific arch version.

Also, it is impossible to switch the arch versions win32 <-> win64 or vice versa on runtime. You will need to recreate the prefix from scratch.

Yaksinikos commented 7 years ago

Try go to: Prefixes -> Edit this prefix -> General -> Architecture -> Default -> Save

By clicking on Save q4wine crashes.

I use only wine-staging. Are my Wine Version Manager settings right?

Profile: Default Binary: /opt/wine-staging/bin/wine Server: /opt/wine-staging/bin/wineserver Loader: /opt/wine-staging/bin/wine-preloader

Profile: Wine64 Binary: /opt/wine-staging/bin/wine64 Server: /opt/wine-staging/bin/wineserver Loader: /opt/wine-staging/bin/wine64-preloader

Optional Libs 32: /opt/wine-staging/lib Libs 64: /opt/wine-staging/lib64

Also look here what I've got here, I know this isn a error of q4wine, but ... still confused.

$ wine winecfg wine client error:0: version mismatch 524/447. Your wine binary was not upgraded correctly, or you have an older one somewhere in your PATH. Or maybe the wrong wineserver is still running?

brezerk commented 7 years ago

By clicking on Save q4wine crashes.

O_o

Can you send me ~/.config/q4wine/default.conf and ~/.config/q4wine/db/generic.dat please?

Yaksinikos commented 7 years ago

here

brezerk commented 7 years ago

thank you. but I need db file ~/.config/q4wine/db/generic.dat too. feel free to email me to brezerk@gmail.com

brezerk commented 7 years ago

hm..... Are you able to reproduce the segfault? I have tried to use provided files and had no luck.

Yaksinikos commented 7 years ago

Segfault? You mean the issue? If yes, I do still have the problem. Cant use q4wine right now.

Yaksinikos commented 7 years ago

Loader: /opt/wine-staging/bin/wine-preloader Loader: /opt/wine-staging/bin/wine64-preloader That was the fault!

Its right when you use it so;

Loader: /opt/wine-staging/bin/wine Loader: /opt/wine-staging/bin/wine64

All works fine again! Thanks anyway!

brezerk commented 7 years ago

Hi @Translator5

Cool. However, I would like to confirm this use case:

Try go to: Prefixes -> Edit this prefix -> General -> Architecture -> Default -> Save

By clicking on Save q4wine crashes.

Are you still able to reproduce this crash?

Thanks

Yaksinikos commented 7 years ago

@brezerk nope all works fine, that was the false configuration :laughing: