Custom Query (121 matches)
Results (67 - 69 of 121)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #81 | worksforme | syck.dump is broken | xi | anonymous |
| Description |
syck.dump fails on even simple mappings: >>> import syck
>>> doc = '''
... a: 1
... b: 2
... c: 3
... '''
>>> syck.load(doc)
{'a': 1, 'c': 3, 'b': 2}
>>> syck.dump(syck.load(doc))
'--- {}\n\n'
>>>
This is PySyck 0.61.2. $ python --version Python 2.5.2 $ uname -a Linux brainsplit 2.6.24 #2 SMP Thu May 1 13:57:17 UTC 2008 x86_64 GNU/Linux $ Cheers. |
|||
| #82 | worksforme | PyYAML raises exception on empty files | xi | Miki Tebeka <miki.tebeka@…> |
| 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 |
| 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 |
|||
Note: See TracQuery
for help on using queries.
