iPlantCollaborativeOpenSource/python-irodsclient — pull request #3 by nickeddy (2014-01-07 23:11:36+00:00)
Title: Getting data object and collection renaming to work

Tried to set up a connection and do a data_object.rename('new_filename'), but ran in to this:
```
Traceback (most recent call last):
File "", line 1, in
File "irods/data_object.py", line 42, in rename
self.manager.rename(self.path, new_name)
File "irods/resource_manager/data_object_manager.py", line 107, in rename
response = conn.recv()
File "irods/connection.py", line 35, in recv
raise get_exception_by_code(msg.int_info)
irods.exception.SYS_PACK_INSTRUCT_FORMAT_ERR
```

Most likely how I'm implementing things in irods.message, though here's the structs for the irods rename protocol:
```
#define RHostAddr_PI "str hostAddr[LONG_NAME_LEN]; str rodsZone[NAME_LEN]; int port; int dummyInt;"
#define fileRenameInp_PI "int fileType; struct RHostAddr_PI; str oldFileName[MAX_NAME_LEN]; str newFileName[MAX_NAME_LEN];"
```

Hopefully I've gotten this started on the right track to get renaming working.