Astroua / CARTAvis

Deprecated Repository for CARTA project. Refer to:
https://github.com/cartavis/carta
GNU General Public License v2.0
2 stars 7 forks source link

Dev-20160823 build not loading test images #178

Closed low-sky closed 8 years ago

low-sky commented 8 years ago

The image loader is failing on several of the standard images with messages:

Debug: CasaImageLoader plugin trying to load image:  "/home/erosolow/CARTA/Images/SI1.fits"
Warning:    -paged image open failed:  /home/erosolow/CARTA/Images/SI1.fits is not a directory
 (/media/workdrive/CARTA/CARTAvis/carta/cpp/plugins/CasaImageLoader/CasaImageLoader.cpp:89, Carta::Lib::Image::ImageInterface::SharedPtr CasaImageLoader::loadImage(const QString&))
2016-09-06 18:41:35 INFO        FITS card 104: ORIGIN0 = 'JPL_FOS '           / Site where mosaic was created                  
2016-09-06 18:41:35 INFO        Keyword should not have an index.
2016-09-06 18:41:35 INFO        FITS card 104: ORIGIN0 = 'JPL_FOS '           / Site where mosaic was created                  
2016-09-06 18:41:35 INFO        Keyword should not have an index.
2016-09-06 18:41:35 WARN    MeasIERS::findTab (file /media/workdrive/casa/trunk/casacore/measures/Measures/MeasIERS.cc, line 381)   Requested data table Observatories cannot be found in the searched directories:
2016-09-06 18:41:35 WARN    MeasIERS::findTab (file /media/workdrive/casa/trunk/casacore/measures/Measures/MeasIERS.cc, line 381)+  /home/erosolow/data/ephemerides/
2016-09-06 18:41:35 WARN    MeasIERS::findTab (file /media/workdrive/casa/trunk/casacore/measures/Measures/MeasIERS.cc, line 381)+  /home/erosolow/data/geodetic/
2016-09-06 18:41:35 SEVERE  MeasTable::initObservatories() (file /media/workdrive/casa/trunk/casacore/measures/Measures/MeasTable.cc, line 2910)    Cannot read table of Observatories
Warning:    -unpaged image open failed:  2016-09-06 18:41:35    SEVERE  MeasTable::initObservatories() (file /media/workdrive/casa/trunk/casacore/measures/Measures/MeasTable.cc, line 2910)    Cannot read table of Observatories
 (/media/workdrive/CARTA/CARTAvis/carta/cpp/plugins/CasaImageLoader/CasaImageLoader.cpp:97, Carta::Lib::Image::ImageInterface::SharedPtr CasaImageLoader::loadImage(const QString&))
Debug:  -out of ideas, bailing out
Warning: "Could not find any plugin to load image"
 (/media/workdrive/CARTA/CARTAvis/carta/cpp/core/Data/Image/DataSource.cpp:708, QString Carta::Data::DataSource::_setFileName(const QString&, bool*))
Warning: "Could not find any plugin to load image"
 (/media/workdrive/CARTA/CARTAvis/carta/cpp/core/Data/Error/ErrorManager.cpp:81, void Carta::Data::ErrorManager::registerWarning(const QString&))
slovelan commented 8 years ago

This is likely an install problem. It is looking for your data directory and not finding it. A temporary fix would be to make "/home/erosolow/data" a link to the actual location where the data is located.

On 09/06/2016 12:42 PM, Erik Rosolowsky wrote:

The image loader is failing on several of the standard images with messages:

