Can't download file from Github Topic is solved

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
Wastelander
Moonbather
Moonbather
Posts: 62
Joined: 2022-12-28, 15:19

Can't download file from Github

Unread post by Wastelander » 2024-04-23, 17:02

Operating system:Arch Linux
Browser version:33.1.0
32-bit or 64-bit browser?:64-bit
Installed add-ons: none

I have actually been noticing this behavior for a long time: whenever I view a github file (for example https://github.com/searxng/searxng/blob/master/Dockerfile) and try to download it by clicking on the "Download raw file" icon top right, nothing happens. The error console does throw some errors when connecting to the page but it does not show an output during the download action.
No systemd - Joborun Linux

User avatar
andyprough
Board Warrior
Board Warrior
Posts: 1115
Joined: 2020-05-31, 04:33

Re: Can't download file from Github

Unread post by andyprough » 2024-04-23, 18:16

Wastelander wrote:
2024-04-23, 17:02
I have actually been noticing this behavior for a long time: whenever I view a github file (for example https://github.com/searxng/searxng/blob/master/Dockerfile) and try to download it by clicking on the "Download raw file" icon top right, nothing happens. The error console does throw some errors when connecting to the page but it does not show an output during the download action.
I get the same. If I wait about a minute or two the following error pops up, although I'm not sure if it's related:

Code: Select all

SessionStore: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIObjectOutputStream.writeCompoundObject]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: resource:///modules/sessionstore/SessionStore.jsm :: _serializeHistoryEntry :: line 2095"  data: no]

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37665
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Can't download file from Github

Unread post by Moonchild » 2024-04-23, 18:19

It's an obscured error. The button has a function attached to it for click events, but that function is effectively empty, which kind of prevented me from looking further.
Unfortunately Github is a prayer without end as they explicitly do not support Pale Moon and want to use the latest drafts the moment they get wind of them.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
andyprough
Board Warrior
Board Warrior
Posts: 1115
Joined: 2020-05-31, 04:33

Re: Can't download file from Github

Unread post by andyprough » 2024-04-23, 19:27

Looked to me like you could right-click on the "raw" option and do a save-as to download yourself. I tried it on that page and it worked. Does that 'raw-download' button have any additional functionality?

User avatar
Wastelander
Moonbather
Moonbather
Posts: 62
Joined: 2022-12-28, 15:19

Re: Can't download file from Github

Unread post by Wastelander » 2024-04-24, 11:40

@Moonchild yep, not the first time Github reserves bad surprises to us, at least it's not just me :) @andyprough I can actually download the file by right-clicking on it, the "download raw file" icon is just kind of a Github quick integrated option to directly download the file to the default path.
No systemd - Joborun Linux