Funny: the path was p:/170 Buzon/oq.pdf, where the "o" was accentuated: 
https://en.m.wikipedia.org/wiki/%C3%93

From: gnu.cognition...@slmails.com
To: yantar92 at posteo.net <yantar92_at_posteo_net_bk...@simplelogin.co>; Kepa 
<gnu.cognition...@slmails.com>
CC: emacs-orgmode at gnu.org <emacs-orgmode_at_gnu_org_kqcgk...@simplelogin.co>
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 gnu.cognition...@slmails.com using mailbox 
> alaskad...@outlook.com
> ------------------------------
> 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 <yantar92_at_posteo_net_bk...@simplelogin.co>
> Sent: Monday, August 5, 2024 8:53 PM
> To: Kepa <gnu.cognition...@slmails.com>
> Cc: emacs-orgmode at gnu.org 
> <emacs-orgmode_at_gnu_org_kqcgk...@simplelogin.co>
> Subject: Re: Issue opening files with accented words, using org-attach-open
> 
> Kepa <gnu.cognition...@slmails.com> 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>


Reply via email to