Comments (10)
@jcfr I'm sure the latest version dcmjs.js doesn't work on client side, Could you please check it? I try to git reset --hard b06a4b7d3a3237b7ccee69ee64fa348a52d4bb7a
, and then build it, the build dcmjs.js work well on client side.
from dcmjs.
from dcmjs.
We haven't updated the file on dcmjs.org. I suggest you use the one you generated locally.
…
On Sat, Dec 22, 2018, 4:13 PM ierye @.*** wrote: I download dcmjs project and run the below command then get the dcmjs.js file. dockcross-browser-asmjs cmake -Bdcmjs-build -H. -GNinja dockcross-browser-asmjs ninja -Cdcmjs-build https://github.com/commontk/dcmjs#building I run command node ./dcmjs.js dcmdump /working/test.dcm, it works very well. But when I replace the same file with the dcmjs.js file in dcmjs.org website project. It seems doesn't work on client side. Is there any wrong what I do or is it a bug? I tried it on macOS High Sierra 10.13.6 and Ubuntu 16.04 and Ubuntu 18.04, It has the same problem. When I test dump dicom, Chrome DevTools Terminal console warning and error information on the below: Assertion failed: undefined exception thrown: abort("Assertion failed: undefined") at Error abort @ dcmjs.js:23 assert @ dcmjs.js:1 mount @ dcmjs.js:1 mount @ dcmjs.js:1 (anonymous) @ dcmjs.js:1 _emscripten_asm_const_i @ dcmjs.js:1 Yc @ dcmjs.js:8 (anonymous) @ dcmjs.js:23 callMain @ dcmjs.js:23 dcmjs.utils.execute @ utils.js:97 dcmdump @ dump.js:24 (anonymous) @ utils.js:110 load (async) dcmjs.utils.readFile @ utils.js:109 readSelectedFiles @ dump.js:38 handleFileDrop @ dump.js:67 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#26>, or mute the thread https://github.com/notifications/unsubscribe-auth/AANXo8519GrvLMvGPB-TV5CxwDBBSK1Nks5u7kwYgaJpZM4ZfgX5 .
Thank you very much for your reply. I mean that the dcmjs.js file I generated doesn't work on client side when I import it into HTML file, but on the teminal it works very well with the node commands. Is it a bug or I'm wrong?
from dcmjs.
from dcmjs.
can confirm that the self compiled version does not work and produces error mentioned above.
using the version from https://github.com/commontk/dcmjs.org/tree/gh-pages/javascripts/libs works though.
from dcmjs.
I have the same problem. Has anyone solved it?
from dcmjs.
I have the same problem. Has anyone solved it?
try to git reset --hard b06a4b7, and then build it successfully.
from dcmjs.
To summarize:
- building
dcmjs.js
from current master (67f8ab2) works as expected - running dcmdump from command line using node works as expected
- updating https://github.com/commontk/dcmjs.org using this new version fails with the error reported above
- reverting update to
dcmjs.cpp.in
introduced in aca8139 allows to fix the issue
from dcmjs.
Closing. Fixed in 9fa8a9d
from dcmjs.
Version deployed on http://dcmjs.org has been updated as well. See commontk/dcmjs.org@e490706
from dcmjs.
Related Issues (20)
- can't build on mac - missing 'python2' executable HOT 1
- second invocation of make causes new things to build HOT 1
- Link to www.dcmjs.org in README.md is broken HOT 1
- Can't build on ubuntu 14.04 HOT 1
- File not found in node environment. HOT 7
- Build errors with libxml2 HOT 13
- libxml2 error on macOS HOT 5
- Build wasm module HOT 4
- Fix build with BUILD_dsr2xml_APP set to ON HOT 1
- How to use this in NodeJS? Using `require('./dcmjs/dcmjs')` is failing HOT 8
- Fix CMP0074 policy warning
- dcmsend can not open tcp connection HOT 2
- Build error for dcmj2pnm HOT 2
- Any on going work on this project? HOT 3
- Build fails on M1 Mac
- emscripten FS doc does not mention readdir
- gzip invalid option
- Re-factor demos onto a single page using boostrap
- conflict with dcmtk in /usr/local/lib - can't find libc.h HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcmjs.