Hi Bob,

Thanks for your helping~~~

Now I can use command line(cp2foss) to upload my package which had one pdf
file, now it can uploaded and analysis successfully. I think this is one
workaround for me now.

But it is still strangely I can not upload from browser, I think is it
relate with my PHP configuration? But I had changed the configuration in
PHP.ini...Need I change some other things?

max_execution_time=90
memory_limit =702M
post_max_size=701M
upload_max_filesize=700M

....


This is some information after I use: ununpack -vRC -d
/home/aliceliu/unpackdir /home/aliceliu/Test-pdf3.tar.gz

Traverse(/home/aliceliu/Test-pdf3.tar.gz) -- called by main
Testing tar: /home/aliceliu/Test-pdf3.tar.gz
CMD: in (null) -- tar -tf '/home/aliceliu/Test-pdf3.tar.gz' >/dev/null 2>&1
; rc=0
MATCH: Type=3  tar -xSf /home/aliceliu/Test-pdf3.tar.gz 2>&1 ; echo ''
Extracting tar: /home/aliceliu/Test-pdf3.tar.gz > Test-pdf3.tar.gz.dir

CMD: in /home/aliceliu/unpackdir/Test-pdf3.tar.gz.dir -- tar -xSf
'/home/aliceliu/Test-pdf3.tar.gz' 2>&1 ; echo '' ; rc=0
Traverse(/home/aliceliu/unpackdir/Test-pdf3.tar.gz.dir) -- Called by
dir/wait
Traverse(/home/aliceliu/unpackdir/Test-pdf3.tar.gz.dir/Test-pdf) -- Called
by dir
Traverse(/home/aliceliu/unpackdir/Test-pdf3.tar.gz.dir/Test-pdf/README) --
Called by dir
MATCH: Type=8
/home/aliceliu/unpackdir/Test-pdf3.tar.gz.dir/Test-pdf/README >/dev/null
2>&1
Traverse(/home/aliceliu/unpackdir/Test-pdf3.tar.gz.dir/Test-pdf/pc-lint.pdf)
 -- Called by dir
MATCH: Type=1  pdftotext -htmlmeta
/home/aliceliu/unpackdir/Test-pdf3.tar.gz.dir/Test-pdf/pc-lint.pdf '%s'
>/dev/null 2>&1
Extracting pdftotext:
/home/aliceliu/unpackdir/Test-pdf3.tar.gz.dir/Test-pdf/pc-lint.pdf >
pc-lint.pdf.unpacked
CMD: in /home/aliceliu/unpackdir/Test-pdf3.tar.gz.dir/Test-pdf/ --
pdftotext -htmlmeta
'/home/aliceliu/unpackdir/Test-pdf3.tar.gz.dir/Test-pdf/pc-lint.pdf'
'pc-lint.pdf.unpacked' >/dev/null 2>&1 ; rc=0
Traverse(/home/aliceliu/unpackdir/Test-pdf3.tar.gz.dir/Test-pdf/pc-lint.pdf.unpacked)
 -- Called by dir/wait
MATCH: Type=8
/home/aliceliu/unpackdir/Test-pdf3.tar.gz.dir/Test-pdf/pc-lint.pdf.unpacked
>/dev/null 2>&1


In my unpackdir, There are 3 files named pc-lint.pdf, pc-lint.pdf.unpacked
and README.

Regards,
Alice



                                                                       
             Bob Gobeille                                              
             <bob.gobei...@hp.                                         
             com>                                                       To
             Bob Gobeille              Alice Liu <[email protected]>
             <bob.gobei...@hp.                                          cc
             com>                      "[email protected]"       
                                       <[email protected]>       
             2009-05-21 23:32                                      Subject
                                       Re: [FOSSology] some usage question
                                       about fossology                 
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       




Hi Alice,

On May 21, 2009, at 5:46 AM, Alice Liu wrote:



      Hi Bob,

      I can uploaded some package successfully, but when my package has one
      .pdf file, it can't upload...

      my case is:
      I uploaded one package successfully and analysis successfully, but
      when I added one pdf file in this package, reupload, it did not
      upload successully. In upload page and fossolog.log, it did not show
      any message, I checked 'Admin-Database-check' in my page, it did not
      show any message. in 'jobs-queue-summary', it did not have any...



I can't tell what's going on here.  Could you run ununpack standalone with
just a couple of files (including the offending .pdf):

ununpack -vRC -d myunpackdir mypkg

and send me the output?
The ununpack arguments above are:
-v verbose
-R recursive unpack
-C continue on failures
-d writes the unpacked files into directory myunpackdir
mypkg is the package you are trying to unpack.





      Reason for using upper case:
      From your former description, we can use mime-type, metadata, and
      spec file analysis to analysis some file information that will not
      related with license analysis, but I want to compare this three
      analysis and report to my colleague...In my test,when I uploaded one
      common package, I find if I only choose license analysis, it also has
      [meta] link. If I choose all analysis(total 4 optional analysis), it
      show the same contents with the former....I want to use some test
      case to check...



The [meta] link always shows up, even if you have not requested a meta
analysis.

Bob

<<inline: graycol.gif>>

<<inline: pic03434.gif>>

<<inline: ecblank.gif>>

_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to