Comments (7)
This issue appears to be related to having an old config file in the config dir. The workaround is to move it or delete it.
We may want to add some migration code. Or even a "test if json" check.
from logoslinuxinstaller.
I think you're right. The ultimate error you're seeing is because logos_error
wasn't getting imported into config.py
. When I fix that, I get this output:
$ ./LogosLinuxInstaller.py -h
ERROR:root:Error decoding config file /home/nate/.config/Logos_on_Linux/Logos_on_Linux.conf: Expecting value: line 2 column 1 (char 1)
CRITICAL:root:Error: Unable to get config at /home/nate/.config/Logos_on_Linux/Logos_on_Linux.conf
If you need help, please consult:
https://github.com/ferion11/LogosLinuxInstaller/wiki
https://t.me/linux_logos
https://matrix.to/#/#logosbible:matrix.org
Processus arrêté
So then the question becomes what to do about it? I like the config migration idea. Can you send me a valid config file from the bash script? I can see what it might take to convert it.
from logoslinuxinstaller.
Here is a config I backed up before running the Python app.
# INSTALL OPTIONS
FLPRODUCT="Logos"
FLPRODUCTi="logos4"
TARGETVERSION="10"
INSTALLDIR="/home/thwright/LogosBible10"
APPDIR="/home/thwright/LogosBible10/data"
APPDIR_BINDIR="/home/thwright/LogosBible10/data/bin"
WINETRICKSBIN="/home/thwright/LogosBible10/data/bin/winetricks"
WINEPREFIX="/home/thwright/LogosBible10/data/wine64_bottle"
WINEBIN_CODE="Proton"
WINE_EXE="/home/thwright/bin/wine64"
WINESERVER_EXE="/home/thwright/bin/wineserver"
WINE64_APPIMAGE_FULL_URL="https://github.com/ferion11/LogosLinuxInstaller/releases/download/v10.0-1/wine-staging_7.18-x86_64.AppImage"
APPIMAGE_LINK_SELECTION_NAME="selected_wine.AppImage"
WINE64_APPIMAGE_FULL_FILENAME="wine-staging_7.18-x86_64.AppImage"
LOGOS_EXECUTABLE="Logos_v10.1.0.0056-x64.msi"
LOGOS_EXE="/home/thwright/LogosBible10/data/wine64_bottle/drive_c/users/steamuser/AppData/Local/Logos/Logos.exe"
LOGOS_DIR="$(dirname "${LOGOS_EXE}")"
# RUN OPTIONS
LOGS="DISABLED"
# RESTORE OPTIONS
BACKUPDIR=""
One of these appears to be broken: LOGOS_DIR
.
I would think the main thing we could migrate would be the WINE_EXE
, WINESERVER_EXE
, the APPIMAGE
bin, and the APPDIR
.
An issue we will bump into though is if a user tries to install an AppImage install and but the previous install is using a system binary. In general, our check for a previous install should solve that, but if we ever want to be able to update an install in place, I would think we would need to do something more. The issues I'm thinking of that could be of some conflict are:
ferion11/LogosLinuxInstaller#130
ferion11/LogosLinuxInstaller#211
That being said, we don't need to solve those in this issue, as they will require a fair amount of work.
Once we release, I would see ferion11/LogosLinuxInstaller/issues/130 as being our next big target for improvement.
from logoslinuxinstaller.
One last thought: another config var available only post-login that is useful for backups is the random Logos user ID. This should be visible in the backup/restore code in Bash. We might want to add this to the config. This is how Logos would recognize different logins on the same device.
This was obtained in the launcher.
from logoslinuxinstaller.
One of these appears to be broken:
LOGOS_DIR
.
If LOGOS_EXE
is already known/defined, then LOGOS_DIR
can always just be found/set at runtime. For that matter, the same goes for APPDIR
and INSTALLDIR
, and I think FLPRODUCT
and TARGETVERSION
, right, since they are used to create INSTALLDIR
?
from logoslinuxinstaller.
Another possibility to consider is to call the v4+ config file Logos_on_Linux.json
. This would allow Logos_on_Linux.conf
to be converted to JSON without being overwritten, and it would be clearer what format the contents are in.
from logoslinuxinstaller.
Another possibility to consider is to call the v4+ config file
Logos_on_Linux.json
. This would allowLogos_on_Linux.conf
to be converted to JSON without being overwritten, and it would be clearer what format the contents are in.
This would certainly be the easiest solution and follows naming scheme better.
from logoslinuxinstaller.
Related Issues (20)
- WINE_EXE doesn't get set correctly in Logos_on_Linux.json HOT 13
- Winetricks Quick Action Buttons
- Logos crash with System.AccessViolationException HOT 4
- Can't download Releases list
- Wrong package dependency name for Ubuntu 20.04 HOT 1
- Make Selected AppImage Executable
- Support AppImageLauncher
- Logos PIDs Sometimes Become Zombies
- Implement a Logos Update Routine
- Implement Backup and Restore
- Package Installer Issues
- Config File is Not Properly Read or Updated
- Issue with Dialog Detection Prevents Falling Back to Curses HOT 1
- TUI: Curses: Choose Install Dir, Requires Hitting Enter Twice When Empty
- Change Application Folder Names
- `--install-app` Optarg is Broken
- Fuse3 Is Not Properly Detected on Fedora HOT 1
- Make TUI Fit On Windows Smaller than 23 Lines HOT 1
- Instructions for Installing Python from Source on Debian Are Insufficient
- Add System Log Rotation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logoslinuxinstaller.