Giter Site home page Giter Site logo

koepsell / orthanc Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 3.07 MB

Automatically exported from code.google.com/p/orthanc

License: GNU General Public License v3.0

CMake 3.53% C++ 75.41% C 10.02% Shell 0.09% CSS 0.31% HTML 0.62% JavaScript 7.57% Python 2.18% Lua 0.27%

orthanc's People

Contributors

jodogne avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

bigclouds

orthanc's Issues

Help with Arch Linux Compile

Hello and thanks for orthanc.

All but one dependent packages are present in Arch Linux repositories.
##  Core Repos
zlib lua libpng gtest curl google-glog sqlite jsoncpp
##  AUR Repo (User)
plustache mongoose libiconv dcmtk 

The missing dep is pugixml

What would be the command to dynamic compile all except pugixml?
With all deps installed except pugixml, the following command

cmake -DSTATIC_BUILD:BOOL=OFF -DCMAKE_BUILD_TYPE=Release

generates an error:

"Determining if the function mg_start exists in the mongoose failed."

Is this in conection to systemd? Under Arch, mongoose is launched by 
/usr/lib/systemd/system/mongoose.service

Logs are here:
http://codepad.org/oWM0pPR7

Summary
1.What would be the command to dynamic compile all except pugixml?
2.How to fix the mg_start problem.

best wishes


Original issue reported on code.google.com by [email protected] on 20 Oct 2014 at 7:11

AET with underscore crashes HTTP interface

What steps will reproduce the problem?
1. In config, edit AET to include underscore, ie:  "DicomAet" : "blah_blah",


What is the expected output? What do you see instead?

Google chrome error: This webpage is not available


What version of the product are you using? On what operating system?

Orthanc 0.8.5
Win 7, 64-bit


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 2 Dec 2014 at 3:28

WebView plugin does not show jpeg picture from my own created DICOM file

What steps will reproduce the problem?
1.Upload attached dicom file
2.Go to patients
3.Try to see the image with WebView plugin

What is the expected output? What do you see instead?
Picture fith radial segment, that I can see in Osirix viewer

What version of the product are you using? On what operating system?
0.8.5, 0.8.6
Fedora 21 Server, x86_64

Please provide any additional information below.
WebView plugin shows all others pictures from osirix samples, but not mine. I 
think that my dicom file has some issues in structure, but It can be seen 
without any problem by any other DICOM viewer.

Original issue reported on code.google.com by [email protected] on 2 Mar 2015 at 10:30

Attachments:

Building error while LinuxCompilation

What steps will reproduce the problem?
1.cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Debug ~/Orthanc
2.make


What do you see instead?
[  2%] Building CXX object 
CMakeFiles/CoreLibrary.dir/boost_1_54_0/libs/thread/src/pthread/once.cpp.o
In file included from 
/home/kostya/downloads/Orthanc-0.7.3/OrthancBuild/boost_1_54_0/boost/atomic.hpp:
12:0,
                 from /home/kostya/downloads/Orthanc-0.7.3/OrthancBuild/boost_1_54_0/boost/thread/pthread/once_atomic.hpp:20,
                 from /home/kostya/downloads/Orthanc-0.7.3/OrthancBuild/boost_1_54_0/boost/thread/once.hpp:20,
                 from /home/kostya/downloads/Orthanc-0.7.3/OrthancBuild/boost_1_54_0/libs/thread/src/pthread/./once_atomic.cpp:9,
                 from /home/kostya/downloads/Orthanc-0.7.3/OrthancBuild/boost_1_54_0/libs/thread/src/pthread/once.cpp:8:
/home/kostya/downloads/Orthanc-0.7.3/OrthancBuild/boost_1_54_0/boost/atomic/atom
ic.hpp:202:16: error: 'uintptr_t' was not declared in this scope
 typedef atomic<uintptr_t> atomic_uintptr_t;
                ^
/home/kostya/downloads/Orthanc-0.7.3/OrthancBuild/boost_1_54_0/boost/atomic/atom
ic.hpp:202:25: error: template argument 1 is invalid
 typedef atomic<uintptr_t> atomic_uintptr_t;
                         ^
/home/kostya/downloads/Orthanc-0.7.3/OrthancBuild/boost_1_54_0/boost/atomic/atom
ic.hpp:202:43: error: invalid type in declaration before ';' token
 typedef atomic<uintptr_t> atomic_uintptr_t;
                                           ^
CMakeFiles/CoreLibrary.dir/build.make:141: recipe for target 
'CMakeFiles/CoreLibrary.dir/boost_1_54_0/libs/thread/src/pthread/once.cpp.o' 
failed
make[2]: *** 
[CMakeFiles/CoreLibrary.dir/boost_1_54_0/libs/thread/src/pthread/once.cpp.o] 
Error 1
CMakeFiles/Makefile2:64: recipe for target 'CMakeFiles/CoreLibrary.dir/all' 
failed
make[1]: *** [CMakeFiles/CoreLibrary.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2


What version of the product are you using? On what operating system?
cmake version 2.8.12.2
GNU Make 4.0
Archlinux 64bit




Original issue reported on code.google.com by [email protected] on 3 Apr 2014 at 3:54

Permission denied: "WebViewerCache" when running init script

I am trying to automatically run Orthanc on boot with the webviewer plugin 
installed.

When trying to install the orthanc.init script for debian as described in the 
file, There is no error returned, but Orthanc does not start. Orthanc.ERROR log 
shows:

boost::filesystem::create_directory: Permission denied: "WebViewerCache"

The Orthanc user in the script is correctly configured for my system 
(ORTHANC_USER=ubuntu:ubuntu)

Orthanc runs without problems if invoked directly with that user, using:

./OrthancBuild/Orthanc ~/Configuration.json

The directory when created by running Orthanc directly has all permissions set 
for my user.

Original issue reported on code.google.com by [email protected] on 22 Apr 2015 at 3:56

Ubuntu 12.04 libgoogle-glog-dev package removed from repo

What steps will reproduce the problem?
1. Download latest Orthanc source on 12.04 LTS
2. cd orthancBuild
3. cmake "-DDCMTK_LIBRARIES=wrap;oflog" -DSTATIC_BUILD=OFF 
-DCMAKE_BUILD_TYPE=Debug ../orthanc

What is the expected output? What do you see instead?
CMake Error at Resources/CMake/GoogleLogConfiguration.cmake:105 (message):
  Please install the libgoogle-glog-dev package
Call Stack (most recent call first):
  CMakeLists.txt:53 (include)


What version of the product are you using? On what operating system?
Orthanc on Ubuntu 12.04

Please provide any additional information below.
It appears that libgoogle-glog-dev package has been removed from Ubuntu 12.04 
for some reason. I assume I can build the package myself but I thought you 
should know. Let me know if I can supply any other information.


Original issue reported on code.google.com by [email protected] on 1 Apr 2013 at 9:28

fails to make at 97% with not a member error

What steps will reproduce the problem?
1.make release build

What is the expected output? What do you see instead?
it ends at 97 percent with 

 97%] Building CXX object CMakeFiles/ServerLibrary.dir/OrthancServer/DicomProtocol/DicomServer.cpp.o
/media/Disk3/Orthanc/OrthancServer/DicomProtocol/DicomServer.cpp: In static 
member function ‘static void 
Orthanc::DicomServer::ServerThread(Orthanc::DicomServer*)’:
/media/Disk3/Orthanc/OrthancServer/DicomProtocol/DicomServer.cpp:91: error: 
‘DICTIONARY_DICOM’ is not a member of ‘Orthanc::EmbeddedResources’
/media/Disk3/Orthanc/OrthancServer/DicomProtocol/DicomServer.cpp:92: error: 
‘DICTIONARY_PRIVATE’ is not a member of ‘Orthanc::EmbeddedResources’
make[2]: *** 
[CMakeFiles/ServerLibrary.dir/OrthancServer/DicomProtocol/DicomServer.cpp.o] 
Error 1
make[1]: *** [CMakeFiles/ServerLibrary.dir/all] Error 2
make: *** [all] Error 2


What version of the product are you using? On what operating system?
latest
rhel 6

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 15 Mar 2013 at 8:29

VisualStudioPrecompiledHeaders.cmake has same path for precompiled header for all configurations

