scan of the camera contents crashes

Bug #1417570 reported by fred
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Rapid Photo Downloader
Status tracked in Pyqt
Pyqt
Fix Released
Medium
Damon Lynch

Bug Description

Hello,

It looks like the failure is due to gtk2.

I am running RPD 0.4.10 with the following releases:
- gtk2.x86_64: 2.24.25-1.fc21
- pygtk2.x86_64: 2.24.0-11.fc21

Is it a known issue ?

Thanks for your help.

$ rapid-photo-downloader -d
[INFO/MainProcess] Rapid Photo Downloader 0.4.10
[INFO/MainProcess] Using pyexiv2 0.3.2
[INFO/MainProcess] Using exiv2 0.24.0
[INFO/MainProcess] Using exiftool 9.76
[INFO/MainProcess] No downloads have occurred so far today
[INFO/MainProcess] allocating a new mmap of length 4096
[DEBUG/MainProcess] created semlock with handle 140587282677760
[DEBUG/MainProcess] created semlock with handle 140587282673664
[DEBUG/MainProcess] created semlock with handle 140587282669568
[DEBUG/MainProcess] created semlock with handle 140587282665472
[DEBUG/MainProcess] created semlock with handle 140587282661376
[DEBUG/MainProcess] created semlock with handle 140587282657280
[DEBUG/MainProcess] created semlock with handle 140587282653184
[DEBUG/MainProcess] created semlock with handle 140587282649088
[DEBUG/MainProcess] _set_from_toolbar_state
[INFO/GetPreviewImage-1] child process calling self.run()
[DEBUG/MainProcess] Start of day is set to 3:0
[DEBUG/MainProcess] SubfolderFile PID: 9013
[INFO/MainProcess] Using manually specified path /run/user/1001/gvfs/gphoto2:host=%5Busb%3A001%2C017%5D
[INFO/SubfolderFile-2] child process calling self.run()
[INFO/MainProcess] # photo backup devices: 0; # video backup devices: 0
[DEBUG/MainProcess] Working with 1 devices
[DEBUG/MainProcess] Starting a device scan for device /run/user/1001/gvfs/gphoto2:host=%5Busb%3A001%2C017%5D
[DEBUG/MainProcess] created semlock with handle 140587030290432
[DEBUG/MainProcess] created semlock with handle 140587030286336
[DEBUG/MainProcess] created semlock with handle 140587030282240
[DEBUG/MainProcess] Queue._after_fork()
[DEBUG/MainProcess] created semlock with handle 140586909634560
[DEBUG/MainProcess] created semlock with handle 140586909630464
[DEBUG/MainProcess] created semlock with handle 140586909626368
[DEBUG/MainProcess] created semlock with handle 140586909622272
[DEBUG/MainProcess] created semlock with handle 140586909618176
[DEBUG/Scan-3] Queue._after_fork()
[INFO/Scan-3] child process calling self.run()
[DEBUG/MainProcess] TaskManager PID: 9015
[DEBUG/MainProcess] Preference change detected: main_window_maximized
[DEBUG/MainProcess] Preference change detected: main_window_maximized
[ERROR/Scan-3] Error while scanning /run/user/1001/gvfs/gphoto2:host=%5Busb%3A001%2C017%5D: Le délai d'attente est dépassé
[INFO/Scan-3] process shutting down
[DEBUG/Scan-3] running all "atexit" finalizers with priority >= 0
[DEBUG/Scan-3] running the remaining "atexit" finalizers
[INFO/Scan-3] process exiting with exitcode 0

Related branches

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

It's a known issue with using the GIO bindings for python. The next version of Rapid Photo Downloader will use libgphoto2 directly, completely bypassing the Gnome library. It will download from any camera gphoto2 supports. Until then there is no choice but to use a memory card reader, or to copy the files yourself using a file manager like Nautilus.

Revision history for this message
fred (mapoubelle22) wrote : Re: [Bug 1417570] Re: scan of the camera contents crashes
Download full text (3.8 KiB)

Thanks for your answer.
When do you plan to release the next version ?
Until there, do you know whether downgrade some libs could resolve the
problem ?

2015-02-03 14:32 GMT+01:00 Damon Lynch <email address hidden>:

