I had the same error as the first post of this topic when the script tries to retrieve localization options...
It seems running with root permission is not showing this error... so I figured out the the problem is the output of the w3m -dump command... these are the output it gives when launching ubuntuzilla.py with -d options:
as normal users:
Please enter 'y' or 'n': y
['FTP Listing of /pub/mozilla.org/firefox/releases/3.5.2/linux-i686/ at\n', 'mozilla.isc.org\n', '\n', '\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\n', 'Parent Directory\n', '\n', 'Jul 31 2009 00:27 Directory af\n', 'Jul 31 2009 00:27 Directory ar\n', 'Jul 31 2009 00:27 Directory as\n', 'Jul 31 2009 00:27 Directory be\n', 'Jul 31 2009 00:27 Directory bg\n', 'Jul 31 2009 00:27 Directory bn-BD\n', 'Jul 31 2009 00:27 Directory bn-IN\n', 'Jul 31 2009 00:27 Directory ca\n', 'Jul 31 2009 00:27 Directory cs\n', 'Jul 31 2009 00:27 Directory cy\n', 'Jul 31 2009 00:27 Directory da\n', 'Jul 31 2009 00:27 Directory de\n', 'Jul 31 2009 00:27 Directory el\n', 'Jul 31 2009 00:27 Directory en-GB\n', 'Jul 31 2009 00:27 Directory en-US\n', 'Jul 31 2009 00:27 Directory eo\n', 'Jul 31 2009 00:27 Directory es-AR\n', 'Jul 31 2009 00:27 Directory es-CL\n', 'Jul 31 2009 00:27 Directory es-ES\n', 'Jul 31 2009 00:27 Directory es-MX\n', 'Jul 31 2009 00:27 Directory et\n', 'Jul 31 2009 00:27 Directory eu\n', 'Jul 31 2009 00:27 Directory fa\n', 'Jul 31 2009 00:27 Directory fi\n', 'Jul 31 2009 00:27 Directory fr\n', 'Jul 31 2009 00:27 Directory fy-NL\n', 'Jul 31 2009 00:27 Directory ga-IE\n', 'Jul 31 2009 00:27 Directory gl\n', 'Jul 31 2009 00:27 Directory gu-IN\n', 'Jul 31 2009 00:27 Directory he\n', 'Jul 31 2009 00:27 Directory hi-IN\n', 'Jul 31 2009 00:27 Directory hr\n', 'Jul 31 2009 00:27 Directory hu\n', 'Jul 31 2009 00:27 Directory id\n', 'Jul 31 2009 00:27 Directory is\n', 'Jul 31 2009 00:27 Directory it\n', 'Jul 31 2009 00:27 Directory ja\n', 'Jul 31 2009 00:27 Directory ka\n', 'Jul 31 2009 00:27 Directory kk\n', 'Jul 31 2009 00:27 Directory kn\n', 'Jul 31 2009 00:27 Directory ko\n', 'Jul 31 2009 00:27 Directory ku\n', 'Jul 31 2009 00:27 Directory lt\n', 'Jul 31 2009 00:27 Directory lv\n', 'Jul 31 2009 00:27 Directory mk\n', 'Jul 31 2009 00:27 Directory ml\n', 'Jul 31 2009 00:27 Directory mn\n', 'Jul 31 2009 00:27 Directory mr\n', 'Jul 31 2009 00:27 Directory nb-NO\n', 'Jul 31 2009 00:27 Directory nl\n', 'Jul 31 2009 00:27 Directory nn-NO\n', 'Jul 31 2009 00:27 Directory oc\n', 'Jul 31 2009 00:27 Directory or\n', 'Jul 31 2009 00:27 Directory pa-IN\n', 'Jul 31 2009 00:27 Directory pl\n', 'Jul 31 2009 00:27 Directory pt-BR\n', 'Jul 31 2009 00:27 Directory pt-PT\n', 'Jul 31 2009 00:27 Directory rm\n', 'Jul 31 2009 00:27 Directory ro\n', 'Jul 31 2009 00:27 Directory ru\n', 'Jul 31 2009 00:27 Directory si\n', 'Jul 31 2009 00:27 Directory sk\n', 'Jul 31 2009 00:27 Directory sl\n', 'Jul 31 2009 00:27 Directory sq\n', 'Jul 31 2009 00:27 Directory sr\n', 'Jul 31 2009 00:27 Directory sv-SE\n', 'Jul 31 2009 00:28 Directory ta\n', 'Jul 31 2009 00:27 Directory ta-LK\n', 'Jul 31 2009 00:28 Directory te\n', 'Jul 31 2009 00:28 Directory th\n', 'Jul 31 2009 00:28 Directory tr\n', 'Jul 31 2009 00:28 Directory uk\n', 'Jul 31 2009 00:28 Directory vi\n', 'Jul 30 2009 09:29 Directory xpi\n', 'Jul 31 2009 00:28 Directory zh-CN\n', 'Jul 31 2009 00:28 Directory zh-TW\n', '\n', '\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\n']
Retrieving list of available localizations for Firefox ...
w3m -dump ftp://mozilla.isc.org/pub/mozilla.org/firefox/releases/3.5.2/linux-i686/ |grep '\. \. \.' |grep -v 'xpi'
Previous command has failed to complete successfully. Exiting.
Process returned code 1
[]
Download error. Trying again, hoping for a different mirror.
as root:
['Index of ftp://mozilla.isc.org/pub/mozilla.org/firefox/releases/3.5.2/\n', 'linux-i686/\n', '\n', '[Upper Directory]\n', 'af/. . . . . . . . . Jul 31 00:27\n', 'ar/. . . . . . . . . Jul 31 00:27\n', 'as/. . . . . . . . . Jul 31 00:27\n', 'be/. . . . . . . . . Jul 31 00:27\n', 'bg/. . . . . . . . . Jul 31 00:27\n', 'bn-BD/ . . . . . . . Jul 31 00:27\n', 'bn-IN/ . . . . . . . Jul 31 00:27\n', 'ca/. . . . . . . . . Jul 31 00:27\n', 'cs/. . . . . . . . . Jul 31 00:27\n', 'cy/. . . . . . . . . Jul 31 00:27\n', 'da/. . . . . . . . . Jul 31 00:27\n', 'de/. . . . . . . . . Jul 31 00:27\n', 'el/. . . . . . . . . Jul 31 00:27\n', 'en-GB/ . . . . . . . Jul 31 00:27\n', 'en-US/ . . . . . . . Jul 31 00:27\n', 'eo/. . . . . . . . . Jul 31 00:27\n', 'es-AR/ . . . . . . . Jul 31 00:27\n', 'es-CL/ . . . . . . . Jul 31 00:27\n', 'es-ES/ . . . . . . . Jul 31 00:27\n', 'es-MX/ . . . . . . . Jul 31 00:27\n', 'et/. . . . . . . . . Jul 31 00:27\n', 'eu/. . . . . . . . . Jul 31 00:27\n', 'fa/. . . . . . . . . Jul 31 00:27\n', 'fi/. . . . . . . . . Jul 31 00:27\n', 'fr/. . . . . . . . . Jul 31 00:27\n', 'fy-NL/ . . . . . . . Jul 31 00:27\n', 'ga-IE/ . . . . . . . Jul 31 00:27\n', 'gl/. . . . . . . . . Jul 31 00:27\n', 'gu-IN/ . . . . . . . Jul 31 00:27\n', 'he/. . . . . . . . . Jul 31 00:27\n', 'hi-IN/ . . . . . . . Jul 31 00:27\n', 'hr/. . . . . . . . . Jul 31 00:27\n', 'hu/. . . . . . . . . Jul 31 00:27\n', 'id/. . . . . . . . . Jul 31 00:27\n', 'is/. . . . . . . . . Jul 31 00:27\n', 'it/. . . . . . . . . Jul 31 00:27\n', 'ja/. . . . . . . . . Jul 31 00:27\n', 'ka/. . . . . . . . . Jul 31 00:27\n', 'kk/. . . . . . . . . Jul 31 00:27\n', 'kn/. . . . . . . . . Jul 31 00:27\n', 'ko/. . . . . . . . . Jul 31 00:27\n', 'ku/. . . . . . . . . Jul 31 00:27\n', 'lt/. . . . . . . . . Jul 31 00:27\n', 'lv/. . . . . . . . . Jul 31 00:27\n', 'mk/. . . . . . . . . Jul 31 00:27\n', 'ml/. . . . . . . . . Jul 31 00:27\n', 'mn/. . . . . . . . . Jul 31 00:27\n', 'mr/. . . . . . . . . Jul 31 00:27\n', 'nb-NO/ . . . . . . . Jul 31 00:27\n', 'nl/. . . . . . . . . Jul 31 00:27\n', 'nn-NO/ . . . . . . . Jul 31 00:27\n', 'oc/. . . . . . . . . Jul 31 00:27\n', 'or/. . . . . . . . . Jul 31 00:27\n', 'pa-IN/ . . . . . . . Jul 31 00:27\n', 'pl/. . . . . . . . . Jul 31 00:27\n', 'pt-BR/ . . . . . . . Jul 31 00:27\n', 'pt-PT/ . . . . . . . Jul 31 00:27\n', 'rm/. . . . . . . . . Jul 31 00:27\n', 'ro/. . . . . . . . . Jul 31 00:27\n', 'ru/. . . . . . . . . Jul 31 00:27\n', 'si/. . . . . . . . . Jul 31 00:27\n', 'sk/. . . . . . . . . Jul 31 00:27\n', 'sl/. . . . . . . . . Jul 31 00:27\n', 'sq/. . . . . . . . . Jul 31 00:27\n', 'sr/. . . . . . . . . Jul 31 00:27\n', 'sv-SE/ . . . . . . . Jul 31 00:27\n', 'ta-LK/ . . . . . . . Jul 31 00:27\n', 'ta/. . . . . . . . . Jul 31 00:28\n', 'te/. . . . . . . . . Jul 31 00:28\n', 'th/. . . . . . . . . Jul 31 00:28\n', 'tr/. . . . . . . . . Jul 31 00:28\n', 'uk/. . . . . . . . . Jul 31 00:28\n', 'vi/. . . . . . . . . Jul 31 00:28\n', 'xpi/ . . . . . . . . Jul 30 09:29\n', 'zh-CN/ . . . . . . . Jul 31 00:28\n', 'zh-TW/ . . . . . . . Jul 31 00:28\n', '\n']
Retrieving list of available localizations for Firefox ...
Please choose the localization (language) for Firefox. Enter the number of your choice from the list below. [If you do not see a list of localizations, please check the help section of our website at http://ubuntuzilla.sourceforge.net/ for steps you can take to resolve this problem.]
0. af Afrikaans [Afrikaans]
1. ar Arabic [عربي]
2. as Assamese [অসমীয়া]
3. be Belarusian [Беларуская]
4. bg Bulgarian [Български]
5. bn-BD Bengali (Bangladesh) [বাংলা (বাংলাদেশ)]
6. bn-IN Bengali (India) [বাংলা (ভারত)]
7. ca Catalan [català]
8. cs Czech [Čeština]
9. cy
10. da Danish [Dansk]
11. de German [Deutsch]
12. el Greek [Ελληνικά]
13. en-GB English (British) [English (British)]
14. en-US English (US) [English (US)]
15. eo Esperanto [Esperanto]
16. es-AR Spanish (Argentina) [Español (de Argentina)]
17. es-CL Spanish (Chile) [Español (de Chile)]
18. es-ES Spanish (Spain) [Español (de España)]
19. es-MX Spanish (Mexico) [Español (de México)]
20. et Estonian [Eesti keel]
21. eu Basque [Euskara]
22. fa Persian [فارسی]
23. fi Finnish [suomi]
24. fr French [Français]
25. fy-NL Frisian [Frysk]
26. ga-IE Irish [Gaeilge]
27. gl Galician [Galego]
28. gu-IN Gujarati [ગુજરાતી]
29. he Hebrew [עברית]
30. hi-IN Hindi (India) [हिन्दी (भारत)]
31. hr Croatian [Hrvatski]
32. hu Hungarian [Magyar]
33. id Indonesian [Bahasa Indonesia]
34. is Icelandic [íslenska]
35. it Italian [Italiano]
36. ja Japanese [日本語]
37. ka Georgian [ქართული]
38. kk Kazakh [Қазақ]
39. kn Kannada [ಕನ್ನಡ]
40. ko Korean [한국어]
41. ku Kurdish [Kurdî]
42. lt Lithuanian [lietuvių kalba]
43. lv Latvian [Latviešu]
44. mk Macedonian [Македонски]
45. ml Malayalam [മലയാളം]
46. mn Mongolian [Монгол]
47. mr Marathi [मराठी]
48. nb-NO Norwegian (Bokmål) [Norsk bokmål]
49. nl Dutch [Nederlands]
50. nn-NO Norwegian (Nynorsk) [Norsk nynorsk]
51. oc Occitan (Lengadocian) [occitan (lengadocian)]
52. or Oriya [ଓଡ଼ିଆ]
53. pa-IN Punjabi [ਪੰਜਾਬੀ]
54. pl Polish [Polski]
55. pt-BR Portuguese (Brazilian) [Português (do Brasil)]
56. pt-PT Portuguese (Portugal) [Português (Europeu)]
57. rm Romansh [rumantsch]
58. ro Romanian [română]
59. ru Russian [Русский]
60. si Sinhala [සිංහල]
61. sk Slovak [slovenčina]
62. sl Slovenian [slovensko]
63. sq Albanian [Shqip]
64. sr Serbian [српски]
65. sv-SE Swedish [Svenska]
66. ta-LK Tamil (Sri Lanka) [தமிழ் (இலங்கை)]
67. ta Tamil [தமிழ்]
68. te Telugu [తెలుగు]
69. th Thai [ไทย]
70. tr Turkish [Türkçe]
71. uk Ukrainian [Українська]
72. vi Vietnamese [Tiếng Việt]
73. zh-CN Chinese (Simplified) [中文 (简体)]
74. zh-TW Chinese (Traditional) [正體中文 (繁體)]
Enter your choice of localization (integer, from 0 to 74):
It seems w3m output is different from normal to root user... and the script doesn't recognize the normal user's one.
Thanks a lot for your support....
I'm on Ubuntu 9.04 64 bit....