Re: [yt-users] yt-users Digest, Vol 51, Issue 31

Hi Nanthan, It works. Thanks a lot! Chao On Sun, May 27, 2012 at 4:19 AM, <yt-users-request@lists.spacepope.org>wrote:
Send yt-users mailing list submissions to yt-users@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@lists.spacepope.org
You can reach the person managing the list at yt-users-owner@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. Installation failure (Chao Shi) 2. Re: Installation failure (Chao Shi) 3. Re: Installation failure (Chao Shi) 4. Re: yt-users Digest, Vol 45, Issue 6 (Nathan Goldbaum)
----------------------------------------------------------------------
Message: 1 Date: Sun, 27 May 2012 03:59:43 -0400 From: Chao Shi <shichao116@gmail.com> To: yt-users@lists.spacepope.org Subject: [yt-users] Installation failure Message-ID: <CA+P3+n_8xQbuctgh-4tP09omObg8T1xZY413m6E3Q2yqapqP6w@mail.gmail.com
Content-Type: text/plain; charset="iso-8859-1"
Hi again,
Just a moment ago I sent an email asking help for readline service. After that I deleted and tried to re-re-install yt again. But this time I got these errors:
adding yt/visualization/volume_rendering/transfer_functions.py revisions files: 1636/1637 chunks (99.94%) adding yt_unstable.kpf revisions files: 1637/1637 chunks (100.00%) added 5570 changesets with 13259 changes to 1637 files (+2 heads) sending listkeys command updating the branch cache abort: HTTP Error 502: Bad Gateway abort: repository /home/cshi31/yt-x86_64/src/yt-hg/ not found! /home/cshi31/yt-x86_64/bin/python2.7: can't open file '/home/cshi31/yt-x86_64/src/yt-hg//distribute_setup.py': [Errno 2] No such file or directory
I'm still using the automatic way to install. It seems that the server is down temporarily?
Thanks,
Chao -------------- next part -------------- An HTML attachment was scrubbed... URL: < http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/2012...
------------------------------
Message: 2 Date: Sun, 27 May 2012 04:10:59 -0400 From: Chao Shi <shichao116@gmail.com> To: yt-users@lists.spacepope.org Subject: Re: [yt-users] Installation failure Message-ID: <CA+P3+n9_UW8vGHjTzLELq=m9ELHgTf2YoXza16BJcCpipLZ3VQ@mail.gmail.com
Content-Type: text/plain; charset="iso-8859-1"
I tried several times again and it's finally installed. Sorry for the interruption.
Chao
On Sun, May 27, 2012 at 3:59 AM, Chao Shi <shichao116@gmail.com> wrote:
Hi again,
Just a moment ago I sent an email asking help for readline service. After that I deleted and tried to re-re-install yt again. But this time I got these errors:
adding yt/visualization/volume_rendering/transfer_functions.py revisions files: 1636/1637 chunks (99.94%) adding yt_unstable.kpf revisions files: 1637/1637 chunks (100.00%) added 5570 changesets with 13259 changes to 1637 files (+2 heads) sending listkeys command updating the branch cache abort: HTTP Error 502: Bad Gateway abort: repository /home/cshi31/yt-x86_64/src/yt-hg/ not found! /home/cshi31/yt-x86_64/bin/python2.7: can't open file '/home/cshi31/yt-x86_64/src/yt-hg//distribute_setup.py': [Errno 2] No such file or directory
I'm still using the automatic way to install. It seems that the server is down temporarily?
Thanks,
Chao
-------------- next part -------------- An HTML attachment was scrubbed... URL: < http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/2012...
------------------------------
Message: 3 Date: Sun, 27 May 2012 04:11:37 -0400 From: Chao Shi <shichao116@gmail.com> To: yt-users@lists.spacepope.org Subject: Re: [yt-users] Installation failure Message-ID: <CA+P3+n8jTnF2iuhWhnzdGoKMpTC8rAvOKiw4BbsLz6HeOaYHag@mail.gmail.com
Content-Type: text/plain; charset="iso-8859-1"
It still has the readline problem though.
On Sun, May 27, 2012 at 4:10 AM, Chao Shi <shichao116@gmail.com> wrote:
I tried several times again and it's finally installed. Sorry for the interruption.
Chao
On Sun, May 27, 2012 at 3:59 AM, Chao Shi <shichao116@gmail.com> wrote:
Hi again,
Just a moment ago I sent an email asking help for readline service. After that I deleted and tried to re-re-install yt again. But this time I got these errors:
adding yt/visualization/volume_rendering/transfer_functions.py revisions files: 1636/1637 chunks (99.94%) adding yt_unstable.kpf revisions files: 1637/1637 chunks (100.00%) added 5570 changesets with 13259 changes to 1637 files (+2 heads) sending listkeys command updating the branch cache abort: HTTP Error 502: Bad Gateway abort: repository /home/cshi31/yt-x86_64/src/yt-hg/ not found! /home/cshi31/yt-x86_64/bin/python2.7: can't open file '/home/cshi31/yt-x86_64/src/yt-hg//distribute_setup.py': [Errno 2] No such file or directory
I'm still using the automatic way to install. It seems that the server is down temporarily?
Thanks,
Chao
-------------- next part -------------- An HTML attachment was scrubbed... URL: < http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/2012...
------------------------------
Message: 4 Date: Sun, 27 May 2012 01:17:46 -0700 From: Nathan Goldbaum <goldbaum@ucolick.org> To: Discussion of the yt analysis package <yt-users@lists.spacepope.org> Subject: Re: [yt-users] yt-users Digest, Vol 45, Issue 6 Message-ID: <0C9B16CA-93BE-4E1C-8F80-2718ED8C68E4@ucolick.org> Content-Type: text/plain; charset=iso-8859-1
Hi Chao,
This is a stab in the dark, but do you have the libncurses5-dev package installed? If not, can you try doing:
sudo apt-get install libncurses5-dev
and then retry pip install readline. I'm unfortunately not running Kubuntu so I can't reproduce your issue.
-Nathan
On May 27, 2012, at 12:34 AM, Chao Shi wrote:
Hi,
Recently I changed my OS from ubuntu to Kubuntu 12.04 LTS so I re-installed yt, and the old readline problem comes up again:
While I'm in the script environment of python that comes with yt, the readline service is not available.(That's why I pulled out this old message).
I followed all the suggestions from this email which helped me solved this problem previously, but it doesn't work this time:
First I followed Elizabeth and Casey's suggestion tried to pip install readline, but it keeps saying "libncurses.a: could not read symbols: Bad value" and then "error: gcc fails and exit with status 1".
After searching for a quite a while without any luck on web, I tried to build readline directly in ~/yt-x86_64/lib/python2.7/site-packages, guessing that might work. But it turned out still not working.
Can anyone help me out with this?
Thanks a lot,
Chao
On Sat, Nov 5, 2011 at 9:57 PM, <yt-users-request@lists.spacepope.org> wrote: Send yt-users mailing list submissions to yt-users@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@lists.spacepope.org
You can reach the person managing the list at yt-users-owner@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. Readline service not available (Chao Shi) 2. Re: Readline service not available (j s oishi) 3. Re: Readline service not available (Elizabeth Tasker) 4. Re: Readline service not available (Casey W. Stark) 5. Fwd: Readline service not available (Chao Shi) 6. Re: Fwd: Readline service not available (Casey W. Stark)
----------------------------------------------------------------------
Message: 1 Date: Sat, 5 Nov 2011 20:01:26 -0400 From: Chao Shi <shichao116@gmail.com> To: yt-users@lists.spacepope.org Subject: [yt-users] Readline service not available Message-ID: <CA+P3+n-f-rMpGUs=h59LCS8o= Fbous_VypFBak+HxNAoE+7fNA@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
Hello everyone,
I'm Chao, just started to learn how to use yt and python.
After I installed yt following the instruction in the main page, when I invoke iyt or ipython, waring of "Readline Services not available on this platform" and "The auto-indent feature requires the readline library' came out.
I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this version, readline is available. But I was installing yt, it seems that python2.7.1 was installed along with yt, and consequently ipython and iyt was built upon python2.7.1. I tried python2.7.1 and showed that the readline is not available, and so does iyt and ipython. I don't know whether multiple versions of python caused this problem and I don't know how to solve it. Can anyone give some guidance? I'm new to linux and I apologize if this problem is too obvious to experienced users. But I haven't found effective solution on google.
Thanks,
Chao -------------- next part -------------- An HTML attachment was scrubbed... URL: < http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/2011...
------------------------------
Message: 2 Date: Sat, 5 Nov 2011 17:30:50 -0700 From: j s oishi <jsoishi@gmail.com> To: Discussion of the yt analysis package <yt-users@lists.spacepope.org> Subject: Re: [yt-users] Readline service not available Message-ID: <CAAOZTN_taMC3+fxCgSHsAAiZpDm-SRJqV1h= Ld7PC9twt9AyXQ@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1
Hi Chao,
Welcome to yt! My apologies for this. By using the install script, you get a complete python environment that is completely isolated from your system. This means that you can be assured if something goes wrong with the yt install, you haven't touched your system python at all. As it happens, we just fixed this problem a few days ago, and it hasn't propagated to the stable branch yet. Could you try to install from the development branch, by downloading the install script from
$ wget http://hg.yt-project.org/yt/raw/yt/doc/install_script.sh $ bash install_script.sh
instead? This should fix your problem straight away. As it happens, Python 2.7.1 won't work on Ubuntu 11.10 very well at all. In the mean time, I will migrate the updated install script from the development branch to the stable branch.
You can just delete the entire yt directory that you already installed, and it will not interfere with anything.
Again, welcome to yt!
Jeff
Hello everyone, I'm Chao, just started to learn how to use yt and python. After I installed yt following the instruction in the main page, when I invoke iyt or ipython, waring of "Readline Services not available on this
"The auto-indent feature requires the readline library' came out. I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this version, readline is available. But I was installing yt, it seems?that python2.7.1 was installed along with yt, and consequently ipython and iyt was built upon python2.7.1. I tried python2.7.1 and showed that the readline is not available, and so does iyt and ipython. I don't know whether multiple versions of python caused this problem and I don't know how to solve it. Can anyone give some guidance? I'm new to linux and I apologize if this
On Sat, Nov 5, 2011 at 5:01 PM, Chao Shi <shichao116@gmail.com> wrote: platform" and problem
is too obvious to experienced users. But I haven't found effective solution on google. Thanks, Chao _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
------------------------------
Message: 3 Date: Sun, 6 Nov 2011 09:36:32 +0900 From: Elizabeth Tasker <tasker@astro1.sci.hokudai.ac.jp> To: Discussion of the yt analysis package <yt-users@lists.spacepope.org> Subject: Re: [yt-users] Readline service not available Message-ID: <EFE4787E-6CE4-46A3-8610-F2B1DD0B8A29@astro1.sci.hokudai.ac.jp> Content-Type: text/plain; charset=us-ascii
Hi Chao,
In case Jeff's solution doesn't work, try installing readline using "pip" which is part of the yt package:
~/yt/bin/pip install readline
For some reason, I get similar problems with readline even though it's blatantly on the system already.
Elizabeth
On 2011-11-06, at 9:01 AM, Chao Shi wrote:
Hello everyone,
I'm Chao, just started to learn how to use yt and python.
After I installed yt following the instruction in the main page, when I invoke iyt or ipython, waring of "Readline Services not available on this platform" and "The auto-indent feature requires the readline library' came out.
I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this version, readline is available. But I was installing yt, it seems that python2.7.1 was installed along with yt, and consequently ipython and iyt was built upon python2.7.1. I tried python2.7.1 and showed that the readline is not available, and so does iyt and ipython. I don't know whether multiple versions of python caused this problem and I don't know how to solve it. Can anyone give some guidance? I'm new to linux and I apologize if this problem is too obvious to experienced users. But I haven't found effective solution on google.
Thanks,
Chao _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
------------------------------
Message: 4 Date: Sat, 5 Nov 2011 18:13:04 -0700 From: "Casey W. Stark" <caseywstark@gmail.com> To: Discussion of the yt analysis package <yt-users@lists.spacepope.org> Subject: Re: [yt-users] Readline service not available Message-ID: < CAPQaySUX31N2ECLEwpa5_686dtkAtoC2oXCqV9+cFC5yeCg6fw@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
Hi all.
Yeah, I've seen this a few times. GNU readline is installed by default on Ubuntu, so you should be good there (you have to get it yourself on Macs). The python package readline is the Python interface for GNU readline, see http://docs.python.org/library/readline.html. So, even if you have python readline installed on the default (system) python site-packages, you need to install it again in your yt site-packages.
Best, Casey
On Sat, Nov 5, 2011 at 5:36 PM, Elizabeth Tasker < tasker@astro1.sci.hokudai.ac.jp> wrote:
Hi Chao,
In case Jeff's solution doesn't work, try installing readline using "pip" which is part of the yt package:
~/yt/bin/pip install readline
For some reason, I get similar problems with readline even though it's blatantly on the system already.
Elizabeth
On 2011-11-06, at 9:01 AM, Chao Shi wrote:
Hello everyone,
I'm Chao, just started to learn how to use yt and python.
After I installed yt following the instruction in the main page, when I invoke iyt or ipython, waring of "Readline Services not available on this platform" and "The auto-indent feature requires the readline library' came out.
I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this version, readline is available. But I was installing yt, it seems that python2.7.1 was installed along with yt, and consequently ipython and iyt was built upon python2.7.1. I tried python2.7.1 and showed that the readline is not available, and so does iyt and ipython. I don't know whether multiple versions of python caused this problem and I don't know how to solve it. Can anyone give some guidance? I'm new to linux and I apologize if this problem is too obvious to experienced users. But I haven't found effective solution on google.
Thanks,
Chao _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-------------- next part -------------- An HTML attachment was scrubbed... URL: < http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/2011...
------------------------------
Message: 5 Date: Sat, 5 Nov 2011 21:19:52 -0400 From: Chao Shi <shichao116@gmail.com> To: yt-users@lists.spacepope.org Subject: [yt-users] Fwd: Readline service not available Message-ID: < CA+P3+n_G3OsY8waot575wsw2vTqbKNRekYX0sLT3z4n8OLwkUA@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
BTW, I already tried the method in the FAQ
but it still dosen't work.
---------- Forwarded message ---------- From: Chao Shi <shichao116@gmail.com> Date: Sat, Nov 5, 2011 at 8:01 PM Subject: Readline service not available To: yt-users@lists.spacepope.org
Hello everyone,
I'm Chao, just started to learn how to use yt and python.
After I installed yt following the instruction in the main page, when I invoke iyt or ipython, waring of "Readline Services not available on this platform" and "The auto-indent feature requires the readline library' came out.
I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this version, readline is available. But I was installing yt, it seems that python2.7.1 was installed along with yt, and consequently ipython and iyt was built upon python2.7.1. I tried python2.7.1 and showed that the readline is not available, and so does iyt and ipython. I don't know whether multiple versions of python caused this problem and I don't know how to solve it. Can anyone give some guidance? I'm new to linux and I apologize if this
is too obvious to experienced users. But I haven't found effective solution on google.
Thanks,
Chao -------------- next part -------------- An HTML attachment was scrubbed... URL: < http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/2011...
------------------------------
Message: 6 Date: Sat, 5 Nov 2011 18:50:52 -0700 From: "Casey W. Stark" <caseywstark@gmail.com> To: Discussion of the yt analysis package <yt-users@lists.spacepope.org> Subject: Re: [yt-users] Fwd: Readline service not available Message-ID: <CAPQaySV-T7CATUrvguubUCKd=7vxb_+= 9fohy6HAWWsU6P0erg@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
Hi Chao.
Are you certain that this command installed readline to your yt python environment? I'm not certain how pip determines which python site-packages to install to, but I think it depends on PYTHONPATH/PYTHONHOME. Anyone know about this?
I recommend...
$ source /path/to/yt/bin/activate $ pip install readline
You can check that it installed to the right place by navigating to /path/to/yt/lib/python2.7/site-packages/ and seeing if the readline
is there. If it is there and still doesn't work, then this is really weird...
Either way, we should fix this line of the docs because it assumes yt is installed to ~/yt and it doesn't say anything about setting env vars or using activate. Something like /path/to/yt?
Best, Casey
On Sat, Nov 5, 2011 at 6:19 PM, Chao Shi <shichao116@gmail.com> wrote:
BTW, I already tried the method in the FAQ
http://yt-project.org/doc/faq.html#i-can-t-scroll-up-to-previous-commands-in... ,
but it still dosen't work.
---------- Forwarded message ---------- From: Chao Shi <shichao116@gmail.com> Date: Sat, Nov 5, 2011 at 8:01 PM Subject: Readline service not available To: yt-users@lists.spacepope.org
Hello everyone,
I'm Chao, just started to learn how to use yt and python.
After I installed yt following the instruction in the main page, when I invoke iyt or ipython, waring of "Readline Services not available on this
http://yt-project.org/doc/faq.html#i-can-t-scroll-up-to-previous-commands-in... , problem package platform"
and "The auto-indent feature requires the readline library' came out.
I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this version, readline is available. But I was installing yt, it seems that python2.7.1 was installed along with yt, and consequently ipython and iyt was built upon python2.7.1. I tried python2.7.1 and showed that the readline is not available, and so does iyt and ipython. I don't know whether multiple versions of python caused this problem and I don't know how to solve it. Can anyone give some guidance? I'm new to linux and I apologize if this problem is too obvious to experienced users. But I haven't found effective solution on google.
Thanks,
Chao
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-------------- next part -------------- An HTML attachment was scrubbed... URL: < http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/2011...
------------------------------
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
End of yt-users Digest, Vol 45, Issue 6 ***************************************
!DSPAM:10175,4fc1d8fc24525280299362!
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
!DSPAM:10175,4fc1d8fc24525280299362!
------------------------------
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
End of yt-users Digest, Vol 51, Issue 31 ****************************************
participants (1)
-
Chao Shi