pythonhacker / harvestman-crawler

Automatically exported from code.google.com/p/harvestman-crawler
1 stars 3 forks source link

Am getting errors after fresh install with default config file #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. harvestman -c myconfig.xml
2.
3.

What is the expected output? What do you see instead?
[arjuna@localhost HarvestMan]$ harvestman -c myconfig.xml
/usr/lib/python2.6/site-packages/HarvestMan/connector.py:63:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/HarvestMan/harvestman.py", line
364, in <module>
    spider.run_projects()
  File "/usr/lib/python2.6/site-packages/HarvestMan/harvestman.py", line
276, in run_projects
    self._cfg.get_program_options()
  File "/usr/lib/python2.6/site-packages/HarvestMan/config.py", line 924,
in get_program_options
    res = self.parse_arguments()
  File "/usr/lib/python2.6/site-packages/HarvestMan/config.py", line 705,
in parse_arguments
    if self.check_value(value): self.set_option_xml('cache_status',
self.process_value(value))
  File "/usr/lib/python2.6/site-packages/HarvestMan/config.py", line 456,
in set_option_xml
    self.assign_option(option_val, value)
  File "/usr/lib/python2.6/site-packages/HarvestMan/config.py", line 432,
in assign_option
    fval = (eval(typ))(value)
ValueError: invalid literal for int() with base 10: 'myconfig.xml'

What version of the product are you using? On what operating system?

The latest version on the Mandriva Linux spring 2009 version

Please provide any additional information below.

Harvestman has installed fine, I tried to run it with the config.xml file
that came with the install (The script that generates the config file is
failing with errors so I renamed the config that came with it to
myconfig.xml and ran it. I get the above error'

Would like to start using but am getting errors...

Am using pythong 2.6

Arjun
brahmaforces@gmail.com

Original issue reported on code.google.com by brahmafo...@gmail.com on 30 Jul 2009 at 11:38

GoogleCodeExporter commented 9 years ago
Please attach the config file here - and sorry for the very very late reply. I 
have
been busy :-(

Original comment by abpil...@gmail.com on 11 Feb 2010 at 7:01

GoogleCodeExporter commented 9 years ago
Should be fixed in recent checkins...

Original comment by abpil...@gmail.com on 9 Dec 2010 at 1:18