Re: [FOSSology] list licenses on search

2011-08-25 Thread Bob . Lannoy
Hi Bob,

yes that does the trick
Thanks

Bob



From:   Bob Gobeille bob.gobei...@hp.com
To: bob.lan...@smals.be
Cc: fossology@fossology.org fossology@fossology.org
Date:   24/08/2011 17:31
Subject:Re: list licenses on search



On Aug 16, 2011, at 12:34 AM, bob.lan...@smals.be wrote:
I did another test. 
Your modification lists the licenses found, but not for jar-files. 
I suppose it's related to the bug that's causing the absence of licenses 
for jars in normal license browser view as well. 

Hi Bob,
Try these.
Bob
[attachment common-agents.php deleted by Bob Lannoy/Smals] [attachment 
common-dir.php deleted by Bob Lannoy/Smals] [attachment search.php 
deleted by Bob Lannoy/Smals] 
















Overeenkomstig de bepalingen inzake de vertegenwoordiging van de vzw in 
haar statuten, kan enkel de gedelegeerde bestuurder, de algemeen directeur 
of zijn uitdrukkelijke lasthebber verbintenissen aangaan namens Smals.
Indien dit bericht niet voor u bestemd is, verzoeken wij u dit 
onmiddellijk aan ons te melden en het bericht te vernietigen.

Conformément aux dispositions relatives à la représentation de l'asbl dans 
ses statuts, seul l'administrateur délégué, le directeur général ou son 
mandataire exprès est habilité à souscrire des engagements au nom de 
Smals.
Si ce message ne vous est pas destiné, nous vous prions de nous le 
signaler immédiatement et de détruire le message.

According to the provisions regarding representation of the non profit 
association in its bylaws, only the chief executive officer, the general 
manager or his explicit agent can enter into engagements on behalf of 
Smals.
If you are not the addressee of this message, we kindly ask you to signal 
this to us immediately and to delete the message.




image/jpeg___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] list licenses on search

2011-08-23 Thread Bob Gobeille
Yes, if you don't see the licenses in the normal license browser, then no 
license were found.  This might happen if the jar was not unpacked.  If you 
have a public url for a jar with this behavior, could you send it to me?

Thanks,
Bob Gobeille

On Aug 16, 2011, at 12:34 AM, bob.lan...@smals.be wrote:

 Hi Bob, 
 
 I did another test. 
 Your modification lists the licenses found, but not for jar-files. 
 I suppose it's related to the bug that's causing the absence of licenses for 
 jars in normal license browser view as well. 
 
 regards 
 
 Bob 
 
 
 
 From:Bob Gobeille bob.gobei...@hp.com 
 To:bob.lan...@smals.be bob.lan...@smals.be 
 Cc:fossology@fossology.org fossology@fossology.org 
 Date:12/08/2011 16:07 
 Subject:Re: list licenses on search 
 
 
 
 Hi Bob, 
 I see my quick hack has some limitations.  I'll fix these in v 2.0, but for 
 now, you have to click on search in the micro menu (the yellow bar when you 
 are browsing a file), not the global Search in the top menu.  And you have to 
 Search for: All Files,not the default Containers only. 
 
 Bob 
 
 
 On Aug 12, 2011, at 12:51 AM, bob.lan...@smals.be wrote: 
 
 Hi Bob, 
 
 I'm using 1.4.1. 
 Is it the search from the menu or the search when I'm in a certain package? 
 When I do a search through the menu I do get errors in the apache log: 
 [Thu Aug 11 10:00:28 2011] [error] [client 10.1.0.1] PHP Notice:  Undefined 
 index: licenses in /usr/share/fossology/www/common/common-dir.php on line 
 418, referer: http://url/repo/index.php?mod=search_file 
 [Thu Aug 11 10:00:28 2011] [error] [client 10.1.0.1] PHP Notice:  Undefined 
 index: licenses in /usr/share/fossology/www/common/common-dir.php on line 
 411, referer: http://url/repo/index.php?mod=search_file 
  
 [Fri Aug 12 08:39:44 2011] [error] [client 10.1.0.1] PHP Notice:  Undefined 
 variable: ContainerOnly in /usr/share/fossology/www/plugins/search-file.php 
 on line 153, referer: http://url/repo/simpleIndex.php?mod=search_file 
 
 When I'm in a package and do a search I do not get errors, but no licenses 
 either. 
 
 
 
 ATT1..jpg
 
 
 
 Overeenkomstig de bepalingen inzake de vertegenwoordiging van de vzw in haar 
 statuten, kan enkel de gedelegeerde bestuurder, de algemeen directeur of zijn 
 uitdrukkelijke lasthebber verbintenissen aangaan namens Smals.
 Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk 
 aan ons te melden en het bericht te vernietigen.
 
 Conformément aux dispositions relatives à la représentation de l'asbl dans 
 ses statuts, seul l'administrateur délégué, le directeur général ou son 
 mandataire exprès est habilité à souscrire des engagements au nom de Smals.
 Si ce message ne vous est pas destiné, nous vous prions de nous le signaler 
 immédiatement et de détruire le message.
 
 According to the provisions regarding representation of the non profit 
 association in its bylaws, only the chief executive officer, the general 
 manager or his explicit agent can enter into engagements on behalf of Smals.
 If you are not the addressee of this message, we kindly ask you to signal 
 this to us immediately and to delete the message.
 
 

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] list licenses on search

