File importing problems: Path doesnt properly appear as node header
Bug #1269540 reported by
Fidel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
leo-editor |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As discussed here: https:/
Using windows 7, python 2.7, pyqt4
When dropping a file from windows explorer to the outline, the path doesnt properly appear. Before recent changes, It would create either:
- A proper @url node, clickable towards the file
- A proper relative path, if the node is under a @path node
Leo tries to always create a relative path to the open Leo file, and works when the files are inside a subfolder or in the same folder as the Leo file, but when they are not, leo fails to point properly to the file.
Examples in the attached groups discussion.
To post a comment you must log in.
Found another example of not working paths, with a new error. The error is this one:
can not convert to unicode! start_event_ loop_qt4, dropEvent, urlDrop, doFileUrl INSTALLED\ LEO EDITOR\ leo-editor- snapshot- 20131123\ leo\core\ leoGlobals. py", line 4638, in toUnicode 'replace' )
Traceback (most recent call last):
File "D:\Dropbox\
s = f(s,encoding,
MemoryError
And it happens when I drop this file into Leo:
"d:\downloads\ Training the Companion Dog\Training the Companion Dog - 1. Socialisation & Training.mp4"