[Orca-users] Re: R=?iso-8859-1?Q?=E9?=p. : Re: Further Info

Guy Dallaire gdallair at criq.qc.ca
Wed Apr 12 15:11:13 PDT 2000


The problem lies in the subdirectories, the way I calculated the md5 digest with the "workaround" I mentionned seems to lead to different results for the -daily, -weekly, etc... png files under each host subdirectory. For example, the web server is looking for:

produc/o_produc_disk_runp_c1t6d0,__disk_runp_c0t0d0,__disk_runp_c0t1d0,__disk_runp_md11-S4bRfLG9OD4iSt13vQUHbg-daily.png

But the file that is there is called:

produc/o_produc_disk_runp_c1t6d0,__disk_runp_c0t0d0,__disk_runp_c0t1d0,__disk_runp_md11-NbroWpHa_e9dlyvDxbyilA-daily.png

I presume that when the md5 hash is computed, one is done with the subdir in front of it, and the other without the subdir or something like that. I'm no good at perl, so I won't try to further modify the source.

But I guess the problem was there BEFORE I actually did the modification. I could not test it because it was not wotrking in the first place. Have you tested the code for very long file names ?

Thanks a lot

Guy Dallaire
Centre de recherche industrielle du Québec
Ste-Foy, QC, Canada
Phone: (418) 659-1550 x 2612
e-mail: gdallair-nospam at criq.qc.ca

Note: remove "-nospam" from my e-mail 

>>> blair at akamai.com 00-04-12 17:41:30 >>>
Do you have your Orca installation viewable from the Internet
so I can take a look at it?

Blair

Guy Dallaire wrote:
> 
> The problem is confirmed: oracle web sever cannot open fil with name length > 128 characters.
> 
> I modified orca like this (function escape_name)
> 
>   if (length($name) > 100) {
>     my $md5 = md5_base64($name);
>     $name   = substr($name, 0, 80) . "-$md5";
> 
>     # Be careful to convert any / characters _, since / is a valid base64
>     # character and should not be used.
>     $name =~ s:/:_:g;
>   }
> 
> This limits the file name length. But there is still a problem when I click on one of the graphs (ex: daily run percent) I'm taken to another page and on that page, all the graphs are invisible...
> 
> Guy Dallaire
> Centre de recherche industrielle du Québec
> Ste-Foy, QC, Canada
> Phone: (418) 659-1550 x 2612
> e-mail: gdallair-nospam at criq.qc.ca 
> 
> Note: remove "-nospam" from my e-mail
> 
> >>> blair at akamai.com 00-04-11 19:12:21 >>>
> Sometimes there is a problem with the server and it can't open
> the files.  Have you looked at the error log?
> 
> Blair
> 
> gdallair at criq.qc.ca wrote:
> >
> > The proble seems related to the length of the filenames produced by
> > orca. If I rename the filenames to something shorter like 'a.html',
> > everything seems to be ok.
> >
> > There seems to be a problem in Internet exploder and Netscrape that
> > prevent the browsers from opening very long urls...
> >
> > ------------------------------------------------------------------------
> > Easter Made Simple
> > Click Here ->
> > http://click.egroups.com/1/3122/7/_/_/_/955480612/ 
> > ------------------------------------------------------------------------
> ------------------------------------------------------------------------
> Enter to WIN one of 10 NEW Kenmore Ranges!
> Only at sears.com
> http://click.egroups.com/1/2677/7/_/_/_/955494424/ 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------
> 1.6 Million Digital Images!
> Download one Today from Corbis.com
> http://click.egroups.com/1/3356/7/_/_/_/955575210/ 
> ------------------------------------------------------------------------
------------------------------------------------------------------------
1.6 Million Digital Images!  
Download one Today from Corbis.com
http://click.egroups.com/1/3356/7/_/_/_/955575364/ 
------------------------------------------------------------------------



------------------------------------------------------------------------
Win $1000 at eGroups!
Enter "$1000 Fridays" at:
http://click.egroups.com/1/2862/7/_/_/_/955577545/
------------------------------------------------------------------------




More information about the Orca-users mailing list