Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Error code:256

  1. #11
    Join Date
    Jun 2007
    Beans
    11

    Re: Error code:256

    I'll admit it is strange - I'm not an experienced Linux user by any stretch but since switching a few weeks ago I have been able to blunder my way through most issues and this is the first time I have had to publicly ask for help.

    Changing the script results in this error:

    File "ubuntuzilla.py", line 585
    http://www.mozilla.org/projects/seamonkey/ |grep 'product=' -m 1 |sed -e 's/.*<li>.*seamonkey-//' -e 's/&amp.*//'", errormessage="Problem retrieving the latest release version. Exiting.")
    ^
    SyntaxError: invalid syntax

    And the second command returns a completely sensible output:

    andrew@BLACK-BOX:~$ w3m -dump http://www.mozilla.org/projects/seamonkey/
    Skip to main content

    Mozilla

    • About
    • Developers
    • Store
    • Support
    • Products

    search mozilla: [ ] [Go]
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

    SeaMonkey 1.1.2

    Web-browser, advanced e-mail and newsgroup client, IRC chat client, and HTML
    editing made simple -- all your Internet needs in one application.

    • System Requirements
    • Release Notes

    Download Now

    SeaMonkey 1.1.2

    • Windows, English (13MB)
    • Linux GTK2, English (14MB)
    • Mac OS X, English (23MB)
    • Other Systems & Languages

    The SeaMonkey™ Project

    The SeaMonkey project is a community effort to deliver production-quality
    releases of code derived from the application formerly known as "Mozilla
    Application Suite". Whereas the main focus of the Mozilla Foundation is on
    Mozilla Firefox and Mozilla Thunderbird, our group of dedicated volunteers
    works to ensure that you can have "everything but the kitchen sink" — and have
    it stable enough for corporate use.

    Project News

    May 30th, 2007

    SeaMonkey 1.1.2 Released - Team Urges Users to Upgrade

    Today, the SeaMonkey project released a new version of its all-in-one internet
    suite. SeaMonkey 1.1.2 closes several security vulnerabilities and fixes
    several smaller problems found in previous versions.
    SeaMonkey 1.1.2 is available for free download from the open source project's
    website at www.seamonkey-project.org.

    Full article...

    The Product: SeaMonkey™ Suite

    Navigator

    Tabbed browsing gives you a better way to surf the net. You no longer have to
    open one page at a time. With tabbed browsing, open several pages at once with
    one click. Plus, your homepage can be multiple pages, in tabs.

    Popup blocker lets you surf the web without interruption from annoying ads.

    Image Manager lets you block images to remove offensive images or speed up the
    rendering of web sites.

    Find as you type gives you another way to navigate a page. Just start typing to
    jump from link to link or to find a word or phrase within a page.

    Plus all the features a modern browser should have including: Advanced security
    settings; Password, Download, and Cookie managers; Themes; multi-language and
    multi-platform support; and, the latest in Web Standards.

    Mail & Newsgroups

    Junk mail controls helps you take back control of your e-mail from spammers.
    SeaMonkey's adaptive junk mail control gets smarter with use and is
    personalized to the e-mail that you receive.

    Manage your mail with customizable Labels and Mail Views. Color code your
    e-mail to help you prioritize. Sort your mail with views to help you through
    your e-mail much faster.

    Multiple Accounts support helps you manage all your mail through one interface.

    SeaMonkey Messenger includes Enterprise ready features such as S/MIME, return
    receipts, Address Books, LDAP support, and digital signing.

    Composer

    SeaMonkey's powerful yet simple HTML editor keeps getting better with dynamic
    image and table resizing, quick insert and delete of table cells, improved CSS
    support, and support for positioned layers. For all your documents and website
    projects, Composer is all you need.

    Resources

    • SeaMonkey Releases
    • Get Themes
    • Get Extensions
    • Get Plugins
    • Plugin Help
    • SeaMonkey Marketing Shop

    Community & Support

    • SeaMonkey Community
    • Get Involved
    • Support
    • Documentation
    • FAQ
    • Knowledge Base

    Developer Stuff

    • "Nightly" builds
    • Wiki: SeaMonkey Home Page
    • Logo & Artwork
    • SeaMonkey Project Areas
    • Review and Flag Policies
    • SeaMonkey Weblog
    • Current Tree Status
    • "Brownbag" Videos (obsolete)


    Maintained by Robert Kaiser (KaiRo)

    SeaMonkey and the SeaMonkey logo are trademarks of the Mozilla Foundation.

    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

    • Site Map
    • Security Updates
    • Contact Us
    • Donate

    Portions of this content are © 1998–2007 by individual mozilla.org
    contributors; content available under a Creative Commons license | Details.

    Last modified May 30, 2007 Document History Edit this Page (or via CVS)

    Not sure if this is the result you had hoped for!

  2. #12
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,072
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Error code:256

    well, it looks like you have left half of the line there, that's why it throws a syntax error. maybe you are using an editor with word-wrap... here, i'm attaching an edited ubuntuzilla.py, try using this one. (it's zipped, otherwise it exceeds some silly forum limit, so unzip it first)

    the w3m output is exactly what it /should/ be, so this narrows the problem down purely to wget, at least...

    do you have a .wgetrc in your home dir with some weird config?
    what is the output of
    Code:
    cat /etc/wgetrc |grep "^[^#]"
    what's the output of
    Code:
    ls -al ~/.wgetrc
    what's the output of
    Code:
    wget --version
    i'm running out of ideas here, but...
    Attached Files Attached Files

  3. #13
    Join Date
    Jun 2007
    Beans
    11

    Re: Error code:256

    I downloaded and ran your script, the pertinent output being:

    The new Seamonkey version 1.1.2 has been installed successfully. Thank you for using Ubuntuzilla scripts.

    If you are looking to use Seamonkey in other languages, head over to http://www.mozilla.org/projects/seam...releases/#l10n and download the installable language pack of your choice.

    Thankyou very much for your time, help and patience.

    Much appreciated.

    Andrew

  4. #14
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,072
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Error code:256

    Quote Originally Posted by waltea View Post
    I downloaded and ran your script, the pertinent output being:

    The new Seamonkey version 1.1.2 has been installed successfully. Thank you for using Ubuntuzilla scripts.

    If you are looking to use Seamonkey in other languages, head over to http://www.mozilla.org/projects/seam...releases/#l10n and download the installable language pack of your choice.

    Thankyou very much for your time, help and patience.

    Much appreciated.

    Andrew
    you're quite welcome i'm still unhappy that i wasn't able to actually solve the wget problem, but as long as you're up and running, it's all good.
    thanks for sticking with me for so long and not giving up

  5. #15
    Join Date
    Jun 2007
    Beans
    11

    Re: Error code:256

    Just for your interest, the outputs from those commands you asked me to try were:

    andrew@BLACK-BOX:~$ cat /etc/wgetrc |grep "^[^#]"
    passive_ftp = on
    waitretry = 10
    andrew@BLACK-BOX:~$ ls -al ~/.wgetrc
    ls: /home/andrew/.wgetrc: No such file or directory
    andrew@BLACK-BOX:~$ wget --version
    GNU Wget 1.10.2

    Copyright (C) 2005 Free Software Foundation, Inc.
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
    andrew@BLACK-BOX:~$

    Regards

    Andrew

  6. #16
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,072
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Error code:256

    hm, the exact same as what i get, and everything works for me...
    maybe it's because of your location... the mozilla site does some fancy tricks with location detection and pushing out localized versions...
    what country are you in? you might want to file a bug with mozilla about this (if you cared to), since that would be just about the only remaining explanation...

  7. #17
    Join Date
    May 2011
    Beans
    1

    Re: Error code:256

    Hello

    I was surprise that this thread dated in the year of 2007 and now is 2011, and this question arise. Actually i had a similar problem like this, returning and error number of 256. So i found this thread which actually is the nearest situation on what im facing with. Well, im not an expert in Linux, but i have been doing application on Linux the past 3 years. So, here is my situation.

    Actually, im not using UBUNTU, im using fedora 10, where one of my application is running on it. The similarities im facing with the problem that is being discussed here is about the license. For ure info, the whole of the system that i programmed here involves on spawning 2 process using fork() calls...so this means it would be like parent->"child"->child. Im not so sure this is true but the "child" (parent->"child") that is being spawned by the parent will spawn another process, which i assume is the child of the "child". Im not sure if i can fork 2 process from the same root parent, but i assume it would be ok because when i test using other PC, it works. So, the child function is mainly to read the license by executing another binary that should read the license. I test using exec() and system() for the last child. Both, well actually it success reading the license, only if i run the "child" (parent->"child") manually, without triggering it from parent process (parent). But, when i run it from parent (parent), it doesnt works and returns fail, which is a message from the spawned process. So i check what system() return, and it return 256. If i call system(), if the system() success to run the binary, it will return 0. However, another odd thing is that, my system() call returns 256, but at the same time i actually retrieved an error msg from the spawned process. SO this means, system() should return 0 because it still success to spawn the process due to the fact that an error msg from the spawned process is being displayed. and this gave me an headache. I have been goggle around and this system() problem mainly from perl. Im using C++. What differentiates in my problem that is totally odd enough to say, is that when i run manually, it succeed but when i run frm parent process, it fails. There are not much solutions/opinions on this matter in google, so at the moment i found that this thread is the nearest. Also, just to let u know i realize this happen just a few minutes, so i still need to find answers. Solutions, suggestions, opinions and/or recommendation are most appreciated. Thanks

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •