[Egothor-tech] Problem with running capek

Leo Galambos leo.galambos at mff.cuni.cz
Thu Nov 23 13:55:14 GMT 2006


Steve Mannin wrote:
> Thanks for your answer. However, when I changed the start point to 
> http://www.egothor.org:80/ the program still didn't work.
>  
> I still got the same error as follows:
>  
> Nov 23, 2006 6:56:09 PM org.egothor.robot.components.Capek inject
> INFO: cannot be accepted
> Nov 23, 2006 6:56:09 PM org.egothor.robot.components.Capek inject
> INFO: cannot be accepted
> Listening @ 9713
> ...
>  
> I also tried running
>  
> java org.egothor.robot.Config rules <<EOF
> > http://www.egothor.org:80/
> > EOF
>  
> , and the output looked OK :
>  
> Reading rules
> ...
> http://www.egothor.org:80/ http://www.egothor.org:80/
>  
> What's wrong with my settings?

Hello,

I guess that the web page is still recorded as "known+invalid" in robot 
DB files. Try to remove the directories created by the bot. Also check, 
that the bot reads the right "rules" file (should be accessible as 
"./rules" in the bot process point of view). Moreover you can try to 
increase the default log level:
java \
 -Djava.util.logging.config.file=log.prop \
 -Degothor.server.pause=1 \
 org.egothor.robot.Capek $START_URL

and log.prop:
handlers=java.util.logging.FileHandler,java.util.logging.ConsoleHandler

.level=FINEST
#org.egothor.dynamizer.level=FINER
#org.egothor.db.disc.level=ALL
#org.egothor.store.level=ALL
#org.egothor.crusher.level=SEVERE
#org.egothor.apps.level=FINER
#org.egothor.store.disc.ProximitiesFileIn.level=FINEST
#org.egothor.store.disc.ProximitiesFileOut.level=FINEST
#org.egothor.store.disc.IListFileIn.level=FINEST
#org.egothor.store.disc.IListMeta.level=FINEST
#org.egothor.store.disc.IListFileInSkipping.level=FINE

java.util.logging.FileHandler.formatter = org.egothor.util.EgothorFormatter
java.util.logging.FileHandler.encoding = ISO-8859-1
java.util.logging.FileHandler.limit = 1000000
java.util.logging.FileHandler.count = 50
java.util.logging.FileHandler.pattern = egolog-%g
java.util.logging.FileHandler.append = false

java.util.logging.ConsoleHandler.level = SEVERE
java.util.logging.ConsoleHandler.formatter = 
java.util.logging.SimpleFormatter

More details should be then printed into "egolog-*" files.

Hope this helps :)

Leo

-- 
Leo Galambos
Faculty of Mathematics and Physics, DSE
Malostranske namesti 25
Prague 1
CZE

http://kocour.ms.mff.cuni.cz/~galambos/




More information about the Egothor-tech mailing list