Re: Having trouble with python readline

2013-02-11 Thread Scott Webster
So, if I add the readline directory to my sys.path then it works: i.e. sys.path.append("/opt/local/lib/python2.5/site-packages/readline") I also notice that there is this file: /opt/local/lib/python2.5/site-packages/readline_path.py which seems to contain code to add that direct

Re: Having trouble with python readline

2013-02-09 Thread Scott Webster
swim:~ swebster$ port -v installed python25 py25-readline The following ports are currently installed: py25-readline @6.2.2_0 (active) platform='darwin 12' archs='x86_64' python25 @2.5.6_4 (active) platform='darwin 12' archs='x86_64' swim:~ swebster$

Re: Having trouble with python readline

2013-02-09 Thread Ryan Schmidt
On Feb 9, 2013, at 01:17, Scott Webster wrote: > I have python25 and py25-readline installed. python25 is set to be default > with port select. But I can't import readline. Am I missing something > simple here? > > Thanks for any advice! > > > swim:~ sweb

Having trouble with python readline

2013-02-08 Thread Scott Webster
I have python25 and py25-readline installed. python25 is set to be default with port select. But I can't import readline. Am I missing something simple here? Thanks for any advice! swim:~ swebster$ port installed python25 py25-readline The following ports are currently installed:

Re: readline + python + vi-editing-mode

2012-10-18 Thread Laurence Gonsalves
On Thu, Oct 18, 2012 at 3:08 PM, Ned Deily wrote: > In article <[hidden email]>, > laurence <[hidden email]> wrote: > >> I'm trying to enable vi editing mode in readline in Python. ... > Did you install the py27-readline port? If not, modern Pythons on OS X

Re: readline + python + vi-editing-mode

2012-10-18 Thread Ned Deily
In article <1350591062071-197263.p...@n4.nabble.com>, laurence wrote: > I'm trying to enable vi editing mode in readline in Python. Here's what I'm > doing in an interactive Python session: > > >>> import readline > >>> import rlcomplet

readline + python + vi-editing-mode

2012-10-18 Thread laurence
I'm trying to enable vi editing mode in readline in Python. Here's what I'm doing in an interactive Python session: >>> import readline >>> import rlcompleter >>> readline.parse_and_bind ("bind ^I rl_complete") >>> readline.parse_and_b

Re: ipython and readline

2011-12-05 Thread Dan Ports
On Mon, Dec 05, 2011 at 07:02:11PM +, Chris Jones wrote: > Just for the record, I had exactly the same problem as this yesterday?. > py27-readline wasn't installed even though I had py27-ipython. Had to install > it by hand. py-readline presumably only became necessary a

Re: ipython and readline

2011-12-05 Thread Chris Jones
Hi, Just for the record, I had exactly the same problem as this yesterday…. py27-readline wasn't installed even though I had py27-ipython. Had to install it by hand. Chris On 5 Dec 2011, at 6:46pm, Jean-François Caron wrote: > On 2011-12-05, at 10:41 , Frank Schima wrote: >>

Re: ipython and readline

2011-12-05 Thread Jean-François Caron
> an error message about readline, and something about libedit coming from >> Leopard (I am running Lion). It recommends that I install readline, which >> is already installed from macports. After the error message, I get an >> ipython prompt but the prompt itself is screwed u

Re: ipython and readline

2011-12-05 Thread Frank Schima
On Dec 5, 2011, at 11:06 AM, Jean-François Caron wrote: > This happened after my latest round of selfupdate and upgrade outdated. > Previously ipython worked with no problems, but now if I start it up, I get > an error message about readline, and something about libedit coming from

ipython and readline

2011-12-05 Thread Jean-François Caron
This happened after my latest round of selfupdate and upgrade outdated. Previously ipython worked with no problems, but now if I start it up, I get an error message about readline, and something about libedit coming from Leopard (I am running Lion). It recommends that I install readline

Re: Problem updating readline

2010-10-04 Thread Ryan Schmidt
On Oct 5, 2010, at 00:05, Julien Nakache wrote: > I'm having the same issue as you had. Could you fix this ? > Best, > Julien Did you already follow all the steps in this ticket? http://trac.macports.org/ticket/26403 Let's have this discussion on the macports-users mailing list; Reply All when

Re: Python + VTE + readline = Xlib errors

2010-09-27 Thread Jeff Binder
; Russell > > From: macports-users-boun...@lists.macosforge.org > [macports-users-boun...@lists.macosforge.org] on behalf of Jeff Binder > [extru...@gmail.com] > Sent: 24 September 2010 23:13 > To: macports-users@lists.macosforge.org > Su

Python + VTE + readline = Xlib errors

2010-09-24 Thread Jeff Binder
a bug. It works fine until I try to use readline inside the PTY - then I get Xlib errors. Sometimes this shows up in the VTE terminal: Assertion failed: (XLIB_SEQUENCE_COMPARE(event_sequence, <=, dpy->request)), function poll_for_event, file xcb_io.c, line 221. And sometimes I get this in t

Re: Problem updating readline

2010-09-16 Thread Ryan Schmidt
On Sep 16, 2010, at 15:41, Scott Webster wrote: > and if that still doesn't work, file a ticket on the trac wiki > (trac.macports.org). Actually, in the Trac issue tracker. (The wiki is a separate part of Trac.) But if you search the Trac issue tracker, you'll see we already have this issue fi

Re: Problem updating readline

2010-09-16 Thread Scott Webster
Hmm, looks like some patching issues... I would try: sudo port clean readline sudo port selfupdate sudo port install readline and if that still doesn't work, file a ticket on the trac wiki (trac.macports.org). Scott On Thu, Sep 16, 2010 at 1:34 PM, Martin Pannier wrote: > Here is the

Re: Problem updating readline

2010-09-16 Thread Martin Pannier
> list! > > Scott > > On Thu, Sep 16, 2010 at 1:27 PM, Martin Pannier > wrote: >> Hi all, >> >> I tried to install the rb-rubygems port and saw that it depended, amongst >> other ports, on the readline port. I ran a port upgrade outdated to update

Re: Problem updating readline

2010-09-16 Thread Scott Webster
I tried to install the rb-rubygems port and saw that it depended, amongst > other ports, on the readline port. I ran a port upgrade outdated to update > readline (and subsequently tried to update it using port upgrade readline) > but I keep getting this error message : > > --->

Problem updating readline

2010-09-16 Thread Martin Pannier
Hi all, I tried to install the rb-rubygems port and saw that it depended, amongst other ports, on the readline port. I ran a port upgrade outdated to update readline (and subsequently tried to update it using port upgrade readline) but I keep getting this error message : ---> Apply

Re: "not owner" when installing readline as non-root

2009-12-15 Thread Joshua Root
On 2009-12-16 04:30 , Raphael Straub wrote: > I had the same problem as Kevin. After applying changeset 59597 manually to > MacPorts (version 1.8.1) and recompiling MacPorts, readline installs > perfectly. > > So, your fix works for me. Thanks, Joshua! Thanks for testing. The fi

Re: "not owner" when installing readline as non-root

2009-12-15 Thread Raphael Straub
d probably work. I had the same problem as Kevin. After applying changeset 59597 manually to MacPorts (version 1.8.1) and recompiling MacPorts, readline installs perfectly. So, your fix works for me. Thanks, Joshua! Regards, Raphael ___

Re: "not owner" when installing readline as non-root

2009-12-14 Thread Joshua Root
On 2009-12-15 16:01 , Kevin Reid wrote: > On Dec 14, 2009, at 23:24, Joshua Root wrote: >>> bash-3.2$ port upgrade readline >> ... >>> ---> Applying patches to readline >>> Error: Target org.macports.patch returned: could not set group for fi

