Closed hoetzgit closed 3 years ago
Hello,
I would like to report I am having this same error since installing V0.8.1 yesterday. It occurs if running "end of nighttime", or manually :
pi@raspberrypi:~/allsky $ ./startrails -d ./images/20211024/ -e jpg -b 1.0 -o ./images/20211024/startrails/startrails.jpg Output file './images/20211024/startrails/startrails.jpg' is missing extension (.jpg or .png)
Usage: startrails [-v] -d
Hi, sorry ... there's a logic flaw in the extension check code. I'm pushing a PR to fix it now.
The PR will resolve the issue, but only once it's merged. If you'd like to fix it locally before, you can:
pi
user ( or whatever user you installed allsky
to, run:
cd ~/allsky
sed -i -e '332,332{s;||$;\&\&;}' src/startrails.cpp
make -C src all
make -C src install
NOTE: The sed
line replaces the ||
at the end of line 332 in src/startrails.cpp
with &&
. You're welcome to use your favorite text editor to make this change if you prefer.
Once this is patched in the repository, a future git pull
will complain about local changes. To get around this, you'll issue:
git checkout -- src/startrails.cpp
git pull
Thanks, and sorry for the bug...
Hi all,
Thanks to @ckuethe for the quick review and merge. You can now simply do the git pull
and the make
command from above to receive and compile the patched code.
Do feel free to re-open this issue if needed and/or just comment to confirm that this resolved the issue.
Thank you, that did the trick!
i don't understand this error message in startrails.cpp:
endOfNight.sh: ===== Generating Startrails Output file '/mnt/qnap01/Daten/allskycam01/images/20211024/startrails/startrails-20211024.jpg' is missing extension (.jpg or .png)
Usage: startrails [-v] -d