libplist NameError: libc
-
iconstate
I think it doesn't like folders. Folders or Dict in Dict are missing from to_xml().
-
iconstate
I get this in the python console.
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "plist.pyx", line 624, in plist.Array.__repr__ (/home/abuild/rpmbuild/BUILD/libplist-1.8/cython/plist.c:11395) File "plist.pyx", line 624, in plist.Array.__repr__ (/home/abuild/rpmbuild/BUILD/libplist-1.8/cython/plist.c:11395) File "plist.pyx", line 624, in plist.Array.__repr__ (/home/abuild/rpmbuild/BUILD/libplist-1.8/cython/plist.c:11395) File "plist.pyx", line 512, in plist.Dict.__repr__ (/home/abuild/rpmbuild/BUILD/libplist-1.8/cython/plist.c:8803) File "plist.pyx", line 294, in plist.String.__repr__ (/home/abuild/rpmbuild/BUILD/libplist-1.8/cython/plist.c:5230) File "plist.pyx", line 334, in plist.String.get_value (/home/abuild/rpmbuild/BUILD/libplist-1.8/cython/plist.c:5865) NameError: libc -
iconstate
Close this ticket. This error was on openSUSE 12.2. I built on Ubuntu 12.04 and do not have this error.
-
Martin S.
- State changed from new to open
- Tag set to bindings, cython, libc, libplist, python
- Assigned user set to Martin S.
Was this maybe related or even caused by #287 Python imobiledevice.SpringboardServicesClient.icon_state Does Not Have Subfo... ?
I kind of assume that the Cython bindings code requested a format 1 icon_state plist but failed as one would have to use format 2.
The Cython binding code wasn't probably handling this case and wrongly assumes a valid plist will always be returned which would have led to the libc error you reported.
-
Martin S.
- State changed from open to resolved
Should be fixed in git master, please reopen if it's still valid.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.