Bug 25067 - rapid-photo-downloader does not start in Mageia 7 x64
Summary: rapid-photo-downloader does not start in Mageia 7 x64
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks: 26190
  Show dependency treegraph
 
Reported: 2019-07-07 16:52 CEST by Ales Cerny
Modified: 2020-02-13 17:22 CET (History)
9 users (show)

See Also:
Source RPM: rapid-photo-downloader-0.9.9-6.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Ales Cerny 2019-07-07 16:52:10 CEST
Description of problem:
i installed the new Mageia 7 with Xfce (64bit), it is clean installation, but rapid-photo-downloader does not start, in terminal i have this:
[user@m7 ~]$ rapid-photo-downloader 
Traceback (most recent call last):
  File "/usr/bin/rapid-photo-downloader", line 11, in <module>
    load_entry_point('rapid-photo-downloader==0.9.9', 'gui_scripts', 'rapid-photo-downloader')()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2434, in load
    return self.resolve()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.7/site-packages/raphodo/rapid.py", line 117, in <module>
    from raphodo.thumbnaildisplay import (
  File "/usr/lib/python3.7/site-packages/raphodo/thumbnaildisplay.py", line 39, in <module>
    from colour import Color
ImportError: cannot import name 'Color' from 'colour' (/usr/lib/python3.7/site-packages/colour.py)


Version-Release number of selected component (if applicable):
rapid-photo-downloader-0.9.9-6.mga7.src.rpm
kernel 5.1.14-desktop-1.mga7


How reproducible:


Steps to Reproduce:
1. install rapid-photo-downloader
2. run in terminal rapid-photo-downloader
Ales Cerny 2019-07-07 23:01:34 CEST

CC: (none) => alda.cerny

Comment 1 Marja Van Waes 2019-07-12 20:29:55 CEST
This was fixed in cauldron:

* Sun Jul 07 2019 wally <wally> 0.9.14-1.mga8
+ Revision: 1419357
- new version 0.9.14
- drop py-colour patch as colour is really wanted (mga#25067)
- require python3-sip and libmediainfo

There is no registered maintainer for this package, so assigning to all packagers collectively. Hopefully one of them finds time to fix this in Mageia 7

CC'ing two submitters.

CC: (none) => geiger.david68210, marja11, smelror
Assignee: bugsquad => pkg-bugs

Comment 2 Jani Välimaa 2019-08-30 12:09:11 CEST
Pushed python-colourand rapid-photo-downloader to core/updates_testing. Please test.

SRPMS:
python-colour-0.1.5-1.mga7
rapid-photo-downloader-0.9.9-6.1.mga7

RPMS:
python3-colour-0.1.5-1.mga7
rapid-photo-downloader-0.9.9-6.1.mga7

CC: (none) => jani.valimaa

Comment 3 Ales Cerny 2019-08-30 22:15:13 CEST
hi Jani,
thank you for your work and time :)

rapid-photo-downloader starts now, i can copy photos and videos :)

when i start rapid-photo-downloader in terminal, an error message appears:
ERROR    pymediainfo is installed, but the library libmediainfo appears to be missing
this error is directly related to the version of rapid-photo-downloader https://github.com/NixOS/nixpkgs/issues/56815

later version of the program should solve this, but it is not necessary now

thank you very much
Jani Välimaa 2019-08-30 22:25:02 CEST

Assignee: pkg-bugs => qa-bugs

Comment 4 Len Lawrence 2019-09-01 19:44:39 CEST
mga7, x86_64

$ rapid-photo-downloader
Traceback (most recent call last):
  File "/usr/bin/rapid-photo-downloader", line 11, in <module>
    load_entry_point('rapid-photo-downloader==0.9.9', 'gui_scripts', 'rapid-photo-downloader')()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2434, in load
    return self.resolve()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.7/site-packages/raphodo/rapid.py", line 74, in <module>
    import sip
ModuleNotFoundError: No module named 'sip'

Updated the packages.
$ rpm -qa | grep rapid-photo
rapid-photo-downloader-0.9.9-6.1.mga7
$ rpm -qa | grep python3-colour
python3-colour-0.1.5-1.mga7

cli launch fails again with the same error messages.

Installed python3-sip-4.19.16-1.mga7.x86_64 and the gui launched fine.
Jani, you probably need to add the dependency.

CC: (none) => tarazed25

Len Lawrence 2019-09-01 19:44:53 CEST

Keywords: (none) => feedback

Comment 5 Damon Lynch 2019-09-01 19:46:27 CEST
Please consider updating the Rapid Photo Downloader package to use a newer upstream version. The version Mageia has was released 18 months ago; since then there have been several really quite important bug fixes, as well as some new features and translations updates. Consult the README.rst for any newly required packages. Thank you.
Comment 6 Rémi Verschelde 2019-12-13 17:06:24 CET
Reassigning to packagers as the update is not ready for QA.

Assignee: qa-bugs => pkg-bugs

Comment 7 David GEIGER 2020-01-26 09:41:47 CET
Please test the upcoming rapid-photo-downloader-0.9.18-1.mga7 in Core/Updates_testing repo!
Comment 8 David GEIGER 2020-01-30 18:58:44 CET
Re-assigning to QA,

Advisory:
=============================

Current rapid-photo-downloader doesn't launch/work due to some missing dependencies and due to a wrong dependency on python-py-colour while it needs python-colour. So this update fixes these issues and also it updates rapid-photo-downloader to the latest and maintained upstream release.

=============================


Packages in 7/core/updates_testing:
========================
rapid-photo-downloader-0.9.18-1.mga7.i586.rpm
rapid-photo-downloader-0.9.18-1.mga7.x86_64.rpm
python3-colour-0.1.5-1.mga7

Source RPM: 
========================
rapid-photo-downloader-0.9.18-1.mga7.src.rpm
python-colour-0.1.5-1.mga7.src.rpm

Assignee: pkg-bugs => qa-bugs

Comment 9 Ales Cerny 2020-01-30 19:20:57 CET
hi, i tried the new version, but i have this problem :(

[user@m7 ~]$ rapid-photo-downloader 
Traceback (most recent call last):
  File "/usr/bin/rapid-photo-downloader", line 11, in <module>
    load_entry_point('rapid-photo-downloader==0.9.18', 'gui_scripts', 'rapid-photo-downloader')()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2434, in load
    return self.resolve()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.7/site-packages/raphodo/rapid.py", line 125, in <module>
    from raphodo.thumbnaildisplay import (
  File "/usr/lib/python3.7/site-packages/raphodo/thumbnaildisplay.py", line 70, in <module>
    from raphodo.rpdsql import ThumbnailRowsSQL, ThumbnailRow
  File "/usr/lib/python3.7/site-packages/raphodo/rpdsql.py", line 32, in <module>
    from tenacity import retry, stop_after_attempt
ModuleNotFoundError: No module named 'tenacity'
Comment 10 Len Lawrence 2020-01-30 19:35:11 CET
Tried installing it here and saw the fault noted in comment 9.
Comment 11 David GEIGER 2020-01-30 19:48:18 CET
Please test upcoming rapid-photo-downloader-0.9.18-1.1.mga7!



Packages in 7/core/updates_testing:
========================
rapid-photo-downloader-0.9.18-1.1.mga7.i586.rpm
rapid-photo-downloader-0.9.18-1.1.mga7.x86_64.rpm
python3-colour-0.1.5-1.mga7
python3-tenacity-5.1.1-1.mga7

Source RPM: 
========================
rapid-photo-downloader-0.9.18-1.1.mga7.src.rpm
python-colour-0.1.5-1.mga7.src.rpm
python-tenacity-5.1.1-1.mga7.src.rpm
Comment 12 Ales Cerny 2020-01-30 21:37:54 CET
David, YES! This version is ok, I tested  64bit version. Thank you for your hard work, you are the best :)
Comment 13 Len Lawrence 2020-02-11 09:40:43 CET
This  works for QA too.  Updated the two packages; python3-colour already in place.
Invoked rapid-photo-downloader from the command line and plugged in a card-reader holding a camera SD card.  All the contents appeared in the gui immediately.  Specified a test directory and started downloading.  This created a date tree starting at 2015 in the Pictures directory and populated it with images allocated to directories named according to the dates of exposure.  The three movie sequences on the card ended up in the tests directory with a similar date tree structure.

That is the simplest test, enough for an OK.

Whiteboard: (none) => MGA7-64-OK
Keywords: feedback => (none)

Comment 14 Thomas Andrews 2020-02-11 21:41:59 CET
Validating. Advisory in Comment 8.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Thomas Backlund 2020-02-13 11:21:02 CET

Keywords: (none) => advisory
CC: (none) => tmb

Comment 15 Mageia Robot 2020-02-13 11:50:14 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2020-0051.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 16 David GEIGER 2020-02-13 15:13:23 CET
Seems python3-tenacity-5.1.1-1.mga7 included in this update was not moved from Updates_testing to Updates:

bug 26190
David GEIGER 2020-02-13 15:15:32 CET

Blocks: (none) => 26190

Comment 17 Thomas Backlund 2020-02-13 17:22:16 CET
Oops, my bad :/

I used advisor from comment 8 and missed the updated srpm list in comment 11

It's now mirroring out.

Note You need to log in before you can comment on or make changes to this bug.