Thanks for your response. I tried using the cp2foss command by uploading it through a file, rather than a URL. The complete command was as follows: cp2foss -q agent_license -q agent_mimetype -q agent_specagent -q agent_unpack -p tmp -n test -d "test upload" /tmp/license.zip The file was located on the was Fossology server and was scanned correctly, but it still did not appear when trying to delete it through the UI. Any ideas?
--- On Fri, 7/31/09, Mark Donohoe <[email protected]> wrote: From: Mark Donohoe <[email protected]> Subject: Re: [FOSSology] Deleting file uploaded using cp2foss command To: "[email protected]" <[email protected]> Cc: [email protected] Date: Friday, July 31, 2009, 2:34 PM [email protected] wrote: Cloudczm, I have finally been able to reproduce your problem. There is a defect in cp2foss. What is going on is that when you specify an alternate name with -n, for some reason that name is not used. I'm looking into it now and will be fixing it as soon as I find the problem. To address your situation: The file you uploaded was called fossologytest.zip. That is the file you should see under the tmp folder. That is the file that can be deleted. This defect exists in 1.1.0 and in our TOT source code. We will probably release a 1.1.1 to fix this problem. In the sort term, know that cp2foss or the ui will when uploading from a URL will not rename the upload if -n is used. It will use the name of the upload as the name to store in the repository. This defect does not occur when uploading from file. It does occur when uploading from server or from url. Hope that helps and thanks for asking for help. It was only through your asking that we found the defect. --- Mark Donohoe Some addition information, when using the delagent command, this file is shown under the tmp folder. --- On Tue, 7/28/09, [email protected] <[email protected]> wrote: From: [email protected] <[email protected]> Subject: [FOSSology] Deleting file uploaded using cp2foss command To: [email protected] Date: Tuesday, July 28, 2009, 2:58 PM Hello, We were able to get this command working with the GA release. However, I'm still having issues with deleting the file through the UI after it has been uploaded. When I go to the "Delete Uploaded File" page through the UI and select the tmp folder, there still no file to delete. Any help is greatly appreciated. Thanks --- On Wed, 7/8/09, Mark Donohoe <[email protected]> wrote: From: Mark Donohoe <[email protected]> Subject: Re: [FOSSology] Executing cp2foss command To: "[email protected]" <[email protected]> Cc: [email protected] Date: Wednesday, July 8, 2009, 1:09 PM [email protected] wrote: > Thanks for the information on the -q argument. As for the delete, I uploaded > a zip file using the following command: > cp2foss -q all -p tmp -n test -d "test upload" > http://<ip-address>/fossologytest.zip > The scan completed successfully. However, when I go to the "Delete Uploaded > File" page through the UI and select the tmp folder, there is no file to > delete. I attached a screenshot. > cloudzm, Hmmm, this is very strange! When you say the scan completed successfully, how do you know that? (all the jobs finished when monitoring with menus Jobs-> Queue-> Details?). What has me confused is that if the scan completed then there should be an entry called test under the folder tmp. OR there should be an entry SOMEWHERE called test. Do you at least find the uploaded file 'test' somewhere in Fossology/UI? I will try to reproduce this on Lenny using current 1.1.0 release bits. Keep at it! We will get this solved. -- Mark Donohoe MOST/OSTT, Cupertino CA. fossology.org -----Inline Attachment Follows----- _______________________________________________ fossology mailing list [email protected] http://fossology.org/mailman/listinfo/fossology _______________________________________________ fossology mailing list [email protected] http://fossology.org/mailman/listinfo/fossology -- Mark Donohoe MOST/OSTT, Cupertino CA. fossology.org
_______________________________________________ fossology mailing list [email protected] http://fossology.org/mailman/listinfo/fossology

