Giter VIP home page Giter VIP logo

rsstotwitter's Issues

It crashes and send repeated messages

Find below the error:

/etc/cron.hourly/rsstotwitter_pool:
/etc/rsstotwitter/ls-news
/etc/rsstotwitter/ls-planet
/etc/rsstotwitter/osor-case_studies
/etc/rsstotwitter/osor-communities
/etc/rsstotwitter/osor-community_blogs
send: 'POST /1/statuses/update.json HTTP/1.1\r\nAccept-Encoding: identity\r\nContent-Length: 334\r\nHost: api.twitter.com\r\nContent-Type: application/x-www-form-urlencoded\r\nConnection: close\r\nUser-Agent: Python-urllib/2.5\r\n\r\n'
send: 'status=Estonia%3A%20Eesti%20vaade%20osor.eu-s%20http%3A%2F%2Ftinyurl.com%2F34axj9c&oauth_version=1.0&oauth_token=46066476-RK1vX4ZZvVYbYpBJ1qG7XPVKJreBQyZEDQAhGum8Y&oauth_nonce=91274851&oauth_timestamp=1288095423&oauth_signature=Z5rhM%2BBsOxKbsPRoVMOfjGQHPBA%3D&oauth_consumer_key=xnGWqlLVTwmzA2ANrqvQQ&oauth_signature_method=HMAC-SHA1'
reply: 'HTTP/1.1 403 Forbidden\r\n'
header: Date: Tue, 26 Oct 2010 12:16:33 GMT
header: Server: hi
header: Status: 403 Forbidden
header: X-Transaction: 1288095393-85879-43653
header: Last-Modified: Tue, 26 Oct 2010 12:16:33 GMT
header: X-Runtime: 0.05545
header: Content-Type: application/json; charset=utf-8
header: Content-Length: 73
header: Pragma: no-cache
header: X-Revision: DEV
header: Expires: Tue, 31 Mar 1981 05:00:00 GMT
header: Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
header: Set-Cookie: k=193.147.51.200.1288095393500107; path=/; expires=Tue, 02-Nov-10 12:16:33 GMT; domain=.twitter.com
header: Set-Cookie: guest_id=12880953938943266; path=/; expires=Thu, 25 Nov 2010 12:16:33 GMT
header: Set-Cookie: lang=en; path=/
header: Set-Cookie: _twitter_sess=BAh7CToMY3NyZl9pZCIlODRkYWE1OTNkMzhmMjVmODU0N2Y5NGEwNjU5MjNl%250AMTI6D2NyZWF0ZWRfYXRsKwhv6HfoKwE6B2lkIiVjNjdmYTAyNjlmOGRkNDlh%250ANmJhYjljNDlkNDJjOTYxMSIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6%250ARmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%253D%253D--c5d3f2e100bc3643ff2c065b2aba9011bdde8923; domain=.twitter.com; path=/
header: Vary: Accept-Encoding
header: Connection: close
Traceback (most recent call last):
File "/usr/local/bin/rsstotwitter.py", line 291, in
main()
File "/usr/local/bin/rsstotwitter.py", line 287, in main
sent_messages = s.send()
File "/usr/local/bin/rsstotwitter.py", line 131, in send
if self.post2twitter(i):
File "/usr/local/bin/rsstotwitter.py", line 166, in post2twitter
status = self.api.PostUpdate(text)
File "/var/lib/python-support/python2.5/twitter.py", line 2158, in PostUpdate

File "/var/lib/python-support/python2.5/twitter.py", line 2943, in _CheckForTwitterError

twitter.TwitterError: Status is a duplicate.
/etc/rsstotwitter/osor-events
/etc/rsstotwitter/osor-new_projects
/etc/rsstotwitter/osor-news
/etc/rsstotwitter/osor-project_releases

Error using the --help flag

luis@ma-bu:~/Trabajo/repos/rsstotwitter$ ./rsstotwitter.py --help
Traceback (most recent call last):
  File "./rsstotwitter.py", line 263, in 
    main()
  File "./rsstotwitter.py", line 234, in main
    config.readfp(open(cfg_file))
IOError: [Errno 2] No such file or directory: '--help'

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.