[yt-users] After updating YT an error occurs

Matthew Turk matthewturk at gmail.com
Thu Sep 12 07:23:33 PDT 2013


Hi Seyit,

We're attempting to consolidate development, but as it stands there
are three lines of development:

 * Stable
 * Dev
 * 3.0

In all likelihood, you are on one of the first two, both of which are
actually quite stable.  You can find out by looking at the output of
"yt instinfo" which will give you a branch name in parentheses; this
will be "yt" (dev), "stable" (stable) or "yt-3.0" (3.0).

-Matt

On Thu, Sep 12, 2013 at 10:22 AM, Seyit Hocuk <seyit at astro.rug.nl> wrote:
> Yes, thanks. That did the trick.
> This is not the dev version right?
>
> Best,
> Seyit
>
>
>
>
>
> On 09/12/2013 04:20 PM, Seyit Hocuk wrote:
>>
>> Hi Matt,
>>
>> That seems to have worked. It is installing stuff now.
>>
>> Seyit.
>>
>>
>>
>> On 09/12/2013 04:15 PM, Matthew Turk wrote:
>>>
>>> Hi Seyit,
>>>
>>> That's pretty weird.  One more thing to try, and if it doesn't work,
>>> I'd encourage you to download a new copy of the install script and run
>>> it *in place* over top of the existing installation.  This will update
>>> only those dependencies that need to be.
>>>
>>> Here's the thing to try:
>>>
>>> cd /net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/
>>> python2.7 distribute_setup.py
>>> python2.7 setup.py build_ext -i -f
>>>
>>> On Thu, Sep 12, 2013 at 10:12 AM, Seyit Hocuk <seyit at astro.rug.nl> wrote:
>>>>
>>>> Hi Matt,
>>>>
>>>> The commands give me:
>>>>
>>>>
>>>> python2.7 setup.py build_ext -i -f
>>>> The required version of distribute (>=0.6.32) is not available,
>>>> and can't be installed while this script is running. Please
>>>> install a more recent version first, using
>>>> 'easy_install -U distribute'.
>>>>
>>>> (Currently using distribute 0.6.21
>>>>
>>>> (/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg))
>>>>
>>>>
>>>> python2.7 -c "import yt.utilities.lib.write_array"
>>>>
>>>> Traceback (most recent call last):
>>>>    File "<string>", line 1, in <module>
>>>>    File "yt/utilities/lib/__init__.py", line 42, in <module>
>>>>
>>>>      from .write_array import *
>>>> ImportError: No module named write_array
>>>>
>>>> Best,
>>>> Seyit
>>>>
>>>>
>>>>
>>>> On 09/12/2013 04:09 PM, Matthew Turk wrote:
>>>>>
>>>>> Hi Seyit,
>>>>>
>>>>> That's odd.  It should exist in there; the only thing I can think of
>>>>> is that it may need a full recompilation.  Can you try:
>>>>>
>>>>> (activate your environment however, making sure your GNU modules or
>>>>> whatever are loaded)
>>>>> cd /net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/
>>>>> python2.7 setup.py build_ext -i -f
>>>>>
>>>>> and then try again?  If you run into the issue once more, the output
>>>>> from this specific command may help diagnose it:
>>>>>
>>>>> python2.7 -c "import yt.utilities.lib.write_array"
>>>>>
>>>>> Best,
>>>>>
>>>>> Matt
>>>>>
>>>>> On Thu, Sep 12, 2013 at 8:42 AM, Seyit Hocuk <seyit at astro.rug.nl>
>>>>> wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> After I update my YT, I get this error when using my script. Probably
>>>>>> some
>>>>>> paths are wrong? I included the updater.log.
>>>>>>
>>>>>> ./ytmaps.py
>>>>>> Traceback (most recent call last):
>>>>>>     File "./ytmaps.py", line 5, in <module>
>>>>>>       from yt.mods import *
>>>>>>     File
>>>>>>
>>>>>>
>>>>>> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/mods.py",
>>>>>> line 60, in <module>
>>>>>>       from yt.data_objects.api import \
>>>>>>     File
>>>>>>
>>>>>>
>>>>>> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/data_objects/api.py",
>>>>>> line 31, in <module>
>>>>>>       from grid_patch import \
>>>>>>     File
>>>>>>
>>>>>>
>>>>>> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/data_objects/grid_patch.py",
>>>>>> line 35, in <module>
>>>>>>       from yt.data_objects.data_containers import YTFieldData
>>>>>>     File
>>>>>>
>>>>>>
>>>>>> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py",
>>>>>> line 45, in <module>
>>>>>>       from yt.data_objects.derived_quantities import
>>>>>> GridChildMaskWrapper
>>>>>>     File
>>>>>>
>>>>>>
>>>>>> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/data_objects/derived_quantities.py",
>>>>>> line 36, in <module>
>>>>>>       from yt.utilities.parallel_tools.parallel_analysis_interface
>>>>>> import
>>>>>> \
>>>>>>     File
>>>>>>
>>>>>>
>>>>>> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py",
>>>>>> line 39, in <module>
>>>>>>       from yt.utilities.lib import \
>>>>>>     File
>>>>>>
>>>>>>
>>>>>> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/utilities/lib/__init__.py",
>>>>>> line 42, in <module>
>>>>>>       from .write_array import *
>>>>>> ImportError: No module named write_array
>>>>>>
>>>>>> I use the activate.csh and I don't know which version I was using
>>>>>> before.
>>>>>> It
>>>>>> wasn't that old though.
>>>>>>
>>>>>> --
>>>>>> With kind regards,
>>>>>> Seyit
>>>>>>
>>>>>>
>>>>>> S. Hocuk
>>>>>> Postdoctoral Researcher
>>>>>> Kapteyn Astronomical Institute
>>>>>> P.O. box 800
>>>>>> 9700AV Groningen, the Netherlands
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> yt-users mailing list
>>>>>> yt-users at lists.spacepope.org
>>>>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>>>>
>>>>> _______________________________________________
>>>>> yt-users mailing list
>>>>> yt-users at lists.spacepope.org
>>>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>>
>>>>
>>>>
>>>> --
>>>> With kind regards,
>>>> Seyit
>>>>
>>>>
>>>> S. Hocuk
>>>> Postdoctoral Researcher
>>>> Kapteyn Astronomical Institute
>>>> P.O. box 800
>>>> 9700AV Groningen, the Netherlands
>>>>
>>
>>
>
>
> --
> With kind regards,
> Seyit
>
>
> S. Hocuk
> Postdoctoral Researcher
> Kapteyn Astronomical Institute
> P.O. box 800
> 9700AV Groningen, the Netherlands
>



More information about the yt-users mailing list