Issue with Gambas3 Editor
Posted
#1
(In Topic #1168)
Trainee
When I specify a language component in the Gambas3 editor and then type a period, I get a list of options. Additionally, there's an explanation, but unfortunately, I can't see it. I receive the error message "File or directory does not exist at line #??: with Stack backtrace: Wiki.printpage.899."
I've already uninstalled and reinstalled Gambas3, but it doesn't solve the issue. Interestingly, it works fine on another PC where I've installed Gambas3. However, when I select Help/Gambas website, I receive "Gambas - Gambas Almost Means Basic not found," even though it opens in a web browser.
Can someone help me find a solution to this problem?
Kind regards,
Bert
(translation Dutch to English with ChatGPT)
Posted
Guru

Like
What version of gambas is it?
What linux and what version.
Could a firewall be blocking it?
I'd say by looking at source that it's probably Wiki.printpage.889 not 899
sData = LTrim(File.Load(Wiki.GetPagePathFrom(sPath)))
It seems unable to File.Load() the path.
Maybe the wiki path in $HOME/.local/gambas3 has become unusable?
Try removing the wiki cache dir and re-install gambas
rm -rf $HOME/.local/share/gambas3
sudo apt reinstall gambas3*
Posted
Guru

Posted
Trainee
when I disable "Tools/Preferences/Help/Use offline documentation" (slider) in the menu, everything works again.
Kind regards,
Bert
Dear Bruce,
I will also try your option, maybe this works with the slider on. I'll let you know. Thank you very much for your response.
(This text has been translated from Dutch with ChatGPT)
Posted
Trainee
I cleared the cache as per your instructions, reinstalled Gambas, and turned the slider on. It still doesn't work. With the slider off, everything works fine again, so it's workable for me. I have Mint 20.3 with the latest version of Gambas3 on my computer.
Thanks again for your help.
Kind regards
Posted
Guru

Did you click the "Download documentation" button and are you aware the download/install can take a few minutes?
after pressing the download button there is a wait of about a minute before a progress bar apprears, then the progress bar shows for a minute or 2.
It takes a while and does not clearly show what is happening, you can close gambas before the process has completed successfully.
I would delete ~/.local/share/gambas3 dir , reinstall gambas, then goto preferences and select "use offline documentation"
Then press the "Download documentation" button.
Then go make a cup of tea or something while the process slowly completes.
1 guest and 0 members have just viewed this.




