xeonsim / opensea-upload-with-recaptcha-solution

updated opensea uploading solution with recaptcha pass
25 stars 12 forks source link

meta data error #1

Open YoungbinHa opened 2 years ago

YoungbinHa commented 2 years ago

Hi, I'm using the metadata one here.

But, I got the error below when it fills meta data. It successfully adds the first metadata attributes, but when it adds second one, the program stops.

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//tbody[@class="AssetTraitsForm--body"]/tr[last()]/td[1]/div/div/input"}

xeonsim commented 2 years ago

Can you tell me witch line it is?

YoungbinHa commented 2 years ago

Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\young\anaconda3\lib\tkinter__init.py", line 1892, in call__ return self.func(*args) File "uploadopensea_metadata.py", line 387, in main_program_loop input1 = driver.find_element_by_xpath('//tbody[@class="AssetTraitsForm--body"]/tr[last()]/td[1]/div/div/input') File "C:\Users\young\anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 394, in find_element_by_xpath return self.find_element(by=By.XPATH, value=xpath) File "C:\Users\young\anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 976, in find_element return self.execute(Command.FIND_ELEMENT, { File "C:\Users\young\anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute self.error_handler.check_response(response) File "C:\Users\young\anaconda3\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace) selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//tbody[@class="AssetTraitsForm--body"]/tr[last()]/td[1]/div/div/input"} (Session info: chrome=98.0.4758.102)

seems it comes from 387

xeonsim commented 2 years ago

I have updated some codes vanyou try and contact me and tell if it works

YoungbinHa commented 2 years ago

Just check that out, and I got new error when I run python uploadopensea_metadata.py.

File "uploadopensea_metadata.py", line 397 driver.find_element_by_xpath('//button[text()="Save"]').click() ^ IndentationError: unindent does not match any outer indentation level

xeonsim commented 2 years ago

It is previous version now it is changed

xeonsim commented 2 years ago

Does it fill metadata well now?

YoungbinHa commented 2 years ago

Now I got weird error. Seems it is not the code prob I guess. When I download metamask on the program, I got error "Download interrupted" and not able to add extension which is weird. I will figure it out myself and try it tmmr. Thanks man.

kaikecloss commented 2 years ago

guys I'm still having this problem

Hi, I'm using the metadata one here.

But, I got the error below when it fills meta data. It successfully adds the first metadata attributes, but when it adds second one, the program stops.

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//tbody[@Class="AssetTraitsForm--body"]/tr[last()]/td[1]/div/div/input"}

guys I'm still having this problem. How can I solve this?