CN crashes w Link to local file

pootterp
Posts: 7
Joined: Sat Oct 06, 2012 3:37 pm
Contact:

CN crashes w Link to local file

Postby pootterp » Sat Oct 06, 2012 4:22 pm

Hi all,
I'm very impressed about CN tagging features (intersections, unions, etc.), so I decided to migrate my notes from my TiddlyWiki-like notebook (in fact it's an old version of monkey pirate tiddly wiki) to Cintanotes. So I migrated about 200 notes successfully but noticed some issues:
First and most important - CN crashes, if the Link-field points to a local file, i.e. file:///c:/users/username/abc.txt
Second - the clipping magic (Ctrl+F12) loses text formatting and the URL-Indicators are misplaced (see screenshot-01)
Last - Tags with german umlauts have a wrong sorting (ascii?); this is a minor issue, I can replace ä by ae etc. to achieve the correct order
Hope you can help me, may be in the next release?

Best regards,
Peter (pootterp)

P.S. Configuration Info
OS: Windows 7, 64bit, SP 1
CN: Version 1.8.1
Attachments
Screenshot-01.jpg
Screenshot - clipping magic; tags with german umlauts
Screenshot-01.jpg (601.09 KiB) Viewed 10364 times
pootterp
Posts: 7
Joined: Sat Oct 06, 2012 3:37 pm
Contact:

CN crashes w Link to local file - supplement

Postby pootterp » Sat Oct 06, 2012 4:59 pm

A bit more precise ...
CN crashes if you browse the Link-field (F7) and the Link-field points to a local file.

Peter
Mark S.
Posts: 81
Joined: Thu Aug 09, 2012 3:39 pm
Contact:

Re: CN crashes w Link to local file

Postby Mark S. » Sat Oct 06, 2012 7:54 pm

Hi Peter,

Just a passerby with comments.

You didn't mention what version of CN you were using.

The browse link didn't crash for me when I tried it. How big is your test file, and are you sure the path is right?

I agree that the formatting from TW doesn't pick up. Might be neat to write a program to convert Wiki format to CN XML format. Or from TW XML to CN XML.

I didn't understand your comment about misplaced links. I don't think the copy function ever brings over links as links. That would be really cool. Maybe its a feature request?

I'm sure that tiddlytools.com has functionality to allow tag unions & intersections.

Mark (tested for formatting and crashing on 1.8 beta )
pootterp
Posts: 7
Joined: Sat Oct 06, 2012 3:37 pm
Contact:

Re: CN crashes w Link to local file

Postby pootterp » Sun Oct 07, 2012 6:00 pm

Hi Mark,
as I mentioned in the postscriptum of my first post, I use CN version 1.8.1 basic (OS is Win7 x64 SP1).
---
When I browse the link, the corresponding application pops up showing me the content of the local file (so the file path should be OK) and the OS gives me a message:
"CintaNotes Personal Notes Manager no longer works. The program is not properly executed because of a problem. The program will close and you will be notified when a solution is available." (see screenshot-02_cr and screenshot-03_cr)
---
The misplaced links: when clipping with Ctrl+F12 the clipped URL-text starts correct with http://... but when clicking the URL it starts with ttp://... (see screenshot-01_cr)
When I save the note, this behaviour is gone - the URL is correct.
Attachments
screenshot-03_cr.jpg
screenshot-03_cr.jpg (323.69 KiB) Viewed 10350 times
screenshot-02_cr.jpg
screenshot-02_cr.jpg (396.19 KiB) Viewed 10350 times
Screenshot-01_cr.jpg
Screenshot-01_cr.jpg (129.65 KiB) Viewed 10350 times
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: CN crashes w Link to local file

Postby CintaNotes Developer » Mon Oct 08, 2012 11:23 am

Hi Peter,
thanks a lot for reporting the problems!!

1) Can't reproduce, and I tried really hard ;( Need step-by-step instructions on how to get this error. Also can be dependent on a configuration issue. Here are some more questions which hopefully will help clarify the issue:
- Do you press F7 while the note is open, or in the notes list? If the it's the latter, does the crash happen only when you press F7, or it happens also when you use the "Browse Link" context menu command?
- Have you checked different paths to the .txt file?
- Is notepad.exe the program that is configured to open .txt files?

2) It is not a bug that the text formatting is lost, since CN yet can't parse HTML data to pick up formatting.
About the misplaced URL - the latest version (1.8.1) seems to pick up the same URL correctly. But it can depend on clipping settings.
Could you please send me over your cintanotes.setting file?

3) I confirm the problem with tag sorting. We'll try to fix this soon, thanks.
Alex
pootterp
Posts: 7
Joined: Sat Oct 06, 2012 3:37 pm
Contact:

Re: CN crashes w Link to local file

Postby pootterp » Mon Oct 08, 2012 1:55 pm

Hi Alex,

thanks for your answer.

1) I tried all the possibilities: pressing F7 in the notelist, while the note is open, with "Browse Link" context menue; anyway, the error occurs.
- I have checked different pathes to the .txt file, and also running CN as Administrator; anyway, the error occurs.
- my program configured to open .txt files is metapad; I changed this to notepad.exe, but the error occurs also.

2) the lost formatting is a minor issue, I can live with it :-)
- the misplaced URL: I tried this again but with no success; after edit (and save) the note, misplacing is gone and the URL is correct.
- I tried to attach the cintanotes.settings file, but the file extensions "settings" and "txt" are not allowed :-( so I insert it here

--- cintanotes.settings ---
app.mainframe.alwaysontop = 0
app.mainframe.basecolor = #645a64
app.mainframe.capture.hotkey = 123
app.mainframe.capture.hotkey.modifiers = 2
app.mainframe.closetotray = 0
app.mainframe.maxdisplayednotelines = 15
app.mainframe.mindisplayednotelines = 0
app.mainframe.minimizetotray = 1
app.mainframe.noteeditdialog.placement1.bottom = 1008
app.mainframe.noteeditdialog.placement1.left = 1012
app.mainframe.noteeditdialog.placement1.maximized = 0
app.mainframe.noteeditdialog.placement1.right = 1668
app.mainframe.noteeditdialog.placement1.top = 76
app.mainframe.noteeditdialog.placement2.bottom = 895
app.mainframe.noteeditdialog.placement2.left = 504
app.mainframe.noteeditdialog.placement2.maximized = 0
app.mainframe.noteeditdialog.placement2.right = 1004
app.mainframe.noteeditdialog.placement2.top = 475
app.mainframe.noteheaderfont.face = Verdana
app.mainframe.noteheaderfont.italic = 0
app.mainframe.noteheaderfont.size = 10
app.mainframe.noteheaderfont.weight = 700
app.mainframe.notetextfont.face = Verdana
app.mainframe.notetextfont.italic = 0
app.mainframe.notetextfont.size = 9
app.mainframe.notetextfont.weight = 400
app.mainframe.placement.normalpos.bottom = 1005
app.mainframe.placement.normalpos.left = 300
app.mainframe.placement.normalpos.right = 1010
app.mainframe.placement.normalpos.top = 76
app.mainframe.placement.showcmd = 1
app.mainframe.silentclipping = 0
app.mainframe.tagsidebar.displaycounts = 1
app.mainframe.tagsidebar.separators.letters = 1
app.mainframe.tagsidebar.separators.topleveltags = 0
app.mainframe.tagsidebar.visible = 1
app.mainframe.tagsidebar.width = 199
app.mainframe.update.autocheck = 1
autoupdate.checkperiod.min = 60
autoupdate.startafter.min = 15
backup.checkperiod.minutes = 5
backup.daily.enabled = 1
backup.folder = backup
backup.hourly.enabled = 0
backup.weekly.enabled = 1
clipping.assignactivetags = 0
clipping.openeditor = 0
clipping.showuntagged = 1
clipping.titlepolicy = FIRSTLINE
clipping.trimwhitespace = 1
editor.autoindent.enabled = 1
editor.colors.highlight = #fffaa0
editor.displaydates = 1
editor.focus.title = 0
editor.fonts.monospace = Courier New
editor.links.recognize = 1
editor.links.singleclick = 1
editor.tabwidth = 8
editor.textformatting.enabled = 1
editor.trimlines = 0
export.filename.last = C:\Users\Peter\Documents\Work2\cn.txt
export.filter.last = 1
export.folder.last =
filters.autoreset.keepeditednotevisible = 0
hotkeys.newnote = 123
hotkeys.newnote.modifiers = 6
hotkeys.show = 123
hotkeys.show.modifiers = 3
language = en
notebook.disconnect.enabled = 1
notebook.disconnect.timeout.seconds = 30
notebook.file = C:\Users\Peter\Documents\My Dropbox\Notizen\cintanotes.db
notebook.tagsfilter.restore = 0
noteeditmanager.reopen.ids =
noteslist.datedisplay.alwaysdisplaysort = 1
noteslist.datedisplay.displaytime = 1
noteslist.datedisplay.mode = NONE
noteslist.displaytextformatting = 1
noteslist.search.highlights.displaycounts = 1
noteslist.tabwidth = 8
recentfiles.maxpathlength = 100
recentfiles.maxsize = 5
search.insidewords = 0
sqlite.pragma.cache_size = 1000
sqlite.pragma.encoding = UTF-8
sqlite.pragma.journal_mode = MEMORY
sqlite.pragma.page_size = 4096
sqlite.pragma.synchronous = OFF
sqlite.pragma.temp_store = MEMORY
startup.minimized = 0
startup.multipleinstances.allowed = 0
tags.lowercase = 0
tagsedit.autocomplete.acceptonclick = 1
tagsedit.autocomplete.acceptonspace = 0
view.reversed = 1
view.sortby = created
--- end of cintanotes.settings ---


3) thanks a lot for trying to fix the tag sorting problem

and thank you very much for your effort,
Peter
pootterp
Posts: 7
Joined: Sat Oct 06, 2012 3:37 pm
Contact:

Re: CN crashes w Link to local file - Win7 x64 issue?

Postby pootterp » Mon Oct 08, 2012 4:52 pm

Hi Alex,

the CN crash with "Browse Link" on local file seems to be a Win7 x64 issue. I tested with my Win7 x32 Laptop, there is no error.
Also I execute CN on my Win7 x64 machine in "Compalibility Mode for Windows 7" - there is no error.
Strange behaviour, isn't it?

Best regards,
Peter
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: CN crashes w Link to local file

Postby CintaNotes Developer » Tue Oct 09, 2012 8:47 am

Hi Peter,
I have Win7 x64 and still can't reproduce the error.
I'm now preparing a version where detailed debug logging is always available via a command-line switch.
I'll get back to you once it's ready!
Alex
pootterp
Posts: 7
Joined: Sat Oct 06, 2012 3:37 pm
Contact:

Re: CN crashes w Link to local file

Postby pootterp » Mon Oct 15, 2012 4:47 pm

Hi Alex,

  • CN crashes, if the Link-field points to a local file
    This issue is gone in version 1.82; I can't reproduce it anymore!!
  • Misplaced URL while clipping with Strg+F12
    the clipped URL is also misplaced in version 1.8.2
  • Tag sorting
    tags with german umlauts now (v 1.8.2) sorted correctly; many thanks!

Peter
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: CN crashes w Link to local file

Postby CintaNotes Developer » Wed Oct 17, 2012 6:44 am

pootterp wrote:many thanks for the new version 1.8.2!!

Thank you for checking it out!

pootterp wrote:The issue "CN crashes, if the Link-field points to a local file" is gone; I can't reproduce it anymore!! So debug logging isn't possible, sorry.

Well this seems to be good news, although I usually prefer to know what's going on. Hopefully it won't turn into a Heisenbug ;)

pootterp wrote:Many thanks for fixing that!!

My pleasure!
Alex

Return to “Bug Reports”