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

Does not run under msdos & derivatives (like MS windows) #5

Closed
sverweij opened this issue Dec 21, 2015 · 2 comments · Fixed by #19
Closed

Does not run under msdos & derivatives (like MS windows) #5

sverweij opened this issue Dec 21, 2015 · 2 comments · Fixed by #19

Comments

@sverweij
Copy link
Member

sverweij commented Dec 21, 2015

Only under msdos derivatives (like MS Windows 7, Windows 8, Windows 10):

  • transformations to pictures (svg, png, jpeg) fail (error below - phantomjs related) e.g.
    bin/mscgen_js samples/coolchart.mscgen shows an error from requirejs complaining it
    cannot find the mscgenjs package - this is the requirejs in the page called from phantomjs...
  • all other commands work 👍 - but these don't use phantomjs. Or requirejs ...
  • The error does not occur on linux/ unix/ macos

(the error that appeared until applying for #14 was worse):

  Error:
  Command failed: E:\dev\node_modules\mscgenjs-cli\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe E:\dev\node_modules\mscgenjs-cli\src\cli-phantom-vector.js E:\dev\node_modules\mscgenjs-cli\src\cli-phantom.html {"precomment":["# Alice & Bob classics: public key encryption","\r","\n"],"meta":{"extendedOptions":false,"extendedArcTypes":false,"extendedFeatures":false},"options":{"hscale":"1.4","wordwraparcs":"true"},"entities":[{"name":"Alice","linecolor":"#00A1DE","textcolor":"white","textbgcolor":"#00A1DE","arclinecolor":"#00A1DE","arctextcolor":"white"},{"name":"Bob","linecolor":"#00A1DE","textcolor":"white","textbgcolor":"#00A1DE","arclinecolor":"#00A1DE","arctextcolor":"white"},{"name":"notes","label":" ","linecolor":"transparent"}],"arcs":[[{"kind":"=>","from":"Alice","to":"Alice","label":"sign message with own private key","linecolor":"#005B82","textcolor":"#005B82"}],[{"kind":"=>","from":"Alice","to":"Bob","label":"signed message","linecolor":"#005B82","textcolor":"#005B82"},{"kind":"note","from":"notes","to":"notes","label":"This is just a sample chart with a (high level) illustration of public key encryption.","linecolor":"white","textcolor":"white","textbgcolor":"#E77B2F"}],[{"kind":"=>","from":"Bob","to":"Alice","label":"get Alice her public key","linecolor":"#005B82","textcolor":"#005B82"}],[{"kind":">>","from":"Alice","to":"Bob","label":"Alices' public key","linecolor":"#005B82","textcolor":"#005B82"}],[{"kind":"=>","from":"Bob","to":"Bob","label":"verify message with Alices' public key","linecolor":"#005B82","textcolor":"#005B82"}]]} svg ..\node_modules\mscgenjs ..\node_modules\requirejs\require.js
Fatal Windows exception, code 0xc0000005.
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.

Some duckduckgoing suggests 0xc0000005.is an error that is related to denial of access to a resource (e.g. memory, device, file, ...).

@sverweij
Copy link
Member Author

Relation to #14 ?

@sverweij
Copy link
Member Author

sverweij commented Jul 17, 2016

Status: since #14 (& 4322363 ...) above error is gone. The cli still doesn't work for graphics, however. require.js now complains that it cannot find the mscgenjs package - which sounds promissing.

sverweij added a commit that referenced this issue Aug 4, 2016
@sverweij sverweij changed the title Does not run under msdos & derivatives Does not run under msdos & derivatives (like MS windows) Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant