wxGenericDirCtrl problem on the Mac?

Hi David....

please let me know if you can help me with this one....

phpgroupware ver. 0.9.14.001 is running on a Mandrake 8 server.

Everything has been running fine until we rebooted the server and we get the
following message upon successfully login into the Groupware:

Database error: Invalid SQL: DELETE FROM phpgw_sessions WHERE session_dla <=
'1063409150' AND session_flags !='A'
MySQL Error: 1016 (Can't open file: 'phpgw_sessions.MYD'. (errno: 145))

File: /var/www/html/phpgroupware/phpgwapi/inc/class.sessions_db.inc.php
Line: 287
Session halted.
Fatal error: Call to undefined function: parse_navbar_end() in
/var/www/html/phpgroupware/phpgwapi/inc/footer.inc.php on line 62

Please let me know if you can help me out or who to forward this to.

Anastasia 416-245-8090

ยทยทยท

David Woods (dwoods@wcer.wisc.edu) wrote:

After spending quite a bit of time on this, I've come to the conclusion that
it's not something wrong with my code. (see attached code sample, stolen
directly from the Demo, which fails on my Mac but works on my Windows
machine.)

The error message implies that it can't find "../src/mac/dirmac.cpp", which
indeed does not exist on my Mac. Is my wxPython installed wrong on that
machine?

David

-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Tuesday, September 09, 2003 8:38 PM
To: wxPython-users@lists.wxwindows.org
Subject: Re: [wxPython-users] wxGenericDirCtrl problem on the Mac?

David Woods wrote:

I'm writing a cross-platform ap and am running into trouble using the
wxGenericDirCtrl on Mac OS-X.

At it's simplest, the line:

GDC = wxGenericDirCtrl(self, -1, pos=(10,20), size=(200, 350),
style=wxDIRCTRL_DIR_ONLY | wxDIRCTRL_3D_INTERNAL)

works perfectly on Windows but when I try to run it on OS-X under
wxPythonOSX-2.4.1.2, I get the following message:

wxPyAssertionError: C++ Assertion "err == noErr" failed in
../src/mac/dirmac.cpp(122): Error accessing directory

I've tried all sorts of things with parameters, including trying to add

the

'dir' parameter, all with no change whatsoever. My machine seems to be

set

up correctly, and the wxGenericDirCtrl works fine in the Demo. I just

can't

get it to work in anything I write.

Any ideas?

Sorry, none other than to figure out what is different between your app
and that sample in the demo.

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