wxmsw26uh_vc.dll and matplotlib 0.87

Trying to py2exe the application I get an error no such file "wxmsw26uh_vc.dll".

I am on:
# Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
# wxPython 2.6.3.2, Boa Constructor 0.4.4

Part of the changes I made inludes trying out numpy 0.8.9.

What is this dll for and where should it be? The name looks like it is part of wxWidget but I can't seem to find it.

Werner

Werner F. Bruhin wrote:

Trying to py2exe the application I get an error no such file "wxmsw26uh_vc.dll".

I am on:
# Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
# wxPython 2.6.3.2, Boa Constructor 0.4.4

Part of the changes I made inludes trying out numpy 0.8.9.

What is this dll for and where should it be? The name looks like it is part of wxWidget but I can't seem to find it.

Googling on it I found that it is included with wxPython Unicode.

What is needed to tell matplotlib not to use Unicode? Is this still possible with 0.87?

Werner

···

Werner

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

As you have found, the matplotlib binaries are built using the unicode
version of wxpython. If you are not using blitting, then you can just
go in any delete the "matplotlib/backends/_wxagg.so" (.pyd for
windows) file from the installed matplotlib module. Then the
pure-python wx backend will be used instead, and it should work fine
with both versions of wx.

- Charlie

···

On 7/6/06, Werner F. Bruhin <werner.bruhin@...185...> wrote:

Werner F. Bruhin wrote:

> Trying to py2exe the application I get an error no such file
> "wxmsw26uh_vc.dll".
>
> I am on:
> # Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
> # wxPython 2.6.3.2, Boa Constructor 0.4.4
>
> Part of the changes I made inludes trying out numpy 0.8.9.
>
> What is this dll for and where should it be? The name looks like it is
> part of wxWidget but I can't seem to find it.

Googling on it I found that it is included with wxPython Unicode.

What is needed to tell matplotlib not to use Unicode? Is this still
possible with 0.87?

Werner

>
> Werner
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Hi,

Charlie Moad wrote:

As you have found, the matplotlib binaries are built using the unicode
version of wxpython. If you are not using blitting, then you can just
go in any delete the "matplotlib/backends/_wxagg.so" (.pyd for
windows) file from the installed matplotlib module. Then the
pure-python wx backend will be used instead, and it should work fine
with both versions of wx.

I can run it without problem on my dev machine. The problem is when packaging it with py2exe, worked around this one by just excluding that dll, but maybe this is the cause of the problem - see other thread.

Werner

···

- Charlie

On 7/6/06, Werner F. Bruhin <werner.bruhin@...185...> wrote:

Werner F. Bruhin wrote:

Trying to py2exe the application I get an error no such file
"wxmsw26uh_vc.dll".

I am on:
# Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
# wxPython 2.6.3.2, Boa Constructor 0.4.4

Part of the changes I made inludes trying out numpy 0.8.9.

What is this dll for and where should it be? The name looks like it is
part of wxWidget but I can't seem to find it.

Googling on it I found that it is included with wxPython Unicode.

What is needed to tell matplotlib not to use Unicode? Is this still
possible with 0.87?

Werner

Werner

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

A little update.

Werner F. Bruhin wrote:

Trying to py2exe the application I get an error no such file "wxmsw26uh_vc.dll".

I am on:
# Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
# wxPython 2.6.3.2, Boa Constructor 0.4.4

Part of the changes I made inludes trying out numpy 0.8.9.

What is this dll for and where should it be? The name looks like it is part of wxWidget but I can't seem to find it.

Can not get it to work with numpy (see other thread), however using Numeric with the following py2exe setup.py sections looks like it works even using an Ansi wxPython version (my app uses a database, while I am planning to switch to Unicode, I don't have time for this at the moment).

The matplotlib related entries in the options section are "pytz" and "matplotlib.numerix" and the exclude of the wxmsg26uh_vc.dll".

# options for py2exe
options = {"py2exe": {"compressed": 1,
                       "optimize": 2,
                       "packages": ["encodings",
                                    "kinterbasdb",
                                    "pytz", "matplotlib.numerix",
                                    ],
                       "excludes": ["MySQLdb", "Tkconstants", "Tkinter", "tcl",
                                    "orm.adapters.pgsql", "orm.adapters.mysql"
                       ],
                       "dll_excludes": ["tcl84.dll", "tk84.dll", "wxmsw26uh_vc.dll"]
                       }
           }
zipfile = r"lib\library.zip"

And this is the setup section (with some stuff omitted):
setup(
       classifiers = ["Copyright:: Werner F. Bruhin",
...
                      "Natural Language :: English"],
       windows = [twcb],
       #console = [twcb],
       options = options,
       zipfile = zipfile,
       data_files = [("prog\\locale\\fr\\LC_MESSAGES",
                        mylocaleFR),
...
                     matplotlib.get_py2exe_datafiles(),
                     ("prog\\amaradata", amaradata),
                     ("prog\\amaradata\\Schemata", amaraschemata),
                     ]
     )

I am using py2exe 0.6.5, wxPython 2.6.3.2 and Python 2.4.

Need to do further testing with it, but the matplotlib plots (some line and pie charts - nothing very sophisticated) work fine.

Will give numpy another try, if I get some hints on how to overcome the issue reported in another thread.

Werner