Plate solve failed

Hello,
(this one may be for you @Andy !)

My plate solving using local ansrv use to work perfectly until yesterday ( I had to switch to remote astrometry.net for yesterday session)

I just tried a compact version of the faillure:
open SGP, load an image from last night, solve with remote astrometry.net (that works), then switch to local astrometry.net server, and it failed.

SGP log filed attached, but not very verbose, the only meaningfull line (I think) is:
[05/01/17 14:30:07.954][DEBUG] [Unknown] Exception in Astrometry.NET Solver: Object reference not set to an instance of an object.
sg_logfile_20170501142806.txt (37.4 KB)

I launched the ansrv watcher and got this:
~
[2017-04-30 21:20:22] ansvr 0.18 start
[2017-04-30 21:20:22] loading config from /var/tmp/platesolve/config
[2017-04-30 21:20:22] read port 8080 from reg
[2017-04-30 21:20:22] using scale error override value 50 percent
[2017-04-30 21:20:22] using downsample 2
[2017-04-30 21:20:22] solution coordinates will use epoch J2000
[2017-04-30 21:20:22] saving config to /var/tmp/platesolve/config
[2017-04-30 21:20:22] [Server /opt/ansvr/ansvr accepting clients on port 8080]
[2017-04-30 21:20:29] [Connect from 127.0.0.1]
[2017-04-30 21:20:29] GET /api/config HTTP/1.1
[2017-05-01 14:29:54] [Connect from 127.0.0.1]
[2017-05-01 14:29:54] GET /api/config HTTP/1.1
[2017-05-01 14:30:07] [Connect from 127.0.0.1]
[2017-05-01 14:30:07] POST /api/login HTTP/1.1
0 [main] perl 7756 C:\Users\Olivier\AppData\Local\cygwin_ansvr\bin\perl.ex
e: *** fatal error - NtCreateEvent(lock): 0xC0000058
Waiting for data… (interrupt to abort)

Please let me know how to proceed?
(get more log from somewhere?)
Thanks!
Olivier

Olivier,
There are a couple possibilities.This could potentially be related to your Antivirus software. Try temporarily disabling you AV … does that make the problem go away? (and does it come back when you turn it back on?)
If it is not AV-related, it could be related to a bug in cygwin that will require an update to the ansvr package. Are you running Windows 10?
Andy

Looks like perl (the process running ANSVR) failed. Have you attempted to restart ANSVR or restarting your machine?

Thanks,
Jared

Thanks Andy,
I confirm this is AV related, as it does work when I turn off my AV (Avast) and stop working when I turn it back on.
Do I need to an an “exclusion” to my AntiVirus ?
Thanks,
Olivier

I’m not sure how to do it in Avast, but the file to add to the exception list would be

C:\Users\Olivier\AppData\Local\cygwin_ansvr\bin\perl.exe

1 Like

That works, thanks! :slight_smile: