Skip to content

AutoPA warnings - probably doesn't work with Sharpcap, Ekos #15

@Foxsa

Description

@Foxsa

Hello,

On start with Python interpreter on Windows app is throwing warnings:

C:\Users\asavin\Documents\AutoPA_master\Software\source\autopa_v2.py:615: SyntaxWarning: invalid escape sequence '\d'
  "Sharpcap3.2":{ "expression": "(?:Info:)\t(\d{2}:\d{2}:\d{2}.\d{7}).*(?:AltAzCor=)(?:Alt=)(.*)[,](?:Az=)(.*).\s(?:AltAzPole=)(?:Alt=)(.*)[,](?:Az=)(.*).[,]\s(?:AltAzOffset=).*",
C:\Users\asavin\Documents\AutoPA_master\Software\source\autopa_v2.py:617: SyntaxWarning: invalid escape sequence '\W'
  "Sharpcap4.x":{ "expression": "(?:Info)\W*(\d{2}:\d{2}:\d{2}.\d{6}).*(?:AltAzCor=)(?:Alt=)(.*)[,](?:Az=)(.*).\s(?:AltAzPole=)(?:Alt=)(.*)[,](?:Az=)(.*).[,]\s(?:AltAzOffset=).*",
C:\Users\asavin\Documents\AutoPA_master\Software\source\autopa_v2.py:619: SyntaxWarning: invalid escape sequence '\d'
  "Ekos":{ "expression": "(\d{2}:\d{2}:\d{2}.\d{3}).*(?:PAA Refresh).*(?:Corrected az:).*(?:\()(\s?-?\d\.\d{3}).*(?:alt:).*(\s?-?\d\.\d{3}).*(?:total:)",

I think that might stop it to integrate with Sharpcap and Ekos, I cannot proof it though. I don't have these applications in my workflow.

Fix should be relativetely easy: on lines L615,L617,L619 autopa_v2.py expression string should be prfixed in the same manner as it is done on line L613 for NINA:

"NINA3.x":{ "expression": r"...

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions