Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative path on Windows XP - RN 1.8 #92

Closed
jendrikseipp opened this issue Mar 20, 2017 · 4 comments
Closed

Relative path on Windows XP - RN 1.8 #92

jendrikseipp opened this issue Mar 20, 2017 · 4 comments

Comments

@jendrikseipp
Copy link
Owner

jendrikseipp commented Mar 20, 2017

Originally reported by jquery at https://bugs.launchpad.net/bugs/1272542 (2014-01-24T21:39:53Z):


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?

@jendrikseipp
Copy link
Owner Author

Original comment by jendrikseipp (2014-01-25T11:06:54Z):


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

@jendrikseipp
Copy link
Owner Author

Original comment by jquery (2014-01-25T19:47:39Z):


Hi,

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

I also described this problem in Question #242061

@jendrikseipp
Copy link
Owner Author

Original comment by jendrikseipp (2014-12-08T10:28:46Z):


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.

@jendrikseipp
Copy link
Owner Author

Superseded by #163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant