Skip Menu |

This queue is for tickets about the Pod-POM-Web CPAN distribution.

Report information
The Basics
Id: 55589
Status: rejected
Priority: 0/
Queue: Pod-POM-Web

People
Owner: Nobody in particular
Requestors: punk.kish [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: toc tree fails to render in Safari 4.0.5 (also in 4.0.4)
Date: Mon, 15 Mar 2010 08:46:19 -0500
To: bug-pod-pom-web [...] rt.cpan.org
From: P Kishor <punk.kish [...] gmail.com>
Fails with error "TypeError: Result of expression 'GvaScript.TreeNavigator' [undefined] is not a constructor." -- Puneet Kishor
Le Lun 15 Mar 2010 09:46:59, punk.kish@gmail.com a écrit : Show quoted text
> Fails with error "TypeError: Result of expression > 'GvaScript.TreeNavigator' [undefined] is not a constructor." > >
Hi, I don't have enough info to reproduce the problem. On my Safari 4.0.4 (Win32 XP), it works. The error message seems to indicate that the GvaScript library is not loaded. Is Alien::GvaScript correctly installed in your site/lib ? Does the content frame (right frame) display correctly, with its TreeNavigator ?
Subject: safari.jpg
Download safari.jpg
image/pjpeg 142.8k
safari.jpg
Subject: Re: [rt.cpan.org #55589] toc tree fails to render in Safari 4.0.5 (also in 4.0.4)
Date: Tue, 16 Mar 2010 14:11:06 -0500
To: bug-Pod-POM-Web [...] rt.cpan.org
From: P Kishor <punk.kish [...] gmail.com>
On Mon, Mar 15, 2010 at 6:21 PM, Laurent Dami via RT <bug-Pod-POM-Web@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=55589 > > > Le Lun 15 Mar 2010 09:46:59, punk.kish@gmail.com a écrit :
>> Fails with error "TypeError: Result of expression >> 'GvaScript.TreeNavigator' [undefined] is not a constructor." >> >>
> > Hi, > > I don't have enough info to reproduce the problem. On my Safari 4.0.4 > (Win32 XP), it works. > > The error message seems to indicate that the GvaScript library is not > loaded. Is Alien::GvaScript correctly installed in your site/lib ?
I think so; depends on what "correctly" means. When I point my browser to http://localhost/perldoc/Alien/GvaScript/lib/GvaScript.js, I see the entire script. Also, keep in mind that podpomweb seems to work fine in Firefox. Show quoted text
> Does > the content frame (right frame) display correctly, with its > TreeNavigator ? >
No, it does not. I have attached two screenshots (hopefully they will come through rt). The first one shows how the site looks in Safari 4.0.5. You can see the tree is missing from both frames. The second screenshot is of the developer console in Safari showing the errors. As you can see, there are errors because of GvaScript. The strange thing is, a while back, iirc, podpomweb did work correctly in Safari. It is likely there is something wrong with my configuration, but then, why does it work in Firefox even though not in Safari? -- Puneet Kishor
Download podpomweb1.png
image/png 49.5k

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #55589] toc tree fails to render in Safari 4.0.5 (also in 4.0.4)
Date: Tue, 16 Mar 2010 21:40:56 +0100
To: bug-Pod-POM-Web [...] rt.cpan.org
From: laurent dami <laurent.dami [...] free.fr>
Le 16.03.2010 20:12, P Kishor via RT a écrit : Show quoted text
> No, it does not. I have attached two screenshots (hopefully they will > come through rt). The first one shows how the site looks in Safari > 4.0.5. You can see the tree is missing from both frames. The second > screenshot is of the developer console in Safari showing the errors. > As you can see, there are errors because of GvaScript. >
Mmmh ... the dev. console screenshot shows that there is a problem with MIME types. Try upgrading your MIME::Types module. - do you run the builtin HTTP server or under Apache (or lightttp or other) ? - which OS ? - can you try with Google Chrome ?
Subject: Re: [rt.cpan.org #55589] toc tree fails to render in Safari 4.0.5 (also in 4.0.4)
Date: Tue, 16 Mar 2010 16:21:18 -0500
To: bug-Pod-POM-Web [...] rt.cpan.org
From: P Kishor <punk.kish [...] gmail.com>
On Tue, Mar 16, 2010 at 3:41 PM, laurent.dami@free.fr via RT <bug-Pod-POM-Web@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=55589 > > > Le 16.03.2010 20:12, P Kishor via RT a écrit :
>> No, it does not. I have attached two screenshots (hopefully they will >> come through rt). The first one shows how the site looks in Safari >> 4.0.5. You can see the tree is missing from both frames. The second >> screenshot is of the developer console in Safari showing the errors. >> As you can see, there are errors because of GvaScript. >>
> Mmmh ... the dev. console screenshot shows that there is a problem with > MIME types. > Try upgrading your MIME::Types module.
I don't think that is a problem, however, I did reinstall MIME::Types again, version 1.28 Show quoted text
> > - do you run the builtin HTTP server or under Apache (or lightttp or > other) ?
Apache mod_perl Show quoted text
> - which OS ?
Mac OS X "Leopard" 10.5.8 Show quoted text
> - can you try with Google Chrome ? >
Same problem as with Safari; the trees don't render in Google Chrome 5.0.335.0 dev If I had to take a guess, there is something non-standard about the web page served by podpomweb, and Safari and Chrome as more strict about the standards and are croaking, while Firefox is less strict and overlooking the error. Show quoted text
> > >
-- Puneet Kishor http://www.punkish.org Carbon Model http://carbonmodel.org Charter Member, Open Source Geospatial Foundation http://www.osgeo.org Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor Nelson Institute, UW-Madison http://www.nelson.wisc.edu ----------------------------------------------------------------------- Assertions are politics; backing up assertions with evidence is science =======================================================================
Subject: Re: [rt.cpan.org #55589] toc tree fails to render in Safari 4.0.5 (also in 4.0.4)
Date: Wed, 17 Mar 2010 10:18:08 +0100 (CET)
To: bug-Pod-POM-Web [...] rt.cpan.org
From: laurent.dami [...] free.fr
Show quoted text
> If I had to take a guess, there is something non-standard about the > web page served by podpomweb, and Safari and Chrome as more strict > about the standards and are croaking, while Firefox is less strict and > overlooking the error.
Yes, but we need to find out why my Apache/mod_perl/Safari combination works while yours doesn't. I have Apache 2.2 / modperl 2. What are yours ? Please also try the builtin HTTP server (launch from cmdline using perl -MPod::POM::Web -e "Pod::POM::Web->server" and then connect to http:://locallhost:8080)
Subject: Re: [rt.cpan.org #55589] toc tree fails to render in Safari 4.0.5 (also in 4.0.4)
Date: Wed, 17 Mar 2010 08:47:47 -0500
To: bug-Pod-POM-Web [...] rt.cpan.org
From: P Kishor <punk.kish [...] gmail.com>
On Wed, Mar 17, 2010 at 5:57 AM, laurent.dami@free.fr via RT <bug-Pod-POM-Web@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=55589 > >
>> If I had to take a guess, there is something non-standard about the >> web page served by podpomweb, and Safari and Chrome as more strict >> about the standards and are croaking, while Firefox is less strict and >> overlooking the error.
> > Yes, but we need to find out why my Apache/mod_perl/Safari combination works while > yours doesn't. >
The only different variable I can think of is that your combo above is on Windows, and I am on a Mac. Note that I get the same error on Safari as well as on Chrome. Show quoted text
> I have Apache 2.2 / modperl 2. What are yours ? >
Apache/2.2.14 (Unix) DAV/2 mod_fastcgi/2.4.6 SVN/1.5.4 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations Show quoted text
> Please also try the builtin HTTP server (launch from cmdline using >   perl -MPod::POM::Web -e "Pod::POM::Web->server" > and then connect to http:://locallhost:8080) >
exactly the same error TypeError: Result of expression 'destination' [undefined] is not an object. :8080/Alien/GvaScript/lib/prototype.js:2999 TypeError: Result of expression 'GvaScript.TreeNavigator' [undefined] is not a constructor :8080/toc:107 TypeError: Result of expression 'destination' [undefined] is not an object.. :8080/Alien/GvaScript/lib/prototype.js:2999 TypeError: Result of expression 'GvaScript.TreeNavigator' [undefined] is not a constructor. :8080/perl:15 Now, for what its worth, I have also included below the messages from the error_log console, but they seem to mostly be about a missing AnnoCPAN db, which is ok as I didn't install it. ---- Couldn't find any AnnoCPAN database at /usr/local/lib/perl5/site_perl/5.10.1/AnnoCPAN/Perldoc/Filter.pm line 43 AnnoCPAN::Perldoc::Filter::find_notes('AnnoCPAN::Perldoc::Filter=HASH(0xc99580)', '=head1 NAME\x{a}X<function>\x{a}\x{a}perlfunc - Perl builtin functions\x{a}\x{a}=...') called at /usr/local/lib/perl5/site_perl/5.10.1/AnnoCPAN/Perldoc/Filter.pm line 17 AnnoCPAN::Perldoc::Filter::filter('AnnoCPAN::Perldoc::Filter=HASH(0xc99580)', '=head1 NAME\x{a}X<function>\x{a}\x{a}perlfunc - Perl builtin functions\x{a}\x{a}=...') called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 57 Pod::POM::Web::__ANON__('=head1 NAME\x{a}X<function>\x{a}\x{a}perlfunc - Perl builtin functions\x{a}\x{a}=...') called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 457 Pod::POM::Web::pod2pom('Pod::POM::Web::Indexer=HASH(0xc96bc0)', '/usr/local/lib/perl5/5.10.1/pods/perlfunc.pod') called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 952 Pod::POM::Web::perlfunc_items('Pod::POM::Web::Indexer=HASH(0xc96bc0)') called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 673 Pod::POM::Web::main_toc('Pod::POM::Web::Indexer=HASH(0xc96bc0)') called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 173 Pod::POM::Web::dispatch_request('Pod::POM::Web::Indexer=HASH(0xc96bc0)') called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 106 eval {...} called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 106 Pod::POM::Web::handler('Pod::POM::Web', 'Apache2::RequestRec=SCALAR(0x9008a0)') called at -e line 0 eval {...} called at -e line 0 Couldn't find any AnnoCPAN database at /usr/local/lib/perl5/site_perl/5.10.1/AnnoCPAN/Perldoc/Filter.pm line 43 AnnoCPAN::Perldoc::Filter::find_notes('AnnoCPAN::Perldoc::Filter=HASH(0xcda720)', '=head1 NAME\x{a}\x{a}perlvar - Perl predefined variables\x{a}\x{a}=head1 DESC...') called at /usr/local/lib/perl5/site_perl/5.10.1/AnnoCPAN/Perldoc/Filter.pm line 17 AnnoCPAN::Perldoc::Filter::filter('AnnoCPAN::Perldoc::Filter=HASH(0xcda720)', '=head1 NAME\x{a}\x{a}perlvar - Perl predefined variables\x{a}\x{a}=head1 DESC...') called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 57 Pod::POM::Web::__ANON__('=head1 NAME\x{a}\x{a}perlvar - Perl predefined variables\x{a}\x{a}=head1 DESC...') called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 457 Pod::POM::Web::pod2pom('Pod::POM::Web::Indexer=HASH(0xc96bc0)', '/usr/local/lib/perl5/5.10.1/pods/perlvar.pod') called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 997 Pod::POM::Web::perlvar_items('Pod::POM::Web::Indexer=HASH(0xc96bc0)') called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 678 Pod::POM::Web::main_toc('Pod::POM::Web::Indexer=HASH(0xc96bc0)') called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 173 Pod::POM::Web::dispatch_request('Pod::POM::Web::Indexer=HASH(0xc96bc0)') called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 106 eval {...} called at /usr/local/lib/perl5/site_perl/5.10.1/Pod/POM/Web.pm line 106 Pod::POM::Web::handler('Pod::POM::Web', 'Apache2::RequestRec=SCALAR(0x9008a0)') called at -e line 0 eval {...} called at -e line 0 ---- -- Puneet Kishor
Subject: Re: [rt.cpan.org #55589] toc tree fails to render in Safari 4.0.5 (also in 4.0.4)
Date: Thu, 18 Mar 2010 03:00:00 +0100
To: bug-Pod-POM-Web [...] rt.cpan.org
From: laurent dami <laurent.dami [...] free.fr>
Le 17.03.2010 14:49, P Kishor via RT a écrit : Show quoted text
> > The only different variable I can think of is that your combo above is > on Windows, and I am on a Mac. Note that I get the same error on > Safari as well as on Chrome. >
Since I don't have access to any Mac, I asked a friend for some help. Below is his answer : he doesn't reproduce the problem either. So there must be something special about your Mac ! As far as I am concerned, I can't think of anything else to investigate, so I'm afraid you are the only person who can solve it. Le 18.03.2010 01:20, Sébastien Aperghis-Tramoni a écrit : Show quoted text
> laurent dami a écrit : >
>> Salut Maddingue,
> > Salut Laurent, >
>> J'ai reçu un ticket pour Pod-POM-Web de la part d'un utilisateur >> MacOS X (https://rt.cpan.org/Public/Bug/Display.html?id=55589) . >> >> Apparemment l'un des fichiers javascript servis par Pod-POM-Web >> n'est pas reconnu par Safari, qui se plaint d'un problème de MIME >> types. Avec Safari sous Win32, ça marche. >> >> Aurais-tu une idée de ce qui pourrait coincer ?
> > J'ai mis à jour la plupart des modules concernés (Pod::POM::Web, > Alien::GvaScript, AnnoCPAN, MIME::Types). J'ai exécuté l'uniligne de > la documentation : perl -MPod::POM::Web -e "Pod::POM::Web->server" > > Tout fonctionne sans problème chez moi, aussi bien avec Safari 4.0.4 > qu'avec Camino 2.0.2 > Mac OS X 1.4.11 / PowerPC, Perl v5.8.6 (darwin-thread-multi-2level) > > Dis-moi si je peux tester autre chose pour vérifier.
could not reproduce -- ticket rejected