Page 1 of 1

cancel XML export

Posted: Sat Jan 21, 2017 2:20 pm
by date
When I cancelled the export to XML I got these:
SQLite error 21: bind or column index out of range
ERROR:Day of month value is out of range 1..31

+ debug log.

Re: cancel XML export

Posted: Mon Jan 23, 2017 8:45 am
by CintaNotes Developer
Thanks for the report, date!
Is the issue repeatable on your data?

Re: cancel XML export

Posted: Mon Jan 23, 2017 10:37 am
by date
Yesterday it was, but not anymore. Odd...

Re: cancel XML export

Posted: Tue Jan 24, 2017 9:37 am
by CintaNotes Developer
I can't repeat this as well.. (

Re: cancel XML export

Posted: Tue Jan 24, 2017 9:57 am
by date
When the error was there, it was repeatable.
But can't be helped. Perhaps it was the weather...

Re: cancel XML export

Posted: Wed Jan 25, 2017 6:23 pm
by CintaNotes Developer
Or the date ;)

Re: cancel XML export

Posted: Wed Jan 25, 2017 11:15 pm
by date
It depends on how you pronounce date, but it was because I clicked Cancel too fast on a notebook with +- 10000 notes.

If you click Cancel very fast, CN disappears.

If you click a little bit slower:
SE_EXCEPTION_ACCESS_VIOLATION at adress 0x015BC84C inside CintaNotes.exe loaded at base address 0x01360000
Invalid operation: read at address 0x6c

Even slower:
class boost::exception_detail::clone_impl<struct
boost::exception_detail::error_info_injector<struct
boost::gregorian::bad_day_of_month> >
Day of month value is out of range 1..31

Even more slower:
SQLite error 21: bind or column index out of range
ERROR:Day of month value is out of range 1..31

This is before the blue progress bar starts filling. So it is repeatable, after all.

Re: cancel XML export

Posted: Thu Jan 26, 2017 2:27 pm
by CintaNotes Developer
So far, I still can't reproduce :( But my test DB is less than 10000 notes, or my PC is too fast... Probably will have to beef it up.
How large is your DB btw?

Re: cancel XML export

Posted: Thu Jan 26, 2017 6:56 pm
by date
The circumstances for this bug to manifest itself are getting more and more out of the ordinary every time... :shock:

It is reproducable on W7 with classic theme. (Not with aero.)

(You can select 1000 notes and copy and paste them a few times in a new db until you have 10000, works like a charm.)

Re: cancel XML export

Posted: Sat Jan 28, 2017 5:50 am
by CintaNotes Developer
Are you sure about Aero? That's VERY strange..

Re: cancel XML export

Posted: Sat Jan 28, 2017 10:31 am
by date
Pretty sure, I confirmed in a VM.
The bug is there with 'Windows 7 Basic' or the 'Windows Classic' theme, but not with 'Windows 7' and other Aero-themes.

Re: cancel XML export

Posted: Fri Feb 03, 2017 9:10 am
by CintaNotes Developer
Thanks for the extra info! Does the bug still manifest if you change datetime settings in Control Panel to US?

Re: cancel XML export

Posted: Fri Feb 03, 2017 4:58 pm
by date
The locale settings do not seem to have anything to do with it.
It is impossible to have the error message with an Aero theme, this can't be just a coincidence?
See https://yadi.sk/i/J679EtfL3Ch4tg for an example, it is very straightforward. Don't click cancel in a nanosecond, just move the mouse over there. :)

Re: cancel XML export

Posted: Mon Feb 06, 2017 7:35 am
by CintaNotes Developer
Thanks for the video!

More than 5000 notes + Classic theme finally did the trick - I could repro the error! Hurrah!
Now the fix should arrive with the next update.
Huge thanks again

Re: cancel XML export

Posted: Mon Feb 06, 2017 4:15 pm
by date
You sound very happy to find a bug!

Re: cancel XML export

Posted: Tue Feb 07, 2017 3:20 am
by CintaNotes Developer
Getting a way to reliably reproduce a bug is about 80% of fixing it :)

Re: cancel XML export

Posted: Fri Mar 31, 2017 11:23 am
by CintaNotes Developer
Hi date,
please try the new beta where this issue should be fixed: viewtopic.php?f=3&t=2277

Re: cancel XML export

Posted: Sat Apr 01, 2017 8:52 am
by date
Yes, better.

Re: cancel XML export

Posted: Tue Apr 04, 2017 6:03 am
by CintaNotes Developer
Thanks for checking, date!