Page 1 of 1

anonymous-namespace

Posted: Mon Oct 06, 2014 8:49 am
by usbpoweredfridge
Just happened to check my CN data folder (AppData\Roaming\CintaNotes), and found a number of small log files. All with the same entry in them, repeated over and over:
14:57:46.812942 2412 X ui::clip::`anonymous-namespace'::doGetData ERROR:GetClipboardData failed : (122)The data area passed to a system call is too small.

Debug logging is not enabled in my CN installation, so I am guessing that CN creates these logs when it encounters an error? Is the particular error something that needs fixing (as it is mentioned over and over, it must keep occurring)?

Chris

Re: anonymous-namespace

Posted: Tue Oct 21, 2014 12:45 pm
by usbpoweredfridge
I have found out how to reproduce this. If I clip any of the articles from The Duffel Blog using Internet Explorer, after I close CN (after creating the note), it creates the log files with the anonymous-namespace errors.
http://www.duffelblog.com/

I do the clipping by highlighting the text of the article, and then hitting Ctrl+F12. I then tidy the note up a little (removing any text formatting such as bolding, removing the very odd bullet point "<javascript:void(0);" line that CN inserts into the note etc), and then click Ok.

Chris

Re: anonymous-namespace

Posted: Wed Oct 22, 2014 5:07 am
by CintaNotes Developer
Hi Chris,

Thanks for the report!

Debug logging is not enabled in my CN installation, so I am guessing that CN creates these logs when it encounters an error? Is the particular error something that needs fixing (as it is mentioned over and over, it must keep occurring)?

Yes, CintaNotes creates log files when there's an internal error.
In this case I think the bug is harmless - most probably, this error should have been just swallowed, but wasn't.
But anyway it is worth some investigation.

What version of IE you're using? I couldn't reproduce it with CN 2.8 and IE11 on Win7 x64.

Re: anonymous-namespace

Posted: Thu Oct 23, 2014 8:13 am
by usbpoweredfridge
It's v11, same as yourself. To recap, this is what I do.

1. Open IE, and go to Duffel Blog. For example, this story:
http://www.duffelblog.com/2014/10/troop ... lingerers/

2. Click and drag to highlight the text in IE - I started from the word 'Study' in the heading and down to the end at "who can't feel bad".

3. With CN open, hit Ctrl+F12.

4. On my system, I immediately hear the Windows 'something has just gone wrong' beep, and the CN editor window opens with the clipped text. I edit the clipped text as necessary.

5. Click Ok to save the note, and then close CN. Check the AppData folder, and CN has created the logfile with error in it. My After Clipping settings are 'Open in Editor" and "Assign Currently Selected Tags" enabled, the other two options disabled.

Chris

Edit: Ah, it looks like one of my running apps has a hand in this. I have ArsClip running in the background. When I close it and repeat the steps, CN does not generate the error log and I do not get the 'something has just gone wrong' beep from Windows.

Re: anonymous-namespace

Posted: Thu Oct 23, 2014 9:51 am
by CintaNotes Developer
Thanks for the details!
If its indeed ArsClip to blame here, then probably this is a clipboard conflict between the apps.

But clipping from IE11 is not working reliably for me either.
Sometimes text goesn't get clipped and I get an empty note. Will need to investigate it anyway, although
with low priority.

Thanks Chris!

Re: anonymous-namespace

Posted: Sat Oct 25, 2014 2:51 am
by usbpoweredfridge
Yes, I'm not sure how the two programs interact, but the interaction is the cause of the problem. I can exclude IE and Firefox from clipboard monitoring in ArsClip, which means I can leave it running without interfering with CN.

Chris

Re: anonymous-namespace

Posted: Sat Oct 25, 2014 4:02 am
by CintaNotes Developer
I see, thanks Chris.

Re: anonymous-namespace

Posted: Thu Oct 30, 2014 3:09 am
by dpaner
CintaNotes Developer wrote:Thanks for the details!
If its indeed ArsClip to blame here, then probably this is a clipboard conflict between the apps.

But clipping from IE11 is not working reliably for me either.
Sometimes text goesn't get clipped and I get an empty note. Will need to investigate it anyway, although
with low priority.

Thanks Chris!


Pile-on: I'm having the same trouble with clipping in latest Chrome. Seems that it will clip correctly every other time.

Re: anonymous-namespace

Posted: Thu Oct 30, 2014 10:19 am
by CintaNotes Developer
dpaner wrote:Pile-on: I'm having the same trouble with clipping in latest Chrome. Seems that it will clip correctly every other time.


Are you using CN 2.8+?
Could you please record a log file of such failed clipping and send it to support@cintanotes.com?
Thanks!