theZoo icon indicating copy to clipboard operation
theZoo copied to clipboard

`update-db` command error 'cannot update'

Open MiChaelinzo opened this issue 9 months ago • 3 comments

Traceback (most recent call last):
  File "/home/michael/ㄒㄖㄖㄥ丂/theZoo/theZoo.py", line 109, in <module>
    main()
  File "/home/michael/ㄒㄖㄖㄥ丂/theZoo/theZoo.py", line 104, in main
    terminalHandler.MainMenu()
  File "/home/michael/ㄒㄖㄖㄥ丂/theZoo/imports/terminal_handler.py", line 91, in MainMenu
    self.actOnCommand(cmd)
  File "/home/michael/ㄒㄖㄖㄥ丂/theZoo/imports/terminal_handler.py", line 120, in actOnCommand
    db_ver = update_handler.get_maldb_ver()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/michael/ㄒㄖㄖㄥ丂/theZoo/imports/update_handler.py", line 46, in get_maldb_ver
    with file(globals.vars.maldb_ver_file) as f:
         ^^^^
NameError: name 'file' is not defined. Did you mean: 'filter'?

MiChaelinzo avatar Oct 01 '23 13:10 MiChaelinzo