Coder Social home page Coder Social logo

Comments (7)

MikeMcQuaid avatar MikeMcQuaid commented on July 23, 2024

Do you have a more complete backtrace? This doesn't seem to list any of my code so it's hard to figure out.

This may need a fix similar to #8.

from twitterdelete.

MikeMcQuaid avatar MikeMcQuaid commented on July 23, 2024

Can you paste the entire output of the command? Thanks!

from twitterdelete.

MikeMcQuaid avatar MikeMcQuaid commented on July 23, 2024

Sure, no rush.

from twitterdelete.

a10kiloham avatar a10kiloham commented on July 23, 2024
==> Checking favourites...
Checking timeline...
Ignoring tweet: too favourited: xxxx
Ignoring tweet: too favourited: xxx
Ignoring tweet: too favourited: xxx
Ignoring tweet: too favourited: xxx
Ignoring tweet: too RTd: xxx
Ignoring tweet: too favourited: xxx
Ignoring tweet: too favourited: xxx
Ignoring tweet: too favourited: xxx
Ignoring tweet: too favourited: xxx
Ignoring tweet: too RTd: xxx
==> Unfavoriting 2 tweets
/usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest/response/rai                                                       se_error.rb:15:in `on_complete': No status found with that ID. (Twitter::Error::                                                       NotFound)
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/respo                                                       nse.rb:9:in `block in call'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/respo                                                       nse.rb:57:in `on_complete'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/respo                                                       nse.rb:8:in `call'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/reque                                                       st/url_encoded.rb:15:in `call'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/reque                                                       st/multipart.rb:14:in `call'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest                                                       /request/multipart_with_file.rb:17:in `call'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/rack_                                                       builder.rb:139:in `build_response'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/conne                                                       ction.rb:377:in `run_request'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/conne                                                       ction.rb:177:in `post'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest                                                       /request.rb:33:in `perform'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest                                                       /utils.rb:51:in `perform_request'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest                                                       /utils.rb:73:in `perform_request_with_object'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest                                                       /utils.rb:151:in `block in parallel_objects_from_response'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/util                                                       s.rb:39:in `block (2 levels) in pmap'

from twitterdelete.

MikeMcQuaid avatar MikeMcQuaid commented on July 23, 2024

As I can't reproduce gonna consider #10 as a fix for this. Thanks!

from twitterdelete.

a10kiloham avatar a10kiloham commented on July 23, 2024

Fwiw this is still happening. Error text has changed a bit. For example, I can run and two days later, run again so tweets say 12-14 days old are the ones to be deleted:

==> Unfavoriting 34 tweets
==> Deleting 10 tweets
/usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest/response/raise_error.rb:13:in `on_complete': You may not delete another user's status. (Twitter::Error::Forbidden)
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/response.rb:9:in `block in call'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/response.rb:57:in `on_complete'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/response.rb:8:in `call'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/request/url_encoded.rb:15:in `call'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/request/multipart.rb:14:in `call'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest/request/multipart_with_file.rb:17:in `call'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/rack_builder.rb:139:in `build_response'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/connection.rb:377:in `run_request'
        from /usr/local/lib/ruby/gems/2.3.0/gems/faraday-0.9.1/lib/faraday/connection.rb:177:in `post'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest/request.rb:33:in `perform'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest/utils.rb:51:in `perform_request'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest/utils.rb:73:in `perform_request_with_object'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest/utils.rb:65:in `perform_post_with_object'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest/tweets.rb:100:in `block in destroy_status'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/utils.rb:37:in `block in pmap'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/utils.rb:37:in `collect'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/utils.rb:37:in `pmap'
        from /usr/local/lib/ruby/gems/2.3.0/gems/twitter-5.14.0/lib/twitter/rest/tweets.rb:99:in `destroy_status'
        from twitter_delete.rb:71:in `api_call'
        from twitter_delete.rb:141:in `block in <main>'
        from twitter_delete.rb:139:in `each'
        from twitter_delete.rb:139:in `<main>'

from twitterdelete.

MikeMcQuaid avatar MikeMcQuaid commented on July 23, 2024

@bobbysteel I can't reproduce this so there's nothing I can do on my end. If you submit a PR that fixes this issue I'll consider accepting it.

from twitterdelete.

Related Issues (8)

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.