> It's a known issue with using the GIO bindings for python. The next
> version of Rapid Photo Downloader will use libgphoto2 directly,
> completely bypassing the Gnome library. It will download from any camera
> gphoto2 supports. Until then there is no choice but to use a memory card
> reader, or to copy the files yourself using a file manager like
> Nautilus.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1417570
>
> Title:
> scan of the camera contents crashes
>
> Status in Rapid Photo Downloader:
> New
>
> Bug description:
> Hello,
>
> It looks like the failure is due to gtk2.
>
> I am running RPD 0.4.10 with the following releases:
> - gtk2.x86_64: 2.24.25-1.fc21
> - pygtk2.x86_64: 2.24.0-11.fc21
>
> Is it a known issue ?
>
> Thanks for your help.
>
> $ rapid-photo-downloader -d
> [INFO/MainProcess] Rapid Photo Downloader 0.4.10
> [INFO/MainProcess] Using pyexiv2 0.3.2
> [INFO/MainProcess] Using exiv2 0.24.0
> [INFO/MainProcess] Using exiftool 9.76
> [INFO/MainProcess] No downloads have occurred so far today
> [INFO/MainProcess] allocating a new mmap of length 4096
> [DEBUG/MainProcess] created semlock with handle 140587282677760
> [DEBUG/MainProcess] created semlock with handle 140587282673664
> [DEBUG/MainProcess] created semlock with handle 140587282669568
> [DEBUG/MainProcess] created semlock with handle 140587282665472
> [DEBUG/MainProcess] created semlock with handle 140587282661376
> [DEBUG/MainProcess] created semlock with handle 140587282657280
> [DEBUG/MainProcess] created semlock with handle 140587282653184
> [DEBUG/MainProcess] created semlock with handle 140587282649088
> [DEBUG/MainProcess] _set_from_toolbar_state
> [INFO/GetPreviewImage-1] child process calling self.run()
> [DEBUG/MainProcess] Start of day is set to 3:0
> [DEBUG/MainProcess] SubfolderFile PID: 9013
> [INFO/MainProcess] Using manually specified path
> /run/user/1001/gvfs/gphoto2:host=%5Busb%3A001%2C017%5D
> [INFO/SubfolderFile-2] child process calling self.run()
> [INFO/MainProcess] # photo backup devices: 0; # video backup devices: 0
> [DEBUG/MainProcess] Working with 1 devices
> [DEBUG/MainProcess] Starting a device scan for device
> /run/user/1001/gvfs/gphoto2:host=%5Busb%3A001%2C017%5D
> [DEBUG/MainProcess] created semlock with handle 140587030290432
> [DEBUG/MainProcess] created semlock with handle 140587030286336
> [DEBUG/MainProcess] created semlock with handle 140587030282240
> [DEBUG/MainProcess] Queue._after_fork()
> [DEBUG/MainProcess] created semlock with handle 140586909634560
> [DEBUG/MainProcess] created semlock with handle 140586909630464
> [DEBUG/MainProcess] created semlock with handle 140586909626368
> [DEBUG/MainProcess] created semlock with handle 140586909622272
> [DEBUG/MainProcess] created semlock with handle 140586909618176
> [DEBUG/Scan-3] Queue._after_fo...

Read more...

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

I am the only developer, and as you can imagine, I can release the next version only when the code is finished. I work on it during my free time. So the answer to your question is I genuinely do not know.

I also don't know if any older version of Gnome libraries would solve your particular problem. That sounds fraught with difficulties, unless you revert to an older distribution, such as Ubuntu 12.04.

Revision history for this message
Tim Abell (tim-abell) wrote :

same error in english to help search engines:

    [ERROR/Scan-3] Error while scanning /run/user/1000/gvfs/gphoto2:host=%5Busb%3A001%2C004%5D:
    Timeout was reached
    [INFO/Scan-3] process shutting down

thanks for the great software

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

You can follow progress on the next version here: https://code.launchpad.net/~dlynch3/rapid/zeromq_pyqt

Changed in rapid:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Damon Lynch (dlynch3)
Damon Lynch (dlynch3)
Changed in rapid:
status: In Progress → Fix Committed
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.