Giter Site home page Giter Site logo

Comments (4)

bauerj avatar bauerj commented on May 23, 2024

Please try upgrading to Python 3.7.

from electrum-docs.

anasred avatar anasred commented on May 23, 2024

this is what I got after upgrading python to 3.7

[2020-05-07 16:15:58,709] [INFO] Downloading and installing files into request directory
[2020-05-07 16:15:58,710] [INFO] copying index.html from flavour simple
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.6/dist-packages/electrum-merchant/__main__.py", line 133, in <module>
    main()
  File "/usr/local/lib/python3.6/dist-packages/electrum-merchant/__main__.py", line 99, in main
    downloader.download('jquery')
  File "/usr/local/lib/python3.6/dist-packages/npmdownloader/packagedownloader.py", line 70, in download
    self.download_multiple([(name, version)])
  File "/usr/local/lib/python3.6/dist-packages/npmdownloader/packagedownloader.py", line 67, in download_multiple
    loop.run_until_complete(self._download_packages(packages))
  File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.6/dist-packages/npmdownloader/packagedownloader.py", line 50, in _download_packages
    for n, v in current_packages]
  File "/usr/local/lib/python3.6/dist-packages/npmdownloader/packagedownloader.py", line 50, in <listcomp>
    for n, v in current_packages]
AttributeError: module 'asyncio' has no attribute 'create_task'

from electrum-docs.

bauerj avatar bauerj commented on May 23, 2024
/usr/lib/python3.6/runpy.py

Are you sure you're starting the right Python?

from electrum-docs.

anasred avatar anasred commented on May 23, 2024

this seems related to none existed static JS and CSS files that required for online payment to work properly on the payment page.

because I tried the command of

electrum addrequest 3.14 -m "This is how we create payment requests!"

and it generated the json object properly. So I populated the js/css files manually into /vrs/www/payment/static folder and it finally worked.

from electrum-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.