Bug 532059 - New Fortran project unavailable
Summary: New Fortran project unavailable
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-photran
Version: 11
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-30 13:35 UTC by Fabien Archambault
Modified: 2009-11-11 15:02 UTC (History)
2 users (show)

Fixed In Version: 4.0.5-0.1.v20090801.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-11 15:02:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Wizard project (24.01 KB, image/png)
2009-10-30 21:33 UTC, Fabien Archambault
no flags Details

Description Fabien Archambault 2009-10-30 13:35:47 UTC
Description of problem: when installing eclipse-photran, you cannot create a new Fortran project as it is not proposed


Version-Release number of selected component (if applicable): eclipse-photran-4.0.0-0.6.b5.fc11.x86_64


How reproducible: always


Steps to Reproduce:
1. Install eclipse
2. Start Eclipse
3. Install eclipse-photran
  
Actual results: cannot use eclipse for Fortran


Expected results: having a new project in fortran available


Additional info: it seems that this problem is linked to the fact that I did not installed eclipse-photran when installing eclipse. I tried to reinstall but still not working.
Here are the installed packages:
# rpm -qa | grep eclip
eclipse-pde-3.4.2-17.fc11.x86_64
tomcat5-jasper-eclipse-5.5.27-6.2.fc11.noarch
eclipse-platform-3.4.2-17.fc11.x86_64
eclipse-jdt-3.4.2-17.fc11.x86_64
icu4j-eclipse-3.8.1-5.fc11.x86_64
eclipse-rcp-3.4.2-17.fc11.x86_64
eclipse-photran-4.0.0-0.6.b5.fc11.x86_64
eclipse-swt-3.4.2-17.fc11.x86_64

If you need more information.

Comment 1 Alexander Kurtakov 2009-10-30 13:40:28 UTC
I guess this is the well known problem https://bugzilla.redhat.com/show_bug.cgi?id=458626 . Please try removing ~/.eclipse and check again.

Comment 2 Fabien Archambault 2009-10-30 13:53:28 UTC
I made : rm -Rf ~/.eclipse

Then restarted eclipse but when doing File -> New -> Project
I could not find any fortran project.

I tried also:
$ eclipse --clean
CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
CompilerOracle: exclude org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding.<init>
CompilerOracle: exclude org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.instantiateTemplate
CompilerOracle: exclude org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.addBinding
CompilerOracle: exclude org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.isValidSourceFile
CompilerOracle: exclude org/python/pydev/ui/filetypes/FileTypesPreferencesPage.getDottedValidSourceFiles
Registering '@mozilla.org/module-loader/python;1' (libpyloader.so)
/usr/lib64/xulrunner-1.9.1/python/xpcom/__init__.py:54: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = message
Registering '@mozilla.org/network/protocol/about;1?what=python' (pyabout.py)

Still not working.

Comment 3 Alexander Kurtakov 2009-10-30 14:22:24 UTC
Just to make sure: Was eclipse running when you do rm -fr ~/.eclipse?
If not please stop eclipse, rm -fr ~/.eclipse, eclipse -clean

Comment 4 Fabien Archambault 2009-10-30 14:41:15 UTC
Yes I stopped eclipse before removing.

I also checked that there was no eclipse still running.
I removed ~/.eclipse and ~/workspace
I tried to log-out and removing.

Still not working. Is there another configuration file ?

Comment 5 Orion Poplawski 2009-10-30 14:52:19 UTC
Any .log files in ~/workspace?

Comment 6 Fabien Archambault 2009-10-30 15:08:29 UTC
Here is what is on the workspace :

$ls -a workspace/.*
workspace/.metadata:
.  ..  .lock  .plugins  version.ini

$ ls -a workspace/.metadata/.plugins/
.                              org.eclipse.jdt.core
..                             org.eclipse.jdt.ui
org.eclipse.core.resources     org.eclipse.ui.ide
org.eclipse.core.runtime       org.eclipse.ui.workbench
org.eclipse.equinox.p2.ui.sdk