Re: "not owner" when installing readline as non-root

2009-12-14 Thread Kevin Reid
On Dec 14, 2009, at 23:24, Joshua Root wrote: bash-3.2$ port upgrade readline ... ---> Applying patches to readline Error: Target org.macports.patch returned: could not set group for file "/Stuff/ports/var/macports/build/ _Stuff_ports_var_macports_sourc

Re: "not owner" when installing readline as non-root

2009-12-14 Thread Joshua Root
ks like this same problem, after having just > selfupdated MacPorts. > > > bash-3.2$ port upgrade readline ... > ---> Applying patches to readline > Error: Target org.macports.patch returned: could not set group for file > "/Stuff/ports/var/macports/build/_Stuff_ports_var_macpo

"not owner" when installing readline as non-root

2009-12-14 Thread Kevin Reid
On Oct 15, 2009, at 12:37, Ryan Schmidt wrote: ---> Applying patches to readline Error: Target org.macports.patch returned: could not set group for file "/Users/thomas/Documents/prgm/bin/autoinstall/macports/ var/macpor

Re: readline

2009-10-26 Thread Ryan Schmidt
On Oct 26, 2009, at 09:55, Thomas De Contes wrote: Le 15 oct. 09 à 18:37, Ryan Schmidt a écrit : is it possible to upgrade readline nevertheless ? You could apply the patch I attached to that ticket, and rebuild MacPorts. I would like to resolve this issue for MacPorts 1.8.2, and am

Re: readline

2009-10-26 Thread Thomas De Contes
Le 15 oct. 09 à 18:37, Ryan Schmidt a écrit : is it possible to upgrade readline nevertheless ? You could apply the patch I attached to that ticket, and rebuild MacPorts. I would like to resolve this issue for MacPorts 1.8.2, and am awaiting feedback on whether or not this patch should

Re: readline

2009-10-15 Thread Ryan Schmidt
---> Applying patches to readline Error: Target org.macports.patch returned: could not set group for file "/Users/thomas/Documents/prgm/bin/autoinstall/macports/var/ macpor

Re: readline

2009-10-15 Thread Thomas De Contes
clean readline and then : + port selfupdate ... + port -u upgrade outdated MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Computing dependencies for readline MacPorts running without privileges. You may be unable to complete certain act

Re: readline

2009-10-11 Thread Ryan Schmidt
ing dependencies for readline MacPorts running without privileges. You may be unable to complete certain actions (eg install). MacPorts running without privileges. You may be unable to complete certain actions (eg install). MacPorts running without privileges. You may be unable to compl

Re: readline

2009-10-11 Thread Thomas De Contes
Le 11 oct. 09 à 12:59, Ryan Schmidt a écrit : On Oct 10, 2009, at 20:49, Thomas De Contes wrote: + port -u upgrade outdated MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Computing dependencies for readline MacPorts running with

Re: readline

2009-10-11 Thread Ryan Schmidt
On Oct 10, 2009, at 20:49, Thomas De Contes wrote: + port -u upgrade outdated MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Computing dependencies for readline MacPorts running without privileges. You may be unable to compl

readline

2009-10-10 Thread Thomas De Contes
hi :-) + port -u upgrade outdated MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Computing dependencies for readline MacPorts running without privileges. You may be unable to complete certain actions (eg install). MacPorts runn

Re: Readline fails to build (yet again)

2009-04-10 Thread Ryan Schmidt
On Apr 10, 2009, at 19:56, li...@mgreg.com wrote: On Apr 7, 2009, at 1:53 AM, Ryan Schmidt wrote: Attaching as a file is great, thanks; it ensures the output doesn't get reformatted by the email program. So, looking into this, the readline port tries to delete the file $ {prefix}/

Re: Readline fails to build (yet again)

