Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Can't load uDig 1.0.5 - WinXP Home

Ok, so it looks like that is the problem. Guess I need to figure out how to
reference the current user's home directory under Windows. Anyone have any
suggestions? 

Actually, it looks like the installer software can sort this out on it's own.. I
just need to change the context from "current user" to "all users." I will try
and test this out soon.

Richard

Quoting Eduardo Patto Kanegae <lists@xxxxxxxxxxxxxxx>:

> Hi folks,
> 
> thanks for all answers.
> 
> In fact, I changed "data" parameters and everthing became ok. But, I really
> missed $HOME variable, which is available under Linux. Doesnt Windows have
> this var?
> 
> I also found logfiles at my C:\Documents and
> Settings\eduardopk\.eclipse\net.refractions.udig.product_1.0.5\configuration
> which says:
> ------------------------
> !SESSION 2005-11-19 08:19:59.239
> -----------------------------------------------
> eclipse.buildId=I20050627-1435
> java.version=1.5.0_04
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
> Framework arguments:  -noop -vm C:\Program
> Files\uDig\1.0.5\eclipse\jre\bin\javaw.exe -vmargs -Xmx386M -jar C:\Program
> Files\uDig\1.0.5\eclipse\startup.jar
> Command-line arguments:  -os win32 -ws win32 -arch x86 -data C:\Documents and
> Settings\root\Application Data\..\My Documents\uDig -noop -vm C:\Program
> Files\uDig\1.0.5\eclipse\jre\bin\javaw.exe -vmargs -Xmx386M -jar C:\Program
> Files\uDig\1.0.5\eclipse\startup.jar
> 
> !ENTRY org.eclipse.ui 4 4 2005-11-19 08:20:00.120
> !MESSAGE Unhandled event loop exception
> 
> !ENTRY org.eclipse.ui 4 0 2005-11-19 08:20:00.130
> !MESSAGE The platform metadata area could not be written: C:\Documents and
> Settings\root\My Documents\uDig\.metadata.  By default the platform writes
> its content
> under the current working directory when the platform is launched.  Use the
> -data parameter to
> specify a different content area for the platform.
> !STACK 0
> java.lang.IllegalStateException: The platform metadata area could not be
> written: C:\Documents and Settings\root\My Documents\uDig\.metadata.  By
> default the platform writes its content
> under the current working directory when the platform is launched.  Use the
> -data parameter to
> specify a different content area for the platform.
> 	at
>
org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(DataArea.java:49)
> 	at
> org.eclipse.core.internal.runtime.DataArea.getStateLocation(DataArea.java:76)
> 	at
>
org.eclipse.core.internal.preferences.InstancePreferences.getBaseLocation(InstancePreferences.java:44)
> 	at
>
org.eclipse.core.internal.preferences.InstancePreferences.initializeChildren(InstancePreferences.java:199)
> 	at
>
org.eclipse.core.internal.preferences.InstancePreferences.<init>(InstancePreferences.java:59)
> 	at
>
org.eclipse.core.internal.preferences.InstancePreferences.internalCreate(InstancePreferences.java:209)
> 	at
>
org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:288)
> 	at
>
org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:276)
> 	at
>
org.eclipse.core.internal.preferences.PreferencesService.createNode(PreferencesService.java:405)
> 	at
>
org.eclipse.core.internal.preferences.RootPreferences.getChild(RootPreferences.java:63)
> 	at
>
org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:90)
> 	at
> org.eclipse.ui.internal.JFaceUtil.initializeJFacePreferences(JFaceUtil.java:69)
> 	at org.eclipse.ui.internal.Workbench.init(Workbench.java:912)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
> 	at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
> 	at
> net.refractions.udig.internal.ui.UDIGApplication.run(UDIGApplication.java:28)
> 	at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
> 	at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
> 	at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
> 	at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> 	at org.eclipse.core.launcher.Main.run(Main.java:973)
> 	at org.eclipse.core.launcher.Main.main(Main.java:948)
> -------------
> 
> bests.
> 
> Eduardo
> 
> Eduardo Patto Kanegae
> http://www.webmapit.com.br
> 
> 
> 
> On Mon, 21 Nov 2005 10:28:10 -0800, Richard Gould <rgould@xxxxxxxxxxxxxxx>
> escreveu:
> 
> > De: Richard Gould <rgould@xxxxxxxxxxxxxxx>
> > Data: Mon, 21 Nov 2005 10:28:10 -0800
> > Para: User-friendly Desktop Internet GIS <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
> > Assunto: Re: [udig-devel] Can't load uDig 1.0.5 - WinXP Home
> >
> > A short term fix would be to manually change the uDig short-cut. From
> > the properties dialog, change the "-data" parameter to point to a
> > directory that the current user has write access to.
> >
> > Richard
> >
> > Jesse Eichar wrote:
> > > That is an interesting problem.  I know that eclipse needs to make
> > > modification to the eclipse install directory as well as the local
> > > workspace so I assume udig has to as well.  I will have to think about
> > > the issue because nothing obvious come to mind.  The log should be in
> > > ...\My Documents\workspace\.metadata\.log
> > >
> > > Jesse
> > >
> > > Eduardo Patto Kanegae wrote:
> > >
> > >> Hi folks,
> > >>
> > >> I've just setup(using the installer) uDig 1.0.5 on windows XP Home but
> > >> I can only run it when using Administrator user.
> > >>
> > >> I tried to set permissions WRITE for whole c:\program files\udig1.0.5\
> > >> ( and all folders bellow it) but it also didn't work when trying to
> > >> run it using LIMITED user.
> > >>
> > >> The same problem I already have on Windows XP Pro.
> > >>
> > >> I looked for some logfile at c:\program files\udig1.0.5\ but found
> > >> nothing.
> > >>
> > >> What could be wrong?
> > >>
> > >> best regards
> > >>
> > >
> > > _______________________________________________
> > > User-friendly Desktop Internet GIS (uDig)
> > > http://udig.refractions.net
> > > http://lists.refractions.net/mailman/listinfo/udig-devel
> >
> > _______________________________________________
> > User-friendly Desktop Internet GIS (uDig)
> > http://udig.refractions.net
> > http://lists.refractions.net/mailman/listinfo/udig-devel
> >
> >
> >
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
> 






Back to the top