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

New URL and versions (please read) #21

Open
cidrblock opened this issue Aug 19, 2020 · 5 comments
Open

New URL and versions (please read) #21

cidrblock opened this issue Aug 19, 2020 · 5 comments

Comments

@cidrblock
Copy link
Owner

td4a has a new home and URL, I also updated to python 3 and the dependent version packages, pushed to pypi and docker hub.

Please let me know if you see or find any issues here.

Thanks- Brad

https://td4a.codethenetwork.com

@Nudin
Copy link

Nudin commented Sep 8, 2022

HI, seems like some of the dependencies are broken again. To make it work, I needed to pin the following dependency versions:

jinja2==3.0
werkzeug==2.0.3
itsdangerous==2.0.1

@Nudin
Copy link

Nudin commented Sep 8, 2022

And here are the corresponding tracebacks:

Traceback (most recent call last):
  File "/home/michi/bin/td4a_venv/bin/td4a-server", line 2, in <module>
    from td4a import app
  File "/home/michi/bin/td4a_venv/lib/python3.10/site-packages/td4a/__init__.py", line 1, in <module>
    from flask import Flask, request, jsonify
  File "/home/michi/bin/td4a_venv/lib/python3.10/site-packages/flask/__init__.py", line 14, in <module>
    from jinja2 import escape
ImportError: cannot import name 'escape' from 'jinja2' (/home/michi/bin/td4a_venv/lib/python3.10/site-packages/jinja2/__init__.py)
Traceback (most recent call last):
  File "/home/michi/bin/td4a_venv/bin/td4a-server", line 2, in <module>
    from td4a import app
  File "/home/michi/bin/td4a_venv/lib/python3.10/site-packages/td4a/__init__.py", line 1, in <module>
    from flask import Flask, request, jsonify
  File "/home/michi/bin/td4a_venv/lib/python3.10/site-packages/flask/__init__.py", line 19, in <module>
    from . import json
  File "/home/michi/bin/td4a_venv/lib/python3.10/site-packages/flask/json/__init__.py", line 15, in <module>
    from itsdangerous import json as _json
ImportError: cannot import name 'json' from 'itsdangerous' (/home/michi/bin/td4a_venv/lib/python3.10/site-packages/itsdangerous/__init__.py)
Traceback (most recent call last):
  File "/home/michi/bin/td4a_venv/bin/td4a-server", line 2, in <module>
    from td4a import app
  File "/home/michi/bin/td4a_venv/lib/python3.10/site-packages/td4a/__init__.py", line 1, in <module>
    from flask import Flask, request, jsonify
  File "/home/michi/bin/td4a_venv/lib/python3.10/site-packages/flask/__init__.py", line 21, in <module>
    from .app import Flask
  File "/home/michi/bin/td4a_venv/lib/python3.10/site-packages/flask/app.py", line 32, in <module>
    from werkzeug.wrappers import BaseResponse
ImportError: cannot import name 'BaseResponse' from 'werkzeug.wrappers' (/home/michi/bin/td4a_venv/lib/python3.10/site-packages/werkzeug/wrappers/__init__.py)

@jabelk
Copy link

jabelk commented Mar 30, 2023

@cidrblock thanks for all your work on this project! I use it to teach Ansible / YAML / J2, since it is easy for folks to get started with a public URL and not set up local system yet.

I noticed the public page is down:
https://td4a.codethenetwork.com/

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<script/>
<script/>
<Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist.</Message>
</Error>

Any chance it will be able to be fixed soonish?

@cocoonkid
Copy link

This is a very helpful tool. Any chance it will be made current again?

@tigattack
Copy link

I've forked this, bumped dependencies, and made a release at https://github.com/tigattack/t4da. I don't plan on hosting a public version but it's super easy to get running, just as cidrblock's version is :)

Working great for me, feel free to throw an issue my way if anything comes up.

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

5 participants