Import xml files from astro planner with WIN 8.1


#1

Hello,
I have installed SGP on 2 computers one is running with WIN 7 (desktop) and the other one (the laptop) is running with WIN 8.1. With the desktop no problem I am able to import in SGP a xml file but with the laptop, I can’t import the xml files; message: no targets imported!!! More if I try several times, SGP crashes!
What I have to do?
Thanks for your help,


#2

Maybe your export settings are incorrect on AstroPlanner in the 8.1 machine? You should take a look to see if the export of the Win 7 file is different than the export for Win 8.1. If so, you may need to adjust the fields that are used in the export.

http://www.mainsequencesoftware.com/Content/SGPHelp/TargetImports.html


#3

Thanks for the reply.
However, I use the same export settings on AstroPlanner in the 8.1 machine and in 7 machine. The AstroPlanner export file created in the 7 machine, for SGP running in the same 7 machine, target import works quite well, name, RA and DEC locations are good. But I use this same export file in my 8.1 machine, name is good but RA and DEC are incorrect, for example for IC 342, RA is 3780167:00:00 and for DEC 6809617°00’00’’!!! More if I try to import an AstroPlanner file created in the 8.1 machine with the same settings for running in the 8.1, SGP crashes! Of course, the SGP version are the same in both machines. Is it possible to check the format for target import in SGP?


#4

Can you provide the export XML from each machine?

Thanks,
Jared


#5

Thanks, Jared,
I have send by mail the files to ‘info@mainsequencesoftware.com’.
regards,
Michel


#6

Michel,

I have good news and bad news…

Good News:
I have fixed the localization issue that messed up all your RA and DEC values on successful import

Bad News:
I am not sure how you got your 8.1 machine to export with a completely different schema. The one you are using with Win 8.1 is not the default and we do no support it.

The schema should look like this:

<root xmlns:xml="http://www.w3.org/XML/1998/namespace">
<object>
<name/>
<dec>68,09617</dec>
<ra>3,780167</ra>
<id>IC 342</id>
</object>
</root>

Yours looks like this:

<Objects>
<Obj>
<Object>IC 342</Object>
<NameNotes/>
<Type/>
<Const/>
<Mag/>
<Size/>
<RA>3,780167</RA>
<DEC>68,09617</DEC>
</Obj>
</Objects>

When I export my list with AstroPlanner using Windows 8.1, I get the expected:

<root xmlns:xml="http://www.w3.org/XML/1998/namespace">
<object>
<name/>
<dec>68,09617</dec>
<ra>3,780167</ra>
<id>IC 342</id>
</object>
</root>

I recommend you take a look around AstroPlanner to see if there is a way to restore the schema to its default value. In addition, you will notice that your 8.1 XML does not even contain a namespace value…


#7

Thanks Ken for the answer.

But…I think the problem is coming from SGP: I have used the same Astro Planner xml file made the desktop in my laptop. The targets are imported in the SGP running in my Laptop but the location of the target is incoherent although the location in SGP running in the desktop is correct. Please compare the image 1 (laptop, incoherent location) with image 2 (desktop, correct location)???

Thanks for any answer

De : Ken [mailto:forums@mail128-136.atl41.mandrillapp.com] De la part de Ken
Envoyé : jeudi 13 novembre 2014 03:35
À : m.hecq@skynet.be
Objet : [Main Sequence Software] Import xml files from astro planner with WIN 8.1

http://forum.mainsequencesoftware.com/user_avatar/forum.mainsequencesoftware.com/ken/45/81.png

http://mandrillapp.com/track/click/30191084/forum.mainsequencesoftware.com?p=eyJzIjoidnRfWWZFR1JYSWtkTHZBaGtWa2xxVFk5RjlvIiwidiI6MSwicCI6IntcInVcIjozMDE5MTA4NCxcInZcIjoxLFwidXJsXCI6XCJodHRwOlxcXC9cXFwvZm9ydW0ubWFpbnNlcXVlbmNlc29mdHdhcmUuY29tXFxcL3VzZXJzXFxcL2tlblwiLFwiaWRcIjpcIjJiNGQxYzIwZDI4NDRmMWE5YjMwNGQ0Yjk3ODU1ZWNkXCIsXCJ1cmxfaWRzXCI6W1wiMmE5Y2JjMjJhN2ZlYjg1ZTFlN2Y2MzE1MGJjYzBlODFlNTA2ZDFjNFwiXX0ifQ Ken
November 12

Maybe your export settings are incorrect on AstroPlanner in the 8.1 machine? You should take a look to see if the export of the Win 7 file is different than the export for Win 8.1. If so, you may need to adjust the fields that are used in the export.

http://mandrillapp.com/track/click/30191084/www.mainsequencesoftware.com?p=eyJzIjoiaG1fMHgxQmU3dzFabFZNMDNVeWxIcWVMTm1rIiwidiI6MSwicCI6IntcInVcIjozMDE5MTA4NCxcInZcIjoxLFwidXJsXCI6XCJodHRwOlxcXC9cXFwvd3d3Lm1haW5zZXF1ZW5jZXNvZnR3YXJlLmNvbVxcXC9Db250ZW50XFxcL1NHUEhlbHBcXFwvVGFyZ2V0SW1wb3J0cy5odG1sXCIsXCJpZFwiOlwiMmI0ZDFjMjBkMjg0NGYxYTliMzA0ZDRiOTc4NTVlY2RcIixcInVybF9pZHNcIjpbXCIzNGNkMzI3ZTI3NmMxNjMwNTdkYWZhZGU4YTkwOTc2ZTMyMmU3ZWYzXCJdfSJ9 http://www.mainsequencesoftware.com/Content/SGPHelp/TargetImports.html

To respond, reply to this email or visit http://mandrillapp.com/track/click/30191084/forum.mainsequencesoftware.com?p=eyJzIjoiaGFSMlNEanduX0FPc2JRbm1yRzB1V2l5M2NvIiwidiI6MSwicCI6IntcInVcIjozMDE5MTA4NCxcInZcIjoxLFwidXJsXCI6XCJodHRwOlxcXC9cXFwvZm9ydW0ubWFpbnNlcXVlbmNlc29mdHdhcmUuY29tXFxcL3RcXFwvaW1wb3J0LXhtbC1maWxlcy1mcm9tLWFzdHJvLXBsYW5uZXItd2l0aC13aW4tOC0xXFxcLzU5NVxcXC8yXCIsXCJpZFwiOlwiMmI0ZDFjMjBkMjg0NGYxYTliMzA0ZDRiOTc4NTVlY2RcIixcInVybF9pZHNcIjpbXCI2MDUxMjMxMmNiZWFlMzUwNDA4OTc2ZTNjM2I1YmNjY2Q3MjhkOTAwXCJdfSJ9 Import xml files from astro planner with WIN 8.1 in your browser.


#8

We will need to see both xml files.


#9

Thanks a lot, Ken,

Regards,

Michel

De : Ken [mailto:forums@mail128-5.atl41.mandrillapp.com] De la part de Ken
Envoyé : dimanche 30 novembre 2014 20:28
À : m.hecq@skynet.be
Objet : [Main Sequence Software] Import xml files from astro planner with WIN 8.1

http://191.234.52.100/user_avatar/191.234.52.100/ken/45/81.png

http://mandrillapp.com/track/click/30191084/191.234.52.100?p=eyJzIjoiTHVqNzBmRGgtbUJMcjdzMVdwWXo1OVZrelk0IiwidiI6MSwicCI6IntcInVcIjozMDE5MTA4NCxcInZcIjoxLFwidXJsXCI6XCJodHRwOlxcXC9cXFwvMTkxLjIzNC41Mi4xMDBcXFwvdXNlcnNcXFwva2VuXCIsXCJpZFwiOlwiZDZmYzlkYjBmNjQwNDExNzg3OTNkNDI1MWUwYzJlYzhcIixcInVybF9pZHNcIjpbXCJjZmQ1ZTAxMDQxZmIzYjJmYzFmODU0Y2EzNTlkYTVjYjc3NTQ5NDI5XCJdfSJ9 Ken
November 30

Michel,

I have good news and bad news…

Good News:
I have fixed the localization issue that messed up all your RA and DEC values on successful import

Bad News:
I am not sure how you got your 8.1 machine to export with a completely different schema. The one you are using with Win 8.1 is not the default and we do no support it.

The schema should look like this:

68,09617 3,780167 IC 342

Yours looks like this:

IC 342 3,780167 68,09617

When I export my list with AstroPlanner using Windows 8.1, I get the expected:

68,09617 3,780167 IC 342

I recommend you take a look around AstroPlanner to see if there is a way to restore the schema to its default value. In addition, you will notice that your 8.1 XML does not even contain a namespace value…

To respond, reply to this email or visit http://mandrillapp.com/track/click/30191084/191.234.52.100?p=eyJzIjoiUFNtVlQwZ2ZGNjNORTJGcUo0aWJYM0Y2cnlJIiwidiI6MSwicCI6IntcInVcIjozMDE5MTA4NCxcInZcIjoxLFwidXJsXCI6XCJodHRwOlxcXC9cXFwvMTkxLjIzNC41Mi4xMDBcXFwvdFxcXC9pbXBvcnQteG1sLWZpbGVzLWZyb20tYXN0cm8tcGxhbm5lci13aXRoLXdpbi04LTFcXFwvNTk1XFxcLzZcIixcImlkXCI6XCJkNmZjOWRiMGY2NDA0MTE3ODc5M2Q0MjUxZTBjMmVjOFwiLFwidXJsX2lkc1wiOltcIjRhOWVlYWEzOTVkZjhjYjY2ZmZlM2IwZjFkOTQ4NTJiNWYwYWQzNDZcIl19In0 http://191.234.52.100/t/import-xml-files-from-astro-planner-with-win-8-1/595/6 in your browser.


www.mainsequencesoftware.com