Code Monkey home page Code Monkey logo

notifwd's Introduction

  ▄▀▀█▀▀▀▀▀▀▄
 █   █  ▞▀▚  █         ██ ██████  ███    ███  █████  ███    ██ ███    ██   ██  ██████   ██████  
█   █   ▚▄▞   █        ██ ██   ██ ████  ████ ██   ██ ████   ██ ████   ██  ███ ██  ████ ██  ████ 
█    ██       █        ██ ██████  ██ ████ ██ ███████ ██ ██  ██ ██ ██  ██   ██ ██ ██ ██ ██ ██ ██ 
 █     █     █    ██   ██ ██   ██ ██  ██  ██ ██   ██ ██  ██ ██ ██  ██ ██   ██ ████  ██ ████  ██ 
  ▀▄▄▄█▄▄▄▄▄▀      █████  ██   ██ ██      ██ ██   ██ ██   ████ ██   ████   ██  ██████   ██████                                                                          

notifwd's People

Contributors

jrmann100 avatar m-zheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

notifwd's Issues

sqlite3.OperationalError: unable to open database file

This is on macOS 10.10; I don't have much experience with sqlite3, but I can help troubleshoot.

seedbox:notifwd gia$ ./notifwd.py

  _   _       _   _ _____             _
 | \ | | ___ | |_(_)  ___|_      ____| |
 |  \| |/ _ \| __| | |_  \ \ /\ / / _` |
 | |\  | (_) | |_| |  _|  \ V  V / (_| |
 |_| \_|\___/ \__|_|_|     \_/\_/ \__,_|

notifwd by Jordan Mann. Starting up... Traceback (most recent call last):
  File "/Users/gia/notifwd/./notifwd.py", line 200, in <module>
    Notification.main(argv)
  File "/Users/gia/notifwd/./notifwd.py", line 78, in main
    Notification.setup(argv)
  File "/Users/gia/notifwd/./notifwd.py", line 65, in setup
    Notification.connection = sqlite3.connect(db_path)
sqlite3.OperationalError: unable to open database file

Error - No module named requests

notifwd % ./notifwd.py
Traceback (most recent call last):
File "./notifwd.py", line 13, in
import requests
ModuleNotFoundError: No module named 'requests'

Python 3.7.7 installed. Ventura 13.4 OS

TypeError: '>=' not supported between instances of 'float' and 'NoneType'

I'm running notifwd on a 2017 iMac with Catalina

MrMuscle:notifwd mnewman$ ./notifwd.py --api-key [my api-key]

  _   _       _   _ _____             _ 
 | \ | | ___ | |_(_)  ___|_      ____| |
 |  \| |/ _ \| __| | |_  \ \ /\ / / _` |
 | |\  | (_) | |_| |  _|  \ V  V / (_| |
 |_| \_|\___/ \__|_|_|     \_/\_/ \__,_|

notifwd by Jordan Mann. Starting up... done.
Starting scheduler. Update frequency is 60 seconds...Traceback (most recent call last):
  File "./notifwd.py", line 191, in <module>
    Notification.main(argv)
  File "./notifwd.py", line 96, in main
    raise(e)
  File "./notifwd.py", line 90, in main
    s.run()
  File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/sched.py", line 151, in run
    action(*argument, **kwargs)
  File "./notifwd.py", line 82, in scheduled_update
    Notification.check()
  File "./notifwd.py", line 147, in check
    while sql_data[0] != Notification.last_id and sql_data[6] >= Notification.last_date:
TypeError: '>=' not supported between instances of 'float' and 'NoneType'

I don't know anything about Python, so all I can do is let you know about the error.

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.