[Papyon-bugs] [Bug 33332] New: Preview image not set during file transfer
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jan 21 05:47:17 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=33332
Summary: Preview image not set during file transfer
Product: papyon
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: general
AssignedTo: papyon-bugs at lists.freedesktop.org
ReportedBy: stagi.andrea at gmail.com
Hi everybody, I'm working on Emesene 2 using Papyon libs. I've found a bug
regarding preview image during file transfers...Looking at the Papyon code I've
found the problem in msnp2p.filetransfer.py. In this file the class
FileTransferSession has this method to fetch the context
def parse_context(self, context):
try:
info = struct.unpack("<5I", context[0:20])
self._size = info[2]
self._has_preview = not bool(info[4])
self._filename = unicode(context[20:570],
"utf-16-le").rstrip("\x00")
except:
raise FTParseError(context)
but preview attribute is not set, and remains constantly None, even if
has_preview attribute is True..
Bests
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the papyon-bugs
mailing list