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
西门烧雪
_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to