Suppressing image warnings when opening Imag es

Actually that does make perfect sense. And would be excellent, if you can
find the time. If so, will you please send me the link? Also, should I
upgrade to the latest WxPython (so the installer does what it needs to do)
and then just overwrite the directories with your files?

Nino.

···

-----Original Message-----
From: Roach, Mark R. [mailto:mrroach@cimplify.net]
Sent: Tuesday, September 30, 2003 1:07 PM
To: wxPython-users@lists.wxwindows.org
Subject: RE: [wxPython-users] Suppressing image warnings when opening Imag
es

Sorry, poorly explained, I have a build of wxPython/wxwindows whose
wxwindows includes that patch... maybe that's not any better :slight_smile:

On Tue, 2003-09-30 at 13:11, Borges, Emanuel A. wrote:

That would be great. But I'm not sure how that would work since I use
WxPython instead of wxWindows. Isn't WxPython a wrap around
wxWindows.
Meaning that you would first need wxWindows patched and then
port/convert it
to WxPython?... I'm not sure if I understand that correctly.

Nino.

-----Original Message-----
From: Roach, Mark R. [mailto:mrroach@cimplify.net]
Sent: Tuesday, September 30, 2003 12:35 PM
To: wxPython-users@lists.wxwindows.org
Subject: RE: [wxPython-users] Suppressing image warnings when opening
Imag
es

On Tue, 2003-09-30 at 11:26, Borges, Emanuel A. wrote:
> Wow, great response! I originally posted this question thinking
that
> it was
> just some method that I wasn't finding.
>
> Trying not to sound too green but... can you patch wxWindows
> (WxPython) when
> you installed a binary distribution in Windows? I downloaded this
> patch but
> It looks like a make file... Am I out of luck?

I'm afraid you can't. You have to apply that patch to the wxwindows
source code and then compile. Strangely, even 2.4.2 doesn't have the
patch applied... While you're at it, you might want to use a newer
version of libtiff as I have had a number of images that cause strange
crashes on windows which using the newest libtiff has solved. If you
don't have access to a compiler, I can toss my build up on the web for
you.

-Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwindows.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

Hi,

I am new to wxPython and I am trying to access the database. What I am doing
is getting the columns names from a table of a database and attaching it to
the tree ..

Then using

      self.mDatabaseTree.SortChildren(self.mTreeID[server][2])

to expand and sort the column names ..

Now this thing is just working fine on Linux Red Hat but throwing C++
Assertion problem "Assertion Failed" in C:\projects\wx\src\msw\treectrl.cpp

I tried everything but couldn't figure out the problem ..

I am using python 2.2.3 and windows XP .

Your help will be appreciated.

Thanks,

Aashish

Research Assistant

aashish@iastate.edu

def getVariableList(self, server):

      """

      Gets the variables for the specified, host, db, user, pass, table

      tuple

      """

      print "[DBG] Processing: " + str(server)

      if not self.mConnectionMap.has_key(server):

         self.mConnectionMap[server] = MySqlcDatabase(str(server[0]),
str(server[1]), str(server[2]), str(server[3]))

         print "[DBG] Connection Map"

         print self.mConnectionMap

      variables = self.mConnectionMap[server].getColumns(str(server[4]))

      #print '[DBG] Variables in ' + server[4] + ' ' + str(variables)

      for x in variables:

         self.mDatabaseTree.AppendItem(self.mTreeID[server][2], x)

         self.mVariableMap[(server[0], server[3], server[4])][x] = ('',
None, None)

      self.mDatabaseTree.SortChildren(self.mTreeID[server][2])

      #if not 'ID' in self.mVariableMap[server]:

            # self.mVariableMap[server].append('ID')