[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-user] Can't get indexer to work
|
On 07/15/2013 04:46 PM, Greg Watson wrote:
More information:
- By "latest updated Kepler", do you mean updated with the latest kepler nightly build?
No, I meant latest release, with updates current. I could try nightly.
- Type of sync project (C, Fortran, etc)?
C/C++
- Toolchains you selected?
Linux GCC
- Do you get the invalid values message before you set the path?
I tried unsetting them. Makes no difference.
- Do you get the invalid values message for a local C project?
I tried creating a new one, and got this on creation:
!ENTRY org.eclipse.cdt.core 4 0 2013-07-15 16:56:51.088
!MESSAGE Error: hello2
!STACK 0
org.eclipse.ptp.services.core.ProjectNotConfiguredException: hello2
at
org.eclipse.ptp.services.core.ServiceModelManager.getConf(ServiceModelManager.java:96)
at
org.eclipse.ptp.services.core.ServiceModelManager.getActiveConfiguration(ServiceModelManager.java:345)
at
org.eclipse.ptp.internal.rdt.core.index.RemoteFastIndexer.createTask(RemoteFastIndexer.java:41)
at
org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.createDelegate(PDOMRebuildTask.java:114)
at
org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.run(PDOMRebuildTask.java:75)
at
org.eclipse.cdt.internal.core.pdom.PDOMIndexerJob.run(PDOMIndexerJob.java:137)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.core.jobs 4 2 2013-07-15 16:56:51.089
!MESSAGE An internal error occurred during: "C/C++ Indexer".
!STACK 0
org.eclipse.ptp.services.core.ProjectNotConfiguredException: hello2
at
org.eclipse.ptp.services.core.ServiceModelManager.getConf(ServiceModelManager.java:96)
at
org.eclipse.ptp.services.core.ServiceModelManager.getActiveConfiguration(ServiceModelManager.java:345)
at
org.eclipse.ptp.internal.rdt.core.index.RemoteFastIndexer.createTask(RemoteFastIndexer.java:41)
at
org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.createDelegate(PDOMRebuildTask.java:114)
at
org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.run(PDOMRebuildTask.java:75)
at
org.eclipse.cdt.internal.core.pdom.PDOMIndexerJob.run(PDOMIndexerJob.java:137)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
The error message is coming from CDT, not PTP, so it looks like something is wrong with your installation.
Try setting the path in the Paths and Symbols page instead.
Seems to make no difference.
Greg
On Jul 15, 2013, at 5:42 PM, "Steven R. Brandt" <sbrandt@xxxxxxxxxxx> wrote:
On 07/15/2013 04:29 PM, Steven R. Brandt wrote:
I can't get the remote indexer to work. In my example, I set the include path to
the include path in
Project Properties > C/C++ General > Paths and Symbols > GNU C
Sorry, that's in Preprocessor Paths and Symbols, and "Filesystem" is selected.
is set to
//queenbee/usr/include/mpich2-x86_64
Where queenbee is the name of my connection. I verified the connection by modifying files in the synchronized project and observing the changes on the remote machine. I rebuild the index, etc. but all I see is errors and typing F3 on the mpi.h include line fails.
Windows > Preferences > C/C++ > Indexer
Always shows the message "The currently displayed page contains invalid values." If I click on something else, say File Types, then click on Indexer again I see a checkbox ("Enable Indexer") , a chooser with "C/C++ Indexer" and "RDT Remote Fast Indexer". Regardless of what I pick, on this page, none of the values will show up again when I return.
I'm running on Fedora17 with the Oracle JDK, version 1.6.0_30. I am using the latest updated Kepler.
The log contains this, possibly relevant, message:
!ENTRY org.eclipse.jface 4 2 2013-07-15 16:24:09.786
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.IllegalArgumentException
at org.eclipse.core.resources.ProjectScope.<init>(ProjectScope.java:57)
at org.eclipse.cdt.internal.core.pdom.indexer.IndexerPreferences.getProjectPreferences(IndexerPreferences.java:296)
at org.eclipse.cdt.internal.core.pdom.indexer.IndexerPreferences.getReindexOnIndexerChange(IndexerPreferences.java:457)
at org.eclipse.cdt.ui.dialogs.IndexerBlock.initializeIndexerCombo(IndexerBlock.java:365)
at org.eclipse.cdt.ui.dialogs.IndexerBlock.createControl(IndexerBlock.java:241)
Any idea what I'm doing wrong?
Cheers,
Steve
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user