iPhone / iOS randomly assigns directory names each time device is accessed

Bug #1717317 reported by frank tykiel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rapid Photo Downloader
Fix Released
Low
Damon Lynch

Bug Description

Hello,
after connecting my IPHONE SE, the preview Tumbs appears but after click on the
download button a error message is shown -> "GP_ERROR_NOT_SUPPORTED".
Same behavior for all pictures.
With a Android Samsung Smartphone, everything is working. It seems that the IOS System
play a role concerning the Error message.

Please find attached the log file. System is Fedora 26, Photo Downloader Version 0.9.3
System AMD Ryzen 1700

Related branches

Revision history for this message
frank tykiel (franksarcade) wrote :
Revision history for this message
Damon Lynch (dlynch3) wrote :

Hi, thanks for your bug report. It's hard to say what's going on because the log file was uploaded incorrectly -- the line ends have been removed, making it extremely difficult to read.

I suggest unplugging the iPhone and trying again. Sometimes libgphoto2 can have problems that can be resolved in that manner.

Changed in rapid:
status: New → Incomplete
Revision history for this message
Damon Lynch (dlynch3) wrote :

If after trying this fix, if you still have a problem, attach the log file in the correct (plain text) format. Thanks!

Revision history for this message
frank tykiel (franksarcade) wrote :

Hello,
i updated Fedora 26 to all latest software via online software update tool and rebooted
the machine. Unfortunately, same behavior after unplugging and new try.
Attached you can find the latest log File.
Hopefully in correct format.

Best regards
Frank

Revision history for this message
Damon Lynch (dlynch3) wrote :

The format is again not correct. I'm not sure what is going wrong with that. Please email me the log file as an attachment. My email address is in my profile here and also on the website for Rapid Photo Downloader.

Revision history for this message
Damon Lynch (dlynch3) wrote :

Thanks for the log files. Based on the error report, I searched for the specific error and found this:

"iOS seems to store all files in a bunch of subdirectories, and the names of these subdirectories are auto-regenerated for each new connection. As long as the application keeps its connection open, there's no problem, but if gathers all the names first, then try to fetch them later, it is unable to find them back."

https://bugzilla.redhat.com/show_bug.cgi?id=1178256

Rapid Photo Downloader does use a two step process to determine the file names, and then download them in a different process. It never occurred to me that a device would randomly change the directory files are found in each time it is accessed.

This GVFS code contains a workaround for the Apple bug:

https://github.com/GNOME/gvfs/blob/master/daemon/gvfsbackendgphoto2.c

I'll see what can be done to work around this absurd situation.

Changed in rapid:
status: Incomplete → Triaged
summary: - GPhoto2-Fehler:GP_ERROR_NOT_SUPPORTED, IPHONE SE
+ iPhone / iOS randomly assigns directory names each time device is
+ accessed
Changed in rapid:
importance: Undecided → Low
assignee: nobody → Damon Lynch (dlynch3)
Damon Lynch (dlynch3)
Changed in rapid:
milestone: none → 0.9.4
status: Triaged → Fix Committed
Damon Lynch (dlynch3)
Changed in rapid:
milestone: 0.9.4 → 0.9.4b1
Revision history for this message
Damon Lynch (dlynch3) wrote :

Hi Frank,

Please test 0.9.4 beta 1 to see if it now works with your iPhone. I don't have an iOS device, so I can't make sure the changes work. You can set the program preferences to check for development versions, if you didn't do so already.

Best,
Damon

Changed in rapid:
status: Fix Committed → Fix Released
Revision history for this message
frank tykiel (franksarcade) wrote : Re: [Bug 1717317] Re: iPhone / iOS randomly assigns directory names each time device is accessed

Hello Damon,

today i checked the latest Version 0.9.4 b1 and it seems that the issue
is fixed.

Picture transfer worked well without any problems.
I will test it this and next week more intensiv, so we make sure the fix
is completely fixed.

Many thanks for the fast support and beta update.

Very best regards from Germany

Frank

Am 27.09.2017 um 01:14 schrieb Damon Lynch:
> Hi Frank,
>
> Please test 0.9.4 beta 1 to see if it now works with your iPhone. I
> don't have an iOS device, so I can't make sure the changes work. You can
> set the program preferences to check for development versions, if you
> didn't do so already.
>
> Best,
> Damon
>
> ** Changed in: rapid
> Status: Fix Committed => Fix Released
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.