Skip to content
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

Subscriber count bug #9681

Closed
6 tasks done
sefadolunay opened this issue Jan 14, 2023 · 1 comment
Closed
6 tasks done

Subscriber count bug #9681

sefadolunay opened this issue Jan 14, 2023 · 1 comment
Labels
duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them)

Comments

@sefadolunay
Copy link

sefadolunay commented Jan 14, 2023

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.24.1

Steps to reproduce the bug

  1. Go to Search Bar
  2. Write lady gaga and press enter
  3. See the error notification at the bottom of search page which says "Sorry, something went wrong"

Expected behavior

No response

Actual behavior

No response

Screenshots/Screen recordings

sub_count_error

Logs

Exception

  • User Action: searched
  • Request: lady gaga
  • Content Country: TR
  • Content Language: tr
  • App Language: en_US
  • Service: YouTube
  • Version: 0.24.1
  • OS: Linux Android 12 - 31
Crash log

org.schabi.newpipe.extractor.exceptions.ParsingException: Could not get subscriber count
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeChannelInfoItemExtractor.getSubscriberCount(YoutubeChannelInfoItemExtractor.java:84)
at org.schabi.newpipe.extractor.channel.ChannelInfoItemsCollector.extract(ChannelInfoItemsCollector.java:40)
at org.schabi.newpipe.extractor.MultiInfoItemsCollector.extract(MultiInfoItemsCollector.java:84)
at org.schabi.newpipe.extractor.MultiInfoItemsCollector.extract(MultiInfoItemsCollector.java:48)
at org.schabi.newpipe.extractor.InfoItemsCollector.commit(InfoItemsCollector.java:104)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeSearchExtractor.collectStreamsFrom(YoutubeSearchExtractor.java:226)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeSearchExtractor.getInitialPage(YoutubeSearchExtractor.java:162)
at org.schabi.newpipe.extractor.utils.ExtractorHelper.getItemsPageOrLogError(ExtractorHelper.java:21)
at org.schabi.newpipe.extractor.search.SearchInfo.getInfo(SearchInfo.java:69)
at org.schabi.newpipe.extractor.search.SearchInfo.getInfo(SearchInfo.java:37)
at org.schabi.newpipe.util.ExtractorHelper.lambda$searchFor$0(ExtractorHelper.java:82)
at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$qyxpuXgomWa-cbONQns-pd7zxm0(Unknown Source:0)
at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda6.call(Unknown Source:8)
at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:644)
at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
Caused by: org.schabi.newpipe.extractor.utils.Parser$RegexException: Failed to find pattern "([\d]+([.,][\d]+)?)" inside of "@LadyGaga"
at org.schabi.newpipe.extractor.utils.Parser.matchGroup(Parser.java:78)
at org.schabi.newpipe.extractor.utils.Parser.matchGroup(Parser.java:63)
at org.schabi.newpipe.extractor.utils.Parser.matchGroup1(Parser.java:52)
at org.schabi.newpipe.extractor.utils.Utils.mixedNumberWordToLong(Utils.java:79)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeChannelInfoItemExtractor.getSubscriberCount(YoutubeChannelInfoItemExtractor.java:81)
... 23 more


Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

No response

@sefadolunay sefadolunay added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Jan 14, 2023
@SameenAhnaf
Copy link
Collaborator

Fixed by #9173 and expected to be added in next release.

@SameenAhnaf SameenAhnaf added template ignored The user didn't follow the template/instructions (or removed them) duplicate Issue or discussion is a duplicate of an existing issue or discussion and removed bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them)
Projects
None yet
Development

No branches or pull requests

2 participants