Thread: [Pydev-users] [pydev - Users] problem with debugging
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2006-10-17 20:50:09
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3968414 By: kregelo Hi all, i just installed pydev 1.2.4 on eclipse 3.2 but i cannot debug. When i select debug or run i get an error "Unable to get location for run" and no console is launched. I first thought this to be a problem with PYTHONPATH. But in preferences for pydev everything seems to be ok. The interpreter and the corresponding libraries are given correctly. Any ideas or hints? Thanks in advance T.Kregelo ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2006-10-17 22:20:33
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3968511 By: fabioz Do you have the stack-trace for it? (you can probably check that in the error log) ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2006-10-18 07:30:24
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3968932 By: kregelo In the error log with the message "Unable to get location for run" the exeption stack trace says "An exception stack trace is not available." and the session data is "eclipse.buildId=M20060921-0945 java.fullversion=GNU libgcj 4.0.2 20051125 (Red Hat 4.0.2-8) BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE Command-line arguments: -os linux -ws gtk -arch x86 ". Is there any possibility to activate the stack trace for pydev manually? (i am just beginning with eclipse). Furthermore i have an error in between the "Unable to get location for run" errors with the message "No message gotten." which has an exeption stack trace "java.lang.NullPointerException at org.eclipse.core.internal.localstore.FileSystemResourceManager.allPathsForLoc ation(java.net.URI) (Unknown Source) at org.eclipse.core.internal.localstore.FileSystemResourceManager.allResourcesFo r(java.net.URI, boolean) (Unknown Source) at org.eclipse.core.internal.resources.WorkspaceRoot.findFilesForLocationURI(jav a.net.URI) (Unknown Source) at org.eclipse.core.internal.resources.WorkspaceRoot.findFilesForLocation(org.ec lipse.core.runtime.IPath) (Unknown Source) at org.python.pydev.plugin.PydevPlugin.getWorkspaceFile(java.io.File) (Unknown Source) at org.python.pydev.builder.pycremover.PycRemoverBuilderVisitor.treatPycFile(jav a.lang.String) (Unknown Source) at org.python.pydev.builder.pycremover.PycRemoverBuilderVisitor.visitRemovedReso urce(org.eclipse.core.resources.IResource, org.eclipse.jface.text.IDocument, org.eclipse.core.runtime.IProgressMonitor) (Unknown Source) at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/usr/lib/libgcj.so.6.0.0) at org.python.pydev.core.REF.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) (Unknown Source) at org.python.pydev.core.REF.invoke(java.lang.Object, java.lang.String, java.lang.Object[]) (Unknown Source) at org.python.pydev.builder.PydevGrouperVisitor.visitWith(java.lang.String, boolean, org.eclipse.core.resources.IResource, org.eclipse.jface.text.IDocument, org.eclipse.core.runtime.IProgressMonitor) (Unknown Source) at org.python.pydev.builder.PydevGrouperVisitor.visitRemovedResource(org.eclipse .core.resources.IResource, org.eclipse.jface.text.IDocument, org.eclipse.core.runtime.IProgressMonitor) (Unknown Source) at org.python.pydev.builder.PydevInternalResourceDeltaVisitor.chooseVisit(org.ec lipse.core.resources.IResourceDelta, org.eclipse.core.resources.IResource, boolean) (Unknown Source) at org.python.pydev.builder.PydevInternalResourceDeltaVisitor.visit(org.eclipse. core.resources.IResourceDelta) (Unknown Source) at org.eclipse.core.internal.events.ResourceDelta.accept(org.eclipse.core.resour ces.IResourceDeltaVisitor, int) (Unknown Source) at org.eclipse.core.internal.events.ResourceDelta.accept(org.eclipse.core.resour ces.IResourceDeltaVisitor, int) (Unknown Source) at org.eclipse.core.internal.events.ResourceDelta.accept(org.eclipse.core.resour ces.IResourceDeltaVisitor, int) (Unknown Source) at org.eclipse.core.internal.events.ResourceDelta.accept(org.eclipse.core.resour ces.IResourceDeltaVisitor) (Unknown Source) at org.python.pydev.builder.PyDevBuilder.build(int, java.util.Map, org.eclipse.core.runtime.IProgressMonitor) (Unknown Source) at org.eclipse.core.internal.events.BuildManager$2.run() (Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(org.eclipse.core.runtime.ISafeRunnable) (Unknown Source) at org.eclipse.core.internal.events.BuildManager.basicBuild(int, org.eclipse.core.resources.IncrementalProjectBuilder, java.util.Map, org.eclipse.core.runtime.MultiStatus, org.eclipse.core.runtime.IProgressMonitor) (Unknown Source) at org.eclipse.core.internal.events.BuildManager.basicBuild(org.eclipse.core.res ources.IProject, int, org.eclipse.core.resources.ICommand[], org.eclipse.core.runtime.MultiStatus, org.eclipse.core.runtime.IProgressMonitor) (Unknown Source) at org.eclipse.core.internal.events.BuildManager$1.run() (Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(org.eclipse.core.runtime.ISafeRunnable) (Unknown Source) ". ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2006-10-18 11:24:04
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3969237 By: kregelo In the meantime i found something strange about plugins in general with my eclipse installation. The installed plugins (PyDEV and ShellEd) are not activated in /Help/Software Updates/Manage Configuration/Show Disabled Features. When i try to enable them there is an error "Unable to complete action for feature "PyDev for Eclipse" due to errors. [java.util.ConcurrentModificationException]" and on the console from which i started eclipse i see an error "*sys-package-mgr*: processing modified jar, '/usr/share/java/libgcj-4.0.2.jar' *sys-package-mgr*: can't write cache file for '/usr/share/java/libgcj-4.0.2.jar'". How can i check where sys-package-mgr writes cache files? ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2006-10-19 12:07:59
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3971234 By: kregelo Ok one step forward ... PyDev is now registered correctly. It just works after clicking two times on enable. But i still cannot debug neither as root nor as user. There is still this error "Unable to get location for run" with no stack trace. All other errors are gone. What is this "location for run"? Any ideas ???? T.K. ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2006-10-19 12:37:33
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3971261 By: kregelo I thing i just found the cause but no solution. Under "Debug/create manage and run configurations/Python Run" i can create a configuration for debugging. In the edit form for this configuration there is a tab "Arguments". Here i can enter the "Base directory" etc. But there is no possibility to enter the "location" (the file to execute) as there was in older Versions of PyDEV (i tried 0.9.3). So, where can i enter the location for run meaning the file to execute??? Any help or suggestions are really appreciated. T.K. ______________________________________________________________________ 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 |
From: SourceForge.net <no...@so...> - 2006-10-19 12:47:40
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3971273 By: fabioz In the main tab you should have the project that contains that file and the main module (which is the absolute path to the file). However, if you just open an editor with the file you want to run and press F9 it should fill all that for you... Cheers, Fabio ______________________________________________________________________ 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 |