Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query searching for "." throws exception #5

Open
bad opened this issue Oct 4, 2012 · 0 comments
Open

query searching for "." throws exception #5

bad opened this issue Oct 4, 2012 · 0 comments

Comments

@bad
Copy link

bad commented Oct 4, 2012

Load e.g. data-07202009-2.csv. Enter a single dot (".") in the Query Search dialog text field and click Go:

Traceback (most recent call last):
  File "exp_myframe.py", line 660, in OnSearchQuery
    self._applyQuery(qstring,"ORANGE")
  File "exp_myframe.py", line 702, in _applyQuery
    m[2] = 'Query: ' + query_display
IndexError: list assignment index out of range

(Pdb) p m
'', ' 5784' p self.datavector.l[j]
'\ 5784'
(Pdb) p j
0
(Pdb)

Additionally it leaves an orphaned "Search Progress" dialog behind that prevents the program from exiting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant