bryce hendrix | 1 Sep 2010 02:26
Picon

Re: [traitsbackendWX] wx.HIDE_READONLY style in file dialog is deprecated since wxPython 2.6

Thanks Uche. I've removed the flags in the SVN trunk.


Bryce

On Tue, Aug 31, 2010 at 1:58 PM, Uche Mennel <mennel-PZk2ujPSOFtyDzI6CaY1VQ@public.gmane.org> wrote:
 Hi All

I just tried out traits using the newest (not officially released yet)
wxPython version 2.9.1. It works pretty fine. However, I noticed that
the pyface file dialog is still setting the wx.HIDE_READONLY style,
which is deprecated since wxPython 2.6. As this flag is still tolerated
in wxPython 2.8, the new 2.9 version doesn't support it anymore (with
the default build configuration). I don't know how many people out there
still using wxPython 2.4, but in my opinion it is reasonable to abandon
support for it.

Regards,
Uche

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Enthought-Dev mailing list
Enthought-Dev-oRDGkvazHdbtRgLqZ5aouw@public.gmane.orgought.com
https://mail.enthought.com/mailman/listinfo/enthought-dev

_______________________________________________
Enthought-Dev mailing list
Enthought-Dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
bryce hendrix | 1 Sep 2010 04:49
Picon

Re: Problems with new RST editor

I've fixed the recolor error with a partial implementation of the highlighting errors. There is now a gutter to the right, where the errors get marked, but the squiggle underlining has not yet been implemented.


Bryce

On Tue, Aug 31, 2010 at 8:38 AM, Kevin Salvesen <kevin.salvesen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
The Sphinx problem should be fixed. Turns out some variables had changed name and some constructor we used changed a bit in the version of Sphinx. Both the previewer and Sphinx html export function seem to work now. There is still one problem on Windows though as the html previewer won't use the Sphinx theme (exporting the file to html and opening it with a browser will work and will have the full theme). Everything seems to work quite fine on Ubuntu though. I'll see if I can get it fixed in the short future.

So, try the latest version of the rest editor source code and see if it works.

Cheers,
Kevin

On Tue, Aug 31, 2010 at 5:18 AM, bryce hendrix <brycehendrix-Re5JQEeQqe8@public.gmane.orgm> wrote:

Kevin,

I'll tackle the recolor error if you can take a look at the sphinx stuff.

Bryce

On Aug 30, 2010 7:38 PM, "Kevin Salvesen" <kevin.salvesen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Hi Timmie, 

I know about the first exception (AttributeError: 'AdvancedCodeWidget' object has no attribute 'recolor'). This is because the port of the text editor widget isn't completely finished and some functions may be missing (in this case, it would be the function to underline lines where there are errors in the text). I won't be able to fix that right now, but I'll at least try to make a quick fix tomorrow to catch the exception and make it stop spamming those error messages.

As for the second error, I've just noticed that the rest editor doesn't work with Sphinx 1.0.x. (I was still running Sphinx 0.6.5). I will try to fix this tomorrow. Until then, you should be able to make it work with Sphinx 0.6.5. (easy_install Sphinx=0.6.5).

Cheers,
Kevin



On Tue, Aug 31, 2010 at 12:53 AM, Tim Michelsen <timmichelsen-rJBqYz9TEJZKTQ5g00o1eQ@public.gmane.org> wrote:
>
> Hello,
> ...

_______________________________________________
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-oRDGkvazHdbtRgLqZ5aouw@public.gmane.orgought.com
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-Dev mailing list
Enthought-Dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
Timmie | 1 Sep 2010 19:56
Picon

Re: Problems with new RST editor


> The Sphinx problem should be fixed. Turns out some variables had changed
name and some constructor we used changed a bit in the version of Sphinx.
Both the previewer and Sphinx html export function seem to work now. There
is still one problem on Windows though as the html previewer won't use the
Sphinx theme (exporting the file to html and opening it with a browser will
work and will have the full theme). Everything seems to work quite fine on
Ubuntu though. I'll see if I can get it fixed in the short future.
Thanks.

I tested it agian.

Here is a list of issues I encountered:

* quite slow in creating the first preview
* file open dialogue is also slow
* menues could get better titles (convert to file)
* toggle file browser dows not have any effect
* Sphinx issues
    * preview does not understand some directives: todo
    * does not form preview of a Sphinx indes page

Regards.
--

-- 
View this message in context: http://enthought-dev.117412.n3.nabble.com/Problems-with-new-RST-editor-tp1391459p1401853.html
Sent from the Enthought Dev mailing list archive at Nabble.com.
Sylvain Roy | 3 Sep 2010 19:58
Picon

Interaction between different graphical interfaces

Hello all,

My program displays a main interface and a smaller sub-panel. I would 
like to be able to access
both interfaces (none of them is 'modal') but I would like the sub-panel 
to always appear on top
of the main panel. A good example of that is the Find/Replace sub-panel 
in Pydev/Eclipse: it appears
on top of the main interface even when this main interface is being edited.

Someone has any idea of how to do that?

Regards,
Sylvain
Robert Kern | 3 Sep 2010 20:07
Gravatar

Re: Interaction between different graphical interfaces

On Fri, Sep 3, 2010 at 12:58 PM, Sylvain Roy <sylvain.roy77 <at> gmail.com> wrote:
> Hello all,
>
> My program displays a main interface and a smaller sub-panel. I would
> like to be able to access
> both interfaces (none of them is 'modal') but I would like the sub-panel
> to always appear on top
> of the main panel. A good example of that is the Find/Replace sub-panel
> in Pydev/Eclipse: it appears
> on top of the main interface even when this main interface is being edited.
>
> Someone has any idea of how to do that?

We don't expose such options at the Traits UI/Envisage/Pyface level.
You will need to grab a hold of the underlying toolkit control and use
the appropriate toolkit API to do that.

--

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco
_______________________________________________
Enthought-Dev mailing list
Enthought-Dev <at> mail.enthought.com
https://mail.enthought.com/mailman/listinfo/enthought-dev
Fred | 5 Sep 2010 18:03
Picon

[traits] TabularEditor/TabularAdapter issue...

Hi all,

 From demo/Advanced/NumPy_array_tabular_editor_demo.py,

I get the following CME.

If I delete one line and then move up with the keyboard arrow up, I get 
a tons of error messages:

.../...
TypeError: 'NoneType' object is unsubscriptable
Traceback (most recent call last):
   File

"/usr/local/lib/python2.6/dist-packages/TraitsBackendWX-3.4.1.dev_r25728-py2.6.egg/enthought/traits/ui/wx/tabular_editor.py", 
line 167, in OnGetItemText
     row, column )
   File

"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py", 
line 299, in get_text
     return self._result_for( 'get_text', object, trait, row, column )
   File

"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py", 
line 513, in _result_for
     return handler()
   File

"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py", 
line 521, in <lambda>
     return lambda: getattr( self, name )
   File

"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py", 
line 374, in _get_text
     self.object, self.name, self.row, self.column )
   File

"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py", 
line 305, in get_content
     return self._result_for( 'get_content', object, trait, row, column )
   File

"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py", 
line 513, in _result_for
     return handler()
   File

"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py", 
line 521, in <lambda>
     return lambda: getattr( self, name )
   File

"/usr/local/lib/python2.6/dist-packages/Traits-3.4.1.dev_r25701-py2.6-linux-i686.egg/enthought/traits/ui/tabular_adapter.py", 
line 390, in _get_content
     return self.item[ self.column_id ]
TypeError: 'NoneType' object is unsubscriptable

Any hint?

Is it a bug?

TIA

Cheers,

--

-- 
Fred
Attachment (cme6.py): text/x-python, 2232 bytes
_______________________________________________
Enthought-Dev mailing list
Enthought-Dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
Fred | 6 Sep 2010 11:53
Picon

[mayavi] Surface & texture issue...

Hi all,

I don't understand what happens with the following CME :-/

Run the script, warp scale factor is set to 1 by default, Lena is 
"horizontal".

Set the scale factor to 1.5, she is "vertical".

Set it to 1.7, she is now horizontal...

Strange, no?

Any hint?

TIA

Cheers,

--

-- 
Fred
Attachment (cme7.py): text/x-python, 1216 bytes
_______________________________________________
Enthought-Dev mailing list
Enthought-Dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
Mohammad Abdollahi | 6 Sep 2010 12:49
Picon

problem running an example

Dear List,

I get the following error, when try to run Chaco's spectrum.py example just after installation of EPD 6.2 on MAC OSX  :

Traceback (most recent call last):
  File "spectrum.py", line 183, in <module>
    popup = Demo()
  File "spectrum.py", line 169, in __init__
    self.plot = _create_plot_component(self.controller)
  File "spectrum.py", line 82, in _create_plot_component
    colormap=jet,
  File "/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/enthought/chaco/plot.py", line 487, in img_plot
    hide_grids, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/enthought/chaco/plot.py", line 576, in _create_2d_plot
    raise ValueError("The xbounds array of an image plot needs to have 1 more element that its corresponding data shape, because it represents the locations of pixel boundaries.")
ValueError: The xbounds array of an image plot needs to have 1 more element that its corresponding data shape, because it represents the locations of pixel boundaries.



any idea how to fix it ?

besides, i need to install other python packages too. where should i install them so that i would not mess up things with enthought and have everything neatly installed in one directory ?  i did this once with out specifying installation location and i couldnt import enthough any more.  Where can i set the Pythonpath is OSX anyway ? no .bashrc file here ..

thanks in advance

Kind Regards
Mohammad

_______________________________________________
Enthought-Dev mailing list
Enthought-Dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
Fred | 6 Sep 2010 13:56
Picon

Re: [mayavi] Surface & texture issue...

I get another issue with the following example.

It ssems that texture properties are not well copied from s to s2...

Maybe the copy() method is not the right one to do this?

Any hint?

Cheers,

--

-- 
Fred
Attachment (cme7bis.py): text/x-python, 1355 bytes
_______________________________________________
Enthought-Dev mailing list
Enthought-Dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
K.-Michael | 6 Sep 2010 18:23

mlab + 64 bit on Mac?

Hi there,

as there is no wxPython for 64 bit yet on the Mac (right?), I guess 
there's currently no way to run mlab stuff with a 64-bit distribution 
on the Mac?

Any gossip concerning this (including successfull 64-bit cocoa compiles 
of wx) would be welcome! ;)

Best regards,
Michael

Gmane