DarkHobbit / doublecontact

Offline DE-independent Qt-based contact manager primarily for phonebooks editing/merging. Beta.
GNU General Public License v3.0
52 stars 11 forks source link

Error: "Can't read file" by double-click #16

Closed SauronfromMordor closed 7 years ago

SauronfromMordor commented 7 years ago

When I open file by double-click, I get the message: 1 And after pressing OK, DoubleContact opens being empty. 2 But if I just launch DoubleContact and open this file by File-Open, it opens correctly. 3 Changing permissions doesn't help. Example: 00001.txt Lubuntu 16.04 x64.

DarkHobbit commented 7 years ago

IMHO, this is because your file manager (PCManFM?) creates URL with file:// protocol prefix. I shall try to process this prefix in program, thanks.

DarkHobbit commented 7 years ago

Commited. Can you build DEB for your distribution from sources and check this bug? If no, simply wait next binary release (0.1.3 or 0.2).

SauronfromMordor commented 7 years ago

Yeah, but could you add build instructions to readme like

sudo apt-get install <...> mkdir build cd build ../configure --prefix=/usr/ make

because there is "use qmake" and I don't know how.

DarkHobbit commented 7 years ago

Yes, I think about it. Currently, DoubleContact depends of Qt and zlib-devel, but Qt dev libraries can have very differ names even in deb-based distribution.

SauronfromMordor commented 7 years ago

I've built it on Lubuntu, this fix works, I guess, but it should be better to wait 0.1.3 for re-test. Also I've added build instructions on Ubuntu: https://github.com/DarkHobbit/doublecontact/pull/18

DarkHobbit commented 7 years ago

Thanks! I shall see this doc later.

DarkHobbit commented 7 years ago

Done.