Closed hronellenfitsch closed 4 years ago
Would you be able to send a Pull Request with this change?
On Sat, Jun 13, 2020 at 11:35 AM Henrik Ronellenfitsch < notifications@github.com> wrote:
Hello.
I recently installed astrometry-latest (0.80) on Ubuntu 20.04 with setting the python executable to python3 (which is the default on 20.04). Following this, plotann.py failed with an AttributeError:
AttributeError: 'plot_args' object has no attribute 'getattr'
This seems to be an issue with the plot_args object and SWIG. It turns out that it can be fixed by changing line 62 in plotstuff.py from
return self.pargs.getattr(name)
to
return getattr(self.pargs, name)
I hope this report helps others with the same issue.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dstndstn/astrometry.net/issues/189, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIEH7LKRQD4JU6V4GW6IELRWOME3ANCNFSM4N5BBRYA .
Thanks, I created a pull request. If it somehow does not adhere to the standards of this project, please let me know.
Thanks again!
Hello.
I recently installed astrometry-latest (0.80) on Ubuntu 20.04 with setting the python executable to python3 (which is the default on 20.04). Following this, plotann.py failed with an AttributeError:
This seems to be an issue with the plot_args object and SWIG. It turns out that it can be fixed by changing line 62 in plotstuff.py from
to
I hope this report helps others with the same issue.