usnistgov / AusteniteCalculator

Software and GUI for uncertainty quantification of austenite phase fraction
Other
1 stars 0 forks source link

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

Open mrcox5 opened 10 months ago

mrcox5 commented 10 months ago

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