mtiller / ModelicaBook

Source for my new Modelica Book
https://mbe.modelica.university
Other
97 stars 71 forks source link

Browser simulation fails in Google Chrome and Chromium #233

Closed xie-dongping closed 7 years ago

xie-dongping commented 9 years ago

It works with the firefox versions that we tested.

But simulation fails with both google chrome for windows and my chromium setup in ubuntu.

Chromium Version 41.0.2272.76 Ubuntu 14.04 (64-bit)

Error from

http://book.xogeny.com/behavior/functions/controller/

xogeny.js:14 Whee! let's simulate model SIL!
xogeny.js:17 Creating worker for script at /_static/js/SIL.js
xogeny.js:87 Firing message to worker
xogeny.js:27 Message from worker: 
xogeny.js:28 MessageEvent {ports: Array[0], data: Object, source: null, lastEventId: "", origin: ""…}
xogeny.js:34 Got preload message
xogeny.js:35 Starting simulation
xogeny.js:55 Run command sent to worker:
xogeny.js:56 Object {basename: "SIL", override: Object}
xogeny.js:59 Simulation status: undefined
jquery.csv-0.71.min.js:12 Uncaught TypeError: Cannot read property 'replace' of undefinedjquery.csv-0.71.min.js:12 $.csv.parsers.parsejquery.csv-0.71.min.js:63 $.csv.toArraysxogeny.js:60 (anonymous function)
xogeny.js:27 Message from worker: 
xogeny.js:28 MessageEvent {ports: Array[0], data: Object, source: null, lastEventId: "", origin: ""…}
xogeny.js:59 Simulation status: Simulation finished
dietmarw commented 9 years ago

I can confirm that this problem also exists with Google Chrome Version 42.0.2311.60 beta (64-bit) on Ubuntu 14.10.

tbeu commented 9 years ago

This issue label can be set to Browser simulation.

dietmarw commented 8 years ago

Just tested on Chrome for linux: Version 49.0.2623.87 (64-bit) and it works fine. @xie-dongping could you check if this issue still exists?

pierre-haessig commented 7 years ago

I've tested the Lotka-Volterra System with Chromium 59 under Debian 9 (Stretch). It works fine.

Since the first report is 2.5 years old and because all browsers have been changing much since that, I recommend closing this issue.

dietmarw commented 7 years ago

Agreed, also tested it on Ubuntu 16.04 and 17.10 (chromium, firefox) and not issue. @xie-dongping fine to close?

xie-dongping commented 7 years ago

Thanks @pierre-haessig @dietmarw for coming back to the issue :+1: