Bug 229076 - www/py-kallithea: failure to create configuration
Summary: www/py-kallithea: failure to create configuration
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-17 03:46 UTC by Johannes M Dieterich
Modified: 2019-02-12 01:39 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (freebsd)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes M Dieterich freebsd_committer freebsd_triage 2018-06-17 03:46:18 UTC
After installing kallithea on a 11.1 amd64 and trying to do the initial configuration, it fails:

# /usr/local/bin/paster make-config Kallithea /usr/local/etc/kallithea.ini
Distribution already installed:
  Kallithea 0.3.2 from /usr/local/lib/python2.7/site-packages
Traceback (most recent call last):
  File "/usr/local/bin/paster", line 11, in <module>
    load_entry_point('PasteScript==2.0.2', 'console_scripts', 'paster')()
  File "/usr/local/lib/python2.7/site-packages/paste/script/command.py", line 102, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/local/lib/python2.7/site-packages/paste/script/command.py", line 141, in invoke
    exit_code = runner.run(args)
  File "/usr/local/lib/python2.7/site-packages/paste/script/appinstall.py", line 66, in run
    return super(AbstractInstallCommand, self).run(new_args)
  File "/usr/local/lib/python2.7/site-packages/paste/script/command.py", line 236, in run
    result = self.command()
  File "/usr/local/lib/python2.7/site-packages/paste/script/appinstall.py", line 293, in command
    self.distro, self.options.ep_group, self.options.ep_name)
  File "/usr/local/lib/python2.7/site-packages/paste/script/appinstall.py", line 232, in get_installer
    'paste.app_install', ep_name)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2700, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2317, in load
    self.require(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2340, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 774, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'py-bcrypt>=0.3.0' distribution was not found and is required by the application

but bcrypt is installed:

# pkg version | grep bcrypt
py27-bcrypt-3.1.4_1                =
Comment 1 Nathan 2018-08-25 05:26:37 UTC
(In reply to Johannes M Dieterich from comment #0)
I get:
'py-bcrypt<=0.4,>=0.3.0

According to setup.py py-bcrypt can't be higher version than 0.4, I believe the reason for the error is because we have version 3.1.4
Comment 2 Nathan 2018-08-25 05:27:14 UTC
(In reply to Nathan from comment #1)
Previous comment was toward the newest version released 0.3.5
Comment 3 Walter Schwarzenfeld freebsd_triage 2019-02-11 23:27:10 UTC
11.1 is gone. We have Version 3.6.0. Seems to build fine. Is this still relevant?
Comment 4 Johannes M Dieterich freebsd_committer freebsd_triage 2019-02-12 01:39:06 UTC
closing - outdated