Autocompleter error

Bug #1338773 reported by wgw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
leo-editor
Fix Released
Undecided
Unassigned

Bug Description

I get an autocompleter error when the variable is not defined in a module. (Ubuntu 12.04)

So if my program begins:

test="testIt"
test.

I get the error; I suppose it is because the variable test has not been defined in a module.

On the other hand, this does not give an error (if the :

re.

STARTUP:

Leo Log Window
Leo 4.11 final, build 62b0df06c7b6 (branch: master), 2014-06-29 19:39:45
Python 2.7.3, PyQt version 4.8.1
linux2
setting leoID from os.getenv('USER'): 'bill'
load dir: /data2/leo/leo-editor/leo/core
global config dir: /data2/leo/leo-editor/leo/config
home dir: /home/bill
reading settings in /data2/leo/leo-editor/leo/config/leoSettings.leo
docutils loaded
reading settings in /home/bill/.leo/myLeoSettings.leo
http serving enabled at 127.0.0.1:8130, version 0.99
reading settings in /home/bill/.leo/workbook.leo
'@font-size-body' from style-sheet comment definition, please use regular @string / @color type @settings.
Abbreviations on
reading: /home/bill/.leo/workbook.leo

ERROR:

Traceback (most recent call last):
  File "/data2/leo/leo-editor/leo/core/leoCommands.py", line 535, in doCommand
    val = command(event)
  File "/data2/leo/leo-editor/leo/core/leoKeys.py", line 213, in autoComplete
    self.start(event)
  File "/data2/leo/leo-editor/leo/core/leoKeys.py", line 1050, in start
    self.init_qcompleter(event)
  File "/data2/leo/leo-editor/leo/core/leoKeys.py", line 895, in init_qcompleter
    self.exit()
  File "/data2/leo/leo-editor/leo/core/leoKeys.py", line 307, in exit
    self.qw.end_completer()
  File "/data2/leo/leo-editor/leo/plugins/qtGui.py", line 344, in end_completer
    self.leo_qc.end_completer()
  File "/data2/leo/leo-editor/leo/plugins/qtGui.py", line 151, in end_completer
    self.deleteLater()
RuntimeError: underlying C/C++ object has been deleted

Revision history for this message
Edward K. Ream (edreamleo) wrote : Re: [Bug 1338773] [NEW] Autocompleter error

On Mon, Jul 7, 2014 at 3:35 PM, wgw <email address hidden> wrote:
> Public bug reported:
>
> I get an autocompleter error when the variable is not defined in a
> module. (Ubuntu 12.04)

Thanks for this report.

Apparently this is a different bug from:
https://bugs.launchpad.net/leo-editor/+bug/1041906
even though the error message:
"RuntimeError: underlying C/C++ object has been deleted"
is the same.

Edward

Revision history for this message
Edward K. Ream (edreamleo) wrote :
Changed in leo-editor:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.