2011-08-12 Thread Bob Gobeille
Hi Bob,
I see my quick hack has some limitations.  I'll fix these in v 2.0, but for 
now, you have to click on search in the micro menu (the yellow bar when you 
are browsing a file), not the global Search in the top menu.  And you have to 
Search for: All Files,not the default Containers only.

Bob


On Aug 12, 2011, at 12:51 AM, bob.lan...@smals.be wrote:

 Hi Bob, 
 
 I'm using 1.4.1. 
 Is it the search from the menu or the search when I'm in a certain package? 
 When I do a search through the menu I do get errors in the apache log: 
 [Thu Aug 11 10:00:28 2011] [error] [client 10.1.0.1] PHP Notice:  Undefined 
 index: licenses in /usr/share/fossology/www/common/common-dir.php on line 
 418, referer: http://url/repo/index.php?mod=search_file 
 [Thu Aug 11 10:00:28 2011] [error] [client 10.1.0.1] PHP Notice:  Undefined 
 index: licenses in /usr/share/fossology/www/common/common-dir.php on line 
 411, referer: http://url/repo/index.php?mod=search_file 
  
 [Fri Aug 12 08:39:44 2011] [error] [client 10.1.0.1] PHP Notice:  Undefined 
 variable: ContainerOnly in /usr/share/fossology/www/plugins/search-file.php 
 on line 153, referer: http://url/repo/simpleIndex.php?mod=search_file 
 
 When I'm in a package and do a search I do not get errors, but no licenses 
 either. 

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] list licenses on search

2011-08-12 Thread Bob Gobeille
Bob, can you give me the url of what you are trying to scan?  Bob

On Aug 12, 2011, at 8:07 AM, Gobeille, Robert wrote:

 Hi Bob,
 I see my quick hack has some limitations.  I'll fix these in v 2.0, but for 
 now, you have to click on search in the micro menu (the yellow bar when you 
 are browsing a file), not the global Search in the top menu.  And you have to 
 Search for: All Files,not the default Containers only.
 
 Bob
 
 
 On Aug 12, 2011, at 12:51 AM, bob.lan...@smals.be wrote:
 
 Hi Bob, 
 
 I'm using 1.4.1. 
 Is it the search from the menu or the search when I'm in a certain package? 
 When I do a search through the menu I do get errors in the apache log: 
 [Thu Aug 11 10:00:28 2011] [error] [client 10.1.0.1] PHP Notice:  Undefined 
 index: licenses in /usr/share/fossology/www/common/common-dir.php on line 
 418, referer: http://url/repo/index.php?mod=search_file 
 [Thu Aug 11 10:00:28 2011] [error] [client 10.1.0.1] PHP Notice:  Undefined 
 index: licenses in /usr/share/fossology/www/common/common-dir.php on line 
 411, referer: http://url/repo/index.php?mod=search_file 
  
 [Fri Aug 12 08:39:44 2011] [error] [client 10.1.0.1] PHP Notice:  Undefined 
 variable: ContainerOnly in /usr/share/fossology/www/plugins/search-file.php 
 on line 153, referer: http://url/repo/simpleIndex.php?mod=search_file 
 
 When I'm in a package and do a search I do not get errors, but no licenses 
 either. 
 
 ATT1..txt

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] list licenses on search

2011-08-11 Thread Bob Gobeille
Hi Bob,
I should have mentioned that this code replaces files in 1.4.1.  Is that what 
you are running?
The error will be in the php log file.  By default, I think that is the apache 
log.

Bob

On Aug 11, 2011, at 2:03 AM, bob.lan...@smals.be wrote:

 I followed your instructions but it doesn't seem to work. 
 I restarted the apache, did a flush cache in the fossology interface. 
 From what I can tell, the license is fetched but there's no screen output? 

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology