GithubHelp home page GithubHelp logo

nevillepark / help-why-cant-i-hold-all-these-mutuals Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ejmg/help-why-cant-i-hold-all-these-mutuals

1.0 1.0 0.0 17 KB

find all your mutuals and throw them on a list so you can all be miserable together on twitter dot com

License: Other

Python 100.00%

help-why-cant-i-hold-all-these-mutuals's People

Contributors

ejmg avatar mikezucc avatar nevillepark avatar

Stargazers

 avatar

Watchers

 avatar

help-why-cant-i-hold-all-these-mutuals's Issues

RuntimeError: generator raised StopIteration

Program fails with this:

Traceback (most recent call last):
  File "mutuals.py", line 53, in handleCursorLimit
    yield cursor.next()
  File "~/.local/lib/python3.8/site-packages/tweepy/cursor.py", line 286, in next
    self.current_page = next(self.page_iterator)
  File "~/.local/lib/python3.8/site-packages/tweepy/cursor.py", line 86, in __next__
    return self.next()
  File "~/.local/lib/python3.8/site-packages/tweepy/cursor.py", line 109, in next
    raise StopIteration
StopIteration

File "mutuals.py", line 162, in <module>
    mutuals(api)
  File "mutuals.py", line 81, in mutuals
    for fran in handleCursorLimit(ty.Cursor(api.get_friends).items()):
RuntimeError: generator raised StopIteration

Seems to be due to Python 3.7+ behaviour:

I do not know enough about programming to fix this, but maybe Future Me will, so I'm assigning it to them.

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.