java.lang.RuntimeException: Traceback (most recent call last): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\refactoring.py", line 152, in HandleRefactorMessage f = func(\*msgSplit) File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\refactoring.py", line 78, in renameByCoordinates self.brmctx.renameByCoordinates(filename, int(line), int(column), newname) File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\bikefacade.py", line 121, in \_\_call\_\_ return getattr(self.brmctx,self.name)(\*args) File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\bikefacade.py", line 230, in renameByCoordinates self.promptUserClientCallback) File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\refactor\rename.py", line 7, in rename for match in findReferencesIncludingDefn(filename,lineno,col): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\query\findReferences.py", line 32, in findReferences scope,defnmatch): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\query\findReferences.py", line 74, in handleClassOrFunctionRefs defnmatch): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\query\common.py", line 48, in globalScanForMatches matchFinder,targetname): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\query\common.py", line 58, in scanScopeForMatches ast = compiler.parse(doctoredline) File "C:\Python24\lib\compiler\transformer.py", line 52, in parse return Transformer().parsesuite(buf) File "C:\Python24\lib\compiler\transformer.py", line 129, in parsesuite return self.transform(parser.suite(text)) File "<string>", line 2 exceptmap =\{'\*\*\*\*\*\*\*\*\*\*\*\*\*\*' :AttributeError, ^ SyntaxError: invalid syntax

pydev | nobody | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    upgrading to 1.2.6 generates multiple errors

    pydev | 1 decade ago | nobody
    java.lang.RuntimeException: Traceback (most recent call last): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\refactoring.py", line 152, in HandleRefactorMessage f = func(\*msgSplit) File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\refactoring.py", line 78, in renameByCoordinates self.brmctx.renameByCoordinates(filename, int(line), int(column), newname) File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\bikefacade.py", line 121, in \_\_call\_\_ return getattr(self.brmctx,self.name)(\*args) File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\bikefacade.py", line 230, in renameByCoordinates self.promptUserClientCallback) File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\refactor\rename.py", line 7, in rename for match in findReferencesIncludingDefn(filename,lineno,col): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\query\findReferences.py", line 32, in findReferences scope,defnmatch): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\query\findReferences.py", line 74, in handleClassOrFunctionRefs defnmatch): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\query\common.py", line 48, in globalScanForMatches matchFinder,targetname): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\query\common.py", line 58, in scanScopeForMatches ast = compiler.parse(doctoredline) File "C:\Python24\lib\compiler\transformer.py", line 52, in parse return Transformer().parsesuite(buf) File "C:\Python24\lib\compiler\transformer.py", line 129, in parsesuite return self.transform(parser.suite(text)) File "<string>", line 2 exceptmap =\{'\*\*\*\*\*\*\*\*\*\*\*\*\*\*' :AttributeError, ^ SyntaxError: invalid syntax
  2. 0

    Refactoring error

    pydev | 1 decade ago | mebeaulieu
    java.lang.RuntimeException: Traceback (most recent call last):   File "c:\Documents and Settings\Michael\My Projects\eclipse\plugins\org.python.pydev\_0.8.0\PySrc\refactoring.py", line 152, in HandleRefactorMessage f = func(\*msgSplit) TypeError: renameByCoordinates() takes exactly 5 arguments (8 given)

    Root Cause Analysis

    1. java.lang.RuntimeException

      Traceback (most recent call last): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\refactoring.py", line 152, in HandleRefactorMessage f = func(\*msgSplit) File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\refactoring.py", line 78, in renameByCoordinates self.brmctx.renameByCoordinates(filename, int(line), int(column), newname) File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\bikefacade.py", line 121, in \_\_call\_\_ return getattr(self.brmctx,self.name)(\*args) File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\bikefacade.py", line 230, in renameByCoordinates self.promptUserClientCallback) File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\refactor\rename.py", line 7, in rename for match in findReferencesIncludingDefn(filename,lineno,col): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\query\findReferences.py", line 32, in findReferences scope,defnmatch): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\query\findReferences.py", line 74, in handleClassOrFunctionRefs defnmatch): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\query\common.py", line 48, in globalScanForMatches matchFinder,targetname): File "C:\Dokumente und Einstellungen\1\Desktop\eclipse-SDK-3.2-win32\eclipse\plugins\org.python.pydev\_1.2.5\PySrc\ThirdParty\brm\bike\query\common.py", line 58, in scanScopeForMatches ast = compiler.parse(doctoredline) File "C:\Python24\lib\compiler\transformer.py", line 52, in parse return Transformer().parsesuite(buf) File "C:\Python24\lib\compiler\transformer.py", line 129, in parsesuite return self.transform(parser.suite(text)) File "<string>", line 2 exceptmap =\{'\*\*\*\*\*\*\*\*\*\*\*\*\*\*' :AttributeError, ^ SyntaxError: invalid syntax

      at org.python.pydev.editor.actions.refactoring.PyRefactorAction.run()
    2. org.python.pydev
      PyRefactorAction.run
      1. org.python.pydev.editor.actions.refactoring.PyRefactorAction.run(PyRefactorAction.java:306)
      1 frame
    3. Eclipse UI
      PluginAction.runWithEvent
      1. org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
      1 frame
    4. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
      2. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
      3. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
      3 frames
    5. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
      4 frames
    6. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
      3. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
      3 frames
    7. Eclipse UI
      IDEApplication.run
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      2. org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
      2 frames
    8. Eclipse Core
      PlatformActivator$1.run
      1. org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
      1 frame
    9. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
      4 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    11. Equinox
      Main.main
      1. org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
      2. org.eclipse.core.launcher.Main.basicRun(Main.java:280)
      3. org.eclipse.core.launcher.Main.run(Main.java:977)
      4. org.eclipse.core.launcher.Main.main(Main.java:952)
      4 frames