Funny: the path was p:/170 Buzon/oq.pdf, where the "o" was accentuated: https://en.m.wikipedia.org/wiki/%C3%93
From: [email protected] To: yantar92 at posteo.net <[email protected]>; Kepa <[email protected]> CC: emacs-orgmode at gnu.org <[email protected]> Date: 2024-08-05T20:24:50Z Subject: RE: Issue opening files with accented words, using org-attach-open > **** Don't forget to remove this section if you reply to this email **** > Email sent on behalf of alias [email protected] using mailbox > [email protected] > ------------------------------ > Hi, Ihor > > I get no error using " M-x debug-on-entry <RET> org-open-file ". > > If I use org-attach-open from the attach menu, I get this backtrace: > > Debugger entered--entering a function: > * org-open-file("p:/170 Buzn/oq.pdf" nil) > org-attach-open(nil) > funcall-interactively(org-attach-open nil) > command-execute(org-attach-open) > org-attach() > funcall-interactively(org-attach) > command-execute(org-attach) > > > Although I've now noticed that the error only occurs when the file is on the > local network. If it's on my hard drive, access works correctly. P: is a > local network drive. > > Best regards > > -----Original Message----- > From: yantar92 at posteo.net <[email protected]> > Sent: Monday, August 5, 2024 8:53 PM > To: Kepa <[email protected]> > Cc: emacs-orgmode at gnu.org > <[email protected]> > Subject: Re: Issue opening files with accented words, using org-attach-open > > Kepa <[email protected]> writes: > >> Hi >> >> I'm encountering an issue when trying to open a file using org-attach-open >> from org-attach. The problem occurs when the file name, or file path, >> contain words with accents. >> Windows OS sends me this error: >> Error code: 0x80070002 >> The system cannot find the file specified. >> >> I have not this problem using dired. > > What if you > > 1. Run M-x debug-on-entry <RET> org-open-file <RET> 2. Try to open the file > 3. Share the resulting backtrace 4. M-x cancel-debug-on-entry <RET> <RET> > (cleanup) > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at <https://orgmode.org/>. > Support Org development at <https://liberapay.com/org-mode>, or support my > work at <https://liberapay.com/yantar92>
