Changes between Initial Version and Version 2 of Ticket #112


Ignore:
Timestamp:
12/29/08 03:18:53 (6 years ago)
Author:
xi
Comment:

help(yaml) works for me both when I install the package directly or when I use easy_install.

In any case, if you google for last lines in the traceback, you'll notice it's not really a PyYAML issue. It appears this problem occurs when inspect.findsource() is unable to find a correct .py file corresponding to the .pyc file that is currently in use. It may happen if the .pyc file was built on a different machine or has been moved around. Do you happen to have more than one version of PyYAML installed using easy_install? If so, I would suggest you to remove all existing PyYAML installations and re-install it from scratch.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #112

    • Property Status changed from new to closed
    • Property Resolution changed from to worksforme
  • Ticket #112 – Description

    initial v2  
    11Using Windows XP and Python 2.5.1 
    22 
     3{{{ 
    34C:\Documents and Settings\Joe Sizlack\Desktop\hackers>easy_install pyyaml 
    45Searching for pyyaml 
     
    6061IndexError: list index out of range 
    6162>>> 
     63}}}