ID:1476630
 
Resolved
Changing the user directory location failed because of the pager's database file still being open.
BYOND Version:503
Operating System:Windows XP Home
Web Browser:Chrome 28.0.1500.72
Applies to:BYOND Pager
Status: Resolved (504.1227)

This issue has been resolved.
Descriptive Problem Summary:
Attempting to change the user directory errors with not being able to move localhub.db. The actual error is "Cannot move localhub: It is being used by another person or program. Close any programs that might be using the file and try again". This happens irrespective of being logged in to the pager or not.

Numbered Steps to Reproduce Problem:
1) Open the BYOND pager
2) Open the Preferences dialog
3) Click on the Advanced tab
4) Change your user directory to something else
5) In the prompt that pops up, click Yes, this will move everything from the existing folder to the new one

Code Snippet (if applicable) to Reproduce Problem:


Expected Results:
BYOND will move everything from the old directory to the new one without errors.

Actual Results:
BYOND moves most of the files, then errors out because another program is using localhub.db. I assume this is BYOND itself using localhub.db.

Does the problem occur:
Every time? Or how often?
Yes, every time
In other games?
In other user accounts?
On other computers?

When does the problem NOT occur?

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

Workarounds:
After moving, shutdown the BYOND pager and restart it, it will create a new localhub.db in the new directory
Lummox JR resolved issue with message:
Changing the user directory location failed because of the pager's database file still being open.