-
Notifications
You must be signed in to change notification settings - Fork 23
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
IndexError #14
Comments
Hey, what addon do you try to add? |
please try again with the current commits pulled. |
btw. if you find anything not translated correctly, I would be glad to get a proper translation for en_US LANG. |
Thanks for the reply. As of now I get this: WARNING: gui translation file could not be found: /home/greg/Downloads/lcurse-master/translations/en_US.qm I am by no means a py expert. What I've tried thus far is changing waitdlg.py line 300 to: Thought the curse site may have changed their URL scheme, but I still get the same errors. It looks like (at least to me) that something is not initialized right in line 304 of waitdlg.py but I don't have the knowledge to fix it. Thanks again. |
You didn't pull the latest changes, isn't it? |
Sorry for the late reply, that was with the changes. |
It doesn't work for me either, using the latest GIT. This is what I get under Ubuntu 16.04:
|
sorry my bad. Did forget one file to add to the commit. Please pull and try again. Thanks! |
Looks like things are working now. I did add a small sleep delay into your function in waitdlg.py
The workers were requesting so fast it was causing urllib to timeout from too many connections left open. I believe this is an issue with my ISP rather than with your code. Thank you for getting lcurse working again! |
Now it works here too. Thanks! |
This looks like a great script, but I can't get it to run "Update Catalog" without either crashing or perpetually displaying the load bar associated with said function. Python3 with pyqt5 is installed.
Bash spits out these errors:
WARNING: gui translation file could not be found: /opt/lcurse/translations/en_US.qm
Traceback (most recent call last):
File "/opt/lcurse/modules/waitdlg.py", line 252, in run
self.retrieveListOfAddons()
File "/opt/lcurse/modules/waitdlg.py", line 242, in retrieveListOfAddons
lastpage = self.retrievePartialListOfAddons(page)
File "/opt/lcurse/modules/waitdlg.py", line 225, in retrievePartialListOfAddons
lastpage = self.parsePager(pager[0].string)
IndexError: list index out of range
Traceback (most recent call last):
File "/opt/lcurse/modules/application.py", line 319, in addAddon
url = [ item[1] for item in self.availableAddons if item[0] == name ][0]
The text was updated successfully, but these errors were encountered: