Release Otter browser

Discussion in 'Software Releases' started by ptitSeb, Dec 7, 2014.

  1. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    So, I finally nailed it, or enough to make it run.

    For sometime now, I have this strange hidden dependancy with libnss_nis.so.2 and now, libnss_db.so.2 . The point is, thoses libs aren't really used (lsof doesn't show them mounted), but still, "something" is looking for those libs, and tend to crash (with mmunmap error) if the don't find them. So I package them...

    Build 08

    ----------

    • Fixed crash at launch
     
    Eight Bit likes this.
  2. Ziz

    Ziz Advanced Member

    Joined:
    Sep 10, 2006
    Messages:
    1,584
    Thanks a lot for your work, ptitSeb! I just crashed my smartphone and am using a sony erricsson w810i as bluetooth modem for otter on my pandora now. This is really awesome! I like it way more than my old smartphone solution. Especially if I use mobile webpages instead of the big bloat ones. :D Even this board works better than with my smartphone browser. :ph34r:
     
  3. Eight Bit

    Eight Bit Hardcore Member

    Joined:
    Nov 16, 2008
    Messages:
    1,620
    Location:
    Amsterdam, Netherlands
    I love Otter too, obviousy ;)

    Thanks again ptitSeb!
     
  4. Farox

    Farox Certified Guru

    Joined:
    Jan 8, 2009
    Messages:
    2,024
    Location:
    Italy
    I'm not so expert but looking at this page http://www.gnu.org/software/libc/manual/html_node/Services-in-the-NSS-configuration.html#Services-in-the-NSS-configuration

    this libs are part of libc library, at least libc6, so maybe before we switched to the new libc (some months ago), we never had this dependancy.
     
  5. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    If I remember correctly, we didn't switch to a newer libc (the GNU C library), but to a newer glibc (the gnome graphic lib). The point is, libnss_nis is not part of the firmware (but you can addipk it), and libnss_db is not even in libc anymore. They are otpionnal package, but somehow, there must be a bug in the plugin code causing some error in some specific case...
     
  6. Farox

    Farox Certified Guru

    Joined:
    Jan 8, 2009
    Messages:
    2,024
    Location:
    Italy
    Ah ok!

    This two libs always confuse me.... glibc / libc.
     
  7. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    New build of Otter on the repo.
    In fact I'm using it right now to upload and update to forum, as I'm not home for the week, and it's working fine :)

    Build 09
    ----------

    • Updated to latest sources
     
    Eight Bit likes this.
  8. Zero3K

    Zero3K Active Member

    Joined:
    Sep 27, 2003
    Messages:
    828
    Location:
    USA
    I have a crash to report. The log for it is as follows:

    Code:
    =======================================================================================
    PND             : /media/PANDORA-SD1/pandora/apps/otter.pnd
    PND_FSTYPE      : Squashfs
    APPDATADIR      : /media/PANDORA-SD1/pandora/appdata/otter
    APPDD_FSTYPE    : vfat
    PND_CPUSPEED    : <unset>
    EXENAME         : runscript.sh
    ARGUMENTS       : <unset>
    =======================================================================================
    [ START ]--- Mount the PND ----------
    Mounting : mount -t squashfs -o ro "/dev/loop0" "/mnt/utmp/otter"
    Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA-SD1/pandora/appdata/otter=rw+nolwh":"/mnt/pnd/otter=rr" none "/mnt/utmp/otter"
    [SUCCESS]--- Mount the PND ----------
    [ START ]--- Starting the application ( runscript.sh  ) ----------
    WSEGL_InitialiseDisplay: DRI2OpenConnection failed
    Warning: Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed ((null):0, (null))
    Debug: QNetworkReplyImpl::_q_startOperation was called more than once ((null):0, (null))
    The program 'otter-browser' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'BadValue'.
      (Details: serial 879 error_code 2 request_code 139 minor_code 51)
      (Note to programmers: normally, X errors are reported asynchronously;
       that is, you will receive the error a while after causing it.
       To debug your program, run it with the --sync command line
       option to change this behavior. You can then get a meaningful
       backtrace from your debugger if you break on the gdk_x_error() function.)
    QT5 Base dir = /mnt/utmp/otter
    [ FAILED]--- Starting the application ( runscript.sh  ) ----------
    [ START ]--- Restoring the frame buffer status ----------
    [SUCCESS]--- Restoring the frame buffer status ----------
    [ START ]--- Restoring nub mode ----------
    [SUCCESS]--- Restoring nub mode ----------
    [ START ]--- uMount the PND ----------
    [ START ]--- Waiting the Union to be available ----------
    [SUCCESS]--- Waiting the Union to be available ----------
    rmdir: failed to remove `/mnt/utmp/otter': Device or resource busy
    [ START ]--- Waiting the PND mount dir to be free ----------
    [SUCCESS]--- Waiting the PND mount dir to be free ----------
    cleanup done
    [SUCCESS]--- uMount the PND ----------
    =======================================================================================
    Return code is : 10
     
  9. Zero3K

    Zero3K Active Member

    Joined:
    Sep 27, 2003
    Messages:
    828
    Location:
    USA
    A new weekly snapshot of it was made available today. Maybe the crash I posted about is fixed in it. Please make a port of it soon. Thanks in advance.
     
  10. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    Ok, uploaded to the repo a fresh build, using latest sources.

    Build 10
    ----------

    • Updated to latest sources
     
  11. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    Hi all :)

    @ptitSeb : I'm posting this with QupZilla, since your latest Otter release doesn't work :p

    Cheers, Magic Sam
     
  12. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    Ah :( Thanks for the detail, I'll update quickly.
    --- Double Post Merged, Mar 22, 2016, Original Post Date: Mar 22, 2016 ---
    I have uploaded a fixed pnd.

    Build 11
    ----------

    • Fixed package (missing lib)
     
    directive0 likes this.
  13. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    Hi all :)

    @ptitSeb : I'm posting again from Otter, thanks for fixing your package so quickly !

    Cheers, Magic Sam
     
  14. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    New build on the repo, with a fresh version of QT5.7 and QTWebKit 5.7

    Build 12
    ----------

    • Updated to latest sources
    • Updated QT to 5.7
     
  15. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    Hi all,

    @ptitSeb : I'm posting again from Qupzilla :p
    Cheers, Magic Sam
     
  16. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    Damn :/ ...

    @Magic Sam : can you try this version: otter.pnd (and also this PaleMoon version palemoon.pnd while your are at it :) ) to see if this one runs?

    *EDIT* : link removed, both version are on the repo now.
     
    Last edited: Jul 10, 2016
  17. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    Hi @ptitSeb :)

    Posting from your new Otter PND. Palemoon is also starting correctly.

    Cheers, Magic Sam
     
    ingoreis likes this.
  18. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    Ah good, thanks for testing @Magic Sam . I'll upload both version to the repo.

    Build 13
    ----------

    • Fixed launching
     
    ingoreis likes this.
  19. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    Hi again,

    @ptitSeb : if I understand correctly, there are two web backends available in Otter: QtWebKit (default) and QtWebEngine (Blink), is that correct ?

    I set Backends / Web to qtwebengine in the Configuration Manager (about:config), but I couldn't see any differences.

    Did you compile Otter with QtWebEngine support ?

    Cheers, Magic Sam
     
  20. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    @Magic Sam : yes you are right, but I disabled QtWebEngine, as it doesn't work on the Pandora (it WANTS gles2 output, but always fail to get it, either because drivers > 4.03 doesn't works with X11, or because it wants RGBA32 FrameBuffer, or will fail with some shader anyway...).
     

Share This Page

Loading...