2009-04-10 Thread li...@mgreg.com
On Apr 7, 2009, at 1:53 AM, Ryan Schmidt wrote: Attaching as a file is great, thanks; it ensures the output doesn't get reformatted by the email program. So, looking into this, the readline port tries to delete the file $ {prefix}/share/info/dir in post-destroot. It has done this

Re: Readline fails to build (yet again)

2009-04-06 Thread Ryan Schmidt
On Apr 6, 2009, at 23:37, li...@mgreg.com wrote: On Apr 7, 2009, at 12:08 AM, Ryan Schmidt wrote: Hmm, I'm not sure. I'm curious to know what file or directory it's looking for and not finding. Could you try sudo port clean readline sudo port -d install readline 2>

Re: Readline fails to build (yet again)

2009-04-06 Thread li...@mgreg.com
On Apr 7, 2009, at 12:08 AM, Ryan Schmidt wrote:Hmm, I'm not sure. I'm curious to know what file or directory it's looking for and not finding.Could you trysudo port clean readlinesudo port -d install readline 2>&1 | tee ~/Desktop/readline.txtand if it fails again, send us

Re: Readline fails to build (yet again)

2009-04-06 Thread Ryan Schmidt
On Apr 6, 2009, at 09:41, li...@mgreg.com wrote: I'm attempting to install several items that depend on "readline" -- a couple of which are "unixODBC" and "FreeTDS". I'm getting the following errors during the process: ... install: yo

Readline fails to build (yet again)

2009-04-06 Thread li...@mgreg.com
Hi All, I'm attempting to install several items that depend on "readline" -- a couple of which are "unixODBC" and "FreeTDS". I'm getting the following errors during the process: ... install: you may need to run ldconfig Error: Target org.mac

readline 6 and (i)python

2009-03-13 Thread M Trumpis
There's something funny going on with python's readline module when I upgrade to a new readline 6 (and subsequently rebuild py25-readline). When I'm using ipython (which takes advantage of tab completion), the tab completion appends a space character at the end of the complet

Re: problem installing ruby/readline

2008-06-22 Thread Caspar Florian Ebeling
> I just installed macports and the first thing I wanted to install was > the new version of ruby. I ran the install for ruby which installed > several dependencies, when it got to readline I got the following > message: > > ---> Activating readline 5.2.012_1 > Error: Targ

problem installing ruby/readline

2008-06-21 Thread Philip Trauring
I just installed macports and the first thing I wanted to install was the new version of ruby. I ran the install for ruby which installed several dependencies, when it got to readline I got the following message: ---> Activating readline 5.2.012_1 Error: Target org.macports.activ

Re: readline doesn't fetch

2008-05-24 Thread Ryan Schmidt
On May 18, 2008, at 07:52, Charles Darwin wrote: > I don't know what I'm doing here but I changed this line > master_sitesgnu ftp://ftp.cwru.edu/pub/bash/ > in this file > /opt/local/var/macports/sources/rsync.macports.org/release/ports/ > devel/ > readline/Portf

readline doesn't fetch

2008-05-18 Thread Charles Darwin
I don't know what I'm doing here but I changed this line master_sitesgnu ftp://ftp.cwru.edu/pub/bash/ in this file /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ readline/Portfile to this master_sitesgnu ftp://ftp.gnu.org/gnu/readline/ and now it&#x

Re: Problem installing readline

2007-08-15 Thread Ryan Schmidt
Schober wrote: No i am trying to install subversion and readline is a dependency of it. I don't know if i need 5.2, the only thig i did is : sudo port install readline I don't really care which version of readline i get. But thats all automatic by MacPorts. Ah yes, subversion

Re: Problem installing readline

2007-08-15 Thread Thomas Schober
I attached te file already in a mail before in this conversation. Here it is again : PortSystem 1.0 namereadline-5 set shortname readline version 5.0.005 distname${shortname}-5.0 categories devel maintainers [EMAIL PROTECTED] platforms darwin

Re: Problem installing readline

