Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

invalid literal for int() with base 10: when trying to add xstream provider

Open
#348 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
desktop

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/hypnotix

All issues in linuxmint/hypnotix

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.