akun.register Posted December 9, 2014 Share Posted December 9, 2014 I am using jasper server pro evaluation version 6.0.0 for Proof of Concept purpose about Visualize.jsI just follow visualizejs-getting-started tutorial and here is my fiddle code.But no luck, I got an error below:Error on Chrome Uncaught SyntaxError: Invalid regular expression: /[À-ß][€-¿]|[à -ï][€-¿]{2}|[ð-÷][€-¿]{3}/: Range out of order in character classjasper1.html:13 Uncaught ReferenceError: visualize is not defined Error on Firefox: SyntaxError: invalid range in character class ...):h(e)},f=function(e){return p(e,!0)},m=new RegExp(["[À-ß][€-¿]","[à -ï][€...visualize.js (line 72, col 27353)ReferenceError: visualize is not defined visualize({ Please help, I'm stuck. Thanks. Link to comment Share on other sites More sharing options...
nthapa Posted December 12, 2014 Share Posted December 12, 2014 The fiddle code worked for me. Could you make sure your installation works properly and you have JRS properly set up? Link to comment Share on other sites More sharing options...
apekshith.ramesha Posted December 15, 2014 Share Posted December 15, 2014 I have the same issue. Im able to get the server up and running and also upload few reports and run them on the server. but when i try to run the fiddle, there seems to be a problem with the js file. I'm not able to confirm with the v5.6 as there is no commercial version of the JRS trial available on the website. Link to comment Share on other sites More sharing options...
apekshith.ramesha Posted December 15, 2014 Share Posted December 15, 2014 I found the solution for the issue. It seems that thre is a regex issue with the "m=new RegExp(["[À-ß][€-¿]","[à -ï][€...". I played around with the regex and able to get it to work. For now im using m = new RegExp(["[Àß-][¿-]", "[àï-][¿-]{2}", "[ð÷-][¿-]{2}"].join("|"), "g"), . This might not be the intended regex. But far now it seems to work. Link to comment Share on other sites More sharing options...
mcota_1 Posted January 5, 2015 Share Posted January 5, 2015 Please update the script src with ?_opt=falsesee jsfiddle example:http://jsfiddle.net/qw35fmys/4/script src=http://localhost:8080/jasperserver-pro/client/visualize.js?_opt=false Link to comment Share on other sites More sharing options...
jonasingvar Posted March 19, 2015 Share Posted March 19, 2015 It looks like using the minimized version of visualize.js is completely broken. The only way to get it to work is by setting ?_opt=falseSetting _opt=true puts all the javascript files into 1 minified file instead of downloading all files individually.I really hope they fix this, because the unminified version is incrediable slow to load. Link to comment Share on other sites More sharing options...
ghudson_1 Posted March 20, 2015 Share Posted March 20, 2015 If you have a pro version, a hotfix resolves this via the cumulative patch for 6.0. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now