~iptrip


#34 Jinja2 error during make 1 year, 9 months ago

on ~mediagoblin/mediagoblin

Hi ~blagovest, ~iptrip, I've just pushed up some changes to the master branch that installs a recent Pip and uses pip install rather than python setup.py develop to install dependencies. I suspect this, in combination with the pinned maximum version on Jinja2, should now fix your issues. Apologies for the slow response. Please re-open this if you're still experiencing issues.

~komali2, unfortunately we have some version of dependencies that don't yet work on Python 3.10 (which Ubuntu 22.04 runs). The main culprit is Celery I believe. For now I've specified a maximum Python version to help avoid confusion. Fixing this situation iscertainly on my mind though. Feel free to open a separate ticket to help us track it.

#33 Login error: TypeError in basic auth's use of bcrypt 1 year, 11 months ago

Comment by ~iptrip on ~mediagoblin/mediagoblin

Cool. Did that fix your issue?

I apologize for not seeing this sooner, but yes, as I mentioned in the edit to my message and as peter_horvath mentioned, it fixed the issue. It sounds like peter_horvath submitted a merge request but (based on the mailing list) it will be several weeks before the maintainers are able to approve any MRs (busy time of year and all).

#33 Login error: TypeError in basic auth's use of bcrypt 2 years ago

on ~mediagoblin/mediagoblin

On 6 December 2022 4:09:08 am AEDT, ~iptrip outgoing@sr.ht wrote:

I actually just replaced my copy of plugins/basic_auth/tools.py with yours, so I believe all three of those commits were covered. I really appreciate it!

#Cool. Did that fix your issue? If not, can you get me a full stacktrace of the error?

Olivier Mehani shtrom@ssji.net Sent from my mobile, please excuse my brevity.

#33 Login error: TypeError in basic auth's use of bcrypt 2 years ago

Comment by ~iptrip on ~mediagoblin/mediagoblin

I actually just replaced my copy of plugins/basic_auth/tools.py with yours, so I believe all three of those commits were covered. I really appreciate it!

#33 Login error: TypeError in basic auth's use of bcrypt 2 years ago

on ~mediagoblin/mediagoblin

On Mon 05 Dec 2022 at 03:17:30 +0000, ~iptrip wrote:

I'm having this problem, but the URL for the commit shtrom linked to returns 404. I wasn't able to find it in shtrom's log either.

Did you try this one [0]?

Likely on top of that one if you don't have it [1].

[0] https://git.sr.ht/~shtrom/mediagoblin/commit/d928daee63a52b6ff3d762bf6d6aa534fd7d3684 [1] https://git.sr.ht/~shtrom/mediagoblin/commit/fe01dd00fbebbf46f8cab552b89c402124541cab

-- Olivier Mehani shtrom@ssji.net PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE F5F9 F012 A6E2 98C6 6655 Confidentiality cannot be guaranteed on emails sent or received unencrypted.

#33 Login error: TypeError in basic auth's use of bcrypt 2 years ago

Comment by ~iptrip on ~mediagoblin/mediagoblin

I'm having this problem, but the URL for the commit shtrom linked to returns 404. I wasn't able to find it in shtrom's log either.

Edit: this commit solved the issue for me (thanks shtrom): https://git.sr.ht/~shtrom/mediagoblin/commit/c6419cc68549d6f331a6fe87e2a19b1b17a2cb78

#34 Jinja2 error during make 2 years ago

Comment by ~iptrip on ~mediagoblin/mediagoblin

Hello! I am facing the same issue (on Debian 11). I think the issue can be solved by using virtualenv, but I haven't figured it out for myself yet. I'm hoping someone who's familiar with the project will help. Thank you!

Edit: I see now that some changes were made to the master branch that haven't made it into the stable branch yet and that the "sweet spot" for Jinja2 dependency is > 3.0 and <3.1