Posts by ulver56

    Quote from renato lincoln

    Dear ulver56,
    the problem that you identified in your post I corrected before installing the conquest. The problem I am facing is that when you type in firefox: http: // server / cgi-bin / dgate, is that the page opens as if the conquest server was not working, because I do not see the server information. However, directly accessing the server, I see that the conquest is operating normally, receiving and sending images. I do not know if this has to do with the fact of using Ubuntu server 14.04, which is 64 system.


    You must use link like http://localhost/cgi-bin/dgate?=top ("top" you can change to other "name" of section. look in dicom.ini in cgi-bin folder)


    http://localhost/cgi-bin/dgate - not work for me too when iam using ubuntu 14.04 LTS as a server.


    Sorry for my English.

    Quote from renato lincoln

    Dear Marcel,
    I made the installation of conquest 1.4.17d on a server with Ubuntu Server. Fix the maklinux_mysql file to copy the dicom.ini the cgi-bin folder to the /usr/lib/cgi-bin and deleted the -DLUA_USE_DLOPEN flag, so did the compilation of dgate. After the command ./dgate -v & I noticed the Conquest works because I can display images by K-Pacs. However, the browser appears as if the Conquest was not working. Can you help me?


    Read this http://forum.image-systems.biz/viewtopic.php?f=33&t=43531

    Looks like i found mistake:
    cat /opt/conquest/maklinux_mysql

    Code
    gcc -o lua.o -c lua_5.1.4/all.c -Ilua_5.1.4 -DLUA_USE_POSIXg++ -I/usr/local/mysql/include -I/usr/include/mysql -DUNIX -DNATIVE_ENDIAN=1 -DHAVE_LIBJASPER -DHAVE_LIBJPEG -DUSEMYSQL -Wno-write-strings total.cpp lua.o -o dgate -lpthread -L/usr/local/mysql/lib -L/usr/lib/mysql -lmysqlclient -ljasper -ljpeg -Ijpeg-6c -Ljpeg-6c -Ilua_5.1.4 -Wno-multicharrm lua.opkill -9 dgatesleep 0.2scp dicom.ini.mysql dicom.inicp dicom.sql.mysql dicom.sqlcp dgate /usr/lib/cgi-bincp dicom.sql /usr/lib/cgi-bincp acrnema.map /usr/lib/cgi-bincp -r webserver/cgi-bin/* /usr/lib/cgi-bincp dicom.ini.www /usr/lib/cgi-bin/dicom.inicp -r webserver/htdocs/* /var/www


    cat /opt/conquset/dicom.ini.www

    Code
    ## This file contains configuration information for the conquest cgi web server;# it must be in the same directory as the dgate.exe in the web server script directory.# For wamp: dgate.exe runs if it is put in C:\wamp\Apache2\cgi-bin# The server home page is then "http://127.0.0.1/cgi-bin/dgate.exe?mode=top"# The cgi interface has been tested with wamp5, dgate4.12d, and ie6sp1## modified 20070213: default to n4, note about ocx only required on client# modified 20080902: webreadonly ON; graphics and viewer configs; sample scripted web pages# modified 20101121: Added wadoservers section#[sscscp]MicroPACS = sscscp# database layout (copy dicom.sql to the web server script directory or point to the one in your dicom server directory)kFactorFile = .\dicom.sqlTruncateFieldNames = 10# default IP address and port of DICOM server (may be non-local, web pages empty if wrong)# use version 1.4.14 up, if an older version some feautues will not workWebServerFor = 127.0.0.1TCPPort = 5678# path to script engine: ocx will not download images if wrong - shows as black square with controls# for wamp: dgate.exe runs if it is put in C:\wamp\Apache2\cgi-binWebScriptAddress = http://127.0.0.1/cgi-bin/dgate.exe# web or local location of ActiveFormProj1.ocx for download (include trailing / or \)# the activeX control will not download if wrong or security too high - shows as white square with red x# note: it only needs to be registered by the client, not the server!# for wamp: the ocx canNOT be in C:\wamp\Apache2\cgi-bin, I put it in c:\wamp\www (above cgi-bin)# - the default value is derived from WebScriptAddress#WebCodeBase = http://127.0.0.1/# if set to 1, the web user cannot edit databases and (in future) other things#WebReadonly = 1# this is an optional virtual directory used to http: all images from mag0# this entry is experimental and unused except for viewer=seriesviewer2# in this mode (only) ocx will not download images if wrong - shows as black square with # controls - the default value is derived from WebScriptAddress#WebMAG0Address = http://127.0.0.1/mag0# excerpt from C:\wamp\Apache2\conf\httpd.conf required for WebMAG0Address (un-# there)# or use the wamp traybar menu to create the alias#Alias /mag0/ "c:/dicomserver/data/" ##<Directory "c:/dicomserver/data"># Options Indexes MultiViews# AllowOverride None# Order allow,deny# Allow from all#</Directory># these settings control size of slice and series viewers, max size of transmitted dicom images # (0=original), compression for images sent to the activex (may be un,n1..4,j1,j2), the size of # the icons in the image list, the image type used for icons and slice display, and the dgate # mode containing the viewer (may be seriesviewer, seriesviewer2, noviewer, serversideviewer, # or aiviewer - java code of the latter not included with 1.4.14).# note: all items require at least one space left and right of the '=' ![webdefaults]size = 560dsize = 0compress = n4iconsize = 48graphic = gifviewer = serversideviewer# enter address (up to not including the ?) of the WADO server for each DICOM AE listed# the sample (for AE TESTWADOSRV) comes from the DICOM standard and is not valid# the default is the local conquest server (which could use virtualservers as WADO bridge)[wadoservers]TESTWADOSRV = http://www.hospital-stmarco/radiology/wado.php# this creates web page http://xxxxx/cgi-bin/dgate.exe?mode=sample[sample]source = sample.cqvariable = sample 1# this creates web page http://xxxxx/cgi-bin/dgate.exe?mode=sample2# Note: in the header parameter newline is written as \[sample2]variable = sample 2line0 = <HEAD><TITLE>Conquest DICOM server - %variable%</TITLE></HEAD>line1 = <BODY BGCOLOR='CFDFCF'>line2 = <H2>Conquest DICOM server - %variable%</H2>line3 = </BODY>header= Content-type: text/html\Cache-Control: no-cache\


    cat /opt/conquest/webserver/cgi-bin/dicom.ini

    Code
    ## This file contains configuration information for the conquest cgi web server;# it must be in the same directory as the dgate.exe in the web server script directory.# For wamp: dgate.exe runs if it is put in C:\wamp\Apache2\cgi-bin# The server home page is then "http://127.0.0.1/cgi-bin/dgate.exe?mode=top"# The cgi interface has been tested with wamp5, dgate4.12d, and ie6sp1## modified 20070213: default to n4, note about ocx only required on client# modified 20080902: webreadonly ON; graphics and viewer configs; sample scripted web pages# modified 20101121: Added wadoservers section# modified 20120213: Added SQLServer, SqLite (enables lua dbquery and sql, see sample3)# modified 20120213: Added ACRNemaMap, Dictionay (enables lua dicomquery, see sample3)# modified 20120219: Organized the general samples, ecrf, soap and json# modified 20130528: Added new viewers, OpenCLinica; For 1.4.17 release# modified 20130813: small fixes For 1.4.17b release[sscscp]MicroPACS = sscscpTempdir = c:\temp# database layout (copy dicom.sql to the web server script directory or point to the one in your dicom server directory)kFactorFile = c:\dicomserver\dicom.sqlTruncateFieldNames = 10# gives access to the SQL server of the DICOM server# use of independent database is also allowed (depends on scripts used)SQLServer = c:\dicomserver\data\dbase\conquest.db3SQlite = 1# gives access to all DICOM servers known in acrnema.mapACRNemaMap = C:\dicomserver\acrnema.mapDictionary = C:\dicomserver\dgate.dic# default IP address and port of DICOM server (may be non-local, web pages empty if wrong)WebServerFor = 127.0.0.1TCPPort = 5678# AE title: only used if web client originates queries or movesMyACRNema = CONQUESTSRV1# path to script engine: ocx will not download images if wrong - shows as black square with controls# for wamp: dgate.exe runs if it is put in C:\wamp\Apache2\cgi-binWebScriptAddress = http://127.0.0.1/cgi-bin/dgate.exe# web or local location of ActiveFormProj1.ocx for download (include trailing / or \)# the activeX control will not download if wrong or security too high - shows as white square with red x# note: it only needs to be registered by the client, not the server!# for wamp: the ocx canNOT be in C:\wamp\Apache2\cgi-bin, I put it in c:\wamp\www (above cgi-bin)# - the default value is derived from WebScriptAddress#WebCodeBase = http://127.0.0.1/# if set to 1 (default), the web user cannot edit databases and (in future) other things# webpush enables push of data to other serversWebReadonly = 0WebPush = 1# this is an optional virtual directory used to http: all images from mag0# this entry is experimental and unused except for viewer=seriesviewer2# in this mode (only) ocx will not download images if wrong - shows as black square with # controls - the default value is derived from WebScriptAddress#WebMAG0Address = http://127.0.0.1/mag0# excerpt from C:\wamp\Apache2\conf\httpd.conf required for WebMAG0Address (un-# there)# or use the wamp traybar menu to create the alias#Alias /mag0/ "c:/dicomserver/data/" ##<Directory "c:/dicomserver/data"># Options Indexes MultiViews# AllowOverride None# Order allow,deny# Allow from all#</Directory># these settings control size of slice and series viewers, max size of transmitted dicom images # (0=original), compression for images sent to the activex (may be un,n1..4,j1,j2), the size of # the icons in the image list, the image type used for icons and slice display, and the dgate # mode containing the viewer (may be seriesviewer, seriesviewer2, noviewer, serversideviewer, # or aiviewer - java code of the latter not included with 1.4.14).# note: all items require at least one space left and right of the '=' ![webdefaults]size = 560dsize = 0compress = uniconsize = 48graphic = gifviewer = serversideviewerstudyviewer = studyweasis# enter address (up to not including the ?) of the WADO server for each DICOM AE listed# the sample (for AE TESTWADOSRV) comes from the DICOM standard and is not valid# the default is the local conquest server (which could use virtualservers as WADO bridge)# These WADO entries are used in 'list .... on ....'[wadoservers]TESTWADOSRV = http://www.hospital-stmarco/radiology/wado.php# Here are scripted series viewers: ImageJA, dwv, flexviewer (=aiviewer), weasis# And one scripted study viewer: studyweasis[imagejaviewer]source = viewers\imagejaviewer.cq[dwv]source = viewers\dwv.lua[flexviewer]source = viewers\flexviewer.lua[weasis]source = viewers\LaunchWeasis.cqheader = Content-Type: application/x-java-jnlp-file\[studyweasis]source = viewers\LaunchWeasisStudy.cqheader = Content-Type: application/x-java-jnlp-file\[weasisseriesxml]source = viewers\weasisseriesxml.lua[weasisstudyxml]source = viewers\weasisstudyxml.lua# These entries enable the OpenClinica - Conquest interface# default[DefaultPage]source = *.lua[OpenClinica]Source=(local)TargetServer=user@server.domain:password=xxxxx# Below here are all samples with no clear functionality# Here are some sample web pages to show how scripting works# this creates web page http://xxxxx/cgi-bin/dgate.exe?mode=sample[sample]variable = sample 1source = samples\sample.cq# this creates web page http://xxxxx/cgi-bin/dgate.exe?mode=sample2# This sample posts a file# Note: in the header parameter newline is written as \[sample2]variable = sample 2header= Content-type: text/html\Cache-Control: no-cache\line0 = <HEAD><TITLE>Conquest DICOM server - %variable%</TITLE></HEAD>line1 = <BODY BGCOLOR='CFDFCF'>line2 = <H2>Conquest DICOM server - %query_string%</H2>line3 = <FORM ACTION="dgate.exe" METHOD=POST ENCTYPE="multipart/form-data">line4 = <INPUT NAME=mode TYPE=HIDDEN VALUE=soaprequest>line5 = <INPUT NAME=port TYPE=HIDDEN VALUE=5678>line6 = <INPUT NAME=address TYPE=HIDDEN VALUE=127.0.0.1>line7 = Upload file to enter into server (dcm/v2/HL7/zip/7z/gz/tar): <INPUT NAME=filetoupload SIZE=40 TYPE=file VALUE=>line8 = <INPUT TYPE=SUBMIT VALUE=Go>line9 = </FORM>line10 = </BODY># this creates a web page scripted in lua http://xxxxx/cgi-bin/dgate.exe?mode=sample3#[sample3]#source = samples\sample3.lua# these entries create an experimental SOAP interface scripted in lua[wsdl]source = soap\wsdl.xmlheader = Content-type: text/xml\[soaprequest]source = soap\soaprequest.lua# these entries create an experimental JSON interface scripted in lua[sample4]source = json\json_sample.htmlheader = Content-type: text/html\Cache-Control: no-cache\[jsonrequest]source = json\jsonrequest.lua# these entries create a simple eCRF interface# ..?mode=studyfinder&dest=CONQUESTSRV1&key=afc0501:baseline&query==2040XXXX# creates SQL database and enters information[markstudy]source = ecrf\markstudyseries.luacaption= Select for submission[markseries]source = ecrf\markstudyseries.luacaption= Select for submission# show SQL database and selects processing[shoppingcart]source = ecrf\shoppingcart.luacaption= Process selected data# process information[ecrfprocess]source = ecrf\ecrfprocess.lua# new query form[queryforecrf]source = ecrf\queryforecrf.lua


    */webserver/cgi-bin/dicom.ini newest than */dicom.ini.www
    so:

    Code
    #cp dicom.ini.www /usr/lib/cgi-bin/dicom.ini


    Solved!
    Anyway, can you help with step-by-step instruction "How to make weasis work"?


    Thx a lot!

    Sorry for the slow response.
    AESKULAP is "ok" now - just wrong compression.
    But still have problems with web access.
    /opt/conquest/dicom.ini:

    Code
    This file contains configuration information for the DICOM server# Example Linux version using MySQL[sscscp]MicroPACS = sscscpEdition = Personal# Network configuration: server name and TCP/IP port#MyACRNema = DGATE1TCPPort = 104# Reference to other files: known dicom servers; database layout; sopsACRNemaMap = acrnema.mapkFactorFile = dicom.sqlSOPClassList = dgatesop.lst# Host for postgres or mysql only, name, username and password for databaseSQLHost = localhostSQLServer = conquestUsername = rootPassword = testPostGres = 0MySQL = 1SQLite = 0UseEscapeStringConstants = 0DoubleBackSlashToDB = 1#IndexDBF = 1#PackDBF = 0#LongQueryDBF = 1000# Configure databaseTruncateFieldNames = 10MaxFieldLength = 254MaxFileNameLength = 255FixPhilips = 1FixKodak = 1UIDPrefix = 99999.99999EnableReadAheadThread = 1PatientQuerySortOrder = StudyQuerySortOrder = SeriesQuerySortOrder = ImageQuerySortOrder = EnableComputedFields = 1TCPIPTimeOut = 300FailHoldOff = 60RetryDelay = 100QueueSize = 128WorkListMode = 0WorkListReturnsISO_IR_100 = 1DebugLevel = 0Prefetcher = 0LRUSort = AllowTruncate = DecompressNon16BitsJpeg = 1UseBuiltInJPEG = 1IgnoreOutOfMemoryErrors = 0PadAEWithZeros = 0FileNameSyntax = 3# Configuration of compression for incoming images and archivalDroppedFileCompression = jkIncomingCompression = jkArchiveCompression = as# Names of the database tablesPatientTableName = DICOMPatientsStudyTableName = DICOMStudiesSeriesTableName = DICOMSeriesImageTableName = DICOMImagesDMarkTableName = DICOMAccessUpdatesRegisteredMOPDeviceTable = RegisteredMOPIDsUIDToMOPIDTable = UIDToMOPIDUIDToCDRIDTable = UIDToCDRID# Banner and host for debug informationPACSName = DGATE1OperatorConsole = 127.0.0.1# Configuration of disk(s) to store imagesMAGDeviceThreshhold = 0MAGDevices = 1MAGDevice0 = ./data/


    /usr/lib/cgi-bin/dicom.ini



    and i cant understand how to install weasis as the web-viewer by default. Its all too new for me.


    Thx a lot!

    Ubuntu 14.04
    cant access web interface:

    Code
    ***No valid presentation contexts/transfer syntax found in 0 candidates***In 1 presentation contexts***#Possible transfer syntaxes: 9*** multiplex: connection terminated


    and got this when try to use AESKULAP:


    Thx a lot.