Skip to content

'WantedDict' object has no attribute 'totalcount' #14

@Bennyt74

Description

@Bennyt74

Hi Geekly,

Noticed you have not worked on this for a while and thought I would have a look over the package. Have managed to get the BCM setup and ran the main.py but returned the below error.

PS D:\Program Files\python\Python39\pybcm-master\pybcm> python main.py
Initializing <class 'config.BCMConfig'> ../config/bcm.ini
2021-05-18 12:29:46,006 - INFO - main - Reading wanted list: ../Resources/Sampledata/Star Destroyer 30056-1.bsx
2021-05-18 12:29:46,006 - INFO - wanted - Reading Wanted file: ../Resources/Sampledata/Star Destroyer 30056-1.bsx
Traceback (most recent call last):
File "D:\Program Files\python\Python39\pybcm-master\pybcm\main.py", line 106, in
main()
File "D:\Program Files\python\Python39\pybcm-master\pybcm\main.py", line 63, in main
logger.info("Loaded {0} items from {1}".format(wanteddict.totalcount, wantedlistfilename))
AttributeError: 'WantedDict' object has no attribute 'totalcount'

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