photos icon indicating copy to clipboard operation
photos copied to clipboard

Pantheon-Photos cant open photos over ftp

Open elementaryBot opened this issue 8 years ago • 6 comments

I connect my smartphone to pc over ftp (anonym without password). In pantheon-files i go to a folder and open a jpg-file, but pantheon-photos only shows a black screen.

Phone: Samsung Galaxy S5 Neo FTP-server with Android App 'Solid Explorer'

ProblemType: Bug DistroRelease: elementary 0.4 Package: elementary-desktop 1.412+467~daily~ubuntu0.4.1 [origin: LP-PPA-elementary-os-daily] ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10 Uname: Linux 4.4.0-24-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CrashDB: elementary_meta CurrentDesktop: Pantheon Date: Thu Jun 16 17:50:01 2016 InstallationDate: Installed on 2016-06-14 (1 days ago) InstallationMedia: elementary OS 0.4 "Loki" - Daily amd64 (20160613) SourcePackage: elementary-meta SuspiciousXErrors:

ThirdParty: True UpgradeStatus: No upgrade log present (probably fresh install)

Launchpad Details: #LP1593271 J.Ar - 2016-06-16 15:07:41 +0000


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

elementaryBot avatar Apr 18 '17 17:04 elementaryBot

Hello,

Can you confirm that copying that file over to your computer and opening it like that works?

Launchpad Details: #LPC Zisu Andrei - 2016-06-16 17:53:53 +0000

elementaryBot avatar Apr 18 '17 17:04 elementaryBot

Yes, i can copy the files to my home folder and there i can open them with Photos. I dont know if it's related to this bug, but the preview also do not work over ftp. I know for example in Nemo or Nautilus you have the option to show the preview on other devices and you can set a limited filesize, for example 5MB or 10MB.

Another problem, but maybe important...when i open a .mp4 video file at my phone, a window appears with the text: Cannot open this file Cannot stream from this protocol (ftp)

Launchpad Details: #LPC J.Ar - 2016-06-16 18:50:43 +0000

elementaryBot avatar Apr 18 '17 17:04 elementaryBot

I have tested it on Linux Mint 18 with Nemo and there is everything fine.

Launchpad Details: #LPC J.Ar - 2016-06-16 19:02:24 +0000

elementaryBot avatar Apr 18 '17 17:04 elementaryBot

Sorry for the late reply, if you do the same FTP setup, but try and open the image with Eye of GNOME (https://wiki.gnome.org/Apps/EyeOfGnome), does it work?

The reason why I'm asking so many questions is because I'm suspecting this is not a Photos issue, but an issue with the virtual filesystem for FTP.

Launchpad Details: #LPC Zisu Andrei - 2016-06-20 08:07:57 +0000

elementaryBot avatar Apr 18 '17 17:04 elementaryBot

Ask as much as you want :) I'm a noob and dont know what to do or how i can solve things :D

For a quick check I started my elementaryOS loki 0.4 liveUSB a few minutes ago and installed 'eye of gnome'. With 'eog', i can browse through my pictures on the phone. (anonymous ftp/wlan again) Same procedure with Photos doesn't work.

Can i check something in terminal? Debugmodus?
When i open the picture in terminal with [ pantheon-photos ./Garten.jpg ] there is no output. [ eog ./Garten.jpg ] works as aspected.

Launchpad Details: #LPC J.Ar - 2016-06-20 16:28:26 +0000

elementaryBot avatar Apr 18 '17 17:04 elementaryBot

Ok, i think the problem is, photos want to write on the Android device (folder) and that is not possible. I have tested with a text file and scratch. I am able to create a 'text.txt' but when i open it with scratch, i can not write some text. So, its only a permissions problem...but i dont know if this can be solved. Maybe a Android user permissions thing?

btw. In my comment #3 i wrote, the thumbnails are not working...thats wrong, i found out, there is a option in dconf-editor to enable thumbnails for Files on remote filesystems. And later...i see in the context menu of Files (right mouse click on a empty area in the folder) show me a option to enable it too.

Launchpad Details: #LPC J.Ar - 2016-06-20 19:47:30 +0000

elementaryBot avatar Apr 18 '17 17:04 elementaryBot