On Jan 15, 2017, at 6:23 PM, Steve Rose gnateater@gmail.com wrote:
It's a long story, but I had to revert to Dabo 0.9.4 from 0.9.9 due to a problem that developed with the dTextBox control when trying to do regex searches on a database. Short story, the searches became much slower under 0.9.9. If it weren't for that, I would be running the latest version.
Well, it would be great if you still had information about that so that we could investigate.
Here's the traceback when I inserted the print 'VAL ', val statement: (Did the same on a Win 7 system with no errors) and got the the same 'VAL' value as the Win 10 machine.
VAL C:/aaa/DaboCode/Calbirds/CountyTotalsReport1.rfxml
OK, I'm not that familiar with this code (help, Paul?), but it looks like there is an out-of-place parenthesis. Can you try changing the line that reads:
self.HomeDirectory = os.path.join(os.path.split(val)[:-1])[0]
to:
self.HomeDirectory = os.path.join(os.path.split(val)[:-1][0])
and see if that makes things work?
-- Ed Leafe