|Debug: CasaImageLoader plugin trying to load image: "/home/erosolow/CARTA/Images/SI1.fits" Warning: -paged image open failed: /home/erosolow/CARTA/Images/SI1.fits is not a directory (/media/workdrive/CARTA/CARTAvis/carta/cpp/plugins/CasaImageLoader/CasaImageLoader.cpp:89, Carta::Lib::Image::ImageInterface::SharedPtr CasaImageLoader::loadImage(const QString&)) 2016-09-06 18:41:35 INFO FITS card 104: ORIGIN0 = 'JPL_FOS ' / Site where mosaic was created 2016-09-06 18:41:35 INFO Keyword should not have an index. 2016-09-06 18:41:35 INFO FITS card 104: ORIGIN0 = 'JPL_FOS ' / Site where mosaic was created 2016-09-06 18:41:35 INFO Keyword should not have an index. 2016-09-06 18:41:35 WARN MeasIERS::findTab (file /media/workdrive/casa/trunk/casacore/measures/Measures/MeasIERS.cc, line 381) Requested data table Observatories cannot be found in the searched directories: 2016-09-06 18:41:35 WARN MeasIERS::findTab (file /media/workdrive/casa/trunk/casacore/measures/Measures/MeasIERS.cc, line 381)+ /home/erosolow/data/ephemerides/ 2016-09-06 18:41:35 WARN MeasIERS::findTab (file /media/workdrive/casa/trunk/casacore/measures/Measures/MeasIERS.cc, line 381)+ /home/erosolow/data/geodetic/ 2016-09-06 18:41:35 SEVERE MeasTable::initObservatories() (file /media/workdrive/casa/trunk/casacore/measures/Measures/MeasTable.cc, line 2910) Cannot read table of Observatories Warning: -unpaged image open failed: 2016-09-06 18:41:35 SEVERE MeasTable::initObservatories() (file /media/workdrive/casa/trunk/casacore/measures/Measures/MeasTable.cc, line 2910) Cannot read table of Observatories (/media/workdrive/CARTA/CARTAvis/carta/cpp/plugins/CasaImageLoader/CasaImageLoader.cpp:97, Carta::Lib::Image::ImageInterface::SharedPtr CasaImageLoader::loadImage(const QString&)) Debug: -out of ideas, bailing out Warning: "Could not find any plugin to load image" (/media/workdrive/CARTA/CARTAvis/carta/cpp/core/Data/Image/DataSource.cpp:708, QString Carta::Data::DataSource::_setFileName(const QString&, bool*)) Warning: "Could not find any plugin to load image" (/media/workdrive/CARTA/CARTAvis/carta/cpp/core/Data/Error/ErrorManager.cpp:81, void Carta::Data::ErrorManager::registerWarning(const QString&)) |

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Astroua/CARTAvis/issues/178, or mute the thread https://github.com/notifications/unsubscribe-auth/AGSu-7OvICyvV07A6M5RWyrqnhi-DIBEks5qnbQOgaJpZM4J2JwW.Web Bug from https://github.com/notifications/beacon/AGSu-1OZbBvxwLJ6hEge25g0TQSRYA2kks5qnbQOgaJpZM4J2JwW.gif

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/Astroua/CARTAvis","title":"Astroua/CARTAvis","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/Astroua/CARTAvis"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Dev-20160823 build not loading test images (#178)"}],"action":{"name":"View Issue","url":"https://github.com/Astroua/CARTAvis/issues/178"}}}

low-sky commented 8 years ago

That helped and hurt. Now it starts the load and gets to a segfault.

Warning:    -paged image open failed:  /home/erosolow/CARTA/Images/SI1.fits is not a directory
 (/media/workdrive/CARTA/CARTAvis/carta/cpp/plugins/CasaImageLoader/CasaImageLoader.cpp:89, Carta::Lib::Image::ImageInterface::SharedPtr CasaImageLoader::loadImage(const QString&))
2016-09-06 19:53:03 INFO        FITS card 104: ORIGIN0 = 'JPL_FOS '           / Site where mosaic was created                  
2016-09-06 19:53:03 INFO        Keyword should not have an index.
2016-09-06 19:53:03 INFO        FITS card 104: ORIGIN0 = 'JPL_FOS '           / Site where mosaic was created                  
2016-09-06 19:53:03 INFO        Keyword should not have an index.
2016-09-06 19:53:03 INFO    FITSCoordinateUtil::fromFITSHeader  passing empty or nonexistant spectral Coordinate axis
Debug:  -opened as unpaged image
Debug: lat= 0x2cfe430
Debug: lat.shape =  [2379, 1128]
Debug: lat.dataType =  7
Debug: Float type is  7
Debug: Not converting spectral units, no spectral coordinate
./carta.sh: line 68: 26614 Segmentation fault      (core dumped) ./$appname --html $dirname/etc/html5/desktop/desktopIndex.html --scriptPort 9999 $imagefile
slovelan commented 8 years ago

