elementary-community / sequeler

SQL Client built in Vala
GNU General Public License v3.0
804 stars 66 forks source link

[SQLITE3] Unable to open databases which have spaces in their path #323

Open dsancheznet opened 4 years ago

dsancheznet commented 4 years ago

Sequeler refuses to open SQLITE3 files which have a space in their path such as...

"/home/myuser/my directory/mydatabase.db"

See: capture (Sorry for it being in Spanish, but I guess you will know which key it is ;) )

Best regards

PlatonB commented 4 years ago

I get the same mistake. I can reproduce it even if there are no spaces in the path. An example of a path: /home/platon/_0_Диссертация/Exp/high_perf_bio_test/dbSNP/common.db

Alecaddd commented 4 years ago

Are you guys able to test the English version? I'm suspecting this problem might be related to a a string that shouldn't have been translated.

PlatonB commented 4 years ago

AppCenter offers me to buy only the Russian version. There is no language setting in Sequeler itself.

dsancheznet commented 4 years ago

I personally don't think that it has anything to do with translations. As soon as I removed the space from the path, everything worked flawlessly. My guess would be that it has to do with the unescaped path or special caracters UTF-8 rendering - just guessing here, haven't looked at the code.

Regards