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

AttributeError: 'Namespace' object has no attribute 'get' #832

Closed
EvanCarroll opened this issue Aug 7, 2019 · 5 comments
Closed

AttributeError: 'Namespace' object has no attribute 'get' #832

EvanCarroll opened this issue Aug 7, 2019 · 5 comments

Comments

@EvanCarroll
Copy link

EvanCarroll commented Aug 7, 2019

After I run setup.py develop, I get the following when I run python3 askbot-setup

ubuntu@askbot:~/askbot-devel$ askbot-setup 

Deploying Askbot - Django Q&A forum application
Problems installing? -> please email admin@askbot.org

To CANCEL - hit Ctr-C at any time

Traceback (most recent call last):
  File "/usr/local/bin/askbot-setup", line 11, in <module>
    load_entry_point('askbot==0.10.2', 'console_scripts', 'askbot-setup')()
  File "/usr/local/lib/python3.6/dist-packages/askbot-0.10.2-py3.6.egg/askbot/deployment/__init__.py", line 216, in __call__
    directory = path_utils.get_install_directory(force=options.get('force')) # i.e. ask the user
AttributeError: 'Namespace' object has no attribute 'get'
@martin-bts
Copy link

This bug was fixed in a0cf4b0

@EvanCarroll
Copy link
Author

EvanCarroll commented Aug 7, 2019

Shouldn't that also be ported to the 0.11.x branch then? https://github.com/ASKBOT/askbot-devel/blob/0.11.x/askbot/deployment/__init__.py#L216 Isn't 0.11.x the python3 branch?

@martin-bts
Copy link

martin-bts commented Aug 8, 2019

The installer sees many changes at the moment in 0.11.x

#827 takes care of this issue.

@martin-bts
Copy link

The current merging candidate that will resolve this issue is now #849

@martin-bts
Copy link

This refers to a piece of code that is no longer part of Askbot. I suggest closing this issue, because it is not relevant anymore.

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