#416 STRG+1 Docstring creating does not work as expected

1.2.6
closed-fixed
5
2007-01-24
2007-01-24
No

Pydev 1.2.6
Pydev is configured to add @type and @param in docstrings

with this method:

def setPadRequestId(self, pad_request_id): #@UnusedVariable
pass

I get this result for docstring creation:

def setPadRequestId(self, pad_request_id): #@UnusedVariable
"""

"""

It works as expected for methods without #@UnusedVariable
The error log adds four errors, but that might be related to the errors in 1.2.6 for which a general bug entry exists.

!ENTRY org.python.pydev.core 4 4 2007-01-24 16:32:11.171
!MESSAGE duringProcessInfo
!STACK 0
java.lang.NoSuchFieldError: duringProcessInfo
at com.python.pydev.refactoring.markocurrences.MarkOccurrencesJob.getRefactoringRequest(MarkOccurrencesJob.java:291)
at com.python.pydev.refactoring.markocurrences.MarkOccurrencesJob.getRefactoringRequest(MarkOccurrencesJob.java:272)
at com.python.pydev.refactoring.markocurrences.MarkOccurrencesJob.checkAnnotations(MarkOccurrencesJob.java:189)
at com.python.pydev.refactoring.markocurrences.MarkOccurrencesJob.run(MarkOccurrencesJob.java:132)

!ENTRY org.python.pydev.core 4 4 2007-01-24 16:32:11.187
!MESSAGE Error while analyzing the file:L/dev1/src/Products/ERP5SOAPInterface/interface_logic/datpad_request.py
!STACK 0
java.lang.RuntimeException: Error while analyzing the file:L/dev1/src/Products/ERP5SOAPInterface/interface_logic/datpad_request.py
at org.python.pydev.core.log.Log.log(Log.java:42)
at com.python.pydev.refactoring.markocurrences.MarkOccurrencesJob.run(MarkOccurrencesJob.java:155)

!ENTRY org.python.pydev.core 4 4 2007-01-24 16:32:14.015
!MESSAGE duringProcessInfo
!STACK 0
java.lang.NoSuchFieldError: duringProcessInfo
at com.python.pydev.refactoring.markocurrences.MarkOccurrencesJob.getRefactoringRequest(MarkOccurrencesJob.java:291)
at com.python.pydev.refactoring.markocurrences.MarkOccurrencesJob.getRefactoringRequest(MarkOccurrencesJob.java:272)
at com.python.pydev.refactoring.markocurrences.MarkOccurrencesJob.checkAnnotations(MarkOccurrencesJob.java:189)
at com.python.pydev.refactoring.markocurrences.MarkOccurrencesJob.run(MarkOccurrencesJob.java:132)

!ENTRY org.python.pydev.core 4 4 2007-01-24 16:32:14.031
!MESSAGE Error while analyzing the file:L/dev1/src/Products/ERP5SOAPInterface/interface_logic/datpad_request.py
!STACK 0
java.lang.RuntimeException: Error while analyzing the file:L/dev1/src/Products/ERP5SOAPInterface/interface_logic/datpad_request.py
at org.python.pydev.core.log.Log.log(Log.java:42)
at com.python.pydev.refactoring.markocurrences.MarkOccurrencesJob.run(MarkOccurrencesJob.java:155)

Discussion

  • Fabio Zadrozny

    Fabio Zadrozny - 2007-01-24
    • status: open --> closed-fixed
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2007-01-24

    Logged In: YES
    user_id=617340
    Originator: NO

    Fixed for 1.2.7

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks