Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P positron
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • positron
  • Issues
  • #494
Closed
Open
Created Dec 31, 2003 by mpm@mpm

Key out of bounds error while trying to delete entire /neuros/music directory

I need to delete about 1.7GB from the neuros (the entire database and all
music).  To do this, I did:
positron del /neuros/music 
After processing about 35 files, positron quits with an "out of bounds" error. 
The file it quits on is not the same (I rerun the command and it quits again on
a different file--as though it had already deleted the previous 35 or so files).
 There isn't anything really unique about my music or the last file positron
processes.  If there is anything else that is needed I can provide it.

The error is:

Traceback (most recent call last):
  File "/usr/bin/positron", line 175, in ?
    main(sys.argv)
  File "/usr/bin/positron", line 157, in main
    cmd.run(config, myNeuros, remaining[1:])
  File "/usr/lib/python2.2/site-packages/positron/cmd_del.py", line 116, in run
    del_track(config, neuros, sourcename, sai_index)
  File "/usr/lib/python2.2/site-packages/positron/cmd_del.py", line 77, in del_track
    neuros_path = neuros.db["audio"].get_record(sai_index)[8].lower()
  File "/usr/lib/python2.2/site-packages/positron/db/WOID.py", line 146, in
get_record
    (pointer, pai_pointer) = self.sai[index]
  File "/usr/lib/python2.2/site-packages/positron/db/SAI.py", line 79, in
__getitem__
    raise IndexError("Key out of bounds")
IndexError: Key out of bounds
Assignee
Assign to
Time tracking