The seg fault appears to be a separate problem from the install problem as I can reproduce it with the image that you used. It is easy to fix and it will be fixed with my next check-in. It could also be related to one or more color map bugs as the stack trace originates from the color map, but I have not had time to investigate.

On 09/06/2016 01:53 PM, Erik Rosolowsky wrote:

That helped and hurt. Now it starts the load and gets to a segfault.

|Warning: -paged image open failed: /home/erosolow/CARTA/Images/SI1.fits is not a directory (/media/workdrive/CARTA/CARTAvis/carta/cpp/plugins/CasaImageLoader/CasaImageLoader.cpp:89, Carta::Lib::Image::ImageInterface::SharedPtr CasaImageLoader::loadImage(const QString&)) 2016-09-06 19:53:03 INFO FITS card 104: ORIGIN0 = 'JPL_FOS ' / Site where mosaic was created 2016-09-06 19:53:03 INFO Keyword should not have an index. 2016-09-06 19:53:03 INFO FITS card 104: ORIGIN0 = 'JPL_FOS ' / Site where mosaic was created 2016-09-06 19:53:03 INFO Keyword should not have an index. 2016-09-06 19:53:03 INFO FITSCoordinateUtil::fromFITSHeader passing empty or nonexistant spectral Coordinate axis Debug: -opened as unpaged image Debug: lat= 0x2cfe430 Debug: lat.shape = [2379, 1128] Debug: lat.dataType = 7 Debug: Float type is 7 Debug: Not converting spectral units, no spectral coordinate ./carta.sh: line 68: 26614 Segmentation fault (core dumped) ./$appname --html $dirname/etc/html5/desktop/desktopIndex.html --scriptPort 9999 $imagefile |

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Astroua/CARTAvis/issues/178#issuecomment-245069635, or mute the thread https://github.com/notifications/unsubscribe-auth/AGSu-6cS60dhybY9fb_XSyxCbRdfAX4gks5qncTPgaJpZM4J2JwW.Web Bug from https://github.com/notifications/beacon/AGSu-3FhoejNyfQ4ZupOYuaF5nNX_8nTks5qncTPgaJpZM4J2JwW.gif

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/Astroua/CARTAvis","title":"Astroua/CARTAvis","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/Astroua/CARTAvis"}},"updates":{"snippets":[{"icon":"PERSON","message":"@low-sky in #178: That helped and hurt. Now it starts the load and gets to a segfault.\r\n\r\n\r\nWarning: \t-paged image open failed: /home/erosolow/CARTA/Images/SI1.fits is not a directory\r\n (/media/workdrive/CARTA/CARTAvis/carta/cpp/plugins/CasaImageLoader/CasaImageLoader.cpp:89, Carta::Lib::Image::ImageInterface::SharedPtr CasaImageLoader::loadImage(const QString\u0026))\r\n2016-09-06 19:53:03\tINFO\t\tFITS card 104: ORIGIN0 = 'JPL_FOS ' / Site where mosaic was created \r\n2016-09-06 19:53:03\tINFO\t\tKeyword should not have an index.\r\n2016-09-06 19:53:03\tINFO\t\tFITS card 104: ORIGIN0 = 'JPL_FOS ' / Site where mosaic was created \r\n2016-09-06 19:53:03\tINFO\t\tKeyword should not have an index.\r\n2016-09-06 19:53:03\tINFO\tFITSCoordinateUtil::fromFITSHeader\tpassing empty or nonexistant spectral Coordinate axis\r\nDebug: \t-opened as unpaged image\r\nDebug: lat= 0x2cfe430\r\nDebug: lat.shape = [2379, 1128]\r\nDebug: lat.dataType = 7\r\nDebug: Float type is 7\r\nDebug: Not converting spectral units, no spectral coordinate\r\n./carta.sh: line 68: 26614 Segmentation fault (core dumped) ./$appname --html $dirname/etc/html5/desktop/desktopIndex.html --scriptPort 9999 $imagefile\r\n\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/Astroua/CARTAvis/issues/178#issuecomment-245069635"}}}

low-sky commented 8 years ago

This appears to be resolved.