[yt-users] yt-3.0 error on update, now yt doesn't work (Kyle Stewart)

Kyle Stewart kstewart at calbaptist.edu
Fri Aug 9 10:55:55 PDT 2013


Ah, that was the problem.  After updating all, including updating Cython,
it works fine.

Thanks!
-Kyle



--
Kyle Stewart, Ph.D.
Assistant Professor of Physics
Department of Natural and Mathematical Sciences
California Baptist University
8432 Magnolia Avenue
Riverside, CA 92504







On 8/9/13 10:55 AM, "yt-users-request at lists.spacepope.org"
<yt-users-request at lists.spacepope.org> wrote:

>Send yt-users mailing list submissions to
>	yt-users at lists.spacepope.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>or, via email, send a message with subject or body 'help' to
>	yt-users-request at lists.spacepope.org
>
>You can reach the person managing the list at
>	yt-users-owner at lists.spacepope.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of yt-users digest..."
>
>
>Today's Topics:
>
>   1. yt-3.0 error on update, now yt doesn't work (Kyle Stewart)
>   2. Re: yt-3.0 error on update, now yt doesn't work (Kacper Kowalik)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 9 Aug 2013 16:06:26 +0000
>From: Kyle Stewart <kstewart at calbaptist.edu>
>To: "yt-users at lists.spacepope.org" <yt-users at lists.spacepope.org>
>Subject: [yt-users] yt-3.0 error on update, now yt doesn't work
>Message-ID: <CE2A61BA.2EB2%kstewart at calbaptist.edu>
>Content-Type: text/plain; charset="us-ascii"
>
>After updating yt (3.0) to the latest version with a simple "yt update"
>command, I got the following error in the update log:
>
>Error compiling Cython file:
>------------------------------------------------------------
>...
>    cdef void *tree_root
>    cdef int num_root
>    cdef int max_root
>
>cdef extern from "search.h" nogil:
>    void *tsearch(const void *key, void **rootp,
>                            ^
>------------------------------------------------------------
>
>yt/geometry/oct_container.pxd:81:29: Expected ')', found '*'
>
>error: 2 errors while compiling 'yt/geometry/oct_container.pyx' with
>Cython
>
>
>
>Now yt won't work at all.  If I try to call it I get the error:
>"ImportError: No module named particle_oct_container"
>
>Does anyone know what's going on here?
>Thanks!
>
>-Kyle
>
>--
>Kyle Stewart, Ph.D.
>Assistant Professor of Physics
>Department of Natural and Mathematical Sciences
>California Baptist University
>8432 Magnolia Avenue
>Riverside, CA 92504
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
><http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/2
>0130809/a614ccb2/attachment.html>
>
>------------------------------
>
>Message: 2
>Date: Fri, 09 Aug 2013 19:21:17 +0200
>From: Kacper Kowalik <xarthisius.kk at gmail.com>
>To: yt-users at lists.spacepope.org
>Subject: Re: [yt-users] yt-3.0 error on update, now yt doesn't work
>Message-ID: <5205250D.1030101 at gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>On 09.08.2013 18:06, Kyle Stewart wrote:
>> After updating yt (3.0) to the latest version with a simple "yt update"
>>command, I got the following error in the update log:
>> 
>> Error compiling Cython file:
>> ------------------------------------------------------------
>> ...
>>     cdef void *tree_root
>>     cdef int num_root
>>     cdef int max_root
>> 
>> cdef extern from "search.h" nogil:
>>     void *tsearch(const void *key, void **rootp,
>>                             ^
>> ------------------------------------------------------------
>> 
>> yt/geometry/oct_container.pxd:81:29: Expected ')', found '*'
>> 
>> error: 2 errors while compiling 'yt/geometry/oct_container.pyx' with
>>Cython
>
>Hi,
>could you verify that you're using >=Cython-0.18, by e.g. calling
>`cython --version`. If not could you try to update whole yt stack by
>calling `yt update --all`?
>Cheers,
>Kacper
>
>
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: signature.asc
>Type: application/pgp-signature
>Size: 901 bytes
>Desc: OpenPGP digital signature
>URL: 
><http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/2
>0130809/bdf50a91/attachment-0001.pgp>
>
>------------------------------
>
>_______________________________________________
>yt-users mailing list
>yt-users at lists.spacepope.org
>http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
>End of yt-users Digest, Vol 66, Issue 23
>****************************************




More information about the yt-users mailing list