bugGNU Solfege - Bugs: bug #66431, Fails to start on system without...

 
 

bug #66431: Fails to start on system without x-www-browser

Submitter:  None
Submitted:  Sun 10 Nov 2024 01:39:07 PM UTC
   
 
Category:  None Severity:  3 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Release:  3.23.git
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 10 Nov 2024 01:39:07 PM UTC, original submission:  

I am on Postmarket OS v24.06 (Alpine Linux). Solfege does not start:


Traceback (most recent call last):
  File "/usr/local/bin/solfege", line 58, in <module>
    import solfege.startup
  File "/usr/local/share/solfege/solfege/startup.py", line 45, in <module>
    from solfege.mainwin import MainWin, SplashWin
  File "/usr/local/share/solfege/solfege/mainwin.py", line 28, in <module>
    i = webbrowser._tryorder.index("x-www-browser")
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'index'


I think there are plenty of mainstream systems not using x-www-browser, so that exception needs to be handled.

I wrote a x-www-browser shell script in exec path to launch my default browser, and solfege still failed with the same error, so there's something I don't get here. Btw, same error with --no-splash

Regards,
Jason

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.14-7003.
Corresponding source code