2007-08-15 Thread Ryan Schmidt
On Aug 15, 2007, at 04:14, Thomas Schober wrote: 2007/8/15, Ryan Schmidt: On Aug 14, 2007, at 10:59, Thomas Schober wrote: 2007/8/14, Thomas Schober: 2007/8/14, Ryan Schmidt: On Aug 14, 2007, at 02:57, Thomas Schober wrote: No i am trying to install subversion and readline is a

Re: Problem installing readline

2007-08-15 Thread Thomas Schober
> >>>>>> > >>>>>>> On Aug 14, 2007, at 01:41, Thomas Schober wrote: > >>>>>>> > >>>>>>>> # $Id: Portfile 22478 2007-03-02 05:16:40Z > >>>>>>>> [EMAIL PROTECTED] $ > >>>>>>>>

Re: Problem installing readline

2007-08-14 Thread Ryan Schmidt
Schober wrote: # $Id: Portfile 22478 2007-03-02 05:16:40Z [EMAIL PROTECTED] $ PortSystem 1.0 name readline-5 set shortname readline version 5.0.005 [snip] Oh. Your readline port is very out of date. Probably all your other ports are too. You need to get into the

Re: Problem installing readline

2007-08-14 Thread Thomas Schober
gt; >> > > > >> >> On Aug 14, 2007, at 01:41, Thomas Schober wrote: > > >> >> > > >> >> > # $Id: Portfile 22478 2007-03-02 05:16:40Z > > >> [EMAIL PROTECTED] $ > > >> >> > > > >> >> >

Re: Problem installing readline

2007-08-14 Thread Ryan Schmidt
5:16:40Z [EMAIL PROTECTED] $ >> > >> > PortSystem 1.0 >> > name readline-5 >> > set shortname readline >> > version 5.0.005 >> >> [snip] >> >> Oh. Your readline port is very out of date. Probably all your other &g

Re: Problem installing readline

2007-08-14 Thread Ryan Schmidt
On Aug 14, 2007, at 02:25, Thomas Schober wrote: 2007/8/14, Ryan Schmidt: On Aug 14, 2007, at 01:41, Thomas Schober wrote: > # $Id: Portfile 22478 2007-03-02 05:16:40Z [EMAIL PROTECTED] $ > > PortSystem 1.0 > name readline-5 > set shortname readline > version

Re: Problem installing readline

2007-08-14 Thread Thomas Schober
2007/8/14, Ryan Schmidt: > > > >> On Aug 14, 2007, at 00:13, Thomas Schober wrote: > >> > >>> 2007/8/14, Ryan Schmidt: > >>> > >>>> On Aug 12, 2007, at 09:53, Thomas Schober wrote: > >>>> > >>>>> i have a i

Re: Problem installing readline

2007-08-13 Thread Ryan Schmidt
On Aug 14, 2007, at 01:21, Thomas Schober wrote: 2007/8/14, Ryan Schmidt: On Aug 14, 2007, at 00:13, Thomas Schober wrote: 2007/8/14, Ryan Schmidt: On Aug 12, 2007, at 09:53, Thomas Schober wrote: i have a iMac G5 17" PPC. I am trying to install readline, but i get these e

Re: Problem installing readline

2007-08-13 Thread Thomas Schober
Ok, i found the portfile. But such a line is not there. The file looks like this : # $Id: Portfile 22478 2007-03-02 05:16:40Z [EMAIL PROTECTED] $ PortSystem 1.0 namereadline-5 set shortname readline version 5.0.005 distname${shortname}-5.0 categories devel

Re: Problem installing readline

2007-08-13 Thread Thomas Schober
7, at 09:53, Thomas Schober wrote: > >> > >>> i have a iMac G5 17" PPC. I am trying to install readline, but i > >>> get these errors : > >>> > >>> ---> Staging readline into destroot > >>> Error: Target org.m

Re: Problem installing readline

