Community
Participate
Working Groups
Build Identifier: I20110613-1736 If my project contains no Fortran source code, there's no reason to enable Photran indexing, and keeping it enabled appears to cause many jobs to get queued up to run during indexing. There should be some an option to disable Photran indexing, perhaps in the project indexing properties. Reproducible: Always Steps to Reproduce: 1_ Install all of PTP, but don't install (or uninstall) all of the Photran-related features. 2. Run an indexing operation on a remote project, and notice that the Photran indexer still runs.
I'll go one further... Photran shouldn't be doing anything if there are no Fortran projects. If it's kicking off on C/C++ projects then that's a bug as far as I'm concerned.
The Photran indexer is enabled/disabled in the project properties under Fortran General > Analysis/Refactoring by checking/unchecking "Enable Analysis/Refactoring." Is this enabled for any of your projects, local or remote? If none of the projects in the workspace are Fortran projects, or if they have analysis/refactoring disabled, then Photran's indexer will start but should stop almost immediately after it realizes that there are no projects to index.
(In reply to comment #2) > The Photran indexer is enabled/disabled in the project properties under Fortran > General > Analysis/Refactoring by checking/unchecking "Enable > Analysis/Refactoring." > > Is this enabled for any of your projects, local or remote? > > If none of the projects in the workspace are Fortran projects, or if they have > analysis/refactoring disabled, then Photran's indexer will start but should > stop almost immediately after it realizes that there are no projects to index. My project's properties do not contain any Fortran categories at all. I will attach a screen shot to show the properties it does have.
Created attachment 203095 [details] Remote project's properties screen shot
I've added the PTP version and the machine where I'm seeing this problem. It's really quite an annoying error, because not only does it take a *really* long time for these photran indexing jobs to complete, there's no way to stop the process, and in fact, I can't even exit eclipse while it's doing this... I have to kill -HUP java process in order to stop it.
Hi Corey, I'm having trouble reproducing this. Can you give me a step-by-step way to reproduce this from scratch/starting with an empty workspace? Or, can you at least give me an idea of what is in your workspace? Are there *any* Fortran projects, even local ones? How big is the remote C/C++ project? Is there something specific you can do to get multiple Photran indexer tasks to queue up? If you give Eclipse more heap space (e.g., eclipse -vmargs -Xmx1024m) do you still have the problem? Also, in Windows > Preferences, if you select the Fortran category, there's a checkbox labeled "(Debugging) Enable Fortran indexer (VPG database) logging." Check that, close Eclipse, and then restart Eclipse again from a terminal window. It should spew a lot of timing information to the terminal as the indexer runs. If you could, let me know what output it gives right before the indexer hangs (and right after, assuming it finishes). That might help narrow this down... Thanks.
Hi, The Photran indexer is a killer and causing a pain in our eclipse. I have made sure that the - "(Debugging) Enable Fortran indexer (VPG database) logging." is unchecked. However I still see the Photran indexer task running and killing the performance of my eclipse. Is there away out of this killer task? Can anyone suggest me with this issue. Regards Mahesh Maney R
Try disabling Photran plugin: Preferences->General->Startup and Shutdown->Photran Virtual Program Graphg Core Plug-in
I added this to the wiki FAQ.