Ansvr on W10

I’ve just moved to Windows 10 and while Ansvr is working there’s a small change. When it starts I get a blank window displayed. The title is C:\Users\Chris\AppData\Local\cygwin-ansvr\bin\perl.exe

It goes away when the solve completes.
This isn’t a major thing but I wonder if there’s some way to not get the window displayed, maybe starting it minimised.

Ansvr 0.16

Chris

I had the same issue, but it went away by reinstalling Ansvr.

I did an update but it didn’t help, did you do some sort of full reinstall?

Chris

Yes, I did a full reinstall. I uninstalled Ansvr and then installed it again. Just the update did not help me either.

1 Like

Tried an uninstall and a download and ful install, including downloading the index file again.
Now Ansvr doesn’t work at all. The Ansvr Log shows this:

errread, errwrite)

File “/usr/lib/python2.7/subprocess.py”, line 1231, in _execute_child
self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable
augment-xylist.c:585:backtick Failed to run command: /usr/lib/astrometry/bin/image2pnm.py --sanitized-fits-outfile /tmp/tmp.sanitized.RC3P0F --fix-sdss --infile stars.fit --uncompressed-outfile /tmp/tmp.uncompressed.BdAXvn --outfile /tmp/tmp.ppm.EeQnQw --ppm
ioutils.c:605:run_command_get_outputs Command failed: return value 1
@@@@ FAILED
pid 13228 exiting
[2015-11-21 13:32:36] SUBS: solve is done
[2015-11-21 13:32:36] SUBS: jstr: {“user_images”:,“processing_finished”:“0”,“user”:“0”,“processing_started”:“1”,“jobs”:[“5”]}
[2015-11-21 13:32:37] POST /api/jobs/5 HTTP/1.1
[2015-11-21 13:32:37] JOBS: jobid: 5 calibration: ‘’
[2015-11-21 13:32:37] send job status
[2015-11-21 13:32:37] JOBS: jstr: {“status”:“fail”}
[2015-11-21 13:32:37] JOBS: job completed in 10 seconds
[2015-11-21 13:32:28] forcing scale_err to 5 (was 100)
scale_args: -u arcsecperpix -L 2.15442640522163 -H 2.38120813208706
UPLOAD: /opt/ansvr/run_solver 480 /usr/bin/solve-field -p -O -U none -B none -R none -M none -N none -C cancel --crpix-center -z 2 -u arcsecperpix -L 2.15442640522163 -H 2.38120813208706 stars.fit
Using timeout = 480
exec /usr/bin/solve-field -p -O -U none -B none -R none -M none -N none -C cancel --crpix-center -z 2 -u arcsecperpix -L 2.15442640522163 -H 2.38120813208706 stars.fit
Reading input file 1 of 1: “stars.fit”…
0 [main] python2.7 12728 child_info_fork::abort: address space needed by ‘cStringIO.dll’ (0x1F0000) is already occupied
Traceback (most recent call last):
File “/usr/lib/astrometry/bin/image2pnm.py”, line 328, in
sys.exit(main())
File “/usr/lib/astrometry/bin/image2pnm.py”, line 325, in main
mydir, fix_sdss=options.fix_sdss)
File “/usr/lib/astrometry/bin/image2pnm.py”, line 246, in convert_image
comp = uncompress_file(infile, uncompressed)
File “/usr/lib/astrometry/bin/image2pnm.py”, line 96, in uncompress_file
typeinfo = filetype_short(infile)
File “/usr/lib/astrometry/python/astrometry/util/filetype.py”, line 42, in filetype_short
ft = filetype(fn)
File “/usr/lib/astrometry/python/astrometry/util/filetype.py”, line 20, in filetype
(rtn,out,err) = run_command(cmd)
File “/usr/lib/astrometry/python/astrometry/util/run_command.py”, line 14, in run_command
child = subprocess.Popen(cmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=PIPE, close_fds=True)
File “/usr/lib/python2.7/subprocess.py”, line 710, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1231, in _execute_child
self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable
augment-xylist.c:585:backtick Failed to run command: /usr/lib/astrometry/bin/image2pnm.py --sanitized-fits-outfile /tmp/tmp.sanitized.RC3P0F --fix-sdss --infile stars.fit --uncompressed-outfile /tmp/tmp.uncompressed.BdAXvn --outfile /tmp/tmp.ppm.EeQnQw --ppm
ioutils.c:605:run_command_get_outputs Command failed: return value 1
@@@@ FAILED
pid 13228 exiting
Waiting for data… (interrupt to abort)

There seem to be errors reporting “Resource Temporarily uavailable”, is that a useful clue.
I installed using the Windows installer to the default positions.
The Ansvr config runs and the data looks sensible.

Chris

Chris,

We have seen some reports of these kinds of failures in the past and on investigation they have all turned out to be caused by anti-virus software. I’m not sure if that is the problem in your case, but it would be worth a try to temporarily disable your antivirus software to see if it make s the problem go away.

Andy

I haven’t had any other antivirus than Windows Defender in a long time, so I doubt it’s antivirus-related.

Hi there

I have a problem due of installing the last version of ansvr on w10
I install it and my antivirus show me a TROJAN and so I do not install it but need it to get it to plate solving so is there a issue to debug that.
Thx in upfront
Kind regards