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

Problem opening file dialog to mount ISO #86

Closed cebxan closed 8 years ago

cebxan commented 8 years ago

When trying to mount an ISO image through Mount ISO -> Mount -> Browse I get a very brief glimpse of a modal dialog and then nothing else. Running in the terminal I get this message:

SqlError:  QSqlError("", "Parameter count mismatch", "")
QFile::link: Empty or null file name

Trying to add the ISO through the Disc Image Manager, I get the Open File dialog and select an ISO, but, after accepting, the list shows a new row with an empty Disc Image Name and size of 0 MB.

I'm using ArchLinux with the following packages.

qt4 4.8.7-9
qt5-base 5.7.0-2
wine-staging 1.9.18-1
winetricks 20160724-1
wine-mono 4.6.3-1
wine_gecko 2.47-1
fuseiso 20070708-6
q4wine 1.3.2-1

Thank you very much for your help!

brezerk commented 8 years ago

Hi @cebxan

Thanks for bug report.

Can you show output for q4wine-cli -v please?

Thanks

cebxan commented 8 years ago

Hi @brezerk , I'm pasting the output:

❯ q4wine-cli -v
[ii] Loading translation:  "q4wine_en_US"
q4wine-cli 1.3.2
Copyright (C) 2008-2016 by Alexey S. Malakhov <brezerk@gmail.com>
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Buildtime flags are:

 CMAKE_INSTALL_PREFIX    /usr                     

 QT5                     ON                       
 RELEASE                 ON                       
 DEBUG                   OFF                      
 WITH_ICOUTILS           ON                       
 WITH_SYSTEM_SINGLEAPP   OFF                      
 WITH_WINEAPPDB          ON                       
 WITH_DBUS               ON                       

Author: Alexey S. Malakhov.

Thanks!

brezerk commented 8 years ago

hm.... I have tried to reproduce. and had no luck :( It seems like you have corrupted database or config file.

@cebxan can you send me q4wine's config file and it's database snapshot on my email : brezerk@gmail.com please?

config file: $HOME/.config/q4wine/default.conf

database: $HOME/.config/q4wine/db/generic.dat

thanks!

brezerk commented 8 years ago

Hi @cebxan

Thank you for the report and for the files.

The issue related to the Qt5 behavior. For some reasons, QAction->text() returns text with shortcut symbol. Even it there was no shortcut symbol set! WHAT???

this leads to the logic confusions: for example expected device name /dev/sr0 becomes /&dev/sr0 e.t.c.

This commit: https://github.com/brezerk/q4wine/commit/ab5659a5333a160a354888f9ec18d9e9cbe1274d should fix this issue.

Let me know if it does not work for you.

nairaner commented 8 years ago

For me it is fixed as well as crash when using "Run"

brezerk commented 8 years ago

Yeah. There was same root cause also. I am going to close this ticket. Reopen if needed.

cebxan commented 8 years ago

I'm sorry for the delay. Yes! This is fixed for me too.

Thank you very much! 😀

El sáb., 24 de sept. de 2016 11:49 AM, Alexey S. Malakhov < notifications@github.com> escribió:

Closed #86 https://github.com/brezerk/q4wine/issues/86.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/brezerk/q4wine/issues/86#event-801287234, or mute the thread https://github.com/notifications/unsubscribe-auth/AACkOLc9ctHPq0UymX8OAegp9qHX65RZks5qtUZ5gaJpZM4J5ndF .

brezerk commented 8 years ago

ur'welcome. thanks for confirmation :)