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

issues running updated brunnhilde on bitcurator #58

Closed
kellybolding opened this issue Aug 11, 2022 · 3 comments
Closed

issues running updated brunnhilde on bitcurator #58

kellybolding opened this issue Aug 11, 2022 · 3 comments

Comments

@kellybolding
Copy link

I ran the “sudo pip install brunnhilde --upgrade” command on my Bitcurator 1.8.2 machine since it looked like we were running an older version of Brunnhilde, and now I’m getting error messages when I try to call brunnhilde.py at all (screenshot attached). It seems like something might have gone wrong with the upgrade, but I’m not sure how to revert or fix.

Per email convo with Tessa: "I think what's happening is that the newest versions of the requests library require Python 3.7 or higher. And it looks like BitCurator is using Python 3.5. I suspect that it may be possible to simply remove requests at this point, since it was mostly being used to fetch CSS and JavaScript assets for the report that are no longer stored externally as of recent versions of Brunnhilde."

Thank you!!

post-update

@tw4l
Copy link
Owner

tw4l commented Aug 17, 2022

Hi @kellybolding! I just pushed release 1.9.5 of Brunnhilde, which removes the requests library and should solve your issue in BitCurator. sudo pip install --upgrade brunnhilde should work for you now in Python 3.5 :)

I'm closing the issue but feel free to re-open it if anything!

@tw4l tw4l closed this as completed Aug 17, 2022
@kellybolding
Copy link
Author

Hi @tw4l ! Thank you so much for working on this!!

I just tried it out, and I am unfortunately still getting error messages (screenshots included here). I noticed that the syntax of the command you mentioned in your comment is a bit different (sudo pip install --upgrade brunnhilde vs. sudo pip install brunnhilde --upgrade), so I tried it both ways and attached the messages I got for both in case it makes a difference (but I think the error messages are the same).

try2
try1

If this seems like something that's particular to my installation, just let me know and I will take my troubleshooting efforts back locally. I appreciate your help in any case!

@tw4l
Copy link
Owner

tw4l commented Aug 18, 2022

Hi @kellybolding - I think perhaps the version of pip that's installed isn't compatible with Python 3.5. It looks like support for Python 3.5 was dropped in pip v21: https://pip.pypa.io/en/stable/news/#v21-0.

Try installing an older version of pip with sudo pip install --force-reinstall pip==20.3.4. Then I think you should be able to install the latest version of Brunnhilde.

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