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

Script failed! ToonamiX #1

Open
artsyalexw opened this issue Feb 13, 2025 · 4 comments
Open

Script failed! ToonamiX #1

artsyalexw opened this issue Feb 13, 2025 · 4 comments

Comments

@artsyalexw
Copy link

I'm unable to get the plugin to open in XBMC4Xbox. When I try to open it I get a "Script failed! Toonami X" error in the bottom right.

@faithvoid
Copy link
Owner

faithvoid commented Feb 13, 2025

Hey, thanks for opening an issue! I've had this happen once or twice on my end, I think it has something to do with the scheduling feature being unable to parse certain characters correctly. Can you let me know what version of XBMC you're on, and FTP into your Xbox after running the script, grab "xbmc.log" from Q:/ and either upload it or send the relevant portion to the script crashing?

I'll take a look at it once I have some free time this week or next, but for now, version 1.0 should still work fine!

@artsyalexw
Copy link
Author

Thanks! I'm on XBMC4Xbox 3.5.3-r33027

12:51:53 M: 41443328 WARNING: CUtil::GetMatchingSource... no matching source found for [Plugins]
12:51:55 M: 37310464 WARNING: JpegIO: Error 55: Not a JPEG file: starts with 0x%02x 0x%02x
12:51:56 M: 36876288 ERROR: Unable to load: special://home/plugins/video/ToonamiX/resources/settings.xml, Line 0
Failed to open file
12:51:57 M: 32141312 NOTICE: -->Python Initialized<--
12:51:58 M: 28770304 ERROR: Error Type: <type 'exceptions.ImportError'>
12:51:58 M: 28770304 ERROR: Error Contents: No module named requests
12:51:58 M: 28770304 ERROR: Traceback (most recent call last):
File "Q:\plugins\video\ToonamiX\default.py", line 11, in
import requests
ImportError: No module named requests
12:51:58 M: 36167680 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://video/ToonamiX/
12:51:58 M: 36167680 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/ToonamiX/) failed

@artsyalexw
Copy link
Author

artsyalexw commented Feb 13, 2025

FYI I have the same issue with 1.0

I tried manually adding these modules but I'm getting error after error. I'm assuming I'm missing something that should be installing these dependencies?

@faithvoid
Copy link
Owner

Oops, I think I see what the issue is. This script can probably only run on XBMC 3.6-DEV-r33046 or above (this may also work on the version of XBMC 3.6 that comes with the Rocky5 softmod utility but I haven't tested) as that version of XBMC has the necessary SSL/TLS & plugin changes to work with newer websites. I only just now realized I never stated that in the readme, and only on a forum post somewhere, that's on me, my bad! 3.6-DEV-r33046 is apparently on xbins somewhere, but if not, leave a way to reach out to you and I'll get you set up.

If upgrading is a hassle, there are links floating around on Reddit with the .m3u8 streams for each individual TA server which you can save to your Xbox and run instead that should just work without any SSL issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants