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

Initial app setup errors and issues (fix for windows computers included) #52

Open
mrcox5 opened this issue Nov 2, 2023 · 0 comments
Open
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@mrcox5
Copy link

mrcox5 commented Nov 2, 2023

The following error appeared when first running the "python app.py" command from the command line.

GSAS-II binary directory: C:\Users...\AppData\Local\gsas2full\GSASII\bindist

7 values read from config file C:\Users...\AppData\Local\gsas2full\GSASII\config.py
Updating files at C:\Users\...\AppData\Local\gsas2full\GSASII
subversion command:
C:\Users...\AppData\Local\gsas2full\GSASII\svn\svn.exe update C:\Users\...\AppData\Local\gsas2full\GSASII -r5300 --non-interactive --accept theirs-conflict --force --trust-server-cert

****** An error was noted, see below *********

svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted

svn command: C:\Users...\AppData\Local\gsas2full\GSASII\svn\svn.exe update C:\Users\...\AppData\Local\gsas2full\GSASII -r5300 --non-interactive --accept theirs-conflict --force --trust-server-cert
Performing svn cleanup at C:\Users\...\AppData\Local\gsas2full\GSASII

svn command: C:\Users...\AppData\Local\gsas2full\GSASII\svn\svn.exe cleanup C:\Users\...\AppData\Local\gsas2full\GSASII

****** An error was noted, see below *********

svn: E155009: Failed to run the WC DB work queue associated with 'C:\Users...\AppData\Local\gsas2full\GSASII', work item 796 (file-install bindist/pyspg.cp37-win_amd64.pyd 1 0 1 1)
svn: E720005: Can't move 'C:\Users...\AppData\Local\gsas2full\GSASII.svn\tmp\svn-1D611804' to 'C:\Users...\AppData\Local\gsas2full\GSASII\bindist\pyspg.cp37-win_amd64.pyd': Access is denied.

svn command: C:\Users...\AppData\Local\gsas2full\GSASII\svn\svn.exe cleanup C:\Users\...\AppData\Local\gsas2full\GSASII

Unable to update, using whichever version is installed

Error seemed to be caused by some partially completed items in the wc.db work queue.

FIXED: navigate to C:\Users...\AppData\Local\gsas2full\GSASII**.svn** in cmd window (will not see .svn using ls command, but can navigate to the hidden directory)
run .svn> sqlite3 wc.db
run sqlite> select * from WORK_QUEUE; "MUST INCLUDE THE ;"
run sqlite> delete from WORK_QUEUE;
run sqlite> .quit
run .svn>svn cleanup

THEN: navigate back to the AustCalculator-master\app directory
run python app.py

documentation where the solution was found: https://stackoverflow.com/questions/22362823/failed-to-run-the-wc-db-work-queue-associated-with-file

@creuzige creuzige self-assigned this Nov 7, 2023
@creuzige creuzige added the documentation Improvements or additions to documentation label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants