Ticket #160 (defect)
Opened 8 months ago
Last modified 3 weeks ago
more than 1 instance of a (file-based) rtree causes an error
Status: closed (fixed)
| Reported by: | brentp | Assigned to: | hobu |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Rtree | Version: | |
| Keywords: | Cc: | ||
this code:
from rtree import Rtree
k = Rtree('/tmp/rtree_test')
k = Rtree('/tmp/rtree_test')
results in:
terminate called after throwing an instance of 'Tools::IllegalStateException' Aborted (core dumped)
neither the filenames nor the variable names have to be the same.
this code runs fine.
from rtree import Rtree k = Rtree() k = Rtree()
Change History
10/31/08 10:29:52: Modified by seang
- status changed from new to closed.
- resolution set to fixed.

The underlying issue, which I don't understand, remains, but we now raise a Python exception instead of crashing. See r1144.