[Dachs-support] ProgrammingError Can't adapt (was: gavo import lock)
Markus Demleitner
msdemlei at ari.uni-heidelberg.de
Mon Nov 14 15:49:18 CET 2016
Hi Carlos,
On Mon, Nov 14, 2016 at 11:49:54AM -0200, carlosadean at linea.gov.br wrote:
> -- Also, I could import a sample fits creating a RD from scratch
> (with booster). In any case the txt/q is attached.
The problem there was (and that's again for the record):
<map dest="bbox">coords.Box((@raMin, @decMin),
(@raMax, @decMax))</map>
DaCHS 0.9.7 or so dropped support for the ancient, custom boxes (that
don't use proper spherical semantics; pgsphere.SBox, or better
pgsphere.SPoly should be used instead). The error message, however,
is
Exception payload: can't adapt type 'Box'
on my end. Are you sure the "type 'Box'" was missing for you?
Anyway, notification of the change was a bit hidden in the Changelog:
* Removed bbox-based SIAP because DaCHS has been requiring pgsphere
for quite a while now, and hence there's not need for a lousy fallback.
-- I hadn't expected that anyone had used the hacked boxes outside of
that "bbox-based SIAP" and thus hadn't specifically warned against
it. Sorry about this.
Cheers,
Markus
More information about the Dachs-support
mailing list