notamused.org

Your Ad Here

Solution for spam mail not being moved to Junk folder automatically

My junk mail used to be automatically moved to my junk mail folder. Lately it just gets marked as junk and sits in my inbox, even though I still had the option enabled. If you find that your email client (Thunderbird, Mail.app, etc) no longer automatically moves your junk mail, try this out. The directions are for Thunderbird but its easy enough for any client.

  • Open your junk mail folder
  • Delete everything
  • Go to File | Compact Folders
  • Done!
  • Album Cover Art Downloader crashes when using Amazon

    Earlier this month (Feb 08) my Album Cover Art Downloader kept spitting out errors when using Amazon to find artwork. Here is a copy of the error:

    Traceback (most recent call last):

    File “/usr/lib/albumart/process.py”, line 130, in run
    for cover in albumart.getAvailableCovers(artist, album, requireExactMatch = self.requireExactMatch):

    File “/usr/lib/albumart/albumart.py”, line 115, in getAvailableCovers
    results += s.findAlbum(”%s %s” % (artist, album))

    File “/usr/lib/albumart/albumart_source_amazon.py”, line 49, in findAlbum
    return amazon.searchByKeyword(name,type=”lite”,product_line=”music”)

    File “/usr/lib/albumart/amazon.py”, line 315, in searchByKeyword
    return search(”KeywordSearch”, keyword, product_line, type, page, license_key, http_proxy, locale, associate)

    File “/usr/lib/albumart/amazon.py”, line 293, in search
    xmldoc = minidom.parse(usock)

    File “/usr/lib/python2.5/xml/dom/minidom.py”, line 1913, in parse
    return expatbuilder.parse(file)

    File “/usr/lib/python2.5/xml/dom/expatbuilder.py”, line 928, in parse
    result = builder.parseFile(file)

    File “/usr/lib/python2.5/xml/dom/expatbuilder.py”, line 207, in parseFile
    parser.Parse(buffer, 0)

    ExpatError: not well-formed (invalid token): line 24, column 19

    Googling lines from the error led me to this blog written by Rich Burridge: http://blogs.sun.com/richb/entry/updated_be_informed_when_used. Seems Amazon changed their system around slightly which was causing errors in a python library. Since the error was so similar, I asked him for help and he kindly told me how to fix it.

    In the file “albumart_source_amazon.py” add a “time.sleep(2)” right before line 48 so it reads:

    time.sleep(2)
    return amazon.searchByKeyword(name,type=”lite”,product_line=”music”)

    That is actually only two lines, sorry for the column width wrap-around. Please note its very important for the tab spaces to line up evenly. The script will run slower, but with no errors. Thank you Rich for this temporary fix until someone releases a new version of Album Cover Art Downloader.

    Fix for when Palm Desktop crashes immediately after opening

    My Palm Desktop suddenly started crashing immediately after opening. I did some googling and found this weird fix. No idea how this guy figured it out but it works.

    Step 1) Set properties to low res mode
    Right click on “Palm Desktop” icon –> Select “Compatibility” tab
    Select “Run in 640 x 480 screen resolution” flag
    *This allows Palm Desktop to open. Wow!

    Step 2) Open Palm Desktop (The Ironic part)
    Open “Palm Desktop”
    *Yes, I actually opened the program, in order to fix the problem
    of the program not opening. Ironic, but hey, it works.
    *If you are not able open the program, then find another way to
    find and fix corrupt files.

    Step 3) Repair the files
    Select “Tools” menu –> “Options…” menu item
    Select “Tools” tab –> “Check Now” Command button
    *This should find and correct any corrupted files.

    Step 4) Restore screen resolution for program
    Right click on “Palm Desktop” icon –> Select “Compatibility” tab
    De-select “Run in 640 x 480 screen resolution” flag
    *This should let you view the program in your native resolution.

    Credit goes to rocketman002, whoever you are: http://discussion.treocentral.com/showthread.php?t=109727

    How to fix an SD card with a broken read-only lock

    I bought this SD card from a Chinese eBayer for half the retail price. It took about a week for the plastic read-only lock to break off. Damn thing just fell out. Last time I EVER buy a media card with a read-only lock (its optional per SD card specifications). This, as you may know, renders the card unwriteable since a media card reader thinks that the card is write-protected if the notch isn’t filled. Now, how do I convince the card reader the notch is filled? I give it a little band-aid.

    The supplies:

    1. SD card with a broken read-only lock
    2. Cutting plier or wire cutter
    3. Medium size paper clip
    4. Krazyglue

    All the medium size paper clips around the office that day were the same exact height as the plastic lock that broke off, lucky me. I cut it to length using a cutting plier for a clean edge and put a dab (a DAB!!) of superglue on there. I let it dry and gave it a test run. Yay, it works. Permanently set to read/write and works flawlessly.

    IMG_3887

    IMG_3888

    IMG_3890

    How to force extensions to be enabled in Firefox beta

    Many Firefox add-ons are not yet updated to support Firefox3, even though they probably work fine anyway. You could try bypassing the extension compatibility check by following this guide. This is not recommended as it may break your installation of Firefox, but it worked fine for me.

    1. Start at Firefox’s address bar and type this in:
      about:config
    2. Right click anywhere in the list and select New then Boolean
    3. Enter extensions.checkCompatibility when it prompts you for a preference name.
    4. Select False for the boolean value.

    You have just told Firefox not to check extension compatibility. Now cross your fingers, restart Firefox, and hope for the best!

    How to install Flash for Firefox 3 beta in Ubuntu

    First make sure you have the Adobe Flash plugin installed. It is not packaged with any version of Firefox.

    $ sudo update-flashplugin
    $ sudo apt-get install flashplugin-nonfree

    This package of flashplugin-nonfree was made before the Firefox3 pre-releases, so we have to add it to the libraries manually. This method will “link” it from the default install location (not just copy it) so in case you upgrade flashplugin-nonfree in the future, it will be updated for Firefox3 as well.

    $ sudo ln -s /usr/lib/firefox/plugins/flashplugin-alternative.so /usr/lib/firefox-3.0b3/plugins/flashplugin-alternative.so

    If you are using a different version of Firefox3 than I am (firefox3.0b3) you’ll need to modify that line. To test if it worked go to a flash site such as YouTube.com.

    Spreadsheet: Best RAID5 array for your dollar

    I see many people come here to read this post about choosing the best size hard drives for your RAID5 array: The best value hard drive for a RAID5 setup

    The prices I gave as examples are already out-of-date. Here is a link to the spreadsheet so you can put your own prices in and make your own determination on what size is your best option.

    By the way, these enterprise class hard drives are perfect for RAID arrays:
    Western Digital RE2 or Seagate Barracuda ES

    Spreadsheet available here: link

    All aboard the failboat

    riverdance_1_briverdance_2_briverdance_3_briverdance_4_briverdance_5_briverdance_6_briverdance_7_b

    Nice shots of a ship ran aground. Courtesy of chromasia.com

    Tamrac 5513 Adventure Zoom 3 Holster Bag and Sony DSLR-A100H

    I needed a simple bag for my A100H. It happens to have an 18-200mm lens that is 3.4″ long itself so it wasn’t that easy. I took a shot with the fairly priced Tamrac 5513 even though the manufacturer claimed it was only good for a body plus 3″ lens. Its a tight fit, especially with the camera’s strap, but it will do just fine for my purposes. The small outside pocket holds an extra battery and memory card.

    0×80070052 Error when using USB drive on Windows

    I couldn’t do anything with a customer’s USB disk, Windows kept spitting out error 0×80070052. Checkdisk showed no errors. Plenty of space left. I played around with it and discovered the error was caused by too many files in the root directory. Seems the girl didn’t even know how to make a folder. I made subdirs and organized most of her most files for her and the error went away.