[Gvsig_english] error raster layer
Benjamin Ducke
benjamin.ducke at oxfordarch.co.uk
Wed Jul 21 15:37:15 CEST 2010
Are you running Apple's Java or did you install SoyLatte
or the OpenJDK port?
Ben
----- Original Message -----
> Yes it's running on a 64 bit java machine.
> So I checked the preJava script and it is already with -d32 option...
>
> Claudio
>
>
> Il giorno 21/lug/10, alle ore 14:14, Benjamin Ducke ha scritto:
>
> > That looks OK to me. They are 32 bit libraries.
> > Are you running gvSIG in a 64bit Java machine?
> > If so, you must add the "-d32" option to switch
> > it into 32 bit mode (like it's done on the last line
> > of the preJava script that comes with gvSIG OADE).
> >
> > Ben
> >
> > ----- Original Message -----
> >> the outputs
> >>
> >>> There seems to be a 32/64 bit conflict. It may be possible to
> >>> fix that. Could you do the following on a Terminal command line:
> >>>
> >>> file /Applications/gvsig-oade-2010-1.0.0/gvSIG-OADE-2010.app/
> >>> Contents/Frameworks/libjgdal.jnilib
> >>>
> >>
> >> /Applications/gvsig-oade-2010-1.0.0/gvSIG-OADE-2010.app/Contents/
> >> Frameworks/libjgdal.jnilib: Mach-O dynamically linked shared
> >> library i386
> >>
> >>
> >>
> >>> And:
> >>>
> >>> file /Applications/gvsig-oade-2010-1.0.0/gvSIG-OADE-2010.app/
> >>> Contents/Frameworks/libgdal.dylib
> >>>
> >>
> >> /Applications/gvsig-oade-2010-1.0.0/gvSIG-OADE-2010.app/Contents/
> >> Frameworks/libgdal.dylib: Mach-O dynamically linked shared library
> >> i386
> >>
> >>> and send the outputs of the two commands?
> >>>
> >>> Ben
> >>>
> >>> ----- Original Message -----
> >>>> This is the extract from log file, thanks again for your help!
> >>>> (the error is with any raster file, tif, asc, etc..)
> >>>>
> >>>> Claudio
> >>>> .... Failed to load layer: Formato no valido.
> >>>> at
> >>>> org.gvsig.fmap.raster.layers.FLyrRasterSE.load(FLyrRasterSE.java:
> >>>> 332) at
> >>>> org .gvsig
> >>>> .fmap.raster.layers.FLyrRasterSE.createLayer(FLyrRasterSE.java:
> >>>> 189) at
> >>>> org
> >>>> .gvsig.raster.gui.wizards.FileOpenRaster.post(FileOpenRaster.java:
> >>>> 111) at
> >>>> com .iver
> >>>> .cit .gvsig
> >>>> .addlayer.fileopen.FileOpenWizard.addObjects(FileOpenWizard.java:
> >>>> 330) at com.iver.utiles.listManager.ListManager
> >>>> $2.actionPerformed(ListManager.java:171) at
> >>>> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:
> >>>> 2028) at javax.swing.AbstractButton
> >>>> $Handler.actionPerformed(AbstractButton.java:2351) at
> >>>> javax .swing
> >>>> .DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:
> >>>> 387) at
> >>>> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:
> >>>> 242) at
> >>>> javax .swing
> >>>> .plaf
> >>>> .basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:
> >>>> 236) at java.awt.Component.processMouseEvent(Component.java:6348)
> >>>> at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
> >>>> at java.awt.Component.processEvent(Component.java:6113)
> >>>> at java.awt.Container.processEvent(Container.java:2085)
> >>>> at java.awt.Component.dispatchEventImpl(Component.java:4714)
> >>>> at java.awt.Container.dispatchEventImpl(Container.java:2143)
> >>>> at java.awt.Component.dispatchEvent(Component.java:4544)
> >>>> at
> >>>> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:
> >>>> 4618)
> >>>> at
> >>>> java.awt.LightweightDispatcher.processMouseEvent(Container.java:
> >>>> 4282) at
> >>>> java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
> >>>> at java.awt.Container.dispatchEventImpl(Container.java:2129) at
> >>>> java.awt.Window.dispatchEventImpl(Window.java:2478) at
> >>>> java.awt.Component.dispatchEvent(Component.java:4544) at
> >>>> java.awt.EventQueue.dispatchEvent(EventQueue.java:635) at
> >>>> com .iver
> >>>> .andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
> >>>> at java
> >>>> .awt .EventDispatchThread
> >>>> .pumpOneEventForFilters(EventDispatchThread.java: 296) at
> >>>> java .awt
> >>>> .EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
> >>>> 211) at
> >>>> java .awt
> >>>> .EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
> >>>> 205) at java.awt.Dialog$1.run(Dialog.java:1046)
> >>>> at java.awt.Dialog$3.run(Dialog.java:1098)
> >>>> at java.security.AccessController.doPrivileged(Native Method)
> >>>> at java.awt.Dialog.show(Dialog.java:1096)
> >>>> at java.awt.Component.show(Component.java:1563)
> >>>> at java.awt.Component.setVisible(Component.java:1515)
> >>>> at java.awt.Window.setVisible(Window.java:842)
> >>>> at java.awt.Dialog.setVisible(Dialog.java:986)
> >>>> at com.iver.core.mdiManager.NewSkin.addJDialog(NewSkin.java:449)
> >>>> at com.iver.core.mdiManager.NewSkin.addWindow(NewSkin.java:236)
> >>>> at com.iver.cit.gvsig.AddLayer.addLayers(AddLayer.java:277)
> >>>> at com.iver.cit.gvsig.AddLayer.execute(AddLayer.java:178)
> >>>> at com
> >>>> .iver
> >>>> .andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:
> >>>> 89) at
> >>>> com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:
> >>>> 678) at
> >>>> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:
> >>>> 2028) at javax.swing.AbstractButton
> >>>> $Handler.actionPerformed(AbstractButton.java:2351) at
> >>>> javax .swing
> >>>> .DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:
> >>>> 387) at
> >>>> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:
> >>>> 242) at
> >>>> javax .swing
> >>>> .plaf
> >>>> .basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:
> >>>> 236) at
> >>>> java
> >>>> .awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:
> >>>> 272) at
> >>>> java
> >>>> .awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:
> >>>> 272) at java.awt.Component.processMouseEvent(Component.java:6348)
> >>>> at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
> >>>> at java.awt.Component.processEvent(Component.java:6113)
> >>>> at java.awt.Container.processEvent(Container.java:2085)
> >>>> at java.awt.Component.dispatchEventImpl(Component.java:4714)
> >>>> at java.awt.Container.dispatchEventImpl(Container.java:2143)
> >>>> at java.awt.Component.dispatchEvent(Component.java:4544)
> >>>> at
> >>>> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:
> >>>> 4618)
> >>>> at
> >>>> java.awt.LightweightDispatcher.processMouseEvent(Container.java:
> >>>> 4282) at
> >>>> java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
> >>>> at java.awt.Container.dispatchEventImpl(Container.java:2129) at
> >>>> java.awt.Window.dispatchEventImpl(Window.java:2478) at
> >>>> java.awt.Component.dispatchEvent(Component.java:4544) at
> >>>> java.awt.EventQueue.dispatchEvent(EventQueue.java:635) at
> >>>> com .iver
> >>>> .andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
> >>>> at java
> >>>> .awt .EventDispatchThread
> >>>> .pumpOneEventForFilters(EventDispatchThread.java: 296) at
> >>>> java .awt
> >>>> .EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
> >>>> 211) at
> >>>> java .awt
> >>>> .EventDispatchThread
> >>>> .pumpEventsForHierarchy(EventDispatchThread.java: 201)
> >>>> at
> >>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
> >>>> 196) at
> >>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
> >>>> 188) at
> >>>> java.awt.EventDispatchThread.run(EventDispatchThread.java: 122)
> >>>> Caused by:
> >>>> org.gvsig.raster.dataset.NotSupportedExtensionException: Error in
> >>>> open. Problemas con las librer’as.
> >>>> at
> >>>> org.gvsig.raster.dataset.RasterDataset.open(RasterDataset.java:
> >>>> 175) at org
> >>>> .gvsig
> >>>> .raster.dataset.MultiRasterDataset.open(MultiRasterDataset.java:
> >>>> 128) at
> >>>> org.gvsig.fmap.raster.layers.FLyrRasterSE.load(FLyrRasterSE.java:
> >>>> 321) ... 69 more
> >>>> Caused by: java.lang.reflect.InvocationTargetException
> >>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> >>>> Method) at
> >>>> sun .reflect
> >>>> .NativeConstructorAccessorImpl
> >>>> .newInstance(NativeConstructorAccessorImpl.java:39) at
> >>>> sun .reflect
> >>>> .DelegatingConstructorAccessorImpl
> >>>> .newInstance(DelegatingConstructorAccessorImpl.java:27) at
> >>>> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> >>>> at
> >>>> org.gvsig.raster.dataset.RasterDataset.open(RasterDataset.java:163)
> >>>> ... 71 more
> >>>> Caused by: java.lang.UnsatisfiedLinkError: /Applications/gvsig-
> >>>> oade-2010-1.0.0/gvSIG-OADE-2010.app/Contents/Frameworks/
> >>>> libjgdal.jnilib: no suitable image found. Did find:
> >>>> /Applications/
> >>>> gvsig-oade-2010-1.0.0/gvSIG-OADE-2010.app/Contents/MacOS/../
> >>>> Frameworks/ libjgdal.jnilib: mach-o, but wrong architecture
> >>>> /Applications/gvsig-
> >>>> oade-2010-1.0.0/gvSIG-OADE-2010.app/Contents/Frameworks/
> >>>> libjgdal.jnilib: mach-o, but wrong architecture
> >>>> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> >>>> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1823)
> >>>> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
> >>>> at java.lang.Runtime.loadLibrary0(Runtime.java:823)
> >>>> at java.lang.System.loadLibrary(System.java:1045)
> >>>> at es.gva.cit.jgdal.JNIBase.<clinit>(JNIBase.java:117)
> >>>> at
> >>>> org.gvsig.raster.dataset.io.GdalDriver.<init>(GdalDriver.java:137)
> >>>> ... 76 more
> >>>>
> >>>>
> >>>>
> >>>> Il giorno 21/lug/10, alle ore 13:10, Benjamin Ducke ha scritto:
> >>>>
> >>>>> Send a copy of gvSIG.log after the error message has appeared.
> >>>>> Maybe there's something that can help in there.
> >>>>>
> >>>>> Ben
> >>>>>
> >>>>> ----- Original Message -----
> >>>>>> I just tried..but nothing! gvSIG returns the same error
> >>>>>> message. Other suggestions?
> >>>>>>
> >>>>>> Claudio
> >>>>>>
> >>>>>> Il giorno 21/lug/10, alle ore 09:41, Benjamin Ducke ha scritto:
> >>>>>>
> >>>>>>> Yes, that may be worth a try.
> >>>>>>> You would need to find replacements for all the .dylib and
> >>>>>>> .jnilib libraries in Contents/Frameworks.
> >>>>>>> If it works, let me know and I will put a note on our website
> >>>>>>> for other users with the same problem.
> >>>>>>>
> >>>>>>> Best,
> >>>>>>>
> >>>>>>> Ben
> >>>>>>>
> >>>>>>> ----- Original Message -----
> >>>>>>>> Thanks for your answer!
> >>>>>>>> One year ago Itry to update my macos from leopard to snow
> >>>>>>>> leopard and I had some problem...fortunately I had a time
> >>>>>>>> machine backup... So I have my Leopard with developer setting
> >>>>>>>> and more.
> >>>>>>>> So I prefer
> >>>>>>>> to keep my leopard...
> >>>>>>>>
> >>>>>>>> I think to change the OADE raster library with raster library
> >>>>>>>> of my older gvSIG 1.9, is it possible?
> >>>>>>>>
> >>>>>>>> It is helpful for other leopard users.
> >>>>>>>>
> >>>>>>>> thanks again
> >>>>>>>>
> >>>>>>>> Claudio
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Il giorno 20/lug/10, alle ore 20:51, Benjamin Ducke ha
> >>>>>>>> scritto:
> >>>>>>>>
> >>>>>>>>> It's probably because the raster support libraries were
> >>>>>>>>> created on Snow Leopard and are not backward compatible with
> >>>>>>>>> older Mac
> >>>>>>>>> OS X versions. Sorry, but I don't have any older version of
> >>>>>>>>> Mac OS X, so I can only offer very limited help here.
> >>>>>>>>>
> >>>>>>>>> Can't you upgrade your system to Snow Leopard?
> >>>>>>>>>
> >>>>>>>>> Ben
> >>>>>>>>>
> >>>>>>>>> ----- Original Message -----
> >>>>>>>>>> Dear all,
> >>>>>>>>>> I'm testing gvSIG OADE 2010 on my macos intel with leopard
> >>>>>>>>>> and jre1.6. It's work fine, but when I try to add a raster
> >>>>>>>>>> layer (es. dem.tif that
> >>>>>>>>>> I had elaborate with another gvSIG version 1.9), gvSIG
> >>>>>>>>>> returns me an error message.
> >>>>>>>>>> If I try to create a new raster layer, I have the some
> >>>>>>>>>> problem and no one raster layer is created.
> >>>>>>>>>>
> >>>>>>>>>> What is the problem?
> >>>>>>>>>>
> >>>>>>>>>> Thanks
> >>>>>>>>>> Claudio _______________________________________________
> >>>>>>>>>> Gvsig_internacional mailing list
> >>>>>>>>>> Gvsig_internacional at listserv.gva.es
> >>>>>>>>>> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> ------ Files attached to this email may be in ISO 26300
> >>>>>>>>> format (OASIS Open
> >>>>>>>>> Document Format). If you have difficulty opening them,
> >>>>>>>>> please visit
> >>>>>>>>> http://iso26300.info for more information.
> >>>>>>>>>
> >>>>>>>>> _______________________________________________
> >>>>>>>>> Gvsig_internacional mailing list
> >>>>>>>>> Gvsig_internacional at listserv.gva.es
> >>>>>>>>> http://listserv.gva.es/cgi-bin/mailman/listinfo/
> >>>>>>>>> gvsig_internacional
> >>>>>>>>
> >>>>>>>> _______________________________________________
> >>>>>>>> Gvsig_internacional mailing list
> >>>>>>>> Gvsig_internacional at listserv.gva.es
> >>>>>>>> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
> >>>>>>>
> >>>>>>>
> >>>>>>> ------ Files attached to this email may be in ISO 26300 format
> >>>>>>> (OASIS Open
> >>>>>>> Document Format). If you have difficulty opening them, please
> >>>>>>> visit
> >>>>>>> http://iso26300.info for more information.
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> Gvsig_internacional mailing list
> >>>>>>> Gvsig_internacional at listserv.gva.es
> >>>>>>> http://listserv.gva.es/cgi-bin/mailman/listinfo/
> >>>>>>> gvsig_internacional
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Gvsig_internacional mailing list
> >>>>>> Gvsig_internacional at listserv.gva.es
> >>>>>> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
> >>>>>
> >>>>>
> >>>>> ------ Files attached to this email may be in ISO 26300 format
> >>>>> (OASIS Open
> >>>>> Document Format). If you have difficulty opening them, please
> >>>>> visit
> >>>>> http://iso26300.info for more information.
> >>>>>
> >>>>> _______________________________________________
> >>>>> Gvsig_internacional mailing list
> >>>>> Gvsig_internacional at listserv.gva.es
> >>>>> http://listserv.gva.es/cgi-bin/mailman/listinfo/
> >>>>> gvsig_internacional
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Gvsig_internacional mailing list
> >>>> Gvsig_internacional at listserv.gva.es
> >>>> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
> >>>
> >>>
> >>> ------ Files attached to this email may be in ISO 26300 format
> >>> (OASIS Open
> >>> Document Format). If you have difficulty opening them, please
> >>> visit
> >>> http://iso26300.info for more information.
> >>>
> >>> _______________________________________________
> >>> Gvsig_internacional mailing list
> >>> Gvsig_internacional at listserv.gva.es
> >>> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
> >>
> >>
> >>
> >> _______________________________________________ Gvsig_internacional
> >> mailing list
> >> Gvsig_internacional at listserv.gva.es
> >> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
> >
> >
> > ------ Files attached to this email may be in ISO 26300 format
> > (OASIS Open
> > Document Format). If you have difficulty opening them, please visit
> > http://iso26300.info
> > for more information.
> >
> > _______________________________________________ Gvsig_internacional
> > mailing list
> > Gvsig_internacional at listserv.gva.es
> > http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>
> _______________________________________________ Gvsig_internacional
> mailing list
> Gvsig_internacional at listserv.gva.es
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.
More information about the Gvsig_internacional
mailing list