Re: IDLDE can not start in Ubuntu10.04 [message #71090] |
Thu, 27 May 2010 07:10 |
lunwen
Messages: 2 Registered: May 2010
|
Junior Member |
|
|
On May 27, 5:42 am, Terhi Törmänen <terhi.torma...@gmail.com> wrote:
> I have exactly the same problem with IDL 7.1 on Ubuntu 10.01 64-bit
> system.
>
> To my knowledge SELinux is not installed to this system.
>
> ls -l /usr/local/itt
> gives:
> lrwxrwxrwx 1 root root 5 2010-05-18 13:35 idl ->
> idl71
> drwxr-xr-x 10 root users 4096 2009-08-20 19:07 idl71
>
> The
> export GDK_NATIVE_WINDOWS=true
> does not help (under bash).
>
> So, I'm really stumped.
>
> Any help would be greatly appreciated!
>
> Terhi
> Univ. Oulu, Finland
>
> On May 26, 11:47 pm, "BLem...@ittvis.com" <brandonlem...@gmail.com>
> wrote:
>
>> On May 26, 9:54 am, lunwen <lunwe...@163.com> wrote:
>
>>> Hello,
>
>>> I just installed ENVI4.7/IDL7.1.1 in Ubuntu10.04 with the root user. I
>>> met two problems.
>
>>> 1. the IDL and ENVI help can not work. I can start IDL and ENVI in the
>>> terminal. But when I input '?' in the IDL or ENVI prompt, the online
>>> help browser can not show, and just like this:
>
>>> IDL> ?
>>> % ONLINE_HELP: Starting the online help browser.
>>> IDL>
>
>>> ENVI> ?
>>> % ONLINE_HELP: Starting the online help browser.
>>> ENVI>
>
>>> 2. IDLDE can not start with general user but it can work with root
>>> user. If I use the command: sudo idlde, it can start the IDLDE, and
>>> the IDL and ENVI help can also work well. However, when I just input:
>>> idlde, it can not start. The following is the error information:
>
>>> lunwen@ubuntu:~$ idlde
>>> !SESSION 2010-05-26 10:46:56.109
>>> -----------------------------------------------
>>> eclipse.buildId=unknown
>>> java.version=1.5.0_11
>>> java.vendor=Sun Microsystems Inc.
>>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>>> Command-line arguments: -os linux -ws gtk -arch x86
>
>>> !ENTRY org.eclipse.osgi 4 0 2010-05-26 10:46:56.519
>>> !MESSAGE Error reading configuration: /home/wzz0007/.idl/itt/
>>> idlworkbench-config-idl7.1.0/org.eclipse.osgi/.manager/.file TableLock
>>> (No such file or directory)
>>> !STACK 0
>>> java.io.FileNotFoundException: /home/wzz0007/.idl/itt/idlworkbench-
>>> config-idl7.1.0/org.eclipse.osgi/.manager/.fileTableLock (No such file
>>> or directory)
>>> at java.io.RandomAccessFile.open(Native Method)
>>> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.loc k(Locker_JavaNio.java:
>>> 32)
>>> at
>>> org.eclipse.osgi.storagemanager.StorageManager.lock(StorageM anager.java:
>>> 389)
>>> at
>>> org.eclipse.osgi.storagemanager.StorageManager.open(StorageM anager.java:
>>> 687)
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileMa nager(BaseStorage.java:
>>> 208)
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize (BaseStorage.java:
>>> 142)
>>> at
>>> org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(B aseAdaptor.java:
>>> 124)
>>> at
>>> org.eclipse.osgi.framework.internal.core.Framework.initializ e(Framework.java:
>>> 180)
>>> at
>>> org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:
>>> 152)
>>> at
>>> org.eclipse.osgi.framework.internal.core.OSGi.createFramewor k(OSGi.java:
>>> 90)
>>> at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Ecli pseStarter.java:
>>> 286)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:
>>> 175)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:
>>> 39)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:
>>> 25)
>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
>
>>> I'm not familiar with Ubuntu and don't know how to solve these
>>> problems. Can anyone help me to solve these?
>
>>> Thanks in advance!
>
>> It appears that you are having a permissions issue to begin with. I
>> am wondering if you installed ENVI/IDL with SELinux enabled. This
>> might have changed the permissions for your installation directory,
>> thereby only allowing you to run ENVI/IDL as root. What do you get
>> when you
>
>> open a terminal
>> cd /usr/local/itt
>> ls -l
>
>> On my working installation (I can run as user), I get the following
>> when I run the above commands
>
>> drwxr-xr-x 10 root:users 4096 ... idl71
>
>> Another modification that will need to be made will be to do the
>> following in the terminal (or add the following to your shell startup
>> script)
>
>> export GDK_NATIVE_WINDOWS=true
>
>> This resolves an issue with Eclipse not playing nicely with this
>> Ubuntu distribution.
>
>> ~Brandon
>
>
Thanks Brandon
I think it may be the permission's issue. But the problem still can
not be resolved according to what you have suggested.
Ubuntu 10.04 did not use the SELinux, but the Apparmor. I use the
'sudo apparmor_status' command to list the current status of apparmor,
but I have not find some information about ENVI or IDL.
|
|
|
Re: IDLDE can not start in Ubuntu10.04 [message #71095 is a reply to message #71090] |
Thu, 27 May 2010 03:42  |
Terhi Törmänen
Messages: 1 Registered: May 2010
|
Junior Member |
|
|
I have exactly the same problem with IDL 7.1 on Ubuntu 10.01 64-bit
system.
To my knowledge SELinux is not installed to this system.
ls -l /usr/local/itt
gives:
lrwxrwxrwx 1 root root 5 2010-05-18 13:35 idl ->
idl71
drwxr-xr-x 10 root users 4096 2009-08-20 19:07 idl71
The
export GDK_NATIVE_WINDOWS=true
does not help (under bash).
So, I'm really stumped.
Any help would be greatly appreciated!
Terhi
Univ. Oulu, Finland
On May 26, 11:47 pm, "BLem...@ittvis.com" <brandonlem...@gmail.com>
wrote:
> On May 26, 9:54 am, lunwen <lunwe...@163.com> wrote:
>
>
>
>> Hello,
>
>> I just installed ENVI4.7/IDL7.1.1 in Ubuntu10.04 with the root user. I
>> met two problems.
>
>> 1. the IDL and ENVI help can not work. I can start IDL and ENVI in the
>> terminal. But when I input '?' in the IDL or ENVI prompt, the online
>> help browser can not show, and just like this:
>
>> IDL> ?
>> % ONLINE_HELP: Starting the online help browser.
>> IDL>
>
>> ENVI> ?
>> % ONLINE_HELP: Starting the online help browser.
>> ENVI>
>
>> 2. IDLDE can not start with general user but it can work with root
>> user. If I use the command: sudo idlde, it can start the IDLDE, and
>> the IDL and ENVI help can also work well. However, when I just input:
>> idlde, it can not start. The following is the error information:
>
>> lunwen@ubuntu:~$ idlde
>> !SESSION 2010-05-26 10:46:56.109
>> -----------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.5.0_11
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>> Command-line arguments: -os linux -ws gtk -arch x86
>
>> !ENTRY org.eclipse.osgi 4 0 2010-05-26 10:46:56.519
>> !MESSAGE Error reading configuration: /home/wzz0007/.idl/itt/
>> idlworkbench-config-idl7.1.0/org.eclipse.osgi/.manager/.file TableLock
>> (No such file or directory)
>> !STACK 0
>> java.io.FileNotFoundException: /home/wzz0007/.idl/itt/idlworkbench-
>> config-idl7.1.0/org.eclipse.osgi/.manager/.fileTableLock (No such file
>> or directory)
>> at java.io.RandomAccessFile.open(Native Method)
>> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
>> at
>> org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.loc k(Locker_JavaNio.java:
>> 32)
>> at
>> org.eclipse.osgi.storagemanager.StorageManager.lock(StorageM anager.java:
>> 389)
>> at
>> org.eclipse.osgi.storagemanager.StorageManager.open(StorageM anager.java:
>> 687)
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileMa nager(BaseStorage.java:
>> 208)
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize (BaseStorage.java:
>> 142)
>> at
>> org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(B aseAdaptor.java:
>> 124)
>> at
>> org.eclipse.osgi.framework.internal.core.Framework.initializ e(Framework.java:
>> 180)
>> at
>> org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:
>> 152)
>> at
>> org.eclipse.osgi.framework.internal.core.OSGi.createFramewor k(OSGi.java:
>> 90)
>> at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Ecli pseStarter.java:
>> 286)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:
>> 175)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:
>> 39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:
>> 25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
>
>> I'm not familiar with Ubuntu and don't know how to solve these
>> problems. Can anyone help me to solve these?
>
>> Thanks in advance!
>
> It appears that you are having a permissions issue to begin with. I
> am wondering if you installed ENVI/IDL with SELinux enabled. This
> might have changed the permissions for your installation directory,
> thereby only allowing you to run ENVI/IDL as root. What do you get
> when you
>
> open a terminal
> cd /usr/local/itt
> ls -l
>
> On my working installation (I can run as user), I get the following
> when I run the above commands
>
> drwxr-xr-x 10 root:users 4096 ... idl71
>
> Another modification that will need to be made will be to do the
> following in the terminal (or add the following to your shell startup
> script)
>
> export GDK_NATIVE_WINDOWS=true
>
> This resolves an issue with Eclipse not playing nicely with this
> Ubuntu distribution.
>
> ~Brandon
|
|
|
Re: IDLDE can not start in Ubuntu10.04 [message #71103 is a reply to message #71095] |
Wed, 26 May 2010 13:47  |
BLemire@ittvis.com
Messages: 9 Registered: March 2009
|
Junior Member |
|
|
On May 26, 9:54 am, lunwen <lunwe...@163.com> wrote:
> Hello,
>
> I just installed ENVI4.7/IDL7.1.1 in Ubuntu10.04 with the root user. I
> met two problems.
>
> 1. the IDL and ENVI help can not work. I can start IDL and ENVI in the
> terminal. But when I input '?' in the IDL or ENVI prompt, the online
> help browser can not show, and just like this:
>
> IDL> ?
> % ONLINE_HELP: Starting the online help browser.
> IDL>
>
> ENVI> ?
> % ONLINE_HELP: Starting the online help browser.
> ENVI>
>
> 2. IDLDE can not start with general user but it can work with root
> user. If I use the command: sudo idlde, it can start the IDLDE, and
> the IDL and ENVI help can also work well. However, when I just input:
> idlde, it can not start. The following is the error information:
>
> lunwen@ubuntu:~$ idlde
> !SESSION 2010-05-26 10:46:56.109
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.5.0_11
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86
>
> !ENTRY org.eclipse.osgi 4 0 2010-05-26 10:46:56.519
> !MESSAGE Error reading configuration: /home/wzz0007/.idl/itt/
> idlworkbench-config-idl7.1.0/org.eclipse.osgi/.manager/.file TableLock
> (No such file or directory)
> !STACK 0
> java.io.FileNotFoundException: /home/wzz0007/.idl/itt/idlworkbench-
> config-idl7.1.0/org.eclipse.osgi/.manager/.fileTableLock (No such file
> or directory)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
> at
> org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.loc k(Locker_JavaNio.java:
> 32)
> at
> org.eclipse.osgi.storagemanager.StorageManager.lock(StorageM anager.java:
> 389)
> at
> org.eclipse.osgi.storagemanager.StorageManager.open(StorageM anager.java:
> 687)
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileMa nager(BaseStorage.java:
> 208)
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize (BaseStorage.java:
> 142)
> at
> org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(B aseAdaptor.java:
> 124)
> at
> org.eclipse.osgi.framework.internal.core.Framework.initializ e(Framework.java:
> 180)
> at
> org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:
> 152)
> at
> org.eclipse.osgi.framework.internal.core.OSGi.createFramewor k(OSGi.java:
> 90)
> at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Ecli pseStarter.java:
> 286)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:
> 175)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:
> 39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:
> 25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
>
> I'm not familiar with Ubuntu and don't know how to solve these
> problems. Can anyone help me to solve these?
>
> Thanks in advance!
It appears that you are having a permissions issue to begin with. I
am wondering if you installed ENVI/IDL with SELinux enabled. This
might have changed the permissions for your installation directory,
thereby only allowing you to run ENVI/IDL as root. What do you get
when you
open a terminal
cd /usr/local/itt
ls -l
On my working installation (I can run as user), I get the following
when I run the above commands
drwxr-xr-x 10 root:users 4096 ... idl71
Another modification that will need to be made will be to do the
following in the terminal (or add the following to your shell startup
script)
export GDK_NATIVE_WINDOWS=true
This resolves an issue with Eclipse not playing nicely with this
Ubuntu distribution.
~Brandon
|
|
|