Skip to content

IndexError: list index out of range #77

@stetal

Description

@stetal

HI,
i get the following error:

F:\GoBooDo\GoBooDo>python GoBooDo.py --id=XXXX

Downloading XXXX
Pages to be fetched in the current iteration are : 140
Fetched link for PA7.
Fetched link for PA8.
Fetched link for PA9.
Fetched link for PA10.
Fetched link for PA11.
Fetched link for PA12.
Fetched link for PA13.
Fetched link for PA14.
Fetched link for PA15.
Fetched link for PA16.
Fetched link for PA17.
Fetched link for PA18.
Fetched link for PA19.
Fetched link for PA20.
Fetched link for PA21.
Fetched link for PA22.
Fetched link for PA23.
Fetched link for PA24.
Fetched link for PA25.
Fetched link for PA26.
Fetched link for PA27.
Fetched link for PA28.
Fetched link for PA29.
Fetched link for PA30.
Fetched link for PA31.
Fetched link for PA32.
Fetched link for PA33.
Fetched link for PA34.
Fetched link for PA35.
Fetched link for PA36.
Fetched link for PA37.
Fetched link for PA38.
Fetched link for PA39.
Fetched link for PA40.
Fetched link for PA41.
Fetched link for PA42.
Fetched link for PA43.
Fetched link for PA44.
Fetched link for PA45.
Fetched link for PA46.
Fetched link for PA47.
Fetched link for PA48.
Fetched link for PA49.
Fetched link for PA50.
Fetched link for PA51.
Fetched link for PA52.
Fetched link for PA53.
Fetched link for PA54.
Fetched link for PA55.
Fetched link for PA56.
Fetched link for PA57.
Fetched link for PA58.
Fetched link for PA59.
Fetched link for PA60.
Fetched link for PA61.
Fetched link for PA62.
Fetched link for PA63.
Fetched link for PA64.
Fetched link for PA65.
Fetched link for PA66.
Fetched link for PA67.
Fetched link for PA68.
Fetched link for PA69.
Fetched link for PA70.
Fetched link for PA71.
Fetched link for PA72.
Fetched link for PA73.
Fetched link for PA74.
Fetched link for PA75.
Fetched link for PA76.
Fetched link for PA77.
Fetched link for PA78.
Fetched link for PA79.
Fetched link for PA80.
Fetched link for PA81.
Fetched link for PA83.
Fetched link for PA85.
Fetched link for PA86.
Fetched link for PA87.
Fetched link for PA88.
Fetched link for PA89.
Fetched link for PA90.
Fetched link for PA91.
Fetched link for PA92.
Fetched link for PA93.
Fetched link for PA94.
Fetched link for PA95.
Fetched link for PA97.
Fetched link for PA98.
Fetched link for PA100.
Fetched link for PA103.
Fetched link for PA105.
Fetched link for PA106.
Fetched link for PA107.
Fetched link for PA108.
Fetched link for PA109.
Fetched link for PA110.
Fetched link for PA111.
Fetched link for PA112.
Fetched link for PA113.
Fetched link for PA114.
Fetched link for PA116.
Fetched link for PA117.
Fetched link for PA118.
Fetched link for PA120.
Fetched link for PA122.
Fetched link for PA123.
Fetched link for PA124.
Fetched link for PA125.
Fetched link for PA126.
Fetched link for PA127.
Fetched link for PA128.
Fetched link for PA129.
Fetched link for PA130.
Fetched link for PA131.
Fetched link for PA132.
Fetched link for PA133.
Fetched link for PA134.
Fetched link for PA135.
Fetched link for PA136.
Fetched link for PA138.
Fetched link for PA140.
Fetched link for PA141.
Could not fetch link for page PA142
Could not fetch link for page PA144
Could not fetch link for page PA147
Could not fetch link for page PA148
Could not fetch link for page PA149
Could not fetch link for page PA150
Could not fetch link for page PA151
Could not fetch link for page PA152
Could not fetch link for page PA153
Could not fetch link for page PA154
Could not fetch link for page PA155
Could not fetch link for page PA157
Could not fetch link for page PA158
------------------- Fetching Images -------------------
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
'StoreImages' object has no attribute 'head'
------------------- Creating PDF -------------------
Traceback (most recent call last):
File "F:\GoBooDo\GoBooDo\GoBooDo.py", line 217, in
book.start()
File "F:\GoBooDo\GoBooDo\GoBooDo.py", line 197, in start
self.processBook()
File "F:\GoBooDo\GoBooDo\GoBooDo.py", line 150, in processBook
service.makePdf()
File "F:\GoBooDo\GoBooDo\makePDF.py", line 15, in makePdf
firstPath = self.imageNameList[0]
~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

How can I fix?

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