Custom Query (121 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (67 - 69 of 121)

Ticket Resolution Summary Owner Reporter
#82 worksforme PyYAML raises exception on empty files xi Miki Tebeka <miki.tebeka@…>

Reported by Miki Tebeka <miki.tebeka@…>, 5 years ago.

Description
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> fo = open("/dev/null")
>>> import yaml
>>> yaml.load(fo)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/yaml/__init__.py", line 66, in load
    return loader.get_data()
  File "/usr/lib/python2.5/site-packages/yaml/constructor.py", line 38, in get_data
    return self.construct_document(self.get_node())
  File "/usr/lib/python2.5/site-packages/yaml/composer.py", line 23, in get_node
    return self.compose_document()
  File "/usr/lib/python2.5/site-packages/yaml/composer.py", line 35, in compose_document
    node = self.compose_node(None, None)
  File "/usr/lib/python2.5/site-packages/yaml/composer.py", line 52, in compose_node
    anchor = event.anchor
AttributeError: 'NoneType' object has no attribute 'anchor'
>>> 
#84 worksforme how to install PyYaml to a linux xi anonymous

Reported by anonymous, 5 years ago.

Description

Hi,

I installed the PyYaml? both to a linux machine and a window machine. When I run command "import _yaml", the window machine can find the module. But on the linux, it can not find the module. I found _yaml.pyd file under the site-packages, I did not find any file with _yaml at the linux machine. I find the files (_yaml.c _yaml.h _yaml.pxd _yaml.pyx) under ext directory in the download package. What am I missing?

Thanks, -Yuan

#85 fixed PyYaml don't have a version xi miki@…

Reported by miki@…, 5 years ago.

Description

There is currently no way I could find to detect the current version of PyYaml? I'm using.

There should be a __version__ in the top level yaml module

Note: See TracQuery for help on using queries.