I checked in many folders in ~/.eclipse and ~/workspace with some grep to see if there were some references to photran or fortran and could not find any.

Comment 7 Orion Poplawski 2009-10-30 15:16:36 UTC
Do a:

find ~/workspace -name .log

Comment 8 Fabien Archambault 2009-10-30 15:28:57 UTC
It finds nothing :(

$ find ~/workspace -name .log
$
$ find ~/.eclipse -name .log
$

As I deleted the folder and did not create any project yet this is perhaps the correct behaviour.

Comment 9 Orion Poplawski 2009-10-30 17:42:54 UTC
How about the install.log:

find ~/.eclipse -name install.log

Comment 10 Fabien Archambault 2009-10-30 17:59:42 UTC
$ find ~/.eclipse -name install.log
/home/MarbolanGos/.eclipse/org.eclipse.platform_3.4.0_793567567/configuration/org.eclipse.update/install.log

$ cat /home/MarbolanGos/.eclipse/org.eclipse.platform_3.4.0_793567567/configuration/org.eclipse.update/install.log

!CONFIGURATION 1256925495601 Fri Oct 30 18:58:15 CET 2009
!ACTIVITY 1256925502694 oct. 30, 2009 18:58:22.694 file:/usr/lib64/eclipse/dropins/photran.vpg_feature/ site-install success
!ACTIVITY 1256925502694 oct. 30, 2009 18:58:22.694 file:/usr/share/eclipse/dropins/rpm-editor/eclipse/ site-install success
!ACTIVITY 1256925502694 oct. 30, 2009 18:58:22.694 file:/usr/lib64/eclipse/dropins/photran.intel/ site-install success
!ACTIVITY 1256925502694 oct. 30, 2009 18:58:22.694 file:/usr/lib64/eclipse/ site-install success
!ACTIVITY 1256925502694 oct. 30, 2009 18:58:22.694 file:/usr/share/eclipse/ site-install success
!ACTIVITY 1256925502694 oct. 30, 2009 18:58:22.694 file:/usr/lib64/eclipse/dropins/changelog/eclipse/ site-install success
!ACTIVITY 1256925502694 oct. 30, 2009 18:58:22.694 file:/usr/lib64/eclipse/dropins/jdt/ site-install success
!ACTIVITY 1256925502694 oct. 30, 2009 18:58:22.694 file:/usr/lib64/eclipse/dropins/photran.xlf_feature/ site-install success
!ACTIVITY 1256925502694 oct. 30, 2009 18:58:22.694 file:/usr/lib64/eclipse/dropins/sdk/ site-install success
!ACTIVITY 1256925502694 oct. 30, 2009 18:58:22.694 file:/usr/share/eclipse/dropins/rpmstubby/eclipse/ site-install success
!ACTIVITY 1256925502694 oct. 30, 2009 18:58:22.694 file:/home/MarbolanGos/.eclipse/org.eclipse.platform_3.4.0_793567567/ site-install success
!ACTIVITY 1256925502694 oct. 30, 2009 18:58:22.694 file:/usr/lib64/eclipse/dropins/photran_feature/ site-install success

Nice finding :)

Comment 11 Fabien Archambault 2009-10-30 21:12:40 UTC
New test done but still unsuccessfull.
I made a yum remove eclipse*
Then updatedb
Then removed all files related to eclipse
And yum install eclipse-photran

This should work but I still have no Fortran project possible! Does someone ever use this?

Comment 12 Orion Poplawski 2009-10-30 21:24:55 UTC
It works fine for me, I can't reproduce your problem (hence the search for logs...).   So, under the new project wizard there isn't a Fortran directory?

Comment 13 Fabien Archambault 2009-10-30 21:33:12 UTC
Created attachment 366872 [details]
Wizard project

Comment 14 Fabien Archambault 2009-10-30 21:33:55 UTC
I added a screenshot of what is available when installing only by yum install eclipse-photran

Comment 15 Alexander Kurtakov 2009-10-30 21:50:39 UTC
Can you post the output of eclipse -clean -debug -consolelog ?

