[pgadmin-support] pgadmin3 beta3 build failure at wxMBConv::MB2WC()
Hi, I'm running gentoo linux, 2.6.8 kernel, i686-pc-linux-gnu-3.4.2. I've installed wxWindows per the instructions on http://www.pgadmin.org/pgadmin3/download.php , and I get this error while running the 'make' command of the pgadmin3 build. I get the same error with older beta versions as well; re-installing wxWidgets doesn't help: -- snip -- utils/utffile.cpp: In member function `off_t wxUtfFile::Read(wxString&, off_t)': utils/utffile.cpp:86: error: no matching function for call to `wxMBConv::MB2WC(wxStringBuffer, char*&, unsigned int)' /usr/local/include/wx-2.5/wx/strconv.h:46: note: candidates are: virtual size_t wxMBConv::MB2WC(wchar_t*, const char*, size_t) const make[2]: *** [utffile.o] Error 1 make[2]: Leaving directory `/home/foxsg/dump/pgadmin3-1.2.0-beta3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/foxsg/dump/pgadmin3-1.2.0-beta3' make: *** [all] Error 2 -- snip -- Look familiar? I would appreciate any tips for getting around this. TIA, Steve ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org
Re: [pgadmin-support] pgadmin3 beta3 build failure at wxMBConv::MB2WC()
steve fox wrote: Hi, I'm running gentoo linux, 2.6.8 kernel, i686-pc-linux-gnu-3.4.2. I've installed wxWindows per the instructions on http://www.pgadmin.org/pgadmin3/download.php , and I get this error while running the 'make' command of the pgadmin3 build. I get the same error with older beta versions as well; re-installing wxWidgets doesn't help: utils/utffile.cpp: In member function `off_t wxUtfFile::Read(wxString&, off_t)': utils/utffile.cpp:86: error: no matching function for call to `wxMBConv::MB2WC(wxStringBuffer, char*&, unsigned int)' /usr/local/include/wx-2.5/wx/strconv.h:46: note: candidates are: virtual size_t wxMBConv::MB2WC(wchar_t*, const char*, size_t) const Try casting to help the compiler guessing that the only available method is the on meant: MB2WC((wxChar*)... I'd consider this a gcc3.4 bug: wxStringBuffer has a wxChar*() operator, resolving the first argument (this should happen automatically), buffer is a char* which should be usable as const char* perfectly legal, and unsigned int used as size_t param doesn't look too exotic too. Not the first weird thing from gcc 3.4... Regards, Andreas ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster
Re: [pgadmin-support] Bug: PGAdmin + plpythonu + windows
Sim Zacks wrote: PGAdmin 1.2.0 Beta 2 Multi-line functions in plpythonu do not work when created using pgadmin. The function is created but when it is run for the first time an error of "cannot compile. syntax error on line 2" is given. The functions have been tested and work when created with psql. The problem appears to be do to the windows CRLF as opposed to the *NIX LF. Which PostgreSQL version and platform (both client and server)? From your description, I'd call this a plpythonu bug; I don't have it running to verify this, thus I cross posted to pgsql-bugs. IMHO any pgsql language should handle cr, crlf and lf equally as line feed, to avoid client/server eol interpretation discrepancies. Regards, Andreas ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match
Re: [pgadmin-support] Bug: PGAdmin + plpythonu + windows
PostGreSQL 8.0 beta1 PGAdmin 1.2.0 Beta 2 I can call it a plpython bug, if that is the problem. I just figured to send it to you because that's where I experienced the issue. Also I don't "know" that is the problem, just an assumption based on behavior. Thank You Sim Zacks IT Manager CompuLab 04-829-0145 - Office 04-832-5251 - Fax Sim Zacks wrote: > PGAdmin 1.2.0 Beta 2 > Multi-line functions in plpythonu do not work when created using > pgadmin. The function is created but when it is run for the first time > an error of "cannot compile. syntax error on line 2" is given. The > functions have been tested and work when created with psql. > > The problem appears to be do to the windows CRLF as opposed to the > *NIX LF. Which PostgreSQL version and platform (both client and server)? From your description, I'd call this a plpythonu bug; I don't have it running to verify this, thus I cross posted to pgsql-bugs. IMHO any pgsql language should handle cr, crlf and lf equally as line feed, to avoid client/server eol interpretation discrepancies. Regards, Andreas ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match
[pgadmin-support] Crash condition
pgAdmin3 ver. 1.2.0 Post-Beta (oct 16 2004) Steps to follow in edit grid: 1. Change value of an arbitrary column on last row then click on the same row but different column so row is not updated ('Save[d] changed row.' button is enabled). 2. Select previous row (n-1) and last row. 3. Press Delete button 4. Click 'Saved changed row.' button and pgadmin3 will crash. If at step 2 will select only last row, pgadmin3 won't crash but last empty line (labeled *) will contain 'changed' row after step 4, row deleted at step 3. Generalizing, crashing can be reproduced if selection is made from x-1 to n where x is number of 'changed' row and n number of last row. I've attached Dr. Watson's log. I don't know if it's very helpful 'case I don't have a .dbg file for pgadmin3. Virgil --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.776 / Virus Database: 523 - Release Date: 12.10.2004 (0040 - 0096A000) (77F8 - 77FFD000) F:\WINNT\Symbols\dll\ntdll.dbg (6310 - 6311F000) (7C2D - 7C332000) F:\WINNT\Symbols\dll\advapi32.dbg (7C57 - 7C623000) F:\WINNT\Symbols\dll\kernel32.dbg (77D3 - 77DA1000) F:\WINNT\Symbols\dll\rpcrt4.dbg (1000 - 100D1000) (7505 - 75058000) F:\WINNT\Symbols\dll\wsock32.dbg (7503 - 75044000) F:\WINNT\Symbols\dll\ws2_32.dbg (7800 - 78045000) (7502 - 75028000) F:\WINNT\Symbols\dll\ws2help.dbg (77F4 - 77F7B000) F:\WINNT\Symbols\dll\gdi32.dbg (77E1 - 77E75000) F:\WINNT\Symbols\dll\user32.dbg (0023 - 00257000) (76B3 - 76B6E000) F:\WINNT\Symbols\dll\comdlg32.dbg (6318 - 631E9000) (7171 - 71794000) F:\WINNT\Symbols\dll\comctl32.dbg (782F - 78535000) F:\WINNT\Symbols\dll\shell32.dbg (77A5 - 77B3F000) F:\WINNT\Symbols\dll\ole32.dbg (00EE - 00EE9000) (6E42 - 6E426000) F:\WINNT\Symbols\dll\indicdll.dbg (75E6 - 75E7A000) F:\WINNT\Symbols\dll\imm32.dbg (0101 - 0101B000) (782C - 782CC000) F:\WINNT\Symbols\dll\rnr20.dbg (7798 - 779A4000) F:\WINNT\Symbols\dll\dnsapi.dbg (7734 - 77353000) F:\WINNT\Symbols\dll\iphlpapi.dbg (7752 - 77525000) F:\WINNT\Symbols\dll\icmp.dbg (7732 - 77337000) F:\WINNT\Symbols\dll\mprapi.dbg (7515 - 7515F000) F:\WINNT\Symbols\dll\samlib.dbg (7517 - 751BF000) F:\WINNT\Symbols\dll\netapi32.dbg (7C34 - 7C34F000) F:\WINNT\Symbols\dll\secur32.dbg (77BF - 77C01000) F:\WINNT\Symbols\dll\ntdsapi.dbg (7795 - 7797A000) F:\WINNT\Symbols\dll\wldap32.dbg (751C - 751C6000) F:\WINNT\Symbols\dll\NetRap.dbg (779B - 77A4B000) F:\WINNT\Symbols\dll\oleaut32.dbg (773B - 773DF000) F:\WINNT\Symbols\dll\activeds.dbg (7738 - 773A3000) F:\WINNT\Symbols\dll\adsldpc.dbg (7783 - 7783E000) F:\WINNT\Symbols\dll\rtutils.dbg (7788 - 7790E000) F:\WINNT\Symbols\dll\setupapi.dbg (7C0F - 7C151000) F:\WINNT\Symbols\dll\userenv.dbg (774E - 77513000) F:\WINNT\Symbols\dll\rasapi32.dbg (774C - 774D1000) F:\WINNT\Symbols\dll\rasman.dbg (7753 - 77552000) F:\WINNT\Symbols\dll\tapi32.dbg (7736 - 77379000) F:\WINNT\Symbols\dll\dhcpcsvc.dbg (777E - 777E8000) F:\WINNT\Symbols\dll\winrnr.dbg (019B - 019B7000) (01B7 - 01B88000) (74FD - 74FEE000) F:\WINNT\Symbols\dll\msafd.dbg (7501 - 75017000) F:\WINNT\Symbols\dll\wshtcpip.dbg (772B - 7731C000) F:\WINNT\Symbols\dll\riched20.dbg State Dump for Thread Id 0x448 eax= ebx=01157f60 ecx=011babf8 edx= esi=011b9c38 edi= eip=004d00cd esp=0012f4a4 ebp= iopl=0 nv up ei ng nz ac po cy cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs= efl=0297 function: 004d00a4 3bc5 cmp eax,ebp 004d00a6 0f8e7201 jle 004d021e 004d00ac 8b4664 mov eax,[esi+0x64] ds:01db3b1e= 004d00af 8b0c28 mov ecx,[eax+ebp] ds:= 004d00b2 83795c01 cmp dword ptr [ecx+0x5c],0x1 ds:01db4ade= 004d00b6 0f844b01 je 004d0207 004d00bc 8b542418 mov edx,[esp+0x18] ss:00d2938b= 004d00c0 8b5c2410 mov ebx,[esp+0x10] ss:00d2938b= 004d00c4 8b03 mov eax,[ebx] ds:01157f60= 004d00c6 8d3c95 lea edi,[+edx*4] ds:= FAULT ->004d00cd 8b0c07 mov ecx,[edi+eax] ds:= 004d00d0 8b41f8 mov eax,[ecx+0xf8] ds:01db4ade= 004d00d3 85c0 testeax,eax 004d00d5 0f842c01 je 004d0207 004d00db 8b54241c mov edx,[esp+0x1c] ss:00d2938b= 004d00df 8b42f8 mov eax,[edx+0xf8] ds:00bf9ee6= 004d00e2 85c0 testeax,eax 004d00e4 744e jz 004db934 004d00e6 b8b48b7b00 mov eax,0
[pgadmin-support] pgAdmin III 1.2 Beta-3 released
The pgAdmin Development Team are pleased to announce the third Beta version of pgAdmin III v1.2.0, the well-known GUI administration tool for the PostgreSQL database system. Again, we were able to fix a lot of issues that have been discovered by our diligent beta testers. Thanks to all of you! Here's an excerpt from the changelog covering all changes since Beta-2: - use wxWidgets 2.5.3 - change unsigned conversion for oids - Prevent StatusBar from being overwritten by Toolbar - Connect to databases with special names - review object owner code regarding pgsql versions - remove maximize button on MSW - Fix new server ssl option duplication on connect failure - Fix cast property crash - Use PostgreSQL's list of keywords for syntax highlighting - Fix adding columns with constraints using table properties on 7.3 and 7.4 - Drop rows correctly when selected in reverse in the edit grid. Also, confirm drop first. - Dynamically link libpq/OpenSSL for sensible installation with Win32 PostgreSQL We've been planning to release RC1 right now, but the pgAdmin Development Team decided to have this third beta to make sure that the switch to the official wxWidgets 2.5.3 doesn't invent additional problems. This move from our own wxWidgets snapshot to the official version is a big advantage in terms of linux distribution integration of pgAdmin III, so we took this step now instead of delaying it for the next major version. Please, give it a try and report any/all problems to [EMAIL PROTECTED] ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match
[pgadmin-support] Just to inform sucessful compilation
Hi, This is just to inform that I compiled pgadmin3 (cvs checkout) in Fedora Core 2 and Slackware 10 Fedora Core 2 - Toshiba A25-S207 notebook postgresql 7.4.2 wxWidgets 2.5.3 Slackware 10 AMD DURON clone PC postgresql 8.0 beta3 wxWidgets 2.5.3 wxWidgets was from www.wxwidgets.org. (ftp://biolpc22.york.ac.uk/pub/2.5.3/wxAll-2.5.3.tar.gz) To install wxWidgets 2.5.3 from wxAll-2.5.3.tar.gz is needed another file, an patch released 10-12-04 with a missing file. (ftp://biolpc22.york.ac.uk/pub/2.5.3/wxWidgets-2.5.3-Patch02.tar.gz) When installing postgresql 8.0 beta3 use --with-openssl during configuration or pgadmin3 will fail to compile. (at least in slackware). It seems that pgadmin3 loads and runs A LOT FASTER on my notebook. Is there any known reason for that ?. Thanks, Diego. ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster
[pgadmin-support] unsubscribe
unsubscribe__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com