Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: replace() argument 2 must be str, not None #8748

Closed
TARS-bot opened this issue Dec 14, 2023 · 0 comments
Closed

TypeError: replace() argument 2 must be str, not None #8748

TARS-bot opened this issue Dec 14, 2023 · 0 comments

Comments

@TARS-bot
Copy link

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

Traceback (most recent call last):
  File "/home/kingsman/Electrum-4.4.6/electrum/plugins/payserver/qt.py", line 93, in <lambda>
    menu.addAction(_("View in payserver"), lambda: webopen(self.view_url(key)))
                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kingsman/Electrum-4.4.6/electrum/gui/qt/util.py", line 1146, in webopen
    webbrowser.open(url)
  File "/usr/lib/python3.11/webbrowser.py", line 87, in open
    if browser.open(url, new, autoraise):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/webbrowser.py", line 273, in open
    args = [arg.replace("%s", url).replace("%action", action)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/webbrowser.py", line 273, in <listcomp>
    args = [arg.replace("%s", url).replace("%action", action)
            ^^^^^^^^^^^^^^^^^^^^^^
TypeError: replace() argument 2 must be str, not None

TypeError: replace() argument 2 must be str, not None

Reporter

This issue was reported by 1 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.4.6 3.11.7 (main, Dec 8 2023, 14:22:46) [GCC 13.2.0] Linux-6.5.0-kali3-amd64-x86_64-with-glibc2.37 imported,standard en_US

Additional Information

The reporting user(s) did not provide additional information.

@ecdsa ecdsa closed this as completed in 2d954bb Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant