The following forum message was posted by mkearney at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4625223:

Your error is different from mine. My pylint 0.24.0 error trace follows.

First error is:                                                            
LookupError: unknown encoding: IBO-8859-1
Which perhaps provokes the second error:            SyntaxError: unknown 
encoding:
IBO-8859-1

Then again perhaps not.


....  Initial lines deleted  ...

Skipping implicit fixer: buffer
Skipping implicit fixer: idioms
Skipping implicit fixer: set_literal
Skipping implicit fixer: ws_comma
Can't parse build\lib\pylint\test\input\func_syntax_error.py: ParseError: bad
input: type=4, value='\n', context=('', (1, 8))
Traceback (most recent call last):
  File "C:\opt\Python-3.2\lib\lib2to3\pgen2\tokenize.py", line 290, in
find_cookie
    codec = lookup(encoding)
LookupError: unknown encoding: IBO-8859-1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 187, in <module>
    install()
  File "setup.py", line 183, in install
    **kwargs
  File "C:\opt\Python-3.2\lib\distutils\core.py", line 149, in setup
    dist.run_commands()
  File "C:\opt\Python-3.2\lib\distutils\dist.py", line 919, in run_commands
    self.run_command(cmd)
  File "C:\opt\Python-3.2\lib\distutils\dist.py", line 938, in run_command
    cmd_obj.run()
  File "C:\opt\Python-3.2\lib\distutils\command\install.py", line 571, in run
    self.run_command('build')
  File "C:\opt\Python-3.2\lib\distutils\cmd.py", line 315, in run_command
    self.distribution.run_command(command)
  File "C:\opt\Python-3.2\lib\distutils\dist.py", line 938, in run_command
    cmd_obj.run()
  File "C:\opt\Python-3.2\lib\distutils\command\build.py", line 128, in run
    self.run_command(cmd_name)
  File "C:\opt\Python-3.2\lib\distutils\cmd.py", line 315, in run_command
    self.distribution.run_command(command)
  File "C:\opt\Python-3.2\lib\distutils\dist.py", line 938, in run_command
    cmd_obj.run()
  File "setup.py", line 59, in run
    self.run_2to3(self.updated_files)
  File "C:\opt\Python-3.2\lib\distutils\util.py", line 645, in run_2to3
    return run_2to3(files, self.fixer_names, self.options, self.explicit)
  File "C:\opt\Python-3.2\lib\distutils\util.py", line 593, in run_2to3
    r.refactor(files, write=True)
  File "C:\opt\Python-3.2\lib\lib2to3\refactor.py", line 296, in refactor
    self.refactor_file(dir_or_file, write, doctests_only)
  File "C:\opt\Python-3.2\lib\lib2to3\refactor.py", line 336, in refactor_file
    input, encoding = self._read_python_source(filename)
  File "C:\opt\Python-3.2\lib\lib2to3\refactor.py", line 328,
in _read_python_source
    encoding = tokenize.detect_encoding(f.readline)[0]
  File "C:\opt\Python-3.2\lib\lib2to3\pgen2\tokenize.py", line 310, in
detect_encoding
    encoding = find_cookie(first)
  File "C:\opt\Python-3.2\lib\lib2to3\pgen2\tokenize.py", line 293, in
find_cookie
    raise SyntaxError("unknown encoding: " + encoding)
SyntaxError: unknown encoding: IBO-8859-1
[192574 refs]


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to