Skip to content

Attribute Error #117

@Ariancarlos

Description

@Ariancarlos

I am no coder, no programmer, nor have idea what the next thing means, but since it asked so nicely I'll send it here:

Traceback (most recent call last):
File "/storage/emulated/0/Download/KH.py", line 681, in
sys.exit(doIt())
^^^^^^
File "/storage/emulated/0/Download/KH.py", line 628, in doIt
success = download(soundtrack, outPath, formatOrder=formatOrder, verbose=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/emulated/0/Download/KH.py", line 453, in download
soundtrack.name # To conistently always load the content in advance.
^^^^^^^^^^^^^^^
File "/storage/emulated/0/Download/KH.py", line 160, in lazyVersion
setattr(self, attrName, func(self))
^^^^^^^^^^
File "/storage/emulated/0/Download/KH.py", line 302, in name
return next(self._contentSoup.find('h2').stripped_strings)
^^^^^^^^^^^^^^^^^
File "/storage/emulated/0/Download/KH.py", line 160, in lazyVersion
setattr(self, attrName, func(self))
^^^^^^^^^^
File "/storage/emulated/0/Download/KH.py", line 294, in _contentSoup
if contentSoup.find('p').string == "No such album":
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'find'
.../0/download $

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