2007-08-13 Thread Ryan Schmidt
On Aug 14, 2007, at 00:13, Thomas Schober wrote: 2007/8/14, Ryan Schmidt: On Aug 12, 2007, at 09:53, Thomas Schober wrote: i have a iMac G5 17" PPC. I am trying to install readline, but i get these errors : ---> Staging readline into destroot Error: Target org.macports.destroot

Re: Problem installing readline

2007-08-13 Thread Ryan Schmidt
On Aug 12, 2007, at 09:53, Thomas Schober wrote: i have a iMac G5 17" PPC. I am trying to install readline, but i get these errors : ---> Staging readline into destroot Error: Target org.macports.destroot returned: no such file or directory Error: Status 1 encountered during pr

Problem installing readline

2007-08-12 Thread Thomas Schober
Hi, i have a iMac G5 17" PPC. I am trying to install readline, but i get these errors : ---> Staging readline into destroot Error: Target org.macports.destroot returned: no such file or directory Error: Status 1 encountered during processing. However on my intel macbook it worked fin

Re: problem installing py25-readline on intel OSX

2007-08-03 Thread Ryan Schmidt
.5 without universal but only darwin_8 I was successful in installing the p25-readline port. Great, I'm glad that helped. By the way could somebody explain what "universal" mean for macport ? It's the first item in the FAQ: http://trac.macosforge.org/projects/macports/

Re: problem installing py25-readline on intel OSX

2007-08-03 Thread David Tremouilles
cessful in installing the p25-readline port. By the way could somebody explain what "universal" mean for macport ? Thanks, David 2007/8/3, Ryan Schmidt <[EMAIL PROTECTED]>: > > Perhaps you need to do the same for ncurses. I can't quite wade > through the error mes

Re: problem installing py25-readline on intel OSX

2007-08-03 Thread Ryan Schmidt
On Aug 3, 2007, at 01:21, David Tremouilles wrote: 2007/8/3, Ryan Schmidt: On Aug 2, 2007, at 10:53, David Tremouilles wrote: A problem with py25-readline on intel OSX 10.4.10 macport 1.5 Could somebody help. Here is the output of "sudo port install py25-readline": --->

Re: problem installing py25-readline on intel OSX

2007-08-02 Thread David Tremouilles
Hello, I've just tried to re-install readline but it does not help :-( I still get the same error message... Any other idea? Thanks in advance, David 2007/8/3, Ryan Schmidt <[EMAIL PROTECTED]>: > On Aug 2, 2007, at 10:53, David Tremouilles wrote: > > > A problem with

Re: problem installing py25-readline on intel OSX

2007-08-02 Thread Ryan Schmidt
On Aug 2, 2007, at 10:53, David Tremouilles wrote: A problem with py25-readline on intel OSX 10.4.10 macport 1.5 Could somebody help. Here is the output of "sudo port install py25-readline": ---> Building py25-readline with target build Error: Target org.macports.build re

problem installing py25-readline on intel OSX

2007-08-02 Thread David Tremouilles
Hi again, A problem with py25-readline on intel OSX 10.4.10 macport 1.5 Could somebody help. Here is the output of "sudo port install py25-readline": ---> Building py25-readline with target build Error: Target org.macports.build returned: shell command " cd "/opt/l

Re: libiconv and readline upgrade problem

2007-03-22 Thread Elias Pipping
On Mar 22, 2007, at 6:10 PM, Joerg van den Hoff wrote: hi, during an upgrade of the `ion3' window manager I got the following errors: ---> Activating readline 5.2.001_0 Error: Activating readline 5.2.001_0 failed: Image error: /opt/ local/lib/libhistory.5.0.dylib already exists

libiconv and readline upgrade problem

2007-03-22 Thread Joerg van den Hoff
hi, during an upgrade of the `ion3' window manager I got the following errors: ---> Activating readline 5.2.001_0 Error: Activating readline 5.2.001_0 failed: Image error: /opt/local/lib/libhistory.5.0.dylib already exists and does not belong to a registered port. Unable to activ