accidental completion exception

Bug #723803 reported by paul clinch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DreamPie
New
Undecided
Unassigned

Bug Description

when writing the code::

  if fn.endswith( '.flv' ):

I triggered completion at some point, resulting in the error::

Variables:
  File "dreampielib\gui\__init__.pyc", line 556, check_autocomplete(self=DreamPie(path..."window_main"), last_char='.')
  File "dreampielib\gui\autocomplete.pyc", line 75, show_completions(self=<dreampi...00F68770>, is_auto=True, complete=False)
  File "dreampielib\gui\autocomplete.pyc", line 136, _complete_attributes(self=<dreampi...00F68770>, text=u"for fn...)\n )", index=49, hp=<dreampi...00F5F9B0>, is_auto=True)
  File "dreampielib\gui\hyper_parser.pyc", line 141, get_expression(self=<dreampi...00F5F9B0>)

Traceback (most recent call last):
  File "dreampielib\gui\__init__.pyc", line 556, in check_autocomplete
  File "dreampielib\gui\autocomplete.pyc", line 75, in show_completions
  File "dreampielib\gui\autocomplete.pyc", line 136, in _complete_attributes
  File "dreampielib\gui\hyper_parser.pyc", line 141, in get_expression
ValueError: get_expression should only be called if index is inside a code.

DreamPie running Python 2.6 on windows XP.

Revision history for this message
Noam Yorav-Raphael (noamraph) wrote :

Thanks for the report!

This seems like a duplicate of bug 732891 (which should still be fixed.)

Noam

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.