webmode settings in source code not honored #151
Labels
No Label
blocked
bug
build
documentation
duplicate
enhancement
finger
gemini
gopher
help wanted
http
in progress
invalid
local
needs-info
non-code
non-functional
non-urgent
question
release
rendering
suggestion
telnet
terminal
urgent
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sloum/bombadillo#151
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.@tidux
That is very strange that it is not compilling correctly for you. A few questions:
master
ordevelop
?:check webmode
defaults.go
with the updated value before compiling?:set webmode lynx
I just pulled
master
and changed the"webmode"
indefaults.go
to"lynx"
and had no issues (compiled with1.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:
.bombadillo.ini
file 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
:check configlocation
.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!
I am closing this as a stale issue with not enough info to replicate. @tidux feel free to resubmit if you end up with more info.