Code Monkey home page Code Monkey logo

Comments (6)

b-fg avatar b-fg commented on August 24, 2024

Please show how to reproduce the error. For example show the config.py file and the Python version you are using.

from nuatsbot.

GoldenBoyBTC avatar GoldenBoyBTC commented on August 24, 2024

I'm using Python Python 2.7.15rc1. My config.py is this

I'm getting the same error.

from nuatsbot.

b-fg avatar b-fg commented on August 24, 2024

Have you modified the nuats_bot.py file as well? Please include a gist with that script too.

from nuatsbot.

GoldenBoyBTC avatar GoldenBoyBTC commented on August 24, 2024

Here it is. Didn't modified it at all.

from nuatsbot.

b-fg avatar b-fg commented on August 24, 2024

The problem comes from Python 2.7 for which the list filtering of None written in Python 3.6: all_notifications_list = list(filter(None.__ne__, tickers_TA_list)) is incompatible. You could use a list comprehension as a workaround: all_notifications_list = [x for x in tickers_TA_list if x is not None]. Or just switch to a more updated Python version... (Python 2.7 is from 2010).

On the other hand, another problem will arise regarding the Discord webhook because of your config.py - The line discord_web_hook = ['discord webhook url goes here']) in the config.py is not specifying a correct discord url webhook. Try discord_web_hook = ['']) to leave this option blank.

from nuatsbot.

b-fg avatar b-fg commented on August 24, 2024

I have now included the Python 3.x requirement in the README.md file. Thanks for bringing it up.

from nuatsbot.

Related Issues (13)

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.