Giter Site home page Giter Site logo

Comments (4)

dkmstr avatar dkmstr commented on June 8, 2024

What release are you using? (v3.6, master...)
If it's 3.6, the supported version is the LTS (Django==3.2.19), but this is not in the requirements.txt as it should. (i'm fixing this right now...)

Can you try with that Django version please?

If master version, should work without any other modification (but be care, master version is VERY incomplete, do not use it right now for any pourposes except development), at least run.

Config contains the default user and password, and should work fine.

I'll check with master version, because probably something broke while development :)

Anyway, please, use v3.6, that is the latest stable (BTW, i get same error, will tell you why ;-) )

Regards,

from openuds.

dkmstr avatar dkmstr commented on June 8, 2024

After checked it, the problem was with logging data from root login (That cannot be attached to any user, because the root user does not belongs to any authenticator)...

da42ea8

Now it should work on master version also,

Thanks for the notifying it, and sorry for the inconvenience... I broke it while updating logging information related to users :)

BTW, can you post the requirements.txt that you have used, so i update the requirements.txt for anyone in the future? :)

I know that the project lacks of documentation, but i try my best... :(

Again, thanks for your help and sorry for the inconvenience.

(Please, if you can, let me know if the fix makes the 4.0 works for you, but, remember, do not use it "as a production one" because currently is broken due to the development, lots of changes from 3.6, and a lot of work in progress...)

from openuds.

happyhackerhour avatar happyhackerhour commented on June 8, 2024

Hi, thanks for the quick reply!

i was using master to test out, thanks for pointing out the branch to use and the requirements. ill will document the steps to run it on Ubuntu 22.04. i hope is usefull for more people.

regardind the requirements.txt used, here is the pip freeze of my current env for master:
aiohttp==3.8.5
aiosignal==1.3.1
anyio==3.7.1
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
art==6.0
asgiref==3.7.2
asttokens==2.2.1
async-timeout==4.0.2
attrs==23.1.0
backcall==0.2.0
bcrypt==4.0.1
bitarray==2.8.0
boto3==1.28.12
botocore==1.31.12
Brotli==1.0.9
certifi==2023.7.22
cffi==1.15.1
charset-normalizer==3.2.0
click==8.1.6
contourpy==1.1.0
cryptography==41.0.2
cssselect2==0.7.0
cycler==0.11.0
cysystemd==1.5.4
decorator==5.1.1
defusedxml==0.7.1
Django==4.0.10
djangorestframework-jwt==1.11.0
dnspython==2.4.1
et-xmlfile==1.1.0
executing==1.2.0
fonttools==4.41.1
frozenlist==1.4.0
gunicorn==21.2.0
h11==0.14.0
hashring==1.5.1
html5lib==1.1
httptools==0.6.0
idna==3.4
ipython==8.14.0
isodate==0.6.1
jedi==0.18.2
jmespath==1.0.1
kiwisolver==1.4.4
lxml==4.9.3
matplotlib==3.7.2
matplotlib-inline==0.1.6
multidict==6.0.4
mysqlclient==2.2.0
netaddr==0.8.0
numpy==1.25.1
openpyxl==3.1.2
ovirt-engine-sdk-python==4.6.1
packaging==23.1
pandas==2.0.3
paramiko==3.2.0
parso==0.8.3
pexpect==4.8.0
pickleshare==0.7.5
Pillow==10.0.0
prompt-toolkit==3.0.39
psutil==5.9.5
ptyprocess==0.7.0
pure-eval==0.2.2
pyasn1==0.5.0
pyasn1-modules==0.3.0
pycparser==2.21
pycrypto==2.6.1
pycurl==7.45.2
pydyf==0.7.0
Pygments==2.15.1
PyJWT==1.7.1
pylibmc==1.6.3
PyNaCl==1.5.0
pyOpenSSL==23.2.0
pyotp==2.8.0
pyparsing==3.0.9
pyphen==0.14.0
pypng==0.20220715.0
pyrad==2.4
pyspnego==0.9.1
python-dateutil==2.8.2
python-dotenv==1.0.0
python-ldap==3.4.3
python3-memcached==1.51
python3-saml==1.15.0
pytz==2023.3
pyvmomi==8.0.1.0.2
pywinrm==0.4.3
PyYAML==6.0.1
qrcode==7.4.2
requests==2.31.0
requests-credssp==2.0.0
requests-ntlm==1.2.0
s3transfer==0.6.1
setproctitle==1.3.2
six==1.16.0
sniffio==1.3.0
sqlparse==0.4.4
stack-data==0.6.2
systemd==0.17.1
tinycss2==1.2.1
traitlets==5.9.0
typing_extensions==4.7.1
tzdata==2023.3
urllib3==1.26.16
uvicorn==0.23.1
uvloop==0.17.0
watchfiles==0.19.0
wcwidth==0.2.6
weasyprint==59.0
webencodings==0.5.1
websockets==11.0.3
whitenoise==6.5.0
XenAPI==23.18.0
xml-marshaller==1.0.2
xmlsec==1.3.13
xmltodict==0.13.0
xxhash==3.2.0
yarl==1.9.2
zopfli==0.2.2

for Master, im using Django 4.0.10 (4.1 onwards The django.core.cache.backends.memcached.MemcachedCache backend is removed. ](https://groups.google.com/g/django-users/c/VNMcS1QzlTM)

what else, you have to generate a new RSA priv cert and update the config file acordingly.

i will now try to run 3.6 from scratch and document the steps required to make it work.

from openuds.

dkmstr avatar dkmstr commented on June 8, 2024

Thank you very much

I Use django.core.cache.backends.memcached.PyLibMCCache, but MemcachedCache should be working also with Django 4.2 (this is the version i currently using, 4.2.3 for development).

https://docs.djangoproject.com/en/4.2/topics/cache/

About the RSA key, yes, you must your own one, also the "SECRET_KEY", use your own one to secure installation.

Again, thank you very much :)

from openuds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.