Bill Baxter | 1 Feb 01:09 2007
Picon

Re: Line endings on mayavi script

The 2.4 egg.  This one to be exact:
    enthought-1.1.1_r9808-py2.4-win32.egg

When you add things to SVN the first time it makes a guess as to
whether the file is binary or ascii.  I think it may only use the file
extension to decide this.  So it could be that 'mayavi' got checked in
as binary rather than ascii since it has no extension.  Perhaps?  But
if no other Windows users are seeing this it may just be something I
did wrong.

--bb

On 2/1/07, Bryce Hendrix <bhendrix@...> wrote:
> Is this the python 2.4 egg, or the python 2.5 egg? In either case, both
> are built on machines w/o cygwin installed and using a svn executable
> found on subversion.tigris.org.
>
> Bryce
>
> Bill Baxter wrote:
> > Anyone else seeing line ending issues with the mayavi script on Windows?
> >
> > I installed it using the enthon egg, and the script won't run because
> > every other line is blank.    That messes up line ending contiuation
> > markers (\) because the next line is blank rather than a continuation.
> >
> > I've seen things like that from either messed up handling of line
> > endings when checking into/out of repository and also with Cygwin when
> > Cygwin is set to DOS mode.  Could one or the other be at play here?
> >
(Continue reading)

Tom Denniston | 1 Feb 01:12 2007

Re: Line endings on mayavi script

No it wasn't you.  I see the same problem with the python 2.5 eggs.
So I would guess it is a repository problem not a build problem.

On 1/31/07, Bill Baxter <wbaxter@...> wrote:
> The 2.4 egg.  This one to be exact:
>    enthought-1.1.1_r9808-py2.4-win32.egg
>
> When you add things to SVN the first time it makes a guess as to
> whether the file is binary or ascii.  I think it may only use the file
> extension to decide this.  So it could be that 'mayavi' got checked in
> as binary rather than ascii since it has no extension.  Perhaps?  But
> if no other Windows users are seeing this it may just be something I
> did wrong.
>
> --bb
>
> On 2/1/07, Bryce Hendrix <bhendrix@...> wrote:
> > Is this the python 2.4 egg, or the python 2.5 egg? In either case, both
> > are built on machines w/o cygwin installed and using a svn executable
> > found on subversion.tigris.org.
> >
> > Bryce
> >
> > Bill Baxter wrote:
> > > Anyone else seeing line ending issues with the mayavi script on Windows?
> > >
> > > I installed it using the enthon egg, and the script won't run because
> > > every other line is blank.    That messes up line ending contiuation
> > > markers (\) because the next line is blank rather than a continuation.
> > >
(Continue reading)

Joseph Wang | 1 Feb 05:14 2007

Displaying asymmetric data / Integrating QuantLib and python

I'm starting to get "hello world" results with mayavi.  I was able to 
calculate option prices in QuantLib and plot the surfaces using tvtk.

A few questions:

1) I'm trying to do a three dimension plot in which the x, y, z axes are not 
symmetric (i.e. x and y are percentages and z is in dollars).   What is the 
easiest way of doing that.

2) I'm using vectorize to vectorize a python function that makes a call to 
C++.  However it doesn't seem to have function attributes available.  
Thoughts on how to do that?

3) I'd like to make the impedance mismatch between things like QuantLib arrays 
and numpy arrays as seemless as possible.  Any words of wisdom on how to do 
this?

4) The thought occurs that we can get pretty nice interactivity by somehow 
using Python traits with the QuantLib quote object.  Python traits (which 
have nothing to do with C++ traits) are extended attributes of a python 
object which can be connected to a UI and take care of things like 
notification processing.   The QuantLib quote object is a container for a 
quantity that could change.  

The idea would be to somehow wrapper the Quote object with Python traits, 
which would allow one to interactively control things like interest rates and 
see how that affects surfaces.

I should have more neat plots in the next week or so.

(Continue reading)

Prabhu Ramachandran | 1 Feb 10:55 2007
Picon

Re: Line endings on mayavi script

>>>>> "Bill" == Bill Baxter <wbaxter@...> writes:

    Bill> I've seen things like that from either messed up handling of
    Bill> line endings when checking into/out of repository and also
    Bill> with Cygwin when Cygwin is set to DOS mode.  Could one or
    Bill> the other be at play here?

I have no idea how this happens.  I only checkin from linux/Mac so no
cygwin anywhere here.

cheers,
prabhu
Prabhu Ramachandran | 1 Feb 10:56 2007
Picon

Re: Line endings on mayavi script

>>>>> "Tom" == Tom Denniston <tom.denniston@...> writes:

    Tom> No it wasn't you.  I see the same problem with the python 2.5
    Tom> eggs.  So I would guess it is a repository problem not a
    Tom> build problem.

Is there anything that I can or must do or is this an eggification
problem?

cheers,
prabhu
Prabhu Ramachandran | 1 Feb 10:58 2007
Picon

Re: Mayavi2 quick start

>>>>> "Bryce" == Bryce Hendrix <bhendrix@...> writes:

    Bryce> Joseph is the proud submitter to ticket # 1000 in the
    Bryce> enthought trac (and 1001, 1002, 1003...)! Thanks for
    Bryce> submitting all the tickets.

    Bryce> Prabhu- I assigned all of the tickets to you, feel free to
    Bryce> re-assign them as necessary.

Thanks.  Are there volunteers willing to take up any of these tickets?
:-)

cheers,
prabhu
fred | 1 Feb 12:21 2007
Picon

[mv2] successful built on freebsd 6.2

Hi,

I have successfully built mayavi2 (with vtk 5, thanks to Thierry Thomas, 
freebsd dev)
on my freebsd 6.2 box : -)

However :

- in build_install.sh I don't (and so freebsd) understand the line

  [[ "$2" == "numpy" ]]

Why two "[" and two "=" instead of

  [ "$2" = "numpy" ]

as commonly used in sh shell ?

- when I run mayavi2, it complains (warning)

Exception exceptions.AttributeError: "DbfilenameShelf instance has no 
attribute 'writeback'" in  ignored

Cheers,

--

-- 
http://scipy.org/FredericPetit
fred | 1 Feb 12:32 2007
Picon

[mv2] successful built on freebsd 6.2

Hi,

Ok, it seems that the double [ is a bash syntax, and not a sh one.
I guess it works under linux boxes because sh is a link to bash, AFAIK.
But not under freebsd.

Cheers,

--

-- 
http://scipy.org/FredericPetit
Bill Baxter | 1 Feb 14:56 2007
Picon

Re: Line endings on mayavi script

If it's checked in as binary then that would explain it, I think.

Does
  svn propget svn:mime-type mayavi

give you something like "application/octet-stream"?

If so then I think "svn propdel svn:mime-type mayavi" will get rid of
it.  After that you may need to check in the latest version again.

--bb

On 2/1/07, Prabhu Ramachandran <prabhu@...> wrote:
> >>>>> "Tom" == Tom Denniston <tom.denniston@...> writes:
>
>     Tom> No it wasn't you.  I see the same problem with the python 2.5
>     Tom> eggs.  So I would guess it is a repository problem not a
>     Tom> build problem.
>
> Is there anything that I can or must do or is this an eggification
> problem?
>
> cheers,
> prabhu
>
>
> _______________________________________________
> Enthought-dev mailing list
> Enthought-dev@...
> https://mail.enthought.com/mailman/listinfo/enthought-dev
(Continue reading)

bryce hendrix | 1 Feb 16:44 2007

Re: Line endings on mayavi script

I'll see if I can't fix both eggs today.

bryce

Tom Denniston wrote:
No it wasn't you. I see the same problem with the python 2.5 eggs. So I would guess it is a repository problem not a build problem. On 1/31/07, Bill Baxter <wbaxter-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
The 2.4 egg. This one to be exact: enthought-1.1.1_r9808-py2.4-win32.egg When you add things to SVN the first time it makes a guess as to whether the file is binary or ascii. I think it may only use the file extension to decide this. So it could be that 'mayavi' got checked in as binary rather than ascii since it has no extension. Perhaps? But if no other Windows users are seeing this it may just be something I did wrong. --bb On 2/1/07, Bryce Hendrix <bhendrix-SCgzsaguwNrby3iVrkZq2A@public.gmane.org> wrote:
Is this the python 2.4 egg, or the python 2.5 egg? In either case, both are built on machines w/o cygwin installed and using a svn executable found on subversion.tigris.org. Bryce Bill Baxter wrote:
Anyone else seeing line ending issues with the mayavi script on Windows? I installed it using the enthon egg, and the script won't run because every other line is blank. That messes up line ending contiuation markers (\) because the next line is blank rather than a continuation. I've seen things like that from either messed up handling of line endings when checking into/out of repository and also with Cygwin when Cygwin is set to DOS mode. Could one or the other be at play here? --bb _______________________________________________ Enthought-dev mailing list Enthought-dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8@public.gmane.org https://mail.enthought.com/mailman/listinfo/enthought-dev
_______________________________________________ Enthought-dev mailing list Enthought-dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8@public.gmane.org https://mail.enthought.com/mailman/listinfo/enthought-dev
_______________________________________________ Enthought-dev mailing list Enthought-dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8@public.gmane.org https://mail.enthought.com/mailman/listinfo/enthought-dev
_______________________________________________ Enthought-dev mailing list Enthought-dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8@public.gmane.org https://mail.enthought.com/mailman/listinfo/enthought-dev

_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev

Gmane