What steps will reproduce the problem?
1.Build Debug configuration of Orthanc using Visual Studio
2.Build Release configuration of Orthanc using Visual Studio

What is the expected output? What do you see instead?
Expect to see the release configuration build successfully.  Instead it fails 
due to errors about the precompiled header not matching the configuration.


What version of the product are you using? On what operating system?
0.8.2 windows

Please provide any additional information below.
You need to use a configuration specific path for the precompiled header.  
Change line 3 to:
  set(PrecompiledBinary "$(IntDir)/${PrecompiledBasename}.pch")



Original issue reported on code.google.com by [email protected] on 25 Sep 2014 at 2:11

Q/R Crashed Orthanc 0.8.5 in Windows 8

What steps will reproduce the problem?
1. Run Orthanc 0.8.5 as service or from command line
2. Make a Q/R from another node

What is the expected output? What do you see instead?
"This application has requested the Runtime to terminate it in an unusual way"

What version of the product are you using? On what operating system?
Orthanc 0.8.5, Windows 8.1 (64-bit)

Please provide any additional information below.
C-ECHO, ping works.
Orthanc as STORE-SCP works.

Original issue reported on code.google.com by [email protected] on 16 Jan 2015 at 3:26

500 server error when reading /content (file specific issue)

What steps will reproduce the problem?
1. Download the sample files from here: 
http://www.triltech.com/SampleImages/SAMPLE_GI_OB_IMAGES.zip
2. Import images to Orthanc via CSTORE
3. Attempt to access any tag for any instance via the /content interface

What is the expected output? What do you see instead?
Expected: Tag values
Observed: Exception occurs on server side resulting 500 server error

What version of the product are you using? On what operating system?
0.8.3 based windows

Please provide any additional information below.
It seems to have problems parsing the file that is stored on disk.  This is 
surprising because it does properly extract the tags so it parsed it properly 
initially but must be corrupting the file when saving it somehow.  I didn't 
investigate further as I suspect it is a dcmtk issue.  I have a few small 
changes to my version of orthanc but I don't think they are causing this as all 
other files are working fine

Original issue reported on code.google.com by [email protected] on 20 Sep 2014 at 2:00

Ubuntu 12.04.5 build instruction not working

What steps will reproduce the problem?
1. Get Ubuntu 12.04.5, follow instructions
2. hg clone the rep
3. run the cmake command in instruction

What is the expected output? What do you see instead?
Boost not found

What version of the product are you using? On what operating system?
Tried it with the built in libboost-all-dev.  Also tried to rebuilding boost 
1.58.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 21 Apr 2015 at 10:03

UUID not present in WADO API searches

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

JSON response with ObjectID and also UUID for DICOM objects.

What version of the product are you using? On what operating system?

0.7.3

Please provide any additional information below.
From the REST API there seems to be a missing link getting the UUID from a WADO 
search. The JSON response is missing the UUID via the WADO calls.   I'm was 
able to launch 2 instances of Orthanc on port 4242 and port 2000 ; however to 
view the actual images with the explorer.js  script I need the UUID and not the 
ObjectID.

Can you provide me with some details that would allow me to perform a patient 
search via WADO and then locate the UUID to fetch the actual images.

Original issue reported on code.google.com by [email protected] on 13 Mar 2014 at 1:31

  • Merged into: #11

400 bad request when searching for a patient

Hi,
I'm trying to setup an orthanc server only to query another DICOM server which 
holds some images I want to get.

What steps will reproduce the problem?
1. I install orthanc, works just fine

2. Edited configuration file with : "NAME" : [ "AETNAME", "IP", PORT, 
"ClearCanvas" ] in DicomModalities to add the DicomServer I want to query.

3. Running curl http://localhost:8042/modalities gets NAME.

4. Trying to do a : 
curl http://localhost:8042/modalities/sample/find-patient -X POST -d 
'{"PatientName":"DOE*","PatientSex":"M"}' -v

--> Gets a 400 bad request


What version of the product are you using? On what operating system?
Last with Windows 8.1


Thank you in advance for your help

Original issue reported on code.google.com by Nontenda on 10 Dec 2013 at 3:34

Build fails on OSX when directory has .DS_Store files

What steps will reproduce the problem?
When running 'xcodebuild -configuration Release' on OSX it fails becaus it 
finds '.DS_Store' files in the directory, which are files that 'store custom 
attributes of a folder such as the position of icons or the choice of a 
background image.' (http://en.wikipedia.org/wiki/.DS_Store)

What is the expected output? What do you see instead?
File "/Users/simonmd/code/personal/Orthanc-DCB/Resources/EmbedResources.py", 
line 68, in CheckNoUpcase
    raise Exception("Path in a directory with an upcase letter: %s" % s)

'Exception: Path in a directory with an upcase letter: .DS_Store'

What version of the product are you using? On what operating system?

OSX Yosemite.

Please provide any additional information below.

EmbedResources.py should probably ignore these files.


Original issue reported on code.google.com by [email protected] on 24 Oct 2014 at 3:10

Incorrect check

\OrthancServer\Internals\StoreScp.cpp 120
if (FromDcmtkBridge::SaveToMemoryBuffer(buffer, *imageDataSet) < 0)

function "FromDcmtkBridge::SaveToMemoryBuffer()" return bool
fix:
if (FromDcmtkBridge::SaveToMemoryBuffer(buffer, *imageDataSet) == false)

Original issue reported on code.google.com by [email protected] on 10 Sep 2013 at 10:38

Compressed attachments are being returned with the uncompressed length in the first 8 bytes

What steps will reproduce the problem?
1. Enable storage compression in your config
2. Add an attachment
3. Access the attachment via the /compressed-data endpoint

What is the expected output? What do you see instead?
The data should be returned as the attachment in a valid deflate byte stream.  
The
8 byte uncompressed length is currently being returned in front of the deflate 
stream
which is non standard and would require that the client be aware of this.  If 
the client
is a web browser, there is no way to workaround this.

What version of the product are you using? On what operating system?
0.8.2 on windows

Please provide any additional information below.
I have added code to set the HTTP Header Encoding:deflate for the 
compressed-data endpoint
to take advantage of the browser's ability to natively decompress the data.  
The browser properly decodes the
deflate byte stream if I skip the 8 bytes before returning it.

Original issue reported on code.google.com by [email protected] on 9 Sep 2014 at 4:19

Lua scripts making HTTP requests

[Submitted by Chris Hafey on 2014-09-02]

While working on Orthanc over the weekend, I created a Lua plugin that made a 
call to my Orthanc C++ plugin via the HttpGet function.  This ended up 
deadlocking Orthanc in MyIncomingHttpRequestFilter::IsAllowed() while 
attempting to get the Lua Context Lock (since the LuaContextLock was obtained 
and held by the call to my plugin).  While Orthanc may not be designed for my 
use case, it occurred to me that no HTTP or CSTORE requests can complete while 
a Lua plugin is running since both of those require the LuaContextLock.  A Lua 
plugin that makes a call to a web server via HttpGet can therefore have adverse 
affects on Orthanc's performance for DICOM and web requests as such processing 
will be blocked for the duration of the Lua plugin web request.  The Lua plugin 
web request could potentially take a look time to complete if the server is 
busy or down (network timeout).  You may want to think about alternative 
designs for this or at least document this as something to take into 
consideration.

Original issue reported on code.google.com by [email protected] on 3 Sep 2014 at 8:01

Zip-cpgz loop on Mac OS X

What steps will reproduce the problem?
1. Open Chrome on Mac OS and connect to Orthanc Explorer
2. Download a ZIP file with Orthanc Explorer
3. After downloading, the zip extracts to a .cpgz file, leading to a zip-cpgz 
loop

What is the expected output? What do you see instead?
The ZIP file should uncompress.

Please use labels and text to provide additional information.
The problem does not occur with Safari. However, OsiriX still cannot access the 
uncompressed files (cf. attached screenshot).
The symptom is described here: 
http://osxdaily.com/2013/02/13/open-zip-cpgz-file/
See also: 
https://groups.google.com/forum/?hl=fr#!topic/orthanc-users/Ss_2bSpK8IY

Original issue reported on code.google.com by [email protected] on 27 Aug 2013 at 6:46

Attachments:

QR response missing "Query/Retrieve Level" (008,0052)

