weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #31057] weechat_infolist_reset_item_cursor does not w


From: Sebastien Helleu
Subject: [Weechat-dev] [bug #31057] weechat_infolist_reset_item_cursor does not work
Date: Fri, 17 Sep 2010 11:16:49 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0b6) Gecko/20100101 Firefox/4.0b6

URL:
  <http://savannah.nongnu.org/bugs/?31057>

                 Summary: weechat_infolist_reset_item_cursor does not work
                 Project: WeeChat
            Submitted by: arenevier
            Submitted on: ven 17 sep 2010 13:16:49 CEST
                Category: None
         Should Start On: jeu 16 sep 2010 02:00:00 CEST
   Should be Finished on: jeu 16 sep 2010 02:00:00 CEST
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                IRC nick: 

    _______________________________________________________

Details:

Hi,
http://www.weechat.org/files/doc/devel/weechat_plugin_api.fr.html#_weechat_infolist_reset_item_cursor
weechat_infolist_reset_item_cursor 
does not seem to work

here is a python script example:

import weechat

weechat.register("test_python", "FlashCode", "1.0", "GPL3", "Script de test",
"", "")

infolist = weechat.infolist_get("history", "", "")

#this works fine
weechat.infolist_next(infolist)

#this does not work
weechat.infolist_reset_item_cursor(infolist)

and here is the exception raised:

python: stdout/stderr: Traceback (most recent call last):
python: stdout/stderr:   File "/home/arno/.weechat/python/autoload/test.py",
line 11, in <module>
python: stdout/stderr:     weechat.infolist_reset_item_cursor(infolist)
python: stdout/stderr: AttributeError: 'module' object has no attribute
'infolist_reset_item_cursor'
python: unable to parse file "/home/arno/.weechat/python/autoload/test.py"




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?31057>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]