SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] simple I/O


Chronological Thread 
  • From: Vasileios Symeonidis <sjoh0341@dam.brown.edu>
  • To: scirun-users@sci.utah.edu
  • Subject: [SCIRUN-USERS] simple I/O
  • Date: Tue, 13 Dec 2005 16:24:05 -0500 (EST)


  Hello everyone,

I am a new user of SCIRUN and I am testing the various I/O options. One that used to work a week ago (namely the .pts TextPointCloudField and the corresponding matrix) does not anyomore, and I cannot figure out why! What I am doing now is a very simple, small and dummy example like this:

1/ I have a file named "test.pts" for the TextPointCloudField (7 lines) and I use a "FieldReader" module to read it:

cat test.pts
6
0.0 0.0 0.0
1.0 0.0 0.0
0.0 1.0 0.0
1.0 1.0 0.0
2.0 1.0 0.0
2.0 0.0 0.0

2/ i have a file named "test.dat" for the TextColumnMatrix (7 lines) and I am using a "MatrixReader" module to read it:

cat test.dat
6
1.1
1.2
1.3
1.5
1.6
1.7

3/ I am trying to view it by

- importing the .pts file through a FieldReader as a TextPointCloudField
- importing the .dat file through a MatrixReader as a TextColumnMatrix
- merge them using the ManageFieldData module

4/ I am getting an "exception" in the ManageFieldData module reding the following:

===============================================================
REMARK: Input field contains no data, no output matrix created.
ERROR: Module crashed with the following exception:
ERROR: c(value=1) == 0(value=0) (file: ../src/Core/Datatypes/ColumnMatrix.cc, line: 225)
Backtrace:
/users/sjoh0341/MySCIRUN/SCIRun/bin/lib/libCore_Datatypes.so(_ZNK6SCIRun12ColumnMatrix3getEii+0x18e) [0x9204442]
/users/sjoh0341/SCIRun/on-the-fly-libs/ManageFieldDataAlgoMeshTensor6.PointCloudFieldTensor.so(_ZN6SCIRun30ManageFieldDataAlgoMeshTensor6INS_15PointCloudFieldINS_6TensorEEEE7executeEPNS_16ProgressReporterENS_13LockingHandleINS_4MeshEEENS7_INS_6MatrixEEE+0x1fe6) [0x1b5a26e]
/users/sjoh0341/MySCIRUN/SCIRun/bin/lib/libDataflow_Modules_Fields.so(_ZN6SCIRun15ManageFieldData7executeEv+0x494) [0x7e6e824]
/users/sjoh0341/MySCIRUN/SCIRun/bin/lib/libDataflow_Network.so(_ZN6SCIRun6Module10do_executeEv+0xc9) [0xc71629]
/users/sjoh0341/MySCIRUN/SCIRun/bin/lib/libDataflow_Network.so(_ZN6SCIRun12ModuleHelper3runEv+0xe8) [0xc63a9c]
/users/sjoh0341/MySCIRUN/SCIRun/bin/lib/libCore_Thread.so(_ZN6SCIRun6Thread8run_bodyEv+0x12) [0x262286]
/users/sjoh0341/MySCIRUN/SCIRun/bin/lib/libCore_Thread.so [0x266cd8]
/lib/tls/libpthread.so.0 [0x3d7de8]
/lib/tls/libc.so.6(__clone+0x5a) [0xad993a]

ERROR: Thread Stacktrace:
ERROR: Backtrace:
/users/sjoh0341/MySCIRUN/SCIRun/bin/lib/libCore_Datatypes.so(_ZNK6SCIRun12ColumnMatrix3getEii+0x1c9) [0x920447d]
/users/sjoh0341/SCIRun/on-the-fly-libs/ManageFieldDataAlgoMeshTensor6.PointCloudFieldTensor.so(_ZN6SCIRun30ManageFieldDataAlgoMeshTensor6INS_15PointCloudFieldINS_6TensorEEEE7executeEPNS_16ProgressReporterENS_13LockingHandleINS_4MeshEEENS7_INS_6MatrixEEE+0x1fe6) [0x1b5a26e]
/users/sjoh0341/MySCIRUN/SCIRun/bin/lib/libDataflow_Modules_Fields.so(_ZN6SCIRun15ManageFieldData7executeEv+0x494) [0x7e6e824]
/users/sjoh0341/MySCIRUN/SCIRun/bin/lib/libDataflow_Network.so(_ZN6SCIRun6Module10do_executeEv+0xc9) [0xc71629]
/users/sjoh0341/MySCIRUN/SCIRun/bin/lib/libDataflow_Network.so(_ZN6SCIRun12ModuleHelper3runEv+0xe8) [0xc63a9c]
/users/sjoh0341/MySCIRUN/SCIRun/bin/lib/libCore_Thread.so(_ZN6SCIRun6Thread8run_bodyEv+0x12) [0x262286]
/users/sjoh0341/MySCIRUN/SCIRun/bin/lib/libCore_Thread.so [0x266cd8]
/lib/tls/libpthread.so.0 [0x3d7de8]
/lib/tls/libc.so.6(__clone+0x5a) [0xad993a]
=========================================================

5/ Can you please let me know what I am doing that is wrong? I had tested a similar case last week and it worked...

  Thanks a lot,
  Vasileios.

PS: I have both an RPM installation and a "from source" installation and both give me the same problem.
===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================




  • [SCIRUN-USERS] simple I/O, Vasileios Symeonidis, 12/13/2005

Archive powered by MHonArc 2.6.16.

Top of page