You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for your work with this library !
I tried to integrate this in place of the "official" Pyindi module, that breaks every now and then, and is not really maintained as an integral part of indilib.
Unfortunately, I faced an issue while doing test with simulators:
The error is:
File "/usr/lib/python3.8/threading.py", line 1254, in run
self.function(*self.args, **self.kwargs)
File "/home/user/venv/lib/python3.8/site-packages/indiclient-0.1.dev102+gfe5cb72-py3.8.egg/indiclient/indiclient.py", line 2034, in _receiver
self._receive()
File "/home/user/venv/lib/python3.8/site-packages/indiclient-0.1.dev102+gfe5cb72-py3.8.egg/indiclient/indiclient.py", line 2355, in _receive
self._receive() parseval = self.expat.Parse(data, 0)
File "/home/user/venv/lib/python3.8/site-packages/indiclient-0.1.dev102+gfe5cb72-py3.8.egg/indiclient/indiclient.py", line 2355, in _receive
xml.parsers.expat.ExpatError: mismatched tag: line 482, column 2
parseval = self.expat.Parse(data, 0)
xml.parsers.expat.ExpatError: mismatched tag: line 219, column 2
python-BaseException
python-BaseException
Here is the current buffer that was currently being parsed:
data
Thank you very much for your work with this library !
I tried to integrate this in place of the "official" Pyindi module, that breaks every now and then, and is not really maintained as an integral part of indilib.
Unfortunately, I faced an issue while doing test with simulators:
The error is:
Here is the current buffer that was currently being parsed:
data
Out[2]: b'2">\n1024\n </defNumber>\n <defNumber name="SIM_XSIZE" label="CCD X Pixel Size" format="%4.2f" min="1" max="30" step="5">\n5.2000000000000001776\n </defNumber>\n <defNumber name="SIM_YSIZE" label="CCD Y Pixel Size" format="%4.2f" min="1" max="30" step="5">\n5.2000000000000001776\n </defNumber>\n <defNumber name="SIM_MAXVAL" label="CCD Maximum ADU" format="%4.0f" min="255" max="65000" step="1000">\n65000\n </defNumber>\n <defNumber name="SIM_SATURATION" label="Saturation Mag" format="%4.1f" min="0" max="20" step="1">\n1\n </defNumber>\n <defNumber name="SIM_LIMITINGMAG" label="Limiting Mag" format="%4.1f" min="0" max="20" step="1">\n17\n </defNumber>\n <defNumber name="SIM_NOISE" label="CCD Noise" format="%4.0f" min="0" max="6000" step="500">\n10\n </defNumber>\n <defNumber name="SIM_SKYGLOW" label="Sky Glow (magnitudes)" format="%4.1f" min="0" max="6000" step="500">\n19.5\n </defNumber>\n <defNumber name="SIM_OAGOFFSET" label="Oag Offset (arcminutes)" format="%4.1f" min="0" max="6000" step="500">\n0\n </defNumber>\n <defNumber name="SIM_POLAR" label="PAE (arcminutes)" format="%4.1f" min="-600" max="600" step="100">\n0\n </defNumber>\n <defNumber name="SIM_POLARDRIFT" label="PAE Drift (minutes)" format="%4.1f" min="0" max="60" step="5">\n0\n </defNumber>\n <defNumber name="SIM_PEPERIOD" label="PE Period (minutes)" format="%4.1f" min="0" max="60" step="5">\n0\n </defNumber>\n <defNumber name="SIM_PEMAX" label="PE Max (arcsec)" format="%4.1f" min="0" max="6000" step="500">\n0\n </defNumber>\n <defNumber name="SIM_TIME_FACTOR" label="Time Factor (x)" format="%.2f" min="0.010000000000000000208" max="100" step="10">\n1\n </defNumber>\n <defNumber name="SIM_ROTATION" label="CCD Rotation" format="%.2f" min="0" max="360" step="10">\n0\n </defNumber>\n</defNumberVector>\n<defNumberVector device="CCD Simulator" name="EQUATORIAL_PE" label="EQ PE" group="Simulator Config" state="Idle" perm="rw" timeout="60" timestamp="2021-10-01T15:58:30">\n <defNumber name="RA_PE" label="RA (hh:mm:ss)" format="%010.6m" min="0" max="24" step="0">\n0\n </defNumber>\n <defNumber name="DEC_PE" label="DEC (dd:mm:ss)" format="%010.6m" min="-90" max="90" step="0">\n0\n </defNumber>\n</defNumberVector>\n<defNumberVector device="CCD Simulator" name="SIM_FOCUSING" label="Focus Simulation" group="Simulator Config" state="Idle" perm="rw" timeout="60" timestamp="2021-10-01T15:58:30">\n <defNumber name="SIM_FOCUS_POSITION" label="Focus" format="%.f" min="0" max="100000" step="1">\n36700\n </defNumber>\n <defNumber name="SIM_FOCUS_MAX" label="Max. Position" format="%.f" min="0" max="100000" step="1">\n100000\n </defNumber>\n <defNumber name="SIM_SEEING" label="Seeing (arcsec)" format="%4.2f" min="0" max="60" step="0">\n3.5\n </defNumber>\n</defNumberVector>\n<defSwitchVector device="CCD Simulator" name="SIMULATE_BAYER" label="Bayer" group="Simulator Config" state="Idle" perm="rw" rule="OneOfMany" timeout="60" timestamp="2021-10-01T15:58:30">\n <defSwitch name="INDI_ENABLED" label="Enabled">\nOff\n </defSwitch>\n <defSwitch name="INDI_DISABLED" label="Disabled">\nOn\n </defSwitch>\n</defSwitchVector>\n<defSwitchVector device="CCD Simulator" name="CCD_SIMULATE_CRASH" label="Crash" group="Simulator Config" state="Idle" perm="wo" rule="AtMostOne" timeout="0" timestamp="2021-10-01T15:58:30">\n <defSwitch name="CRASH" label="Crash driver">\nOff\n </defSwitch>\n</defSwitchVector>\n<defNumberVector device="Telescope Simulator" name="TELESCOPE_INFO" label="Scope Properties" group="Options" state="Ok" perm="rw" timeout="60" timestamp="2021-10-01T15:58:30">\n <defNumber name="TELESCOPE_APERTURE" label="Aperture (mm)" format="%g" min="10" max="5000" step="0">\n200\n </defNumber>\n <defNumber name="TELESCOPE_FOCAL_LENGTH" label="Focal Length (mm)" format="%g" min="10" max="10000" step="0">\n800\n </defNumber>\n <defNumber name="GUIDER_APERTURE" label="Guider Aperture (mm)" format="%g" min="10" max="5000" step="0">\n200\n </defNumber>\n <defNumber name="GUIDER_FOCAL_LENGTH" label="Guider Focal Length (mm)" format="%g" min="10" max="10000" step="0">\n800\n </defNumber>\n</defNumberVector>\n<defNumberVector device="Telescope Simulator" name="TELESCOPE_INFO" label="Scope Properties" group="Options" state="Ok" perm="rw" timeout="60" timestamp="2021-10-01T15:58:30">\n <defNumber name="TELESCOPE_APERTURE" label="Aperture (mm)" format="%g" min="10" max="5000" step="0">\n200\n </defNumber>\n <defNumber name="TELESCOPE_FOCAL_LENGTH" label="Focal Length (mm)" format="%g" min="10" max="10000" step="0">\n800\n </defNumber>\n <defNumber name="GUIDER_APERTURE" label="Guider Aperture (mm)" format="%g" min="10" max="5000" step="0">\n200\n </defNumber>\n <defNumber name="GUIDER_FOCAL_LENGTH" label="Guider Focal Length (mm)" format="%g" min="10" max="10000" step="0">\n800\n </defNumber>\n</defNumberVector>\n'
The symbol that seems to cause the parsing error is:
Which was somewhere in the middle of a message:
Am I doing something wrong ?
Thank you in advance for your help
The text was updated successfully, but these errors were encountered: