New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double click doesn't open libre office files #249

Closed
calacav opened this Issue Apr 26, 2016 · 8 comments

Comments

@calacav

calacav commented Apr 26, 2016

Hallo,

I'm trying to use cryptomator but I'm having a couple of errors.

  • I'm running Cryptomator on: linux Mint 17.3
  • I'm using Cryptomator in version: 1.0.3

First of all the vault is positioned on a Dropbox, to share information between home and work in a protected way.

I've copied all my files in a vault and:

  1. many file lost the .pdf, .ods,.... end of the file. ( see the attached picture)
  2. when I double click a file that ends with .odt, .ods, .docx, nothing happens and I can't access the file from the vault. If I copy and paste the file on the desktop, with the double-click I can open it without any problem
    error in email

files without the right finish 2

  1. when I drag and drop a file in a new thunderbird mail, the file doesn't appear in the mail. Only a reference the file appears and if I try to send the email I get the error: "Sending of the message failed. There was an error attaching dav://localhost:59999/_encrypted/01 - personale/00 - INGEGNERE/DPR328Modificadisciplinaprofessioni.pdf. Please check that you have access to the file."

Log File (optional)

cryptomator.txt

files without the right finish 2

error in email

It looks like I've some permission problem but I can't understand exactly.

Andrea

@markuskreusch

This comment has been minimized.

Show comment
Hide comment
@markuskreusch

markuskreusch Apr 28, 2016

Member

Could reproduce the described Libre Office problems on Debian 8. Did not try reproduce the Thunderbird problems but assume problems exist there as well. Both programs seem to only get the dav:// url and can not handle these. No access to cryptomator is done in both cases. Attaching a file using evolution worked well.

The problems seems to be related on how the programs access the filesystem. Some seem to use some way which can read dav:// urls, others don't. This could be solvable by using a fuse frontend as described in #252

Member

markuskreusch commented Apr 28, 2016

Could reproduce the described Libre Office problems on Debian 8. Did not try reproduce the Thunderbird problems but assume problems exist there as well. Both programs seem to only get the dav:// url and can not handle these. No access to cryptomator is done in both cases. Attaching a file using evolution worked well.

The problems seems to be related on how the programs access the filesystem. Some seem to use some way which can read dav:// urls, others don't. This could be solvable by using a fuse frontend as described in #252

@markuskreusch

This comment has been minimized.

Show comment
Hide comment
@markuskreusch

markuskreusch Apr 28, 2016

Member

Checked this when mounting the vault manually into a custom folder using davfs2. Works without problems then.

Workaround
Install the package davfs2. Create a folder (e.g. in your home directory) to contian your vault and run:
sudo mount -t davfs -o gid=<username>,uid=<username> http://localhost:<cryptomatorPort>/vaultName /home/<username>/<foldername>
When asked for a User/Password just press enter. You should be able to see the cryptomator port in the file explorer. You can set a fixed port in the settings dialog in Cryptomator (requires restart of Cryptomator).

We could change the mount method if davfs2 is installed and make this the default.

Member

markuskreusch commented Apr 28, 2016

Checked this when mounting the vault manually into a custom folder using davfs2. Works without problems then.

Workaround
Install the package davfs2. Create a folder (e.g. in your home directory) to contian your vault and run:
sudo mount -t davfs -o gid=<username>,uid=<username> http://localhost:<cryptomatorPort>/vaultName /home/<username>/<foldername>
When asked for a User/Password just press enter. You should be able to see the cryptomator port in the file explorer. You can set a fixed port in the settings dialog in Cryptomator (requires restart of Cryptomator).

We could change the mount method if davfs2 is installed and make this the default.

@wladiolo

This comment has been minimized.

Show comment
Hide comment
@wladiolo

wladiolo Mar 30, 2017

Same issue for me. When I double click a docx file, LibreOffice says:

General input/output error while accessing /run/user/1000/gvfs/dav:host=localhost,port=42427,ssl=false,prefix=%2FBv_IuaRgTc--%2FFolderName/path/file.docx.
If I copy the file in a local folder it opens regularly.

The workaround doesn't work for me:

sudo mount -t davfs -o gid=myuser,uid=myuser http://localhost:42427/FolderName /home/myuser/LocalFolder/
Please enter the username to authenticate with server
http://localhost:42427/FolderName or hit enter for none.
  Username: 
Please enter the password to authenticate user  with server
http://localhost:42427/FolderName or hit enter for none.
  Password:  
/sbin/mount.davfs: Mounting failed.
501 Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API

I'm on BackBox 4.7, the Vault is on Dropbox. Cryptomator is version 1.2.3.

Same issue for me. When I double click a docx file, LibreOffice says:

General input/output error while accessing /run/user/1000/gvfs/dav:host=localhost,port=42427,ssl=false,prefix=%2FBv_IuaRgTc--%2FFolderName/path/file.docx.
If I copy the file in a local folder it opens regularly.

The workaround doesn't work for me:

sudo mount -t davfs -o gid=myuser,uid=myuser http://localhost:42427/FolderName /home/myuser/LocalFolder/
Please enter the username to authenticate with server
http://localhost:42427/FolderName or hit enter for none.
  Username: 
Please enter the password to authenticate user  with server
http://localhost:42427/FolderName or hit enter for none.
  Password:  
/sbin/mount.davfs: Mounting failed.
501 Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API

I'm on BackBox 4.7, the Vault is on Dropbox. Cryptomator is version 1.2.3.

@overheadhunter

This comment has been minimized.

Show comment
Hide comment
@overheadhunter

overheadhunter Mar 31, 2017

Member

Wondering, why some of the slashes are url-encoded (%2FBv_IuaRgTc--%2FFolderName).

@wladiolo when mounting manually, use the full URL, i.e. sudo mount -t davfs -o gid=myuser,uid=myuser http://localhost:42427/Bv_IuaRgTc--/FolderName /home/myuser/mymountpoint.

You can copy the correct URL from the UI as well as from the log file.

Member

overheadhunter commented Mar 31, 2017

Wondering, why some of the slashes are url-encoded (%2FBv_IuaRgTc--%2FFolderName).

@wladiolo when mounting manually, use the full URL, i.e. sudo mount -t davfs -o gid=myuser,uid=myuser http://localhost:42427/Bv_IuaRgTc--/FolderName /home/myuser/mymountpoint.

You can copy the correct URL from the UI as well as from the log file.

@wladiolo

This comment has been minimized.

Show comment
Hide comment
@wladiolo

wladiolo Mar 31, 2017

Sorry @overheadhunter, I forgot part of the URL. Now it works. Thanks a lot.

Sorry @overheadhunter, I forgot part of the URL. Now it works. Thanks a lot.

@overheadhunter

This comment has been minimized.

Show comment
Hide comment
@overheadhunter

overheadhunter Apr 6, 2018

Member

Today we released our first beta of 1.4.0, which brings FUSE support to macOS and Linux.

Please retest this issue with FUSE enabled and report your findings in this thread.


If you experience any new issues, please report them and tell us what software version (including macOS version, linux kernel, display manager, desktop environment) you're using.

⚠️ This is a beta version! Make backups and don't use this version for production data. ⚠️

Member

overheadhunter commented Apr 6, 2018

Today we released our first beta of 1.4.0, which brings FUSE support to macOS and Linux.

Please retest this issue with FUSE enabled and report your findings in this thread.


If you experience any new issues, please report them and tell us what software version (including macOS version, linux kernel, display manager, desktop environment) you're using.

⚠️ This is a beta version! Make backups and don't use this version for production data. ⚠️

@overheadhunter overheadhunter removed this from the 1.x milestone Apr 6, 2018

@stale

This comment has been minimized.

Show comment
Hide comment
@stale

stale bot Jun 17, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale bot commented Jun 17, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the state:stale label Jun 17, 2018

@no-response no-response bot closed this Jun 17, 2018

@no-response

This comment has been minimized.

Show comment
Hide comment
@no-response

no-response bot Jun 17, 2018

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

no-response bot commented Jun 17, 2018

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment