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

YouTube video text generation doesn't work on Android, but does work on Desktop with the same video. #175

Open
BlaisePx opened this issue Jun 21, 2023 · 0 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@BlaisePx
Copy link

When I am on Obsidian on Android, the text gen feature does not work. I used ADB to get to the console and this is the message I am getting:

plugin:obsidian-textgenerator-plugin:54914 Uncaught (in promise) Error: [YoutubeTranscript] 🚨 Error: Transcript is disabled on this video
at YoutubeTranscript.eval (plugin:obsidian-textgenerator-plugin:54914:15)
at Generator.next ()
at fulfilled (plugin:obsidian-textgenerator-plugin:65:24)
eval @ plugin:obsidian-textgenerator-plugin:54914
fulfilled @ plugin:obsidian-textgenerator-plugin:65
Promise.then (async)
step @ plugin:obsidian-textgenerator-plugin:77
eval @ plugin:obsidian-textgenerator-plugin:78
__async @ plugin:obsidian-textgenerator-plugin:62
handleConvertClick @ plugin:obsidian-textgenerator-plugin:55307
onClick @ plugin:obsidian-textgenerator-plugin:55347
callCallback2 @ plugin:obsidian-textgenerator-plugin:8508
invokeGuardedCallbackDev @ plugin:obsidian-textgenerator-plugin:8533
invokeGuardedCallback @ plugin:obsidian-textgenerator-plugin:8567
invokeGuardedCallbackAndCatchFirstError @ plugin:obsidian-textgenerator-plugin:8570
executeDispatch @ plugin:obsidian-textgenerator-plugin:11605
processDispatchQueueItemsInOrder @ plugin:obsidian-textgenerator-plugin:11625
processDispatchQueue @ plugin:obsidian-textgenerator-plugin:11634
dispatchEventsForPlugins @ plugin:obsidian-textgenerator-plugin:11642
eval @ plugin:obsidian-textgenerator-plugin:11766
batchedUpdates$1 @ plugin:obsidian-textgenerator-plugin:23238
batchedUpdates @ plugin:obsidian-textgenerator-plugin:8413
dispatchEventForPluginEventSystem @ plugin:obsidian-textgenerator-plugin:11765
dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay @ plugin:obsidian-textgenerator-plugin:10096
dispatchEvent @ plugin:obsidian-textgenerator-plugin:10090
dispatchDiscreteEvent @ plugin:obsidian-textgenerator-plugin:10067


Also, once I get that error, I am unable to use Text gen at all, getting this error:

plugin:obsidian-textgenerator-plugin:59084 TypeError: Cannot read properties of undefined (reading 'addEventListener')
at TextGenerator.eval (plugin:obsidian-textgenerator-plugin:57114:11)
at Generator.next ()
at fulfilled (plugin:obsidian-textgenerator-plugin:65:24)
eval @ plugin:obsidian-textgenerator-plugin:59084
eval @ plugin:obsidian-textgenerator-plugin:78
__async @ plugin:obsidian-textgenerator-plugin:62
handelError @ plugin:obsidian-textgenerator-plugin:59078
eval @ plugin:obsidian-textgenerator-plugin:59279
rejected @ plugin:obsidian-textgenerator-plugin:72
Promise.then (async)
step @ plugin:obsidian-textgenerator-plugin:77
eval @ plugin:obsidian-textgenerator-plugin:78
_async @ plugin:obsidian-textgenerator-plugin:62
editorCallback @ plugin:obsidian-textgenerator-plugin:59275
e.mobileOnly.jt.isMobile.e.checkCallback @ app.js:1
g
@ app.js:1
e.executeCommand @ app.js:1
e.executeCommandById @ app.js:1
(anonymous) @ app.js:1
plugin:obsidian-textgenerator-plugin:40007 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'basename')
at ParsedError2._parseTraceItem (plugin:obsidian-textgenerator-plugin:40007:26)
at ParsedError2._parseStack (plugin:obsidian-textgenerator-plugin:39943:37)
at ParsedError2._parse (plugin:obsidian-textgenerator-plugin:39924:18)
at new ParsedError2 (plugin:obsidian-textgenerator-plugin:39901:14)
at PrettyError3.getObject (plugin:obsidian-textgenerator-plugin:53430:15)
at PrettyError3.render (plugin:obsidian-textgenerator-plugin:53420:20)
at TextGeneratorPlugin.formatError (plugin:obsidian-textgenerator-plugin:59066:44)
at TextGeneratorPlugin.eval (plugin:obsidian-textgenerator-plugin:59087:58)
at Generator.next ()
at eval (plugin:obsidian-textgenerator-plugin:78:61)
ParsedError2._parseTraceItem @ plugin:obsidian-textgenerator-plugin:40007
ParsedError2._parseStack @ plugin:obsidian-textgenerator-plugin:39943
ParsedError2._parse @ plugin:obsidian-textgenerator-plugin:39924
ParsedError2 @ plugin:obsidian-textgenerator-plugin:39901
PrettyError3.getObject @ plugin:obsidian-textgenerator-plugin:53430
PrettyError3.render @ plugin:obsidian-textgenerator-plugin:53420
formatError @ plugin:obsidian-textgenerator-plugin:59066
eval @ plugin:obsidian-textgenerator-plugin:59087
eval @ plugin:obsidian-textgenerator-plugin:78
__async @ plugin:obsidian-textgenerator-plugin:62
handelError @ plugin:obsidian-textgenerator-plugin:59078
eval @ plugin:obsidian-textgenerator-plugin:59279
rejected @ plugin:obsidian-textgenerator-plugin:72
Promise.then (async)
step @ plugin:obsidian-textgenerator-plugin:77
eval @ plugin:obsidian-textgenerator-plugin:78
_async @ plugin:obsidian-textgenerator-plugin:62
editorCallback @ plugin:obsidian-textgenerator-plugin:59275
e.mobileOnly.jt.isMobile.e.checkCallback @ app.js:1
g
@ app.js:1
e.executeCommand @ app.js:1
e.executeCommandById @ app.js:1
(anonymous) @ app.js:1


and I cannot use Text gen again until I close and restart Obsidian app.

I am using LG Q7+, Android 9

@haouarihk haouarihk added bug Something isn't working wontfix This will not be worked on labels Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants