Issue with Gambas3 Editor

Ask about the individual Gambas components here.
Post Reply
steenhagen
Posts: 9
Joined: Sunday 5th February 2023 4:13pm

Issue with Gambas3 Editor

Post by steenhagen »

Hello Panel Members,

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 "https://gambas.sourceforge.net 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)
User avatar
BruceSteers
Posts: 1579
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: Issue with Gambas3 Editor

Post by BruceSteers »

We will need more info.
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*
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1579
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: Issue with Gambas3 Editor

Post by BruceSteers »

Also have you tried going to settings and selecting "use offline help" and download documentation.
If at first you don't succeed , try doing something differently.
BruceS
steenhagen
Posts: 9
Joined: Sunday 5th February 2023 4:13pm

Re: Issue with Gambas3 Editor

Post by steenhagen »

Hi Forum members,
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)
steenhagen
Posts: 9
Joined: Sunday 5th February 2023 4:13pm

Re: Issue with Gambas3 Editor

Post by steenhagen »

Dear Bruce,
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
User avatar
BruceSteers
Posts: 1579
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: Issue with Gambas3 Editor

Post by BruceSteers »

Okay , but you do seem to have an issue there.

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.
Attachments
Untitled.jpg
Untitled.jpg (113.89 KiB) Viewed 1996 times
If at first you don't succeed , try doing something differently.
BruceS
Post Reply