-
Notifications
You must be signed in to change notification settings - Fork 72
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
BibleTime is not starting on windows 7 #90
Comments
Oh, I forgot to add info about Bibletime version. It is 2.11.0. Sorry for that! |
I found a solution for this problem: I had to run Bibletime as admistrator. And program started as it should normally. Then I ran it normally - everything works! |
The HOME directory for settings is defined in Windows by the value of the AppData environment variable. Please do "echo %AppData% in the command window and post its value. |
Here it is: |
I assume the AppData value is for being logged into the non-administrator? Can you verify that this directory exists. You will have to make hidden files visible to do this verification, because the "AppData" directory is normally hidden. |
Never mind the previous request. I have found the problem. It is a Windows specific problem. Technical details: However in utils/directory.cpp a qgetenv is used to read the $HOME variable. It appears to be cached and its value does not change due to the code in main.cpp. To fix this issue the qgetenv must be changed to a GetEnvironmentVariable. (for Windows) |
I have done further testing on my comitted fix. It looks good. Closing |
I do not know is this a bug or not, but when I start Bibletime as usual, nothing happens Then I started it via command prompt with --debug. An here is results:
(BibleTime 2.11.0+52ef4a4d7f0d0902a0d90d6ef60c07da70b89ef7) WARNING: Could not create user settings directory relative to "C:/Program Files/BibleTime/bin" (BibleTime 2.11.0+52ef4a4d7f0d0902a0d90d6ef60c07da70b89ef7) FATAL: Error initializing directory cache! Please report this bug at https://github.com/bibletime/bibletime/issues
Ih have no programming skills, but I hope that info eikk make this excellent brogram eve better. God bless you!The text was updated successfully, but these errors were encountered: