{5} Assigned, Active Tickets by Owner (Full Description) (3 matches)
List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.
xi
| Ticket | Summary | Component | Milestone | Type | Severity | Created | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #10 | merge map doesnt work as it should ... I think | pyyaml | None | defect | normal | 05/02/06 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, It seems that the user defined directives are ignore when just after the merge key. I have the following yml code
Chip:
Name: "CHIPNAME"
RegSize: 4
<< : !include
file_name: ymlInclude2.yml
Where include is my own directive which just reads in a file
class Include(yaml.YAMLObject):
yaml_tag = '!include'
@classmethod
def from_yaml(cls, constructor, node):
# Convert the node to a dictionary
attributes = constructor.construct_mapping(node)
# Convert spaces into underlines
if attributes.has_key('file_name'):
common.log.info("We are reading in file: " + attributes['file_name'])
db = loadYAMLFile(attributes['file_name'])
# print db
return db
else:
raise KeyError, "!Include directive must have an attribute file_name"
@classmethod
def to_yaml(cls, representer, person):
pass # we havent implemented this
# Create mapping node
def __init__(self, file_name=None):
self.file_name = file_name
But the directive doesnt get called when I use the merge key. What I get when I run is this python structure. {'Chip':
{'file_name': 'ymlInclude2.yml',
'Name': 'CHIPNAME', 'RegSize': 4},
'FormatVersion': 1}
So it seems that the directives are ignore when using the merge key. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #45 | YAML-RPC | pyyaml | None | enhancement | normal | 02/28/07 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contains a client (yamlrpclib.py), a server (SimpleYAMLRPCServer.py) and base classes for RPC communication (yamlrpcbasic.py). For simple testing, run the server and then the client on the same machine. Both use port 8002, but any other port is acceptable. Caveats - See: http://sourceforge.net/mailarchive/forum.php?thread_id=31728889&forum_id=1771 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #67 | PySyck does not work on 64 bit machine | pysyck | None | defect | normal | 10/19/07 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Trying to use latest version of syck from CVS and PySyck from svn on the 64 bit machine. When compiling syck regular built syck we get: mtebeka@news01:src - 13:55 $ cd pysyck-trunk/
/home/mtebeka/src/pysyck-trunk
mtebeka@news01:pysyck-trunk - 13:55 $ rm -fr build/
mtebeka@news01:pysyck-trunk - 13:55 $ python setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.5
creating build/lib.linux-x86_64-2.5/syck
copying lib/syck/__init__.py -> build/lib.linux-x86_64-2.5/syck
copying lib/syck/dumpers.py -> build/lib.linux-x86_64-2.5/syck
copying lib/syck/loaders.py -> build/lib.linux-x86_64-2.5/syck
running build_ext
checking for syck.h
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I../syck/lib -I/usr/local/include/python2.5 -c ./_check_syck.c -o ./_check_syck.o
In file included from ../syck/lib/syck.h:39,
from ./_check_syck.c:2:
../syck/lib/syck_st.h:12: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:13: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:27: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:28: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:29: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:30: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:31: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:32: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:33: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:33: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:34: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:34: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:35: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:35: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:35: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:35: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:36: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:44: warning: function declaration isnât a prototype
In file included from ./_check_syck.c:2:
../syck/lib/syck.h:385: warning: function declaration isnât a prototype
../syck/lib/syck.h:412: warning: function declaration isnât a prototype
../syck/lib/syck.h:438: warning: function declaration isnât a prototype
../syck/lib/syck.h:439: warning: function declaration isnât a prototype
../syck/lib/syck.h:440: warning: function declaration isnât a prototype
checking for libsyck.a
gcc -pthread ./_check_syck.o -L../syck/lib -lsyck -o ./_check_syck
checking syck version
syck version: 0.61
building '_syck' extension
creating build/temp.linux-x86_64-2.5
creating build/temp.linux-x86_64-2.5/ext
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I../syck/lib -I/usr/local/include/python2.5 -c ext/_syckmodule.c -o build/temp.linux-x86_64-2.5/ext/_syckmodule.o
In file included from ../syck/lib/syck.h:39,
from ext/_syckmodule.c:3:
../syck/lib/syck_st.h:12: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:13: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:27: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:28: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:29: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:30: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:31: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:32: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:33: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:33: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:34: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:34: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:35: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:35: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:35: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:35: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:36: warning: function declaration isnât a prototype
../syck/lib/syck_st.h:44: warning: function declaration isnât a prototype
In file included from ext/_syckmodule.c:3:
../syck/lib/syck.h:385: warning: function declaration isnât a prototype
../syck/lib/syck.h:412: warning: function declaration isnât a prototype
../syck/lib/syck.h:438: warning: function declaration isnât a prototype
../syck/lib/syck.h:439: warning: function declaration isnât a prototype
../syck/lib/syck.h:440: warning: function declaration isnât a prototype
ext/_syckmodule.c: In function âPySyckEmitter_node_handlerâ:
ext/_syckmodule.c:1691: warning: passing argument 2 of âPyDict_Nextâ from incompatible pointer type
ext/_syckmodule.c:1722: warning: passing argument 3 of âPyString_AsStringAndSizeâ from incompatible pointer type
ext/_syckmodule.c: In function âPySyckEmitter_markâ:
ext/_syckmodule.c:1921: warning: passing argument 2 of âPyDict_Nextâ from incompatible pointer type
gcc -pthread -shared build/temp.linux-x86_64-2.5/ext/_syckmodule.o -L../syck/lib -lsyck -o build/lib.linux-x86_64-2.5/_syck.so
/usr/bin/ld: ../syck/lib/libsyck.a(emitter.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
../syck/lib/libsyck.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
mtebeka@news01:pysyck-trunk - 13:55 $
So I've compiled syck with CFLAGS=-fPIC ./configure && make Then PySyck builds just fine, however: mtebeka@news01:lib.linux-x86_64-2.5 - 13:57 $ python -c 'import syck; syck.dump("hello")'
Fatal Python error: PyEval_RestoreThread: NULL tstate
Aborted
mtebeka@news01:lib.linux-x86_64-2.5 - 13:57 $
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
