Your message dated Sun, 19 Feb 2017 18:03:29 +0000
with message-id <[email protected]>
and subject line Bug#855477: fixed in astroplan 0.2-5
has caused the Debian Bug report #855477,
regarding [astroplan] Failure with broadcasts in schedulers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
855477: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855477
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-astroplan
Version: 0.2-4
Severity: important
Forwarded: https://github.com/astropy/astroplan/issues/282

While the fix of #851437 fixes the FTBFS of the package, the packages
still has significant usage problems connected with the schedulers:

self = <astropy.coordinates.baseframe.TimeFrameAttribute object at 
0x7f80365e23c8>
instance = <[ValueError("attribute obstime should be scalar or have shape (2, 
1), but is has shape (2,) and could not be broadcast.") raised in repr()] AltAz 
object at 0x7f8032fb2470>
frame_cls = <class 'astropy.coordinates.builtin_frames.altaz.AltAz'>

    def __get__(self, instance, frame_cls=None):
[...]
        if instance is not None:
            instance_shape = getattr(instance, 'shape', None)
            if instance_shape is not None and (getattr(out, 'size', 1) > 1 and
                                               out.shape != instance_shape):
                # If the shapes do not match, try broadcasting.
                try:
                    if isinstance(out, ShapedLikeNDArray):
                        out = out._apply(np_broadcast_to, shape=instance_shape,
>                                        subok=True)

/usr/lib/python3/dist-packages/astropy/coordinates/baseframe.py:227: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <Time object: scale='utc' format='iso' value=['2016-02-06 03:00:00.000' 
'2016-02-06 03:00:00.000']>
method = <function broadcast_to at 0x7f803ce8ce18>, args = ()
kwargs = {'shape': (2, 1), 'subok': True}, new_format = 'iso'
apply_method = <function Time._apply.<locals>.<lambda> at 0x7f803a69c730>
jd1 = array([ 2457424.5,  2457424.5]), jd2 = array([ 0.125,  0.125])

    def _apply(self, method, *args, **kwargs):
[...]
        if callable(method):
            apply_method = lambda array: method(array, *args, **kwargs)
        else:
            if method == 'replicate':
                apply_method = None
            else:
                apply_method = operator.methodcaller(method, *args, **kwargs)
    
        jd1, jd2 = self._time.jd1, self._time.jd2
        if apply_method:
>           jd1 = apply_method(jd1)

/usr/lib/python3/dist-packages/astropy/time/core.py:849: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

array = array([ 2457424.5,  2457424.5])

>   apply_method = lambda array: method(array, *args, **kwargs)

/usr/lib/python3/dist-packages/astropy/time/core.py:840: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

array = array([ 2457424.5,  2457424.5]), shape = (2, 1), subok = True

    def broadcast_to(array, shape, subok=False):
        """[...]"""
>       return _broadcast_to(array, shape, subok=subok, readonly=True)

/usr/lib/python3/dist-packages/numpy/lib/stride_tricks.py:174: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

array = array([ 2457424.5,  2457424.5]), shape = (2, 1), subok = True
readonly = True

    def _broadcast_to(array, shape, subok, readonly):
[...]
        broadcast = np.nditer(
            (array,), flags=['multi_index', 'refs_ok', 'zerosize_ok'] + extras,
>           op_flags=[op_flag], itershape=shape, order='C').itviews[0]
E       ValueError: operands could not be broadcast together with remapped 
shapes [original->remapped]: (2,) and requested shape (2,1)

/usr/lib/python3/dist-packages/numpy/lib/stride_tricks.py:129: ValueError

During handling of the above exception, another exception occurred:

    def test_transitioner():
        blocks = [ObservingBlock(t, 55 * u.minute, i) for i, t in 
enumerate(targets)]
        slew_rate = 1 * u.deg / u.second
        trans = Transitioner(slew_rate=slew_rate)
        start_time = Time('2016-02-06 03:00:00')
>       transition = trans(blocks[0], blocks[2], start_time, apo)

astroplan/tests/test_scheduling.py:112: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
astroplan/scheduling.py:842: in __call__
    sep = aaz[0].separation(aaz[1])[0]
/usr/lib/python3/dist-packages/astropy/utils/misc.py:941: in __getitem__
    return self._apply('__getitem__', item)
/usr/lib/python3/dist-packages/astropy/coordinates/sky_coordinate.py:279: in 
_apply
    self._sky_coord_frame = self_frame._apply(method, *args, **kwargs)
/usr/lib/python3/dist-packages/astropy/coordinates/baseframe.py:1181: in _apply
    value = getattr(self, attr)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <astropy.coordinates.baseframe.TimeFrameAttribute object at 
0x7f80365e23c8>
instance = <[ValueError("attribute obstime should be scalar or have shape (2, 
1), but is has shape (2,) and could not be broadcast.") raised in repr()] AltAz 
object at 0x7f8032fb2470>
frame_cls = <class 'astropy.coordinates.builtin_frames.altaz.AltAz'>

    def __get__(self, instance, frame_cls=None):
[...]
                try:
                    if isinstance(out, ShapedLikeNDArray):
                        out = out._apply(np_broadcast_to, shape=instance_shape,
                                         subok=True)
                    else:
                        out = np_broadcast_to(out, instance_shape, subok=True)
                except ValueError:
                    # raise more informative exception.
                    raise ValueError(
                        "attribute {0} should be scalar or have shape {1}, "
                        "but is has shape {2} and could not be broadcast."
>                       .format(self.name, instance_shape, out.shape))
E                   ValueError: attribute obstime should be scalar or have 
shape (2, 1), but is has shape (2,) and could not be broadcast.

/usr/lib/python3/dist-packages/astropy/coordinates/baseframe.py:235: ValueError

This is still covered in upstream issue #282, but fixed in #285.
The patch needs to be adjusted for the Debian package.

Best regards

Ole

--- End Message ---
--- Begin Message ---
Source: astroplan
Source-Version: 0.2-5

We believe that the bug you reported is fixed in the latest version of
astroplan, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vincent Prat <[email protected]> (supplier of updated astroplan package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 18 Feb 2017 16:37:34 +0100
Source: astroplan
Binary: python-astroplan python3-astroplan python-astroplan-doc
Architecture: source all
Version: 0.2-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <[email protected]>
Changed-By: Vincent Prat <[email protected]>
Description:
 python-astroplan - Observation planning package for astronomers (Python 2)
 python-astroplan-doc - Observation planning package for astronomers 
(documentation)
 python3-astroplan - Observation planning package for astronomers (Python 3)
Closes: 855477
Changes:
 astroplan (0.2-5) unstable; urgency=medium
 .
   * Fix broadcasts in schedulers (Closes: #855477)
Checksums-Sha1:
 b8bfe9b1b3a16f253a8489915858eeeff2c61566 2385 astroplan_0.2-5.dsc
 9f41639d1e8fd2b78239ea562da513b9680f1cf1 13996 astroplan_0.2-5.debian.tar.xz
 2ce230fdc95a4f2c0ca6f466f3a87d239da6cf0a 10327 astroplan_0.2-5_amd64.buildinfo
 72ca89ff42bd186cf137fb6a4858ff05b3bf6854 2197252 
python-astroplan-doc_0.2-5_all.deb
 139841abde0bf87e387012a913fedabd0e90063d 70560 python-astroplan_0.2-5_all.deb
 c60f12cad26949719e7b2a735493e5585a212947 70584 python3-astroplan_0.2-5_all.deb
Checksums-Sha256:
 60a29e56579621470f8c70d4adee227d319f33d6c91ebb6384e848446c99cac4 2385 
astroplan_0.2-5.dsc
 f15349fb2e7a415a280776b1a10c8572d12a217537e34b0a917e88e5d2032c39 13996 
astroplan_0.2-5.debian.tar.xz
 d3156e9e7a056ba95b3e5a92fc28594e3b9b4f60700a8192d1989fc0d15f79ea 10327 
astroplan_0.2-5_amd64.buildinfo
 85e8e7eefd02b41ed096bb797fc122956414162d8671006ea38111f0dd8caeb2 2197252 
python-astroplan-doc_0.2-5_all.deb
 f72d97af6bbf6cf238eb2ff6cb06eb6df377eba9afefb25e5404a120d508b012 70560 
python-astroplan_0.2-5_all.deb
 a640dac3e3f8721a29aee1f1a9ef43308d3a5e1b947ec472c310722607d22556 70584 
python3-astroplan_0.2-5_all.deb
Files:
 b5991ff77b6ceaf8f5e7571e97b4ffe8 2385 python optional astroplan_0.2-5.dsc
 d554702ce6974dc68b990782d0c1e93c 13996 python optional 
astroplan_0.2-5.debian.tar.xz
 6f8320e1f90a19826f0a0bbb7f1737ee 10327 python optional 
astroplan_0.2-5_amd64.buildinfo
 9acd2783cc00c676d005cb722885f7db 2197252 doc optional 
python-astroplan-doc_0.2-5_all.deb
 9298039d90a2ffba8f45d56f7f9cbb1d 70560 python optional 
python-astroplan_0.2-5_all.deb
 dd346f084c831099dadd2850220b6fd9 70584 python optional 
python3-astroplan_0.2-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJYqdkpAAoJEAcxzY6uhZt/bUMP/3QRggFEysnpUxsfTadTuyRV
wP6yO/qHV/Z1OCMvmDc3WpZ6qpafWKfd/V7OHy1k77donLCs3rvZ4T79y+WrD4k6
RxXIJeHyBELAnyPSQwH+BG6GwAVNtZtOVP/DR9IhkaJGDKenV8aPZdVQfGk5ruiC
Tj172ZK0xO2IGIJwM0VBlbk9uY5i7/djw1o1jMejqTuAcZnRLTZ4LGPMTmiRHHpC
D82r+n2uF5zmxfd3IL7ZUaZD3icpAiLI+qGbgwVXaaG0+PouCX4MmWm7BOzz8vtc
KNW/FfsS3GO2+TU7cVpwZUXf3YwU/cM44jDlp/Jsa34HdB9JYQYlGV0uEZGgnl+X
fGzzeMDvl/X1cvZrCM4AcoGC7y6HggpXrnOmyG7Vmi1UzbZwlk2beyLJRWTNgc2U
K2epKv984tavUGr8uNpEg18fUMhDxU1J8wHXoLtkVJxEquWr2s93s9IepQPeUu3/
/Fe5U0fTQOa3KT+s0APJRgv4Hd1Mkb6GddbWHT7fkO3GNM46pFkQqLGYxOMkmTaW
ddPwOcV4MMObS6f5ya7mYoc+b+/T5nmIxFxN4hSkifPAr0665yL+TAUTbeAmPIk/
/1oRp1R89MX5hs9wzZG4ik6/nbBcn+67ViDuNuvkt+MoVCkkCQi3rSHQmnaJ4sUh
NE+gqAZBQtH0OcAmWmcc
=c7fC
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to