Announcement

Collapse
No announcement yet.

BUG: history page = blank box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BUG: history page = blank box

    win7 5.63

    pretty simple, seems to be a bug. i click "history" in the nav tree and get a blank slate as if the DB is dead, but the smartviews, etc still work.

    maybe its a corrupted file? i did have to rebuild the ML DB from scratch a week or two ago, maybe this history file is not fixed by that fix?
    PENN STATE Radio or http://www.LION-Radio.org/
    --
    BUG #1 = Winamp skips short tracks
    Wish #1 = Multiple Column Sorting
    Wish #2 = Add TCMP/Compilation editing

  • #2
    The History view isn't provided by ml_local and doesn't use the mldb (main.dat/.idx), it's provided by ml_history and uses recent.dat/.idx

    Does your recent.idx file = 0 bytes?

    Playlist | Twitter | Albums

    Comment


    • #3
      no, my recent.idx = 20KB and my recent.dat = 502KB

      what do you think is going on here? is there a fix? do i just delete these?
      PENN STATE Radio or http://www.LION-Radio.org/
      --
      BUG #1 = Winamp skips short tracks
      Wish #1 = Multiple Column Sorting
      Wish #2 = Add TCMP/Compilation editing

      Comment


      • #4
        upload the files.

        -daz
        WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

        Comment


        • #5
          attached
          Attached Files
          PENN STATE Radio or http://www.LION-Radio.org/
          --
          BUG #1 = Winamp skips short tracks
          Wish #1 = Multiple Column Sorting
          Wish #2 = Add TCMP/Compilation editing

          Comment


          • #6
            they're both full of null characters. you'll have to delete them to get the view to work again so it recreates new files. however the info which was in them is now gone.

            is the first time i've seen it happen to the history files so like when it happens to the library version, am clueless on the cause. where there any other recent.* files in the settings folder?

            -daz
            WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

            Comment


            • #7
              to find those files, i did C drive searches of the exact filenames. they were the only results.

              here's what i think happened: i had winamp open (and probably actively playing something) a week or two ago, and something knocked my laptop, which rebooted it. its a great laptop, but it has a freefall sensor which is WAY too sensitive (i posted about that a few months ago). slight knocks cause hard reboots, and i can't do squat about it.

              anyway, i launched winamp, and for the first time ever (that i can remember anyway) i got the "blank ML" screen, and it had the explanatory msg you put there with the button to click to delete and make new ML DB files. i did that and it worked, and i rescanned in the files to ML and np. but i never checked the history view. i think i have manually cleared and rescanned in the ML since then too.

              so, if the laptop died or rebooted while playing, i think it could have killed both DB entities, (ie. history and ML). does that sound reasonable to you?

              perhaps the history view now needs a similar "jic" button like the ML has when corrupted?
              PENN STATE Radio or http://www.LION-Radio.org/
              --
              BUG #1 = Winamp skips short tracks
              Wish #1 = Multiple Column Sorting
              Wish #2 = Add TCMP/Compilation editing

              Comment


              • #8
                that sounds reasonable with what has been assumed to be the likely cause of an incomplete write / update of the files which if the OS is trying to shut things down but there's the potential for Winamp to not enough time to do things (or it even gets halted part-way before Winamp is properly killed). unless the reboot was a an instant power-off event and then it's still likely but is harder to explain as there shouldn't have been a chance for Winamp to even attempt to start writing things out.

                really a backup of the files is needed when a write / update happens (which is a better option and could be applied for _all_ database files) and / or like you mention a jic button like the library now has.

                -daz
                WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

                Comment


                • #9
                  there is no OS shutting down... the freefall sensor essentially turns off the computer instantly, immediate power cycle, (when it "senses" the need, which in my case is way too much). maybe winamp was writing the history at that moment, idk.

                  i was going to mention the backup thing, meaning building that smart redundancy into winamp, but i didn't want to annoy you.
                  PENN STATE Radio or http://www.LION-Radio.org/
                  --
                  BUG #1 = Winamp skips short tracks
                  Wish #1 = Multiple Column Sorting
                  Wish #2 = Add TCMP/Compilation editing

                  Comment


                  • #10
                    it wouldn't be annoying me, is just a complete lack of time to get around to implementing it (and all of the other things that we've all agreed on should be done but just haven't). and with that now the gf is back home from work, i'm going to have some sort of break from work (as i've already done 10:30 to 16:30 today).

                    -daz
                    WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

                    Comment


                    • #11
                      just a reminder to include the "jic" button to rebuild history like the ML has, as the history blanked out on me again recently (as I mentioned in the beta thread).

                      also, a reminder about implementing some kind of auto backup as discussed above.
                      PENN STATE Radio or http://www.LION-Radio.org/
                      --
                      BUG #1 = Winamp skips short tracks
                      Wish #1 = Multiple Column Sorting
                      Wish #2 = Add TCMP/Compilation editing

                      Comment


                      • #12
                        So, what is the solution?

                        Comment


                        • #13
                          you have to close winamp, and delete the files mentioned above, then restart winamp.
                          PENN STATE Radio or http://www.LION-Radio.org/
                          --
                          BUG #1 = Winamp skips short tracks
                          Wish #1 = Multiple Column Sorting
                          Wish #2 = Add TCMP/Compilation editing

                          Comment

                          Working...
                          X