Bug 1581451

Summary: radicale should recommend installing python3-bcrypt
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: radicaleAssignee: Juan Orti Alcaine <jorti>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: jorti, opensource, pb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: radicale-2.1.8-5.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-11 16:59:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Stadelmann 2018-05-22 19:18:02 UTC
Description of problem:
For proper usage of radicale with reasonable password protection one needs to install python3-bcrypt

Version-Release number of selected component (if applicable):
radicale-2.1.8-4.fc28.noarch

How reproducible:
always due to packaging

Steps to Reproduce:
1. On a fresh fedora installation, install radicale
2. start radicale with suggested setup on https://radicale.org/setup/
3. watch output

Actual results:
radicale is missing bcrypt:
> ERROR: An exception occurred during server startup: The htpasswd encryption method 'bcrypt' requires the passlib module with bcrypt support.

Expected results:
Radicale should install bcrypt directly.

Additional info:
Adding a line "Recommends: python3-bcrypt" to the spec file would be enough, but I don't know about platform switches. Does rhel support weak deps yet?

Comment 1 Christian Stadelmann 2018-05-22 19:21:46 UTC
Oh, and it also requires python3-passlib to be installed.

Comment 2 Fedora Update System 2018-05-23 12:33:08 UTC
radicale-2.1.9-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2cee1a4582

Comment 3 Fedora Update System 2018-05-23 17:38:56 UTC
radicale-2.1.9-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2cee1a4582

Comment 4 Christian Stadelmann 2018-05-24 17:24:28 UTC
The update is broken. Every time I start radicale, I get this traceback:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 779, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (vobject 0.9.4.1 (/usr/lib/python3.6/site-packages), Requirement.parse('vobject==0.9.5'), {'Radicale'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/bin/radicale", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 572, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 585, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 774, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'vobject==0.9.5' distribution was not found and is required by Radicale


Systemd output:

Starting Radicale CalDAV and CardDAV server...
radicale.service: Control process exited, code=exited status=1
radicale.service: Failed with result 'exit-code'.
Failed to start Radicale CalDAV and CardDAV server.

Comment 5 Christian Stadelmann 2018-05-24 19:08:10 UTC
(In reply to Christian Stadelmann from comment #4)
> The update is broken. Every time I start radicale, I get this traceback:
> […]

That's https://bugzilla.redhat.com/show_bug.cgi?id=1582296.

Comment 6 Fedora Update System 2018-06-01 07:37:50 UTC
radicale-2.1.8-5.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-8348508088

Comment 7 Fedora Update System 2018-06-01 13:16:30 UTC
radicale-2.1.8-5.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-8348508088

Comment 8 Fedora Update System 2018-06-11 16:59:44 UTC
radicale-2.1.8-5.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.