[GH-ISSUE #71] Traceback (most recent call last): File "whapa-gui.py", line 1049, in <module> Whapa(img_folder, icons) File "whapa-gui.py", line 521, in __init__ update = (request.text.split('itemprop="about">')[1]).split("</span>")[0].stri… #65

Closed
opened 2026-02-25 20:34:34 +03:00 by kerem · 8 comments
Owner

Originally created by @joseruiloba on GitHub (Oct 18, 2020).
Original GitHub issue: https://github.com/B16f00t/whapa/issues/71

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
error

Originally created by @joseruiloba on GitHub (Oct 18, 2020). Original GitHub issue: https://github.com/B16f00t/whapa/issues/71 Hi guys: Im receiving the following error: Traceback (most recent call last): File "whapa-gui.py", line 1049, in <module> Whapa(img_folder, icons) File "whapa-gui.py", line 521, in __init__ update = (request.text.split('itemprop="about">')[1]).split("</span>")[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 <module> File "whapa-gui.py", line 521, in __init__ #59 Thanks in Advance. JR ![error](https://user-images.githubusercontent.com/10384984/96359274-97c13700-10d6-11eb-8cdf-8e2e5016cb7f.JPG)
kerem closed this issue 2026-02-25 20:34:34 +03:00
Author
Owner

@faliscotec commented on GitHub (Oct 22, 2020):

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

<!-- gh-comment-id:714364304 --> @faliscotec commented on GitHub (Oct 22, 2020): 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
Author
Owner

@joseruiloba commented on GitHub (Oct 22, 2020):

You are the best... it runs right away after the update. I really appreciate it.

whapa

<!-- gh-comment-id:714499974 --> @joseruiloba commented on GitHub (Oct 22, 2020): You are the best... it runs right away after the update. I really appreciate it. ![whapa](https://user-images.githubusercontent.com/10384984/96879615-e0b01d00-1441-11eb-8ce2-7b4738d7781f.JPG)
Author
Owner

@joseruiloba commented on GitHub (Oct 22, 2020):

Works perfectly now... thanks for the support.

<!-- gh-comment-id:714501179 --> @joseruiloba commented on GitHub (Oct 22, 2020): Works perfectly now... thanks for the support.
Author
Owner

@joseruiloba commented on GitHub (Oct 22, 2020):

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
.

<!-- gh-comment-id:714564573 --> @joseruiloba commented on GitHub (Oct 22, 2020): 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> > . >
Author
Owner

@faliscotec commented on GitHub (Oct 23, 2020):

I'm glad it helped you.

<!-- gh-comment-id:714920052 --> @faliscotec commented on GitHub (Oct 23, 2020): I'm glad it helped you.
Author
Owner

@B16f00t commented on GitHub (Oct 25, 2020):

Your problems are that you are using old versions of whapa, upgrade to the latest version.

<!-- gh-comment-id:716112099 --> @B16f00t commented on GitHub (Oct 25, 2020): Your problems are that you are using old versions of whapa, upgrade to the latest version.
Author
Owner

@joseruiloba commented on GitHub (Oct 25, 2020):

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
.

<!-- gh-comment-id:716211270 --> @joseruiloba commented on GitHub (Oct 25, 2020): 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> > . >
Author
Owner

@B16f00t commented on GitHub (Oct 25, 2020):

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.

<!-- gh-comment-id:716218154 --> @B16f00t commented on GitHub (Oct 25, 2020): 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whapa#65
No description provided.