|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Accessing Trac via XML::RPCby PetaMem (Priest) |
| on Jun 24, 2008 at 14:57 UTC ( [id://693747]=perlquestion: print w/replies, xml ) | Need Help?? |
|
PetaMem has asked for the wisdom of the Perl Monks concerning the following question: Hi monks, I'm writing a class for accessing/modifying trac contents via XML::RPC. It's working ok when I create or update tickets, wiki etc. I also can get/download attachments. No problem. The problem appears as soon as I try to add attachments to a ticket. It seems base64-encoding the data is not enough. The call to the specific remote procedure gives a "object has no 'data' attribute error": Unfortunately I do not quite understand the XML::RPC documentation and its talk about the CODEREF to create custom data types (which base64 and time seem to be). Has anyone an example of how to achieve feeding trac with binary data? Any help would be greatly appreciated. Bye
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||