Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

faraday-manage #395

Closed
DanieleCalzetti opened this issue Apr 23, 2020 · 1 comment
Closed

faraday-manage #395

DanieleCalzetti opened this issue Apr 23, 2020 · 1 comment

Comments

@DanieleCalzetti
Copy link

Error when faraday-manage is launched

When I tried to start the faraday service it didn't prompt the password.

Output

When I type faraday-manage initdb I obtain the following error

Traceback (most recent call last):
  File "/usr/bin/faraday-manage", line 11, in <module>
    load_entry_point('faradaysec==3.10.2', 'console_scripts', 'faraday-manage')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/faraday/manage.py", line 43, in <module>
    from faraday.server.commands.faraday_schema_display import DatabaseSchema
  File "/usr/lib/python3/dist-packages/faraday/server/commands/faraday_schema_display.py", line 17, in <module>
    from faraday.server import models
  File "/usr/lib/python3/dist-packages/faraday/server/models.py", line 47, in <module>
    from flask_security import (
  File "/usr/lib/python3/dist-packages/flask_security/__init__.py", line 13, in <module>
    from .core import Security, RoleMixin, UserMixin, AnonymousUser, current_user
  File "/usr/lib/python3/dist-packages/flask_security/core.py", line 18, in <module>
    from flask_babelex import Domain
  File "/usr/lib/python3/dist-packages/flask_babelex/__init__.py", line 23, in <module>
    from werkzeug import ImmutableDict
ImportError: cannot import name 'ImmutableDict' from 'werkzeug' (/usr/lib/python3/dist-packages/werkzeug/__init__.py)

Information about the system

Linux kali 5.4.0-kali4-amd64 #1 SMP Debian 5.4.19-1kali1 (2020-02-17) x86_64 GNU/Linux

I already tried to remove the software and to reinstall it.

I hope you can help me.

@llazzaro
Copy link
Contributor

Hi,

We need to update faraday to support the latest werkzeug library. We will track all updates on #399

Regards,
Leonardo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants