Opened 11 years ago

Closed 11 years ago

#1572 closed defect (fixed)

pixbuf can be none when saving tb

Reported by: nk Owned by: asterix
Priority: normal Milestone: 0.10
Component: None Version: hg
Severity: normal Keywords:
Cc: Blocked By:
Blocking: OS:

Description

  pix = animation.get_iter().get_pixbuf()

C:\Documents and Settings\nk\Desktop\trunk\src>cd ..

C:\Documents and Settings\nk\Desktop\trunk>launch.bat

C:\Documents and Settings\nk\Desktop\trunk>cd src

C:\Documents and Settings\nk\Desktop\trunk\src>gajim.py
C:\Documents and Settings\nk\Desktop\trunk\src\common\xmpp\simplexml.py:249: Gtk
Warning: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - t
his is not allowed. You must explicitly end the data stream to the loader before
 dropping the last reference.
  raise AttributeError
C:\Documents and Settings\nk\Desktop\trunk\src\common\xmpp\simplexml.py:282: Gtk
Warning: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - t
his is not allowed. You must explicitly end the data stream to the loader before
 dropping the last reference.
  self._parser = xml.parsers.expat.ParserCreate(namespace_separator=' ')
Traceback (most recent call last):
  File "C:\Documents and Settings\nk\Desktop\trunk\src\gajim.py", line 1416, in
process_connections
    gajim.idlequeue.process()
  File "C:\Documents and Settings\nk\Desktop\trunk\src\common\xmpp\idlequeue.py"
, line 210, in process
    self.queue.get(fd).pollin()
  File "C:\Documents and Settings\nk\Desktop\trunk\src\common\xmpp\transports_nb
.py", line 142, in pollin
    self._do_receive()
  File "C:\Documents and Settings\nk\Desktop\trunk\src\common\xmpp\transports_nb
.py", line 237, in _do_receive
    self.on_receive(received)
  File "C:\Documents and Settings\nk\Desktop\trunk\src\common\xmpp\dispatcher_nb
.py", line 335, in dispatch
    handler['func'](session,stanza)
  File "C:\Documents and Settings\nk\Desktop\trunk\src\common\connection.py", li
ne 309, in _vCardCB
    gajim.interface.save_avatar_files(frm, photo_decoded)
  File "C:\Documents and Settings\nk\Desktop\trunk\src\gajim.py", line 949, in s
ave_avatar_files
    pixbuf.save(path_to_original_file, typ)
AttributeError: 'NoneType' object has no attribute 'save'

Change History (1)

comment:1 Changed 11 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.