DocNow / diffengine

track changes to the news, where news is anything with an RSS feed
MIT License
178 stars 30 forks source link

Interested in getting this project running. #90

Closed Cwalsh88 closed 3 years ago

Cwalsh88 commented 3 years ago

Hello!

I tried to get this project running locally and I see it creating diffs in the database but I can't get it to tweet them out. If anyone is familiar with getting past this error code, please let me know!

I also fear this project may just be a little outdated now and need some overhaul work to get running again, and if anyone could even help point me in the right directions of what needs to be updated or tweaked to get this up; I am very interested in doing the work to get it there.

Basically, just seeing if anyone is out there :) Even if this post is a month or 3 or 4 old when you see it, feel free to respond! I'll try get back to you!

(Error trace attached although maybe not too helpful)

--- Logging error --- Traceback (most recent call last): File "python\python36\lib\site-packages\diffengine__init__.py", line 650, in process_entry twitter.tweet_diff(version.diff, token, lang) File "python\python36\lib\site-packages\diffengine\twitter.py", line 62, in tweet_diff raise TwitterAchiveUrlNotFoundError(diff) diffengine.exceptions.twitter.TwitterAchiveUrlNotFoundError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "python\python36\lib\logging__init.py", line 994, in emit msg = self.format(record) File "python\python36\lib\logging__init.py", line 840, in format return fmt.format(record) File "python\python36\lib\logging__init.py", line 577, in format record.message = record.getMessage() File "python\python36\lib\logging\init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "Python\Python36\Scripts\diffengine-script.py", line 11, in load_entry_point('diffengine==0.2.7', 'console_scripts', 'diffengine')() File "python\python36\lib\site-packages\diffengine\init__.py", line 618, in main result = process_entry(entry, f, twitter_handler, sendgrid_handler, lang) File "python\python36\lib\site-packages\diffengine\init__.py", line 652, in process_entry logging.warning("error occurred while trying to tweet", str(e)) Message: 'error occurred while trying to tweet' Arguments: ('1',)

Cwalsh88 commented 3 years ago

Just updating I've managed to get this project's tweeting functionality working by using this repo instead: https://github.com/xuv/NYTdiff