Open dlaufen opened 9 months ago
follow up - I got the same behavior with a non-docker version of lms on a manually started bench.
Hacking around bit - After logging in as Administrator, I could point the manually reach the LMS app by pointing the browser to lms.localhost:8000/people or any other LMS app page. But still, on subsequent logins Frappe still wants to run the setup-wizard.
http://localhost:8000/app/setup-wizard/0
Also, I don't see how to add other users to the app, any pointers?
It seems from the error message detailed above, something is missing in the args for the frappe.session.user object when trying to form a default email for Administrator. Looking at frappe/cpre/doctype/user.py for some reason _self.get("isadmin") is not True. In the setup-wizard context, I am guessing "is_admin" should be True. If it were, it wouldn't be trying to strip a None email object.
I suspect there will be a simple fix... :)
Also is can someone point me to any documentation on how to setup a debug environment for lms? I'm using "baremetal" sort of, wsl2/ubuntu.
Thanks for any advice.
Describe the bug Initial start of the docker container I logged in with Administrator account and tried to finish the setup. On completion
To Reproduce Steps to reproduce the behavior:
Tried a few times with different settings by running the process again after 'docker-compose down --volumes'. No luck.
Expected behavior Expected it to accept my settings and let me continue.
Desktop (please complete the following information):
LMS 1.0, Frappe 16 (from docker)
docker image list - REPOSITORY TAG IMAGE ID CREATED SIZE frappe/bench latest 39bd7ddcab49 18 hours ago 1.9GB redis alpine 20658529aaf6 9 days ago 46.1MB mariadb 10.6 d1d924d97091 2 months ago 396MB
Additional context Error copied from browser:
App Versions
Route
Traceback
Request Data
Response Data