dpxdt
dpxdt copied to clipboard
initializing db on windows 10 problem
I get to the point where I start run_shell.sh ( running in MINGW64 - should I install some other unix toolchain?)
When I do server.db.drop_all() or server.db.create_all() I get back a big traceback the root of which is
sqlalchemy.exc.OperationalError: (OperationalError) unable to open database file None None
is there somewhere I should look for the db, some command I can give it to use a specific file for the db?
Thanks, Bryan Rasmussen
I guess this will be fixed by following the steps in Sqlite instance part of documentation, I didn't notice it at first because is further down the page than the install on local instance. Will try and then come close this instance
on edit - nope wasn't helpful.
aside from this - I just did the following
python dpxdt/tools/run_server.py --enable_api_server --enable_queue_workers --captur e_timeout=60 --release_server_prefix=http://localhost:5000/api --queue_server_prefix=http://localhost:5000/api/work_queu e --queue_idle_poll_seconds=10 --queue_busy_poll_seconds=10 --pdiff_timeout=20 --reload_code --port=5000 --verbose --ign ore_auth
for which I got back
ERROR utils.py:56] --pdiff_compare_binary binary at path 'compare' does not work Traceback (most recent call last): File "d:\projects\repositories\dpxdt\dpxdt\client\utils.py", line 53, in verify_binary
it seems to be this code on line 484 of local_pdiff.py utils.verify_binary('pdiff_compare_binary', ['--version']) so what is it that it can't find? Is it my imagemagick
on edit - because I have a small ssd for my C drive and a large drive for my D I install most things into my D and then add them to my path. So imagemagick is in my path right now, but is there another environment variable I should set - if it is a problem finding my imagemagick?