Thread: [Pydev-users] [Users] Problem with 'non-PyDev Projects' filter
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2011-10-01 16:02:05
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: 0. Make sure you have some PyDev projects (Python nature) and some CDT projects (C/C++ nature). 1. Activate PyDev perspective 2. In PyDev Package Explorer choose 'Customize view...' and on 'Filters' tab check 'PyDev: non-PyDev Projects' and click OK. Result: Some C/C++ projects disappear but other do not. Any idea what could be wrong? |
From: SourceForge.net <no...@so...> - 2011-10-01 16:24:23
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: In .metadata/.log file inside my workspace there are many entries like the one below. Could someone explain what's the reason for this? Can this be connected with the problem I described in my question titled [url=http://stackoverflow.com/questions/7621027/]What's the reason of disappearing of information on project's natures?[/url] at stackoverflow.com? !ENTRY org.eclipse.core.expressions 4 201 2011-10-01 18:12:30.692 !MESSAGE No property tester contributes a property com.aptana.ide.core.ui.nature to type class org.python.pydev.navigator.elements.PythonProjectSourceFolder !STACK 1 org.eclipse.core.runtime.CoreException: No property tester contributes a property com.aptana.ide.core.ui.nature to type class org.python.pydev.navigator.elements.PythonProjectSourceFolder at org.eclipse.core.internal.expressions.TypeExtensionManager.getProperty(TypeE xtensionManager.java:123) at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression .java:96) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateOr(Composi teExpression.java:68) at org.eclipse.core.internal.expressions.OrExpression.evaluate(OrExpression.jav a:21) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(Compos iteExpression.java:53) at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.j ava:29) at org.eclipse.ui.internal.dialogs.RegistryPageContributor.failsEnablement(Regi stryPageContributor.java:311) at org.eclipse.ui.internal.dialogs.RegistryPageContributor.isApplicableTo(Regis tryPageContributor.java:251) at org.eclipse.ui.internal.dialogs.PropertyPageContributorManager.getApplicable Contributors(PropertyPageContributorManager.java:218) at org.eclipse.ui.internal.dialogs.PropertyPageContributorManager.getApplicable Contributors(PropertyPageContributorManager.java:237) at org.eclipse.ui.dialogs.PropertyDialogAction.hasPropertyPagesFor(PropertyDial ogAction.java:105) at org.eclipse.ui.dialogs.PropertyDialogAction.isApplicableForSelection(Propert yDialogAction.java:147) at org.eclipse.ui.dialogs.PropertyDialogAction.isApplicableForSelection(Propert yDialogAction.java:127) at org.eclipse.ui.internal.navigator.resources.actions.PropertiesActionProvider .fillContextMenu(PropertiesActionProvider.java:62) at org.eclipse.ui.navigator.NavigatorActionService$2.run(NavigatorActionService .java:221) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.navigator.NavigatorActionService.addCommonActionProviderMenu( NavigatorActionService.java:216) at org.eclipse.ui.navigator.NavigatorActionService.fillContextMenu(NavigatorAct ionService.java:173) at org.eclipse.ui.navigator.CommonNavigatorManager.fillContextMenu(CommonNaviga torManager.java:260) at org.eclipse.ui.navigator.CommonNavigatorManager$4.menuAboutToShow(CommonNavi gatorManager.java:275) at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:342) at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:473) at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:469) at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:495) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:247) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058) at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:4881) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4557) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1610) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2061) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972) at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method) at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:256) at org.eclipse.swt.widgets.Display.runPopups(Display.java:4206) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3748) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication. java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java: 196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication( EclipseAppLauncher.jav |
From: SourceForge.net <no...@so...> - 2011-10-01 22:31:21
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: The second post in this thread I posted by mistake. It was going to be another question in separate thread. |
From: SourceForge.net <no...@so...> - 2011-10-06 18:40:51
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: Could someone please try to reproduce behavior I described in comment 1. I guess those other projects do not really have to be CDT ones. I suspect the behavior could be the same for other kinds of projects as well. |
From: SourceForge.net <no...@so...> - 2011-10-06 19:58:09
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: It's possible that a project has both the c++ and the python nature. If you right click a project (in the pydev package explorer at least), you can choose pydev > remove pydev project config (to remove the python nature if it's a pydev project) or pydev > set as pydev project. Note that if you open a python file in any project, pydev will automatically add the python nature to it. Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2011-10-06 20:22:11
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: Thanks Fabio for quick reply. I'll try this as soon as possible and I will post results. Could you please comment on log entry posted in comment 2? |
From: SourceForge.net <no...@so...> - 2011-10-06 20:25:34
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: Seems some issue between PyDev and Aptana Studio... Which Aptana Studio version are you using? |
From: SourceForge.net <no...@so...> - 2011-10-06 20:36:44
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: Well it seems like I don't have Aptana Studio installed... Below is contents of [i]Installed Software[/i] tab in [i]Eclipse SDK Installation Details[/i] window: [code] Autotools support for CDT (Incubation) 3.0.1.201108301805 org.eclipse.linuxtools.cdt.autotools.feature.gro up Eclipse Linux Tools C/C++ Development Tools 8.0.0.201109151620 org.eclipse.cdt.feature.group Eclipse CDT C/C++ Library API Documentation Hover Help (Incubation) 0.3.0.201108301805 org.eclipse.linuxtools.cdt.libhover.feature.grou p Eclipse Linux Tools Eclipse SDK 3.7.1.M20110909-1335 org.eclipse.sdk.ide null Eclipse XML Editors and Tools 3.3.1.v201108102009-7H7EFZ3DxumTlaI6nheRdHo2p1KaDIL1Uz-S3PL org.eclipse.ws t.xml_ui.feature.feature.group Eclipse Web Tools Platform Eclipse XSL Developer Tools 1.3.1.v201109012200-7T7YFRTFIqUoIrvbEtBlSIJXGZNg org.eclipse.wst.xsl.featu re.feature.group Eclipse Web Tools Platform JavaScript Development Tools 1.3.1.v201108102009-7F78FXRFBBoPbXRPcHfz-uy org.eclipse.wst.jsdt.feature.f eature.group Eclipse Web Tools Platform MercurialEclipse 1.9.0.201106191824 mercurialeclipse.feature.group MercurialEclipse project PyDev for Eclipse 2.2.2.2011091514 org.python.pydev.feature.feature.group Apta na Pydev Mylyn Integration 0.3.0 org.python.pydev.mylyn.feature.feature.group Fabio Zadrozny[/code] In the past I had Aptana Studio installed indeed but I think I haven't installed it in my current Eclipse installation (Indigo) at all. |
From: SourceForge.net <no...@so...> - 2011-10-06 20:43:21
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: Well, that entry in the log: org.eclipse.core.runtime.CoreException: No property tester contributes a property com.aptana.ide.core.ui.nature to type class org.python.pydev.navigator.elements.PythonProjectSourceFolder is saying that it was a problem with com.aptana.ide.core.ui.nature, so, maybe that's where your problem is lying (i.e.: maybe you installed aptana, removed it and somehow you're using the same metadata which still has some information from aptana? -- so, there's a chance that starting things with a fresh workspace could solve your issues...) Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2011-10-06 21:13:35
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: Well, I looked for 'com.aptana.ide' string in [i].metadata[/i] folder in my workspace, in Eclipse installation folder and in folder with my projects with no results. Very strange... |