bugWeeChat - Bugs: bug #31057, weechat_infolist_reset_item_cursor...

 
 

bug #31057: weechat_infolist_reset_item_cursor does not work

Submitter:  arno <arenevier>
Submitted:  Fri 17 Sep 2010 11:16:49 AM UTC
   
 
Category:  script API plugins Severity:  3 - Normal
Item Group:  other Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.3 IRC nick: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 21 Sep 2010 03:40:18 PM UTC, comment #3: 

Function was missing in script API (all languages). I added it.

Sebastien Helleu <flashcode>
Group administrator
Fri 17 Sep 2010 11:16:49 AM UTC, comment #2: 

This item has been reassigned from the project WeeChat task tracker to your tracker.

The original report is still available at task #10616

Following are the information included in the original report:

[field #0]                  Item ID: 10616
[field #1]                 Group ID: 4783
[field #2]              Open/Closed: Open
[field #3]                 Severity: 3 - Normal
[field #4]                  Privacy: Public
[field #8]                         : Unknown task Field Display Type
[field #9]                 Category: scripts API plugins
[field #10]             Submitted by: arenevier
[field #11]              Assigned to: None
[field #12]             Submitted on: jeu 16 sep 2010 17:09:37 CEST
[field #13]                  Summary: weechat_infolist_reset_item_cursor does not work
[field #14]      Original Submission: 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
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"
[field #16]               Item Group: None
[field #17]                   Status: None
[field #18]        Component Version: None
[field #19]         Operating System: None
[field #20]          Reproducibility: None
[field #21]               Size (loc): None
[field #22]            Fixed Release: None
[field #23]          Planned Release: None
[field #24]                   Effort: 0.00
[field #28]                 Priority: 5 - Normal
[field #29]          Should Start On: jeu 16 sep 2010 02:00:00 CEST
[field #30]    Should be Finished on: jeu 16 sep 2010 02:00:00 CEST
[field #31]         Percent Complete: 0%
[field #33]                  Release: None
[field #58]     Custom Select Box #1: None
[field #59]     Custom Select Box #2: None
[field #60]     Custom Select Box #3: None
[field #61]     Custom Select Box #4: None
[field #62]     Custom Select Box #5: None
[field #63]     Custom Select Box #6: None
[field #64]     Custom Select Box #7: None
[field #65]     Custom Select Box #8: None
[field #66]     Custom Select Box #9: None
[field #67]    Custom Select Box #10: None

Sebastien Helleu <flashcode>
Group administrator
Fri 17 Sep 2010 11:16:48 AM UTC, comment #1: 

It is a bug, not a task.

Sebastien Helleu <flashcode>
Group administrator
Fri 17 Sep 2010 11:16:49 AM UTC, original submission:  

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"

arno <arenevier>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by arenevier (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-16 flashcode Open/ClosedOpen Closed
    2010-09-21 flashcode StatusConfirmed Fixed
    2010-09-17 flashcode CategoryNone script API plugins
        Item GroupNone other
        StatusNone Confirmed
        Assigned toNone flashcode
        ReleaseNone 0.3.3
    2010-09-17 flashcode Reassign itemWeeChat, task #10616 WeeChat, bug #31057

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code