amici-ursi / ImagesOfNetwork

Tools for managing the ImagesOfNetwork on reddit
MIT License
7 stars 9 forks source link

AttributeError on ion_expand #91

Closed amici-ursi closed 7 years ago

amici-ursi commented 7 years ago
(venv-ion)bots@server1:~/ImagesOfNetwork$ ion_expand -c /home/bots/.config/ion/amici.settings.toml -m ImagesOfPlaces Spain
2016-07-16 13:29:21,061 [INFO] images_of.entrypoints.expand: Attempting to create /r/ImagesOfSpain
2016-07-16 13:29:22,142 [INFO] images_of.entrypoints.expand: Created /r/ImagesOfSpain
2016-07-16 13:29:22,142 [INFO] images_of.entrypoints.expand: Copying settings from imagesofnetwork
2016-07-16 13:29:22,959 [INFO] images_of.entrypoints.expand: Copying settings to /r/ImagesOfSpain
:0: UserWarning: Extra settings fields: dict_keys(['subreddit_id'])
2016-07-16 13:29:27,091 [INFO] images_of.entrypoints.expand: Inviting moderators: ['AutoModerator', 'BotWatchman', 'ImagesOfNetwork']
2016-07-16 13:29:30,369 [INFO] images_of.entrypoints.expand: Mods invited.
2016-07-16 13:29:30,370 [INFO] images_of.entrypoints.expand: Copying wiki page "config/automoderator"
2016-07-16 13:29:32,477 [INFO] images_of.entrypoints.expand: Copying wiki page "toolbox"
2016-07-16 13:29:34,456 [INFO] images_of.entrypoints.expand: Setting up flair
Traceback (most recent call last):
  File "/home/bots/ImagesOfNetwork/venv-ion/bin/ion_expand", line 9, in <module>
    load_entry_point('images-of==0.1.0', 'console_scripts', 'ion_expand')()
  File "/home/bots/ImagesOfNetwork/images_of/__init__.py", line 79, in wrapper
    return g(*args, **kwargs)
  File "/home/bots/ImagesOfNetwork/venv-ion/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/home/bots/ImagesOfNetwork/venv-ion/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/home/bots/ImagesOfNetwork/venv-ion/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/bots/ImagesOfNetwork/venv-ion/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/home/bots/ImagesOfNetwork/images_of/entrypoints/expand.py", line 189, in main
    add_to_multi(r, sub, multi)
  File "/home/bots/ImagesOfNetwork/images_of/entrypoints/expand.py", line 99, in add_to_multi
    if not settings.MULTIREDDIT:
AttributeError: 'Settings' object has no attribute 'MULTIREDDIT'