def play_track(self, track): log.debug('Playing new track') log.debug('Stopping player') self.player.set_state(gst.STATE_NULL) log.debug('Reconfiguring player...') if self.track.local: self.create_player('local') self.filesrc.set_property("location", track.url) else: self.create_player('vkont') self.bufsrc.set_track(track) log.debug('Starting player...') self.player.set_state(gst.STATE_PLAYING) when it rungs i get this: 00:25:21 DEBUG player.py:94: Playing new track 00:25:21 DEBUG player.py:96: Stopping player /home/a2k/prog/vplayer/player.py:97: Warning: invalid uninstantiatable type `(null)' in cast to `GObject' self.player.set_state(gst.STATE_NULL) 00:25:21 DEBUG player.py:99: Reconfiguring player... 00:25:21 DEBUG player.py:106: Starting player... /home/a2k/prog/vplayer/player.py:107: Warning: invalid uninstantiatable type `(null)' in cast to `GObject' self.player.set_state(gst.STATE_PLAYING)