Comment 16 Fabien Archambault 2009-10-30 21:54:15 UTC
$ eclipse -clean -debug -consolelog >& log
$ cat log 
CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
CompilerOracle: exclude org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding.<init>
CompilerOracle: exclude org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.instantiateTemplate
CompilerOracle: exclude org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.addBinding
CompilerOracle: exclude org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.isValidSourceFile
CompilerOracle: exclude org/python/pydev/ui/filetypes/FileTypesPreferencesPage.getDottedValidSourceFiles
Install location:
    file:/usr/lib64/eclipse/
Configuration file:
    file:/usr/lib64/eclipse/configuration/config.ini loaded
Configuration location:
    file:/home/MarbolanGos/.eclipse/org.eclipse.platform_3.4.0_793567567/configuration/
Configuration file:
    file:/home/MarbolanGos/.eclipse/org.eclipse.platform_3.4.0_793567567/configuration/config.ini loaded
Shared configuration location:
    file:/usr/lib64/eclipse/configuration/
Framework located:
    file:/usr/lib64/eclipse/plugins/org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
Framework classpath:
    file:/usr/lib64/eclipse/plugins/org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
Splash location:
    /usr/lib64/eclipse/plugins/org.fedoraproject.ide.platform_3.4.2/splash.bmp
Debug options:
    file:/home/MarbolanGos/.options not found
Time to load bundles: 3
Starting application: 2674
Application Started: 5555
Start VM: /usr/bin/java
-Xms40m
-Xmx512m
-XX:MaxPermSize=128m
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding
-XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile
-XX:CompileCommand=exclude,org/python/pydev/ui/filetypes/FileTypesPreferencesPage,getDottedValidSourceFiles
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-jar /usr/lib64/eclipse/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /usr/lib64/eclipse/eclipse
-name Eclipse
--launcher.library /usr/lib64/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.101.R34x_v20080731/eclipse_1116.so
-startup /usr/lib64/eclipse/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
-exitdata 11d0015
-clean
-debug
-consolelog
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=128m
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding
-XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile
-XX:CompileCommand=exclude,org/python/pydev/ui/filetypes/FileTypesPreferencesPage,getDottedValidSourceFiles
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-jar /usr/lib64/eclipse/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar

Comment 17 Orion Poplawski 2009-10-30 21:59:19 UTC
Upgrading from eclipse-platform-3.4.2-16 to 3.4.2-17 broke it for me too.

Comment 18 Fabien Archambault 2009-10-30 22:04:47 UTC
Ok. So I need to open a bug for eclipse-platform ?

Comment 19 Orion Poplawski 2009-10-30 22:07:21 UTC
Hmm, can't fix it by downgrading back to -16, so not sure what really is "breaking" it.

Comment 20 Orion Poplawski 2009-10-30 22:11:52 UTC
Are we no longer looking in %{_libdir}/eclipse/dropins for features?

Comment 21 Orion Poplawski 2009-10-30 22:17:53 UTC
Wait, I may have it - try installing eclipse-cdt and eclipse-rse as well.

Comment 22 Orion Poplawski 2009-10-30 22:22:38 UTC
Actually, eclipse-rse is a F-13 thing, but you do need eclipse-cdt.  Looks like I have a missing requires.

Comment 23 Fabien Archambault 2009-10-31 09:41:52 UTC
Hi,
I confirm I need only eclipse-cdt to make it work.

Thank you for your help. Really tricky this problem.

Comment 24 Fedora Update System 2009-11-02 23:54:36 UTC
eclipse-photran-4.0.5-0.1.v20090801.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/eclipse-photran-4.0.5-0.1.v20090801.fc11

Comment 25 Fedora Update System 2009-11-04 12:04:28 UTC
eclipse-photran-4.0.5-0.1.v20090801.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update eclipse-photran'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10903

Comment 26 Fedora Update System 2009-11-11 15:02:51 UTC
eclipse-photran-4.0.5-0.1.v20090801.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.