This should not happen :-(  and, I have not been able to reproduce it.  
I'll need more clues to try to diagnose your problem.

Are you able to view ANY of your uploads?
Have you verified the unpack of your zip file was successful and it's contents 
is on your file system?
Have you check the scheduler log file (/var/log/fossology/fossology.log) for 
errors during processing of your upload?

Mary



> -----Original Message-----
> From: 西门烧雪 Simon [mailto:[email protected]] 
> Sent: Tuesday, March 31, 2009 6:35 AM
> To: Laser, Mary
> Subject: Re: [FOSSology] "File contents are not available in 
> the repository"
> 
> Mary,
> 
> The files were already in the correct permissions:
> 
> $ ls -al /srv/fossology/repository/localhost/
> total 48
> drwxrws---   5 fossy fossy 4096 Mar 30 16:11 .
> drwxrws---   4 fossy fossy 4096 Mar 30 15:57 ..
> drwxrws--- 258 fossy fossy 4096 Mar 30 15:58 files
> drwxrws---   4 fossy fossy 4096 Mar 30 16:07 gold
> drwxrws---   3 fossy fossy 4096 Mar 30 16:11 license
> -rw-r--r--   1 fossy fossy   25 Mar 30 15:38 selftest.txt
> 
> Please advise.  Thank you.
> 
> 2009/3/30 Laser, Mary <[email protected]>
> >
> > Hi Simon,
> > This "smells like" a permissions problem.  Please check 
> your repository directory, where the uploaded files are 
> stored in your filesystem, for the correct permissions.  It 
> should look similar to this:
> >
> > $ ls -al /srv/fossology/repository/localhost
> > total 20
> > drwxrws--- 5 fossy fossy 4096 2008-03-04 15:40 .
> > drwxrws--- 6 fossy fossy 4096 2009-03-27 17:23 ..
> > drwxrws--- 2 fossy fossy 4096 2009-03-27 16:42 files
> > drwxrws--- 2 fossy fossy 4096 2009-03-27 16:29 gold
> > drwxrws--- 2 fossy fossy 4096 2009-03-27 16:29 license
> >
> > Mary
> >
> > ________________________________
> > From: [email protected] 
> > [mailto:[email protected]] On Behalf Of ???? Simon
> > Sent: Monday, March 30, 2009 2:23 PM
> > To: [email protected]
> > Subject: [FOSSology] "File contents are not available in 
> the repository"
> >
> > Dear all,
> >
> > I ran into a problem when viewing the content of a zip file 
> uploaded to the server.
> >
> > For the sake of demonstration, I have created a very simple 
> a.zip, which contains a java file a.java.  In the a.java, I 
> have put APL 2.0 in the beginning as comment.
> >
> > I uploaded this zip file to fossology, which then completes 
> all the analysis per my request.  When I view the license of 
> the a.zip, it showed me there is a reference to APL 2.0.  
> When I click on the link Show, the fossology web site showed 
> that a link to A.java.  So far so good.
> >
> > But when I click on the link to A.java, it prompts me "File 
> contents are not available in the repository.".  Why is this?
> >
> > I noticed that some other file types would be shown, such 
> as .properties, etc.  What configuration controls what 
> filetypes will be shown and what will not?
> >
> > Thank you,
> >
> > --
> > Simon
> > 西门烧雪
> 
> 
> 
> --
> Simon
> 西门烧雪
> 
_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to