Closed joseruiloba closed 3 years ago
Hi,
I had the same error but found the solution.
As the error says, in line 521, there is an error when checking the version. I think it's because the page https://github.com/B16f00t/whapa has changed and the text "itemprop="about">" doesn't exist now.
My solution is to comment these two lines (521 and 522) adding # at the beginning of each line, save the file and run it again with no problems:
request = requests.get("https://github.com/B16f00t/whapa")
#update = (request.text.split('itemprop="about">')[1]).split("</span>")[0].strip("\n ")
#current_version = "{} v{}".format(title, version)"""
#if update != current_version:
# messagebox.showinfo("Update", "New version available\n{}".format(update))
# webbrowser.open_new_tab("https://github.com/B16f00t/whapa")
Hope it helps
You are the best... it runs right away after the update. I really appreciate it.
Works perfectly now... thanks for the support.
I really appreciate the support, Falisco.
Great help dude, Thanks.
Regards,
J. Ruiloba
On Thu, Oct 22, 2020 at 4:32 AM falisco notifications@github.com wrote:
Hi,
I had the same error but found the solution.
As the error says, in line 521, there is an error when checking the version. I think it's because the page https://github.com/B16f00t/whapa has changed and the text "itemprop="about">" doesn't exist now.
My solution is to comment these two lines (521 and 522) adding # at the beginning of each line, save the file and run it again with no problems:
request = requests.get("https://github.com/B16f00t/whapa") #update = (request.text.split('itemprop="about">')[1]).split("</span>")[0].strip("\n ") #current_version = "{} v{}".format(title, version)""" #if update != current_version: # messagebox.showinfo("Update", "New version available\n{}".format(update)) # webbrowser.open_new_tab("https://github.com/B16f00t/whapa")
Hope it helps
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/B16f00t/whapa/issues/71#issuecomment-714364304, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPHMWAQAROY55ZE3OV5BM3SL734NANCNFSM4SU2YLMA .
I'm glad it helped you.
Your problems are that you are using old versions of whapa, upgrade to the latest version.
Actually I downloaded the last version for the Github repository, I don't know if there any other link that guide you to a different version.
Regards,
J. R.
On Sun, Oct 25, 2020 at 3:33 AM Ivan Moreno notifications@github.com wrote:
Your problems are that you are using old versions of whapa, upgrade to the latest version.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/B16f00t/whapa/issues/71#issuecomment-716112099, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPHMWAZ6UTK66N67BT65JDSMPPHJANCNFSM4SU2YLMA .
The picture show a old version. The latest version is 1.21
Sent from my iPhone
On 25 Oct 2020, at 22:00, joseruiloba notifications@github.com wrote:
Actually I downloaded the last version for the Github repository, I don't know if there any other link that guide you to a different version.
Regards,
J. R.
On Sun, Oct 25, 2020 at 3:33 AM Ivan Moreno notifications@github.com wrote:
Your problems are that you are using old versions of whapa, upgrade to the latest version.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/B16f00t/whapa/issues/71#issuecomment-716112099, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPHMWAZ6UTK66N67BT65JDSMPPHJANCNFSM4SU2YLMA .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi guys:
Im receiving the following error: Traceback (most recent call last): File "whapa-gui.py", line 1049, in
Whapa(img_folder, icons)
File "whapa-gui.py", line 521, in init
update = (request.text.split('itemprop="about">')[1]).split("")[0].strip("\n ")
IndexError: list index out of range
I tried with the python version 3.7.9 (32 and 64 bits), believing that could be the python version 3.8.6 and 3.9.0 (32 and 64 as well) and in all the times I tried to run it, I got the same error. I believe 3 months ago I used the tool with the version 3.8.6 and works perfectly, now I not sure what I'm doing wrong, I will apreciate your support with this.
Verifiying previous issues apparently is the same problem from issues: Issue with opening the program #58 Error when I try to open Whapa.py #57 File "whapa-gui.py", line 1049, in File "whapa-gui.py", line 521, in init #59
Thanks in Advance.
JR