Giter Club home page Giter Club logo

cryptopcash's People

Contributors

rpesche avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

azraeht

cryptopcash's Issues

show an error when adding an inexistant currency

If an invalid currency is added to cryptopcash, the application crash and an exception is raised.

Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/romain/cryptopcash/cryptopcash/__main__.py", line 5, in <module>
    main()
  File "/home/romain/cryptopcash/cryptopcash/cryptopcash.py", line 76, in main
    cryptopcash.start_cryptopcash()
  File "/home/romain/cryptopcash/cryptopcash/cryptopcash.py", line 41, in start_cryptopcash
    self.main_ui.run()
  File "/home/romain/cryptopcash/cryptopcash/ui/Main.py", line 49, in run
    self.loop.run()
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/main_loop.py", line 286, in run
    self._run()
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/main_loop.py", line 384, in _run
    self.event_loop.run()
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/main_loop.py", line 788, in run
    self._loop()
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/main_loop.py", line 825, in _loop
    self._watch_files[fd]()
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/raw_display.py", line 404, in <lambda>
    event_loop, callback, self.get_available_raw_input())
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/raw_display.py", line 502, in parse_input
    callback(processed, processed_codes)
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/main_loop.py", line 411, in _update
    self.process_input(keys)
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/main_loop.py", line 511, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/container.py", line 595, in keypress
    *self.calculate_padding_filler(size, True)), key)
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/decoration.py", line 837, in keypress
    return self._original_widget.keypress((maxcol,), key)
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/container.py", line 1590, in keypress
    key = self.focus.keypress(tsize, key)
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/container.py", line 2271, in keypress
    key = w.keypress((mc,) + size[1:], key)
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/wimp.py", line 540, in keypress
    self._emit('click')
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/widget.py", line 460, in _emit
    signals.emit_signal(self, name, self, *args)
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/signals.py", line 265, in emit
    result |= self._call_callback(callback, user_arg, user_args, args)
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/signals.py", line 295, in _call_callback
    return bool(callback(*args_to_pass))
  File "/home/romain/cryptopcash/cryptopcash/ui/AddHoldingDialog.py", line 30, in add_holding
    coin = context.get_coin_info(symbol)
  File "/home/romain/cryptopcash/cryptopcash/cryptopcash.py", line 59, in get_coin_info
    return c.get_coin_info(symbol)
  File "/home/romain/cryptopcash/cryptopcash/market/CryptoCompare.py", line 18, in get_coin_info
    infos = cryptocompy_coin.get_coin_list(coins=symbol)
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/cryptocompy/coin.py", line 51, in get_coin_list
    data = {c: data[c] for c in coins}
  File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/cryptocompy/coin.py", line 51, in <dictcomp>
    data = {c: data[c] for c in coins}
KeyError: 'aente'

We need to catch this exception and show a message to the user.

Getting attribute error

When running cryptopcash I am getting the following error:
AttributeError: 'NoneType' object has no attribute 'currency_formats'

This error I think stems from babel not being able to set the locale.

Add the correct software version in the header

Currently the header show cryptopcash v0.1 for every version.
We need to update it to show the correction version.

I don't know how to do this. It might be a script updating the code at each release

there isn't a config.ini

i don't use cryptop and your software doesn't generate a config.ini. you should include a default one.

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this πŸ’ͺ.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


Missing package.json file.

A package.json file at the root of your project is required to release on npm.

Please follow the npm guideline to create a valid package.json file.


Good luck with your project ✨

Your semantic-release bot πŸ“¦πŸš€

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.