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

initializing db on windows 10 problem #209

Open
bryanrasmussen opened this issue Dec 20, 2016 · 2 comments
Open

initializing db on windows 10 problem #209

bryanrasmussen opened this issue Dec 20, 2016 · 2 comments

Comments

@bryanrasmussen
Copy link

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

@bryanrasmussen
Copy link
Author

bryanrasmussen commented Dec 20, 2016

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.

@bryanrasmussen
Copy link
Author

bryanrasmussen commented Dec 21, 2016

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?

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

1 participant