×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Error: could not open the named file

  • Posts: 350
  • Thank you received: 107
I have issue opening FITS file if the path contain non Latin1 characters like ážť. Found out that changing toLocal8Bit() from toLatin1() fix this issue for me.
Providing patch file that should fix this issue
3 years 5 months ago #62168
Attachments:

Please Log in or Create an account to join the conversation.

And cfitsio has no issues with reading/writing using that?
3 years 5 months ago #62394

Please Log in or Create an account to join the conversation.

  • Posts: 350
  • Thank you received: 107
After quick smoke test on Linux worked just fine.

I wrote simple FITS viewer using cfitsio for myself and was also using toLocal8bit() and it was working fine even on windows.
The following user(s) said Thank You: Jasem Mutlaq
3 years 5 months ago #62397

Please Log in or Create an account to join the conversation.

Great! Can you please submit a Merge-Request here? invent.kde.org/education/kstars/
3 years 5 months ago #62398

Please Log in or Create an account to join the conversation.

  • Posts: 350
  • Thank you received: 107
I wanted to avoid creating another account for just simple patch like this.
3 years 5 months ago #62401

Please Log in or Create an account to join the conversation.

SO maybe it's not the only patch in the future ;-)
3 years 5 months ago #62402

Please Log in or Create an account to join the conversation.

Time to create page: 0.667 seconds