What steps will reproduce the problem?
1. Run test QR tool
2. tool reports that there is no "query retrieve level" in the responses

What is the expected output? What do you see instead?

The request from the test client is something like:

QueryUser::Query(): REQUEST -----------
(0008,0020) - StudyDate = 
(0008,0030) - StudyTime = 
(0008,0050) - AccessionNumber = 
(0008,0052) - QueryRetrieveLevel = STUDY
(0008,0061) - ModalitiesInStudy = 
(0008,0062) - SOPClassesInStudy = 
(0008,0090) - ReferringPhysicianName = 
etc

and the response from Orthanc has:

----progressCallback(): RESPONSE: 1 (Pending)
(0008,0020) - StudyDate = 20071018
(0008,0030) - StudyTime = 112403
(0008,0050) - AccessionNumber = 0001092453
(0008,0061) - ModalitiesInStudy = 
(0008,0062) - SOPClassesInStudy = 
etc

Note that the required (0008,0052) element is missing.

What version of the product are you using? On what operating system?

version 0.8.6
running on Windows 7 x64

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Mar 2015 at 6:39

Build error on Ubuntu 12.04 LTS

What steps will reproduce the problem?
1. Follow build instructions
2. w/ static libraries therefor no changes to cmake call
3. Build error follows

What is the expected output? What do you see instead?
[ 97%] Building CXX object 
CMakeFiles/ServerLibrary.dir/OrthancServer/DicomProtocol/DicomServer.cpp.o
/home/mhough/Development/orthanc/OrthancServer/DicomProtocol/DicomServer.cpp: 
In static member function ‘static void 
Orthanc::DicomServer::ServerThread(Orthanc::DicomServer*)’:
/home/mhough/Development/orthanc/OrthancServer/DicomProtocol/DicomServer.cpp:91:
31: error: ‘DICTIONARY_DICOM’ is not a member of 
‘Orthanc::EmbeddedResources’
/home/mhough/Development/orthanc/OrthancServer/DicomProtocol/DicomServer.cpp:92:
31: error: ‘DICTIONARY_PRIVATE’ is not a member of 
‘Orthanc::EmbeddedResources’
make[2]: *** 
[CMakeFiles/ServerLibrary.dir/OrthancServer/DicomProtocol/DicomServer.cpp.o] 
Error 1
make[1]: *** [CMakeFiles/ServerLibrary.dir/all] Error 2
make: *** [all] Error 2

What version of the product are you using? On what operating system?

Mercurial clone on Ubuntu 12.04LTS

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 7 Feb 2013 at 8:39

UUID not present in WADO API searches

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

JSON response with ObjectID and also UUID for DICOM objects.

What version of the product are you using? On what operating system?

0.7.3

Please provide any additional information below.
From the REST API there seems to be a missing link getting the UUID from a WADO 
search. The JSON response is missing the UUID via the WADO calls.   I'm was 
able to launch 2 instances of Orthanc on port 4242 and port 2000 ; however to 
view the actual images with the explorer.js  script I need the UUID and not the 
ObjectID.

Can you provide me with some details that would allow me to perform a patient 
search via WADO and then locate the UUID to fetch the actual images.

Original issue reported on code.google.com by [email protected] on 13 Mar 2014 at 1:31

Cyrillic simbols

What steps will reproduce the problem?
1. trying change encoding in seting file.
2.
3.

What is the expected output? What do you see instead?
i don't see cyrillic simbols in dicom tags on web page and on DicomModalities.
What version of the product are you using? On what operating system?
0.8.6 version on Windows 7 and Windows 8.1

Please provide any additional information below.
i don't ham .dcm file less then 10mb so here is the link on my file
https://yadi.sk/d/A8emRU3dg8BSA
on SeriesDescription tag you can see "ахэђухэюу№рєшџ" but here 
is must be "Рентгенография"
on BodyPartExamined tag insteed "врч" must be "Таз"
on ViewPosition tag insteed "Я№џьрџ" must be "Прямая"


Original issue reported on code.google.com by [email protected] on 20 Apr 2015 at 11:43

Building on OS X > 10.8

Few notes while building for OS X 10.10 Yosemite:

1. Clang > 3.4 needs a couple of patches to Boost 1.5.55 obtained from: 
https://trac.macports.org/ticket/42282#comment:9

2. GTest 1.6 won't compile on 10.10, so I've upgraded to 1.7 via:

--- a/Resources/CMake/GoogleTestConfiguration.cmake Mon Jul 28 13:31:35 2014 
+0200
+++ b/Resources/CMake/GoogleTestConfiguration.cmake Sun Aug 03 22:02:48 2014 
+1200
@@ -8,10 +8,10 @@
   endif()

 elseif (STATIC_BUILD OR NOT USE_SYSTEM_GOOGLE_TEST)
-  SET(GTEST_SOURCES_DIR ${CMAKE_BINARY_DIR}/gtest-1.6.0)
+  SET(GTEST_SOURCES_DIR ${CMAKE_BINARY_DIR}/gtest-1.7.0)
   DownloadPackage(
-    "4577b49f2973c90bf9ba69aa8166b786"
-    
"http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/gtest-1.6.
0.zip"
+    "2d6ec8ccdf5c46b05ba54a9fd1d130d7"
+    "https://googletest.googlecode.com/files/gtest-1.7.0.zip"
     "${GTEST_SOURCES_DIR}")

Hope this helps!

Original issue reported on code.google.com by [email protected] on 3 Aug 2014 at 10:13

failed to compile

What steps will reproduce the problem?
1.Download Version 0.6.1.tar.gz
2.Unpack
3. cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Debug ~/Orthanc
4. make

What is the expected output? What do you see instead?
No errors on boost 1.49

What version of the product are you using? On what operating system?
0.6.1, issues with compile

Please provide any additional information below.

After first error, a re-make

me@bill-linuxbase:~/Downloads/OrthancBuild$ make
[  1%] Built target GoogleLog
[ 58%] Built target OpenSSL
[ 68%] Built target Curl
[ 70%] Built target Lua
[ 70%] Building CXX object 
CMakeFiles/CoreLibrary.dir/boost_1_49_0/libs/thread/src/pthread/thread.cpp.o
In file included from 
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/pthread/mutex.hpp:14:0
,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/mutex.hpp:16,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/pthread/thread_data.hpp:12,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/thread.hpp:17,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/libs/thread/src/pthread/thread.cpp:10:
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/xtime.hpp:23:5: 
error: expected identifier before numeric constant
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/xtime.hpp:23:5: 
error: expected ‘}’ before numeric constant
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/xtime.hpp:23:5: 
error: expected unqualified-id before numeric constant
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/xtime.hpp:46:14: 
error: expected type-specifier before ‘system_time’
In file included from 
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/pthread/mutex.hpp:14:0
,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/mutex.hpp:16,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/pthread/thread_data.hpp:12,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/thread.hpp:17,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/libs/thread/src/pthread/thread.cpp:10:
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/xtime.hpp: In 
function ‘int xtime_get(xtime*, int)’:
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/xtime.hpp:73:40: 
error: ‘get_system_time’ was not declared in this scope
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/xtime.hpp:73:40: 
note: suggested alternative:
In file included from 
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/locks.hpp:12:0,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/pthread/mutex.hpp:12,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/mutex.hpp:16,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/pthread/thread_data.hpp:12,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/thread.hpp:17,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/libs/thread/src/pthread/thread.cpp:10:
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/thread_time.hpp:19:24:
 note:   ‘boost::get_system_time’
In file included from 
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/pthread/mutex.hpp:14:0
,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/mutex.hpp:16,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/pthread/thread_data.hpp:12,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/thread.hpp:17,
                 from /home/me/Downloads/OrthancBuild/boost_1_49_0/libs/thread/src/pthread/thread.cpp:10:
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/xtime.hpp: At global 
scope:
/home/me/Downloads/OrthancBuild/boost_1_49_0/boost/thread/xtime.hpp:88:1: 
error: expected declaration before ‘}’ token
make[2]: *** 
[CMakeFiles/CoreLibrary.dir/boost_1_49_0/libs/thread/src/pthread/thread.cpp.o] 
Error 1
make[1]: *** [CMakeFiles/CoreLibrary.dir/all] Error 2
make: *** [all] Error 2
me@bill-linuxbase:~/Downloads/OrthancBuild$ 




This seems to be a known issue with boost, solved by reving the library used.  
However, the project really seems to want to use boost 1.49.

Not sure why I'd be the first to see this?

Using Ubuntu 13.04


Original issue reported on code.google.com by [email protected] on 16 Sep 2013 at 9:44

Unbundle the libraries

Hi,

I'm planning packaging this software.

However seems it has bundled minizip and some sha1/base64 code.

Can you unbundle them?

I'm packaging for Fedora, Fedora doesn't allow bundled libraries.

Thanks.

Original issue reported on code.google.com by Cickumqt on 18 Jul 2013 at 6:55

Add support from Mac OS X Build

This is a problem that was submitted by axel.bodart

=====================

Currently building on OSX is not possible, here is a first take at needed fixes 
(too lazy to submit a patch :-) ) :

In main directory :

CMakeLists.txt:59:if ((${CMAKE_SYSTEM_NAME} STREQUAL "Linux") OR 
(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin"))

In Resources

mongoose-patch.diff:19:+#if defined(__linux) || defined(__APPLE__)

In Resources/CMake/ : 

BoostConfiguration.cmake:29:  if (("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL 
"Linux") OR ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Darwin"))
DcmtkConfiguration.cmake:19:  if (("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL 
"Linux") OR ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Darwin"))  
DownloadPackage.cmake:31:    if (("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Linux") 
OR ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Darwin"))
LibCurlConfiguration.cmake:5:  if (("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL 
"Linux") OR ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Darwin"))
LibCurlConfiguration.cmake:23:  if (("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL 
"Linux") OR ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Darwin"))  

As a side note, you may want to add your compile flags to those already 
existing instead of overwriting them ie : 

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pedantic 
-Wno-implicit-function-declaration") 

as opposed to : 

set(CMAKE_C_FLAGS "-Wall -pedantic -Wno-implicit-function-declaration")

=====================

libcurl still does not compile : setup_once.h:92: error: redefinition of 
‘struct timeval’

Hmm will have to check this more in depth.
Delete comment

=====================

Thanks Axel! As soon as I have an access to an Apple computer, I will fix this 
build.

Original issue reported on code.google.com by [email protected] on 14 Sep 2012 at 4:12

Error decoding multi-frame instances

From Emsy Chan on 2014-10-16

I'm extending my Dicom viewer to include a liver iron concentration calculator. 
My scanner (Philips) provides me a single instance with 24-frames (anonymized 
and attached to this post).

When I call /instances/{id}/frames : I get the list of frames from 0 to 23.
When I call /instances/{id}/frames/0/preview, it returns the preview of frame 0.
When I call /instances/{id}/frames/x/preview, it *still* returns the preview of 
frame 0.

I tried calling /matlab for all the frames and compared them, and they all 
return frame 0.

I looked at the pixeldata from 7fe0-0010: it's implicit VR little endian of all 
the frames, concatenated.

Is this most likely to be a bug in Orthanc (currently running 0.8.4) or is the 
scanner giving an unfriendly DICOM file? Osirix and Syngo.Via seem able to 
access the frames with no problem.

Original issue reported on code.google.com by [email protected] on 16 Oct 2014 at 9:09

Attachments:

Orthanc crashes after restoring from backup

What steps will reproduce the problem?
1. Install orthanc
2. Add some dicom files
3. Backup and restore directory

What is the expected output? What do you see instead?
I expected it to start normally, but instead see this...

W0116 20:26:22.829324  3380 main.cpp:677] Orthanc version: 0.8.5
W0116 20:26:22.829954  3380 OrthancInitialization.cpp:77] Using the 
configuration from: /etc/orthanc/orthanc.json
W0116 20:26:22.835293  3380 DicomServer.cpp:88] Loading the external DICOM 
dictionary "/usr/share/dcmtk/dicom.dic"
W0116 20:26:22.844895  3380 DicomServer.cpp:88] Loading the external DICOM 
dictionary "/usr/share/dcmtk/private.dic"
E0116 20:26:22.852388  3380 main.cpp:699] Uncaught exception, stopping now: 
[SQLite: Unable to open the database]
W0116 20:26:22.852675  3380 main.cpp:710] Orthanc has stopped


What version of the product are you using? On what operating system?
Latest on most recent ubuntu

Please provide any additional information below.
This occurred after testing backup and restore procedures on a live box.

The orthanc daemon was shut down, it's DICOMDIR backed up using s3fs to an s3 
bucket.
The s3 bucket was then mounted in the same location as the orthanc dicomdir.

I have verified that the index file is present in the same location with the 
same permissions and is byte for byte the same.  Additionally I have ran a file 
compare across the entire DICOMDIR for both the original and the backup, they 
are identical.

It is possible that there is a delay in opening the file introduced by s3fs, 
but I'm not sure where to look, or how to speed that up.

To my mind this just seems like orthanc is being stubborn about the index 
file,perhaps not giving it enough time.

Also is there a way to just recreate the orthanc index file, i.e. get it to 
re-index at start?  It seems to me that relying entirely on a single file from 
sqlite is begging for disaster. 

Original issue reported on code.google.com by [email protected] on 16 Jan 2015 at 8:42

YBR_FULL are not decoded incorrectly

What steps will reproduce the problem?
1. Send an image with photometric interpretation = YBR_FULL into Orthanc
2. Access it via the /preview endpoint

What is the expected output? What do you see instead?
The image has a greenish tint to it - the rendering is not correct.  I did some 
debugging and the bug is actually in dcmtk in the file diybrpxt.h.  It is using 
the YCbCr formula and not the YBR formula.  I also checked the latest dcmtk 
source and it doesn't seem to be fixed there either.

What version of the product are you using? On what operating system?
Orthan 0.8.2 on windows

Please provide any additional information below.
There should be a way to get the raw / unmodified data for 7fe0,0010.  AFAIK, 
this is not possible so there is no way to workaround this bug other than 
getting the DICOM P10 file and parsing it myself.  I cannot share the YBR_FULL 
image I have and can't seem to find one online right now, I'll ask on 
comp.protocols.dicom

Original issue reported on code.google.com by [email protected] on 19 Sep 2014 at 2:52

AT VR's are not returned properly as JSON

What steps will reproduce the problem?
1. Load a SOP Instance that has a AT VR (e.g. an Ultrasound clip or XA cine 
clip)
2. Access the field via the /content endpoint (e.g. Frame Increment Pointer or 
0028-0009)
3. Observe that the tag is not returned (e.g. I get x18 when I should get 
0018-1063)

What is the expected output? What do you see instead?
I see x18 and I should see 0018-1063

What version of the product are you using? On what operating system?
0.84, Windows

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 4 Sep 2014 at 1:18

Drag and drop file upload has two minor issues

What steps will reproduce the problem?
1.Drag and drop files onto 'Upload DICOM files' screen
2.Cancel out of login dialog

What is the expected output? What do you see instead?

All files to be uploaded are listed twice.  And you have to cancel out of the 
'Authentication Required'  dialog box for each file, if you don't successfully 
log in.

What version of the product are you using? On what operating system?

Orthanc 0.8.6 on Linux (Amazon AMI)

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Feb 2015 at 9:14

running orthanc

What steps will reproduce the problem?
1.run orthanc
2.alter config file
3.try to run with new options

What is the expected output? What do you see instead?
it wont start, saying that mongoose server cant initiate.  if i just run 
./Orthanc I get the error that something is all ready using the address.  can i 
restart or fully shut down Orthanc and mongoose.  This seems like a very dumb 
question

What version of the product are you using? On what operating system?
build from 3/13/13 mercurial drop
RedHat 6

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 15 Mar 2013 at 11:11

Change order of stable events

What steps will reproduce the problem?
1.Send in DICOM to Orthanc
2.View /changes endpoint after stable timeout has expired

What is the expected output? What do you see instead?

I see the stable events happen in this order: StablePatient, StableStudy, 
StableSeries.  I would like the order be reversed: StableSeries, StableStudy, 
StablePatient.  Not only does this make more sense (a series should become 
stable before its study does), but it would simplify my post processing logic 
which needs to process series before it can process the studies.  I have to add 
special logic to deal with the current order which I would rather not have.  I 
think others may run into the same problem.

What version of the product are you using? On what operating system?
0.8.2 windows

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 7 Sep 2014 at 7:38

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.