Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa Clip+ Database building...forever?
« previous next »
  • Print
Pages: [1]

Author Topic: Sansa Clip+ Database building...forever?  (Read 6521 times)

Offline immortaly007

  • Member
  • *
  • Posts: 4
Sansa Clip+ Database building...forever?
« on: June 23, 2013, 06:34:07 PM »
Hi all,

I'm running Rockbox on my Sansa Clip+, and after I inserted my external SD card I re-initialized the database but it just keeps on building. It has been saying "building database... 1572 found (OFF to return)" for hours now. I made windows scan the disk for errors but none were found (on both the microSD and the internal storage). What can I do to fix this? I would like to use the database.

I'm running the latest Daily Build, but i have tried it with older builds as well...
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa Clip+ Database building...forever?
« Reply #1 on: June 23, 2013, 07:06:01 PM »
Under the debug menu you can enable logging the database to disk. Probably the last file on that list crashed the system. If you find such a file please post a link to it so that we can look into it.
Logged

Offline immortaly007

  • Member
  • *
  • Posts: 4
Re: Sansa Clip+ Database building...forever?
« Reply #2 on: June 24, 2013, 02:06:15 PM »
I have deleted ALL music from my Sansa Clip+, but the database refreshing still crashed (and found 312 files?!). I even tried to format using the official firmware and then putting rockbox back using the rockbox USB bootloader mode. But even then refreshing seems to go into an infinite loop or something after finding 312 files (but I deleted all files so this is pretty strange!). I did enable metadata logging but I can't seem to find the log anywhere? Where is it saved?
« Last Edit: June 24, 2013, 02:07:47 PM by immortaly007 »
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Sansa Clip+ Database building...forever?
« Reply #3 on: June 24, 2013, 02:45:26 PM »
Quote from: immortaly007 on June 24, 2013, 02:06:15 PM
I have deleted ALL music from my Sansa Clip+, but the database refreshing still crashed (and found 312 files?!). I even tried to format using the official firmware and then putting rockbox back using the rockbox USB bootloader mode. But even then refreshing seems to go into an infinite loop or something after finding 312 files (but I deleted all files so this is pretty strange!). I did enable metadata logging but I can't seem to find the log anywhere? Where is it saved?

There are around 300 files in .rockbox/ (not audio files of course), so those are the ones it counts.

There's an old bug that makes building the database do this when *no* audio files are found.

I *believe* the metadata log is saved in .rockbox/
Logged

Offline immortaly007

  • Member
  • *
  • Posts: 4
Re: Sansa Clip+ Database building...forever?
« Reply #4 on: June 24, 2013, 03:31:25 PM »
I found that if I added some media files to my external SD card it works. So i'm periodically adding all media files back and updating the database (every 4 albums or so). So far everything is fine. I hope to find out what file was killing it. Or maybe it just works now because of the database initialization with just a few files (updates are probably different right?)
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa Clip+ Database building...forever?
« Reply #5 on: June 24, 2013, 04:01:26 PM »
I don't remember the exact location, but since a basic rockbox install involves just two folders, the root and the .rockbox folder, you can probably find it if you look for a couple seconds :)
Logged

Offline immortaly007

  • Member
  • *
  • Posts: 4
Re: Sansa Clip+ Database building...forever?
« Reply #6 on: June 24, 2013, 04:43:01 PM »
Hi! I found it, it is indeed in the root but it didn't exist earlier because there weren't any media files.

Anyway. it seems to work now (after adding all music album by album, and updating the database every time. I still have no clue what went wrong the first time around (why I made this topic) but it is solved now...really odd...
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa Clip+ Database building...forever?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.068 seconds with 14 queries.