Unix Technical Forum

pgAdmin 1.8.x hangs while tries to load XRC resources

This is a discussion on pgAdmin 1.8.x hangs while tries to load XRC resources within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> I have a problem in getting pgAdmin3 working since the 1.8.x series. I usually build pgAdmin from source (however ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-13-2008, 02:03 PM
Antonello Biancalana
 
Posts: n/a
Default pgAdmin 1.8.x hangs while tries to load XRC resources

I have a problem in getting pgAdmin3 working since the 1.8.x series.
I usually build pgAdmin from source (however also the binary releases
give me the same problem) and whenever I try to run pgAdmin it shows the
splash screen and then it always hangs. After having traced the exact
point of hanging, I noticed it always hangs at file
pgadmin/ui/xrcDialogs.cpp line 13760 (1.8.4 version) at the point of the
first wxXmlResource::Get()->Load call.
I also tried to disable EMBED_XRC define and to copy all the XRC files
to [uiPath] with no success. I am currently using wxGTK 2.8.7 and all
the other requirements (in particular libxml2, ver. 2.6.32) seem to be
right. By the way: I am using Linux (Fedora 9). No problem if I use
pgAdmin 1.6.3: it complies and runs smoothly and with no problem. I am
having this problem since the release of pgAdmin 1.8.0
Do you have any idea of what the problem can be?

Thank you for your support and help.

Best regards.

Antonello



Bug report information:

pgAdmin ver 1.8.4
configure with no options
OS: Fedora 9, Linux 2.6.25.4
wxWidgets: wxGTK 2.8.7, configure --with-gtk --enable-gtk2 --enable-unicode
postgreSQL ver 8.3.1, configure with no options


--

Antonello Biancalana
ProMIND software development - Perugia (ITALY)
e-mail: promindsd@gmail.com
skype: antonello.biancalana

PGP key ID: D40B3BC3
PGP key fp: AC62 7264 4233 5ADD 5ADA D4D3 9B35 6051 D40B 3BC3


--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-13-2008, 02:03 PM
Dave Page
 
Posts: n/a
Default Re: pgAdmin 1.8.x hangs while tries to load XRC resources

On Sat, Jun 7, 2008 at 9:35 AM, Antonello Biancalana
<promindsd@gmail.com> wrote:
> I have a problem in getting pgAdmin3 working since the 1.8.x series.
> I usually build pgAdmin from source (however also the binary releases give
> me the same problem) and whenever I try to run pgAdmin it shows the splash
> screen and then it always hangs. After having traced the exact point of
> hanging, I noticed it always hangs at file pgadmin/ui/xrcDialogs.cpp line
> 13760 (1.8.4 version) at the point of the first wxXmlResource::Get()->Load
> call.
> I also tried to disable EMBED_XRC define and to copy all the XRC files to
> [uiPath] with no success. I am currently using wxGTK 2.8.7 and all the other
> requirements (in particular libxml2, ver. 2.6.32) seem to be right. By the
> way: I am using Linux (Fedora 9). No problem if I use pgAdmin 1.6.3: it
> complies and runs smoothly and with no problem. I am having this problem
> since the release of pgAdmin 1.8.0
> Do you have any idea of what the problem can be?


Not offhand. Does the wxWidgets XRC sample work?


--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-13-2008, 02:03 PM
Antonello Biancalana
 
Posts: n/a
Default Re: pgAdmin 1.8.x hangs while tries to load XRCresources

Dave Page wrote:
> On Sat, Jun 7, 2008 at 9:35 AM, Antonello Biancalana
> <promindsd@gmail.com> wrote:
>
> Not offhand. Does the wxWidgets XRC sample work?


Thank you for your reply and your help. Your suggestion was of terrific
help to me. I compiled and run the wxWidgets XRC sample and it worked
but it complained about some missing files (whereas pgadmin did not).
The XRC sample complained about the following missing files in my system:

usr/share/mimelnk/application/vnd.adobe.pdx.desktop
usr/share/mimelnk/application/vnd.adobe.xdp+xml.desktop
usr/share/mimelnk/application/vnd.adobe.xfdf.desktop
usr/share/mimelnk/application/vnd.fdf.desktop

which actually resulted to be missing links belonging to an old
installation of Adobe Acrobat Reader 7. I deleted these missing links
and now pgAdmin works.
I hope this can help other pgAdmin users. Maybe it would be nice if
pgAdmin would warn the user in case of these missing files like
wxWidgtes XRC sample does.

Thank you very much indeed Dave for your support and help!

--

Antonello Biancalana
ProMIND software development - Perugia (ITALY)
e-mail: promindsd@gmail.com
skype: antonello.biancalana

PGP key ID: D40B3BC3
PGP key fp: AC62 7264 4233 5ADD 5ADA D4D3 9B35 6051 D40B 3BC3


--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-13-2008, 02:03 PM
Dave Page
 
Posts: n/a
Default Re: pgAdmin 1.8.x hangs while tries to load XRC resources

On Sat, Jun 7, 2008 at 10:32 AM, Antonello Biancalana
<promindsd@gmail.com> wrote:
> Dave Page wrote:
>>
>> On Sat, Jun 7, 2008 at 9:35 AM, Antonello Biancalana
>> <promindsd@gmail.com> wrote:
>> Not offhand. Does the wxWidgets XRC sample work?

>
> Thank you for your reply and your help. Your suggestion was of terrific help
> to me. I compiled and run the wxWidgets XRC sample and it worked but it
> complained about some missing files (whereas pgadmin did not).
> The XRC sample complained about the following missing files in my system:
>
> usr/share/mimelnk/application/vnd.adobe.pdx.desktop
> usr/share/mimelnk/application/vnd.adobe.xdp+xml.desktop
> usr/share/mimelnk/application/vnd.adobe.xfdf.desktop
> usr/share/mimelnk/application/vnd.fdf.desktop
>
> which actually resulted to be missing links belonging to an old installation
> of Adobe Acrobat Reader 7. I deleted these missing links and now pgAdmin
> works.
> I hope this can help other pgAdmin users. Maybe it would be nice if pgAdmin
> would warn the user in case of these missing files like wxWidgtes XRC sample
> does.


Oh wow - I have no idea why those should break wxWidgets, but I wonder
if building wxWidgets with --enable-mimetype=no would have made any
difference.

Anyway, glad it's working now.

>
> Thank you very much indeed Dave for your support and help!


You're welcome.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com