开云体育

Re: Looping opening of help files on startup failure


 

开云体育

If anyone else is suffering with this, some helpful info from the Firefox community

“?If you add a line to?.mime.types?(note leading?.) in your user home directory (you may need to create the file) that simply reads:
text/html html htm shtml

and save it, then restart Firefox for good measure, does the problem go away (ie the file just gets opened inside Firefox immediately)?

Firefox consults this file first, if it exists (but it may not, by default). If it doesn't, it?, specifically??via?g_content_type_guess. In the broken environment I found, gtk says that the mimetype of the file is?application/x-extension-shtml, which Firefox thinks it doesn't know anything about and hands to the OS, which presumably does a check with?file?or something that cares more about the file's contents and finds?text/html, which it hands back to Firefox, etc.

This does indeed resolve the issue for me

Phil G



On 24 Jan 2025, at 22:18, Heiko Rosemann via groups.io <heiko.rosemann@...> wrote:

?Seems to be a bug in firefox for Linux: https://bugzilla.mozilla.org/show_bug.cgi?id=1885804

(I can confirm it on my desktop machine)

Heiko

On 1/24/25 22:40, Phil G via groups.io wrote:
More testing
I installed Chromium on my Pi
This doesn’t recursively open shtml files
Maybe Firefox is the problem??
Phil G
On 24 Jan 2025, at 21:32, Phil G via groups.io <phil@...> wrote:

? I just renamed one of the shtml files to html. Now it opens just fine

Is this issue unique to RasPi?? ?Haven’t had chance to check it on Win10 yet

Phil G

On 24 Jan 2025, at 16:20, Steve Todd via groups.io <mstevetodd@...> wrote:

?
Actually, it seems that opening ANY of the .shtml files as a "file://" URL causes this looping. Looking for an .html file to test now.


--
eMails verschlüsseln mit PGP - privacy is your right!
Mein PGP-Key zur Verifizierung: http://pgp.mit.edu






<OpenPGP_signature.asc>

Join jmriusers@groups.io to automatically receive all group messages.