webmode settings in source code not honored
I've tried setting
"webmode": "lynx", and
"webmode": "w3m" in defaults.go but neither setting is used in the resulting binaries. I still get a "Current 'webmode' setting does not allow http/https" error despite both lynx and w3m existing in /usr/bin/. Test system is Debian 10, with Go 1.14.3. There is no INI file.
That is very strange that it is not compilling correctly for you. A few questions:
- Are you building off of
- When you launch bombadillo what is the response when you enter the following:
- Seems silly to ask, but always good to sanity check: are you sure you have saved
defaults.gowith the updated value before compiling?
- After lanching Bombadillo does the following command update the value and then work for viewing web links:
:set webmode lynx
I just pulled
master and changed the
"lynx" and had no issues (compiled with
1.14.2 on Arch).
Let me know the above when you get a chance. I use a Debian based system as my main system and the Arch system I just used as a secondary and have not run into this issue so I do not think it is a platform issue.
Oh! One more question:
- After you compile and run Bombadillo, has a
.bombadillo.inifile been created?
Just a quick note: it sticks out that the report states there is no INI file.
Changes to defaults.go, followed by a recompile, will not have an impact on settings for a user who already has an ini file (with the exception of the
configlocation setting that changes where the ini file is stored).
Could it be that there is an existing configuration file with a different webmode setting in an unexpected location? The actual location can be checked in Bombadillo using the command
By the way thanks @tidux for the report!
You are very right @asdf . Good thinking! That may be a simple fix here. Hopefully checking the config location that is being used by the binary and then deleting a config if it exists will do the job.
If there is no config at that location, that would definitely be a weird issue. I look forward to hearing back about this one!
Deleting a branch is permanent. It CANNOT be undone. Continue?