JDownloader Community - Appwork GmbH
 

Go Back   JDownloader Community - Appwork GmbH > International Support > JDownloader 2
Reply
 
Thread Tools Display Modes
  #1  
Old 14.10.2019, 17:09
mogs
Guest
 
Posts: n/a
Default [Event Scripter] - XML runtime not available (#4)

Hello,

I am trying to create a event script, but when I try to "Test Compile" or "Test Run", I get a "An Error Occured" pop up message box that says "XML runtime not available (#4)".

Can someone please tell me how I can fix this?

Thank you.
Reply With Quote
  #2  
Old 14.10.2019, 18:01
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,563
Default

JDownloader only provides very limited JS environment/runtime. XML is definitely not supported.
You've got to open the xml as String and use Regex/Pattern for parsing
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 14.10.2019, 18:17
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,553
Default

Quote:
Originally Posted by mogs View Post
I am trying to create a event script, but when I try to "Test Compile" or "Test Run", I get a "An Error Occured" pop up message box that says "XML runtime not available (#4)".
Check the syntax. Usually caused when 2 dots are used where only 1 should be present.

For e.g. if you type link..getName() instead of link.getName();

We can also check your code if you post it here.
Reply With Quote
  #4  
Old 14.10.2019, 18:37
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,563
Default

@mgpai: Thanks for the hint, didn't know that
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 14:34.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.