invalid literal for int() with base 10: when trying to add xstream provider
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start in /usr/lib/hypnotix/xtream.py around line 636, where load_iptv processes stream_channel["category_id"], and inspect the xstream provider data involved in the traceback. Reproduce with the reported provider if possible; done means loading the provider no longer crashes on the reported empty value and the existing channel information remains usable.
Written by the indexing model from the issue text.
Description
Hi, I added my xstream provider with username and password.
It takes forever and nothing is happening.
I use arch linux and got hypnotix from AUR with yay. (v.4.6)
When I start hypnotix from terminal, it shows me how it shows me a series of successful Getting, Checking, Creating Channel list etc. And also shows the correct amount of Live Groups and VOD Streams etc. But then I get this error:
invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "/usr/lib/hypnotix/hypnotix.py", line 1599, in reload
self.x.load_iptv()
File "/usr/lib/hypnotix/xtream.py", line 636, in load_iptv
the_group = next(
^^^^^
File "/usr/lib/hypnotix/xtream.py", line 637, in <genexpr>
(x for x in self.groups if x.group_id == int(stream_channel["category_id"])),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 243
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxmint/hypnotix
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
All issues in linuxmint/hypnotix
Similar issues
-
New InternshipOpennew_internship
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
[BUG] Reports tab: "Unban" button tooltip shows raw `{{ip}}` placeholder instead of the IP addressOpenbug javascript ui
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bunkerity/bunkerweb#4001 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
PedestrianDynamics/pyFDS-Evac#476 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
google/differential-privacy#516 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
adobe-fonts/source-serif#153 ·