ail-framework icon indicating copy to clipboard operation
ail-framework copied to clipboard

Bug: Flask doesn't find module ail_typo_squatting and breaks

Open certrik opened this issue 2 years ago • 3 comments

After updating to the current version in the repo flask does break with

Traceback (most recent call last):
  File "./Flask_server.py", line 41, in <module>
    from blueprints.crawler_splash import crawler_splash
  File "/data/AIL/ail-framework/var/www/blueprints/crawler_splash.py", line 28, in <module>
    import Domain
  File "/data/AIL/ail-framework/bin/lib/Domain.py", line 22, in <module>
    import Decoded
  File "/data/AIL/ail-framework/bin/lib/Decoded.py", line 12, in <module>
    import Item
  File "/data/AIL/ail-framework/bin/packages/Item.py", line 29, in <module>
    from objects.abstract_object import AbstractObject
  File "/data/AIL/ail-framework/bin/lib/objects/abstract_object.py", line 21, in <module>
    from lib.Tracker import is_obj_tracked, get_obj_all_trackers
  File "/data/AIL/ail-framework/bin/lib/Tracker.py", line 14, in <module>
    from ail_typo_squatting import runAll
ModuleNotFoundError: No module named 'ail_typo_squatting'

certrik avatar Jun 27 '22 13:06 certrik

@Terrtia Hi. This completely prevents the web gui from running.

certrik avatar Jun 28 '22 08:06 certrik

Hey @certrik ! DId you encounter any issue with the 4.2 updater ? The updater should install the ail_typo_squatting library

Terrtia avatar Jun 28 '22 10:06 Terrtia

THX for the tip. I executed the updater manually and it works now. I wouldn't have seen an error while updating from the repo the first time.

certrik avatar Jun 28 '22 12:06 certrik