Zim

Comment 0 for bug 1704453

Revision history for this message
Laecy (laecy) wrote :

This does not create a bug report, but it worked in 0.66 and now does not work correctly in 0.67.

I keep all external files (primarily PDF's) in a single Media folder in my main Notes folder. It is not part of the Wiki link structure directly, but whenever I need to link to one of the files, I use the Browse button to navigate to it directly - this makes the external files easier to look through instead of seeking out individual attachment folders within each page.

While the Browse button leads to the same window, and I can find the Media folder and all its contents within the Link widget, it creates a faulty file path in the link.

The page at

  ToDo List
  ->Learning
  ->->Further Reading
  ->->->Books
  ->->->->From Religion to Philosophy
  ->->->->->Full Text

has a link named PDF that should navigate to

  C:\Users\Laecy\Desktop\Zim Desktop Wiki Portable\Notebooks\Notes\Media\From Religion to
  Philosophy.pdf

  (copied from File Explorer pathbar)

It creates the link

  ..\Media\From Religion to Philosophy.pdf

and clicking on it gives the message

  No such file or folder:
  C:\Users\Laecy\Desktop\Zim Desktop Wiki Portable\Notebooks\Notes\ToDo_List\Learning
  \Further_Reading\Books\Media\From Religion to Philosophy.pdf
  The file or folder you specified does not exist.
  Please check if you the path is correct. [sic]

If I manually paste the file path into the Edit Link widget, the same error results.

If I try to manually edit in more "..\"s, they are automatically deleted.

Links to PDFs created prior to the switch to 0.67 are unaffected and still pull up the PDF correctly.

If I copy "../../../../../../" from one of the working links and paste it into the broken link to create

  ../../../../../../Media\From Religion to Philosophy.pdf

it changes to

  ~\Notebooks\Media\From Religion to Philosophy.pdf

and clicking on it gives

  No such file or folder: C:\Users\Laecy\Desktop\Zim Desktop Wiki Portable\Notebooks\Media\From
  Religion to Philosophy.pdf
  The file or folder you specified does not exist.
  Please check if you the path is correct. [sic]

If I copy "../../../../../../Media/" from one of the working links and paste it into the broken link to create

  ../../../../../../Media/From Religion to Philosophy.pdf

it changes to

  ~\Notebooks\Media\From Religion to Philosophy.pdf

and clicking on it gives

  No such file or folder: C:\Users\Laecy\Desktop\Zim Desktop Wiki Portable\Notebooks\Media\From
  Religion to Philosophy.pdf
  The file or folder you specified does not exist.
  Please check if you the path is correct. [sic]

If I edit the Notes folder into the automatically generated link to create

  ~\Notebooks\Notes\Media\From Religion to Philosophy.pdf

it changes to

  ..\Media\From Religion to Philosophy.pdf

and clicking on it gives

  No such file or folder: C:\Users\Laecy\Desktop\Zim Desktop Wiki Portable\Notebooks\Notes\ToDo_List
  \Learning\Further_Reading\Books\Media\From Religion to Philosophy.pdf
  The file or folder you specified does not exist.
  Please check if you the path is correct. [sic]

If I change one of the working links at an analogous hierarchy level from

  ../../../../../../Media/Alvin Toffler - Future Shock.pdf

to

  ../../../../../../Media/From Religion to Philosophy.pdf

it changes to

  ..\Media\From Religion to Philosophy.pdf

and clicking it gives

  No such file or folder: C:\Users\Laecy\Desktop\Zim Desktop Wiki Portable\Notebooks\Notes\ToDo_List
  \Learning\Further_Reading\Books\Future_Shock\Media\From Religion to Philosophy.pdf
  The file or folder you specified does not exist.
  Please check if you the path is correct. [sic]

If I replace the formerly working link with its original file path

  ../../../../../../Media/Alvin Toffler - Future Shock.pdf

it changes to

  ..\Media\Alvin Toffler - Future Shock.pdf

and gives

  No such file or folder: C:\Users\Laecy\Desktop\Zim Desktop Wiki Portable\Notebooks\Notes\ToDo_List
  \Learning\Further_Reading\Books\Future_Shock\Media\Alvin Toffler - Future Shock.pdf
  The file or folder you specified does not exist.
  Please check if you the path is correct. [sic]

I am using the portable version for windows downloaded at https://zim.glump.net/site/assets/files/1084/zim-desktop-wiki-portable-0_67.exe

Thanks!!