Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3791593
By: rzoz

Using Eclipse 3.2 build I20060602-1317 and PyDev 1.2.0, I run a script as Python
coverage then click on "Choose dir!" on the Code Coverage Results View.  After
selecting a folder and clicking on OK, I get this error:


Message:
java.lang.RuntimeException: We can only get information on a dir.


Exception Stack Trace:
java.lang.RuntimeException: java.lang.RuntimeException: We can only get 
information
on a dir.
at org.python.pydev.debug.codecoverage.PyCoverage.refreshCoverageInfo(PyCoverage
.java:151)
at org.python.pydev.debug.codecoverage.PyCodeCoverageView$RefreshAction.run(PyCo
deCoverageView.java:121)
at org.python.pydev.debug.codecoverage.PyCodeCoverageView$ChooseAction.run(PyCod
eCoverageView.java:270)
at org.python.pydev.utils.ProgressOperation.execute(ProgressOperation.java:40)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperatio
n.java:101)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.
java:113)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java
:369)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.jav
a:479)
at org.python.pydev.utils.ProgressOperation.startAction(ProgressOperation.java:5
8)
at org.python.pydev.debug.codecoverage.PyCodeCoverageView$1.widgetSelected(PyCod
eCoverageView.java:400)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3164)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.j
ava:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(E
clipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseApp
Launcher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at jrockit.reflect.InitialMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Obj
ect;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.
lang.Object;(Unknown Source)
Caused by: java.lang.RuntimeException: We can only get information on a dir.
at org.python.pydev.debug.codecoverage.PyCoverage.refreshCoverageInfo(PyCoverage
.java:53)
... 28 more


Session Data:
eclipse.buildId=I20060602-1317
java.version=1.5.0_06
java.vendor=BEA Systems, Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to