Skip to content
This repository was archived by the owner on Aug 30, 2019. It is now read-only.
This repository was archived by the owner on Aug 30, 2019. It is now read-only.

Indexer crashes #46

@TKlerx

Description

@TKlerx

The indexer crashes if you try to import a lot of songs. Is there anything held in memory or are there any restrictions on the number of songs in the database? Please reply if there is an upper bound on the number so that I do not try to import again ;)

EDIT: After the crash I have 37721 songs in the database.

Here is the stack trace:
jukebox jukebox_index --path=/[some path]
Indexing music in /media/truecrypt1
This may take a while
Traceback (most recent call last):
File "/usr/local/bin/jukebox", line 17, in
execute_manager(settings)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 459, in execute_manager
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(_args, *_options.dict)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 232, in execute
output = self.handle(_args, *_options)
File "/usr/local/lib/python2.7/dist-packages/jukebox/jukebox_core/management/commands/jukebox_index.py", line 25, in handle
self.index(options["path"], int(options["verbosity"]))
File "/usr/local/lib/python2.7/dist-packages/jukebox/jukebox_core/management/commands/jukebox_index.py", line 37, in index
self.index(filename + "/", verbosity)
File "/usr/local/lib/python2.7/dist-packages/jukebox/jukebox_core/management/commands/jukebox_index.py", line 37, in index
self.index(filename + "/", verbosity)
File "/usr/local/lib/python2.7/dist-packages/jukebox/jukebox_core/management/commands/jukebox_index.py", line 37, in index
self.index(filename + "/", verbosity)
File "/usr/local/lib/python2.7/dist-packages/jukebox/jukebox_core/management/commands/jukebox_index.py", line 41, in index
indexer.index(filename)
File "/usr/local/lib/python2.7/dist-packages/jukebox/jukebox_core/utils.py", line 26, in index
tags[k] = v[0].lower()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions