Relative path on Windows XP - RN 1.8

Bug #1272542 reported by marktake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RedNotebook
Confirmed
Medium
Unassigned

Bug Description

Hi,

I'm using RedNotebook 1.8 on Windows XP. I can't get the relative paths to work :(

My path with RedNotebook configuration is the following:
C:\Documents and Settings\mark\.rednotebook

I paste the following file into it: manual.doc

Then I add relative link to the file in the RedNotebook: [manual ""manual.doc""] and when I click on it then it doesn't work :(

In the rednotebook.log file I get the following message:

2014-01-11 18:22:25,655 INFO Clicked URI "file:///manual.doc"
2014-01-11 18:22:25,655 DEBUG Transformed local URI file:///manual.doc to file:///manual.doc
2014-01-11 18:22:25,655 INFO Trying to open file:///manual.doc with "os.startfile"
2014-01-11 18:22:25,655 ERROR Opening file:///manual.doc with "os.startfile" failed
Traceback (most recent call last):
  File "/home/jendrik/data/projects/RedNotebook/build-env/drive_c/build\rednotebook\out00-PYZ.pyz\rednotebook.util.filesystem", line 333, in open_url
WindowsError: [Error 3] System nie może odnaleźć określonej ścieżki: u'file:///manual.doc'

The last line is in Polish :). It says that the system can't find the determined path: u'file:///manual.doc'

Am I doing something wrong?

Revision history for this message
Jendrik Seipp (jendrikseipp) wrote : Re: [Bug 1272542] [NEW] Relative path on Windows XP - RN 1.8

The file must be put into C:\Documents and
Settings\mark\.rednotebook\data. Does it work then?

Revision history for this message
marktake (jquery) wrote :

Hi,

no, it doesn't work in this case either.

I also described this problem in Question #242061

Revision history for this message
Jendrik Seipp (jendrikseipp) wrote :

It seems that somehow a path from my system is hardcoded in the binary (/home/jendrik/data/projects/RedNotebook/build-env/drive_c/build\rednotebook\out00-PYZ.pyz\rednotebook.util.filesystem). I'll try to figure out why.

Changed in rednotebook:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.