Bug 385103 - kstars/ekos capture folder problem
Summary: kstars/ekos capture folder problem
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-26 18:31 UTC by Karsten
Modified: 2017-09-26 20:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 17.12
Sentry Crash Report:


Attachments
screenshot of the dialog running under stellarmate (519.39 KB, image/png)
2017-09-26 18:31 UTC, Karsten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten 2017-09-26 18:31:28 UTC
Created attachment 108042 [details]
screenshot of the dialog running under stellarmate

Hi,

when using the capture an the local machine (device with the camera) and setting the folder "remote" the folder somehow becomes incorrect.

"/mnt/nfs-berlin/stellarmate/library" (tailing slash does not improve the situation)
Bias should go to "/mnt/nfs-berlin/stellarmate/library/Bias"

But instead it somehow repeats the path for each B i a s letter.
"/mnt/nfs-berlin/stellarmate/library/mnt/nfs-berlin/stellarmate/libraryB/mnt/nfs-berlin/stellarmate/libraryi/mnt/nfs-berlin/stellarmate/librarya/mnt/nfs-berlin/stellarmate/librarys/mnt/nfs-berlin/stellarmate/library/g0_b10_Bias_005.fits"

The path is also broken in the indi control panel. (So posting the bug here)

The folder naming is somewhat confusing as well:
upload "local" and "remote"
vs.
upload "client" and "directory"


Used StellarMate OS updated to the latest build. "2017-09-24T13:09:54Z"

Best regards
Karsten
Comment 1 Karsten 2017-09-26 18:43:12 UTC
The trigger seems to be that the "Directory" field is empty.
Comment 2 Jasem Mutlaq 2017-09-26 20:46:07 UTC
Git commit 87684b972bf2ff2a42f24eb621e8fdf8c2683d3b by Jasem Mutlaq.
Committed on 26/09/2017 at 20:43.
Pushed by mutlaqja into branch 'master'.

Check if local directory is empty before adding a job. Separate directory postfix from root diretory to resolve any issues stemming from postfix.
FIXED-IN:17.12

This fix will be released with KStars 2.8.5 due next week.

M  +21   -20   kstars/ekos/capture/capture.cpp
M  +18   -19   kstars/ekos/capture/sequencejob.cpp
M  +10   -10   kstars/ekos/capture/sequencejob.h
M  +12   -7    kstars/ekos/scheduler/scheduler.cpp

https://commits.kde.org/kstars/87684b972bf2ff2a42f24eb621e8fdf8c2683d3b