Skip to content

'FriendsManager' object has no attribute 'n_following' #10

@metmajer

Description

@metmajer

Hi @nschaetti! I am using the latest version from the developing trunk and came across the following issue when calling python -m pyTweetBot friends --config /data/config.json --log-level 10 --update:

$ python -m pyTweetBot friends --config /data/config.json --log-level 10 --update
INFO:pyTweetBot:Updating followers...
[...]
INFO:pyTweetBot:Updating followings...
[...]
INFO:pyTweetBot:New following CloudNativeFdn
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/app/pyTweetBot/__main__.py", line 406, in <module>
    friends_manager.update()
  File "pyTweetBot/friends/FriendsManager.py", line 280, in update
    self.update_statistics()
  File "pyTweetBot/friends/FriendsManager.py", line 301, in update_statistics
    statistic = pyTweetBot.db.obj.Statistic(statistic_friends_count=self.n_following(),
AttributeError: 'FriendsManager' object has no attribute 'n_following'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions