Reply to comment

ParsingError File contains Parsing errors: /etc/blockhosts.cfg [line126]: '}\n'

Quite new to python. Apparently I have horked up the blockhosts.cfg file. I followed the instructions exactly and only deleted the comment (#) from the beginning of the line. Installed blockhost 1.0.6 on a Ubuntun 6.06 LTS Server for a ProFtpd. run blockhosts.py --verbose get the following:
ParsingError: File contains parsing errors: /etc/blockhosts.cfg
[line 126]: '}\n'
ERROR: exiting: Error reading config file: File contains parsing errors: /etc/blockhosts.cfg
[line 126]: '}\n'

I tried reinstalling blockhost to overwrite the blockhost to try again, did not help still horked up. Obviously there is a carriage return somewhere there should not be.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <b> <span> <pre> <hr>
  • Lines and paragraphs break automatically.
  • You may use [acidfree:xx] tags to display acidfree videos or images inline.
  • [l:URL text] input tags replaced with HTML links. URL may be Drupal internal path. [ Link Filter Tips ]

More information about formatting options