×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Comet naming, C/2017...

  • Posts: 278
  • Thank you received: 17

Comet naming, C/2017... was created by S

Hi!

I imaged C/2017 T2 (PANSTARRS) today and Ekos capture module tries to give this to the filename, resulting in the image file being placed under the directory C and named "2017 T2 (PANSTARRS)_Light_UVIR_600_secs_001.fits". Is this a bug or a feature? :-)

Best Regards,
Søren

Here is the comet, btw :-)
Last edit: 4 years 2 months ago by S.
4 years 2 months ago #48396
Attachments:

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

  • Posts: 1957
  • Thank you received: 420
On Unix based systems (of which both Linux and MacOS are examples) the forward slash is a delimiter which is used to separate directory names and file names from each other, e.g. /home/stellarmate/Pictures. In general forward slashes should be avoided in filenames. Having said that, they MAY be used so I think that in this case it is a bug. Perhaps Jasem can say more about this.
4 years 2 months ago #48412

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

Great photo! That's a bug as far as I'm concerned... what would be the best option? Just remove the forward slash? or replace it with maybe a dash '-' ?
4 years 2 months ago #48421

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

  • Posts: 278
  • Thank you received: 17

Replied by S on topic Comet naming, C/2017...

Thanks! Only possible because of Indi, kstars and ekos :-)

Replace with underscore could also be an option. Either would be fine for me and would work using most file systems, as far as I know.
4 years 2 months ago #48423

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

Ok I just introduced name sanitation. This affected a few places including scheduler. Please pull from GIT master and test. Hopefully this doesn't lead to any regressions.
4 years 2 months ago #48425

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

  • Posts: 61
  • Thank you received: 2

Replied by Dirk on topic Comet naming, C/2017...

Did you push it to master, I do not find it on GitHub....
4 years 2 months ago #48427

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

I pushed to master just now again for further changes. Try git://anongit.kde.org/kstars.git
4 years 2 months ago #48428

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

  • Posts: 61
  • Thank you received: 2

Replied by Dirk on topic Comet naming, C/2017...

My fault.
We were talking Kstars and I was looking indilib....
4 years 2 months ago #48429

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

  • Posts: 554
  • Thank you received: 138
Is there a use case where a user might want to save things to different folders using the '/' feature in the file save string?
4 years 2 months ago #48431

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

So the above bug was about having invalid names in the object name which is used to set the prefix in the sequence queue. I added regex to remove any characters that could lead to unsupported filenames like ":" under Windows for example... though no target has ":" in it but it's better to be safe.
4 years 2 months ago #48432

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

  • Posts: 985
  • Thank you received: 160

Replied by Alfred on topic Comet naming, C/2017...

We had a similar issue a while ago: indilib.org/forum/ekos/3826-image-can-t-be-saved.html
4 years 2 months ago #48433

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

Time to create page: 0.540 seconds