New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List index out of range #90
Comments
I would like to suggest that you try and format the error message better. i.e. use: ``` PS: I'd love to help, If this issue is still open I would like to take it up |
Thanks for your response. So, this is the whole error message, I think:
I think it gives an error on the data from the Excel file, but I checked it twice. The input is a boolean: [False]. |
I believe the error shows the problem is with line 170 in
Could you please tell me what
Also, there is no checking for the length of Also, the It's best to implement checking of the data extracted from the |
Send me an excerpt of your file
eval method is not bad when using correctly |
If you can, please do send the format for the |
Oke, see the file below: |
You file path is incorrect, change the "" with "\" or "/". |
I will add in a next update some changes concerning the Structure class, many people get errors because they do not follow the README file :/ |
True, but it's best to assume the worst from the end-user, isn't it?. Clean and organized code is good code 😄 Knowing this may save us the effort of implementing a useless class if the data is always in the same format. If this is the case, it's best to just implement the checking. |
When I want to start the script, it now gives another error:
I have the most up-to-date chrome driver. Visual code gives this message: Import "webdriver_manager.chrome" could not be resolved. Does someone know what is going wrong? |
|
Hello,
It appears that the uploading does not work properly. Some time ago, the test worked.
Now I want to upload the NFT's, but I get the following error:
Traceback (most recent call last): File "D:\Users\Emiel Maters\Downloads\opensea-automatic-bulk-upload-and-sale-master(1)\opensea-automatic-bulk-upload-and-sale-master\main.py", line 716, in <module> structure.get_data(nft_number) # Structure the data of the NFT. File "D:\Users\Emiel Maters\Downloads\opensea-automatic-bulk-upload-and-sale-master(1)\opensea-automatic-bulk-upload-and-sale-master\main.py", line 103, in get_data eval('self.structure_' + self.extension + '()') File "<string>", line 1, in <module> File "D:\Users\Emiel Maters\Downloads\opensea-automatic-bulk-upload-and-sale-master(1)\opensea-automatic-bulk-upload-and-sale-master\main.py", line 122, in structure_xlsx self.structure_data([ File "D:\Users\Emiel Maters\Downloads\opensea-automatic-bulk-upload-and-sale-master(1)\opensea-automatic-bulk-upload-and-sale-master\main.py", line 170, in structure_data self.unlockable_content: list or bool = nft_data[8] # [bool, str]. IndexError: list index out of range PS D:\Users\Emiel Maters\Downloads\opensea-automatic-bulk-upload-and-sale-master(1)\opensea-automatic-bulk-upload-and-sale-master>
I can't find what occurs the error. The excel file seems fine, I used [False] as argument.
Kind regards,
Emiel
The text was updated successfully, but these errors were encountered: