If you use Apple's Movies widget for the Dashboard you may have found that recently it stopped providing results and instead gives a "no movie data available" warning when you enter your location information.
Yesterday I covered, and found that it is rooted in Apple's use of the server "wu.apple.com" to provide the movie data, which apparently is not working properly and gives a "Service Unavailable" error when accessed. This results in no data being sent to the widget.
The wu.apple.com server appears to be some sort of proxy that Apple uses to interface its Movies widget with Fandango.com, in which case bypassing the use of wu.apple.com and going directly to Fandango.com for the lookup of movie data should result in the proper download of the requested XML files. We can use this as a workaround for the widget, at least until Apple addresses the problem on its end.
- Download TextWrangler, which is a free text editor that supports authentication for editing system files (Apple's TextEdit does not support this feature).
- Open TextWrangler and choose Open from the File menu.
- Click the "Show hidden items" option at the bottom of TextWrangler's Open window.
- Navigate to the /System/Library/WidgetResources/ folder and open the ".parsers" directory.
- Open the file "moviesParser.js" and then click the pencil icon in TextWrangler's toolbar (it should have a red slash through it) to unlock the file so you can edit it.
- Scroll down to the function called "fetchMoviesData" and look for the text that is shown in the screenshot to the right.
- Change the server in the "url" variable from "wu.apple.com" to "www.fandango.com" (only change the "wu.apple.com" component of the URL, leaving the rest of it intact).
- Save the file (providing your administrator password when prompted), and close it.
At this point the Movies widget should load data properly from Fandango. It will only work for newly loaded instances of the widget, so if you already have activated Dashboard you'll need to log out and log back in to load the edited code.