crash on download photo

Bug #1703589 reported by Kenny Verstraete
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rapid Photo Downloader
Invalid
Undecided
Unassigned

Bug Description

trying to download photo's from Ipad 2 Air.

App crashes with this log and nothing gets downloaded:

Traceback (most recent call last):
  File "/home/kenny/.local/lib/python3.4/site-packages/raphodo/rapid.py", line 2707, in downloadButtonClicked
    self.startDownload()
  File "/home/kenny/.local/lib/python3.4/site-packages/raphodo/rapid.py", line 2813, in startDownload
    self.startDownloadPhase2()
  File "/home/kenny/.local/lib/python3.4/site-packages/raphodo/rapid.py", line 2911, in startDownloadPhase2
    self.thumbnailModel.markDownloadPending(download_files.files)
  File "/home/kenny/.local/lib/python3.4/site-packages/raphodo/thumbnaildisplay.py", line 1061, in markDownloadPending
    self.tsql.set_list_marked(uids=uids, marked=False)
  File "/home/kenny/.local/lib/python3.4/site-packages/raphodo/rpdsql.py", line 356, in set_list_marked
    self._update_marked(chunk, marked)
  File "/home/kenny/.local/lib/python3.4/site-packages/raphodo/rpdsql.py", line 345, in _update_marked
    self.conn.execute(query.format(','.join('?' * len(uids))), [marked] + uids)
sqlite3.OperationalError: too many SQL variables

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

Hi, thanks for your bug report. Please attach to this bug report all the files in ~/.cache/rapid-photo-downloader/log/

Is this your first time to install the program?

Changed in rapid:
status: New → Incomplete
Revision history for this message
Kenny Verstraete (verstken) wrote :

I'm very sorry for the late comment. My back hurts like hell and I just can't sit behind my computer for a long time.

This is indeed the first time I installed the program.

Log included below... this is from several attempts to download some pictures from the device.

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

Thanks for the log file, it's essential. Am I correct that you never downloaded any photos or videos using Rapid Photo Downloader before the exception occurred? In other words, the first time you clicked download button, you got the problem. Is that right?

As an aside, to view thumbnails for the .mov files, I'm fairly certain you need to install gstreamer-libav. I don't know how you can do that on openSUSE, however.

Revision history for this message
Kenny Verstraete (verstken) wrote :

I'm back again with the following extra info...

I reinstalled the program and tried again with clean settings (also on the Ipad, I removed all pictures and video and placed them back)
Anyway... it seems to be a problem with GPhoto2, not the program itself.
See piece of output at the end of this post.
Tried to lookup what error: -6 seems to say... but couldn't find it yet. The photos can be opened by any program on any OS, tried openSUSE linux, osX and windows 10. So the photos are not the problem.

Am I the only one experiencing this?
My version of GPhoto2 is GPhoto2/2.5.13
OS= openSUSE Leap 42.2/ 64 bit (obvious since Leap isn't available as 32bit)

Problems scanning Apple iPad


Encountered unhandled file IMG_2747.AAE. It will not be downloaded.

Problems copying from Apple iPad


Unable to read file IMG_2729.JPG
GPhoto2 Error: -6

Unable to read file IMG_2730.JPG
GPhoto2 Error: -6

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

Please attach the log file again.

Revision history for this message
Kenny Verstraete (verstken) wrote :

the logfile...

This one starts where the other one stopped since I did clean install.

And to answer a previous question... yes it was indeed the first time i installed and used Rapid Photo Downloader. Never tried to download photos and/or video's with it.

I own a digital photo camera as well. Does it help to know if that device works with my setup? I can try that tonight.

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

That error code indicates that for some reason it cannot copy the file off the camera (which you already know). It's surprising because it can nonetheless generate thumbnails for the files. Was Dolphin running at the time, having browsed the contents of the iPad? Only one program at a time can access the device, so if both Dolphin and Rapid Photo Downloader try to access it, there can be problems. Finally, are you able to copy the files using Dolphin? (Don't try that with Dolphin while Rapid Photo Downloader is running).

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

Marking invalid due to lack of response.

Changed in rapid:
status: Incomplete → Invalid
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.