1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Enter Webz beta release - web browser for the TiVo!

Discussion in 'Developers Corner' started by davidblackledge, Jan 6, 2013.

  1. Feb 18, 2013 #41 of 165
    davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    What he said... ;]

    That's also a major technical problem Enter Webz faces... I don't (yet) know a way to tell the TiVo "send these headers/cookies/referer to the website when you request the stream" - that's why so many images show up as errors - those websites refuse to send the stream if the request doesn't appear to come from the one who saw the HTML page.

    I strongly believe it can be done with the "TeDict" parameters passed on stream creation, but haven't figured out the right format. I'd love to have help on this.

    I tried sending somebody at TiVo this question out of desperation, but they didn't respond.
     
  2. Mar 22, 2013 #42 of 165
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    Changed permissions on my mac to 755 for file "Enter Webz.command. Tried to run file in terminal. Got this: dad$ /Applications/EnterWebzDist/Enter\ Webz.command ; exit;
    -bash: /Applications/EnterWebzDist/Enter Webz.command: /bin/bash^M: bad interpreter: No such file or directory
    logout
    What did i do wrong? I just dragged the file into the terminal window to give me the path for the chmod. At least now it opens in terminal.
     
  3. Mar 22, 2013 #43 of 165
    wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    DOS text file line endings on a Unix system.
     
  4. Mar 23, 2013 #44 of 165
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    Gee, what does that mean. You are talking to a relative novice. I know just enough to be dangerous. How do I fix it?
     
  5. Mar 23, 2013 #45 of 165
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    dos2unix command in unix will strip out the "DOS" eol characters.
     
  6. Mar 23, 2013 #46 of 165
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    So how would i do that in terminal on a Mac I assume?
    Do I do this? dos2unix /Applications/EnterWebzDist/Enter Webz.command

    and then hit return?
     
  7. Mar 23, 2013 #47 of 165
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    I tried it and got: -bash: dos2unix: command not found
     
  8. Mar 23, 2013 #48 of 165
    wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    Try this:

    sudo nano "/Applications/EnterWebzDist/Enter Webz.command"

    Then in the editor, type Ctrl-O, then Esc, then d, then Enter. Then Ctrl-X.
     
  9. Mar 23, 2013 #49 of 165
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    said warning" Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.
     
  10. Mar 23, 2013 #50 of 165
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    This is what I have now:dad$ /Applications/EnterWebzDist/Enter\ Webz.command ; exit;
    HME SDK 1.4 (TiVo, Inc.)
    LOG: added factory
    LOG: added factory
    LOG: added factory
    MDNS: http://192.168.1.3:7288/webz/
    MDNS: http://192.168.1.3:7288/webz1/
    MDNS: http://192.168.1.3:7288/webz2/

    YAHOO, or so I think. So, I go to check out the tv and this is what I see.

    Archives.org/032videos/music/books
    Enter \032webz
    Google

    YEA, so far so good...But when clicking on any of those links I get:
    App Temporarily unavailable. The requested application is currently unavailable (v301) Please try again in a few minutes. For more info visit tiro.com/help/v301.

    Anybody have a clue?
     
  11. Mar 23, 2013 #51 of 165
    jhilla

    jhilla Guest

    114
    0
    May 13, 2011
    My Java updated itself last night and now your app and Streambaby are disabled. I'm thinking I need to roll back Java and block updates for now. Anyone else run into this?:confused:
     
  12. Mar 23, 2013 #52 of 165
    davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    First: Yay! I'm glad to hear the Mac .command file sort-of worked. I hope to have that "^M" problem taken care of in the next release.
    Hmm... Is it still doing that?
    Does it say anything more in the window where you started it?

    I've only seen that kind of error when Enter Webz poorly handled a page and crashed, but those first links "shouldn't" have such a problem, so something more serious must be going on... maybe there are other issues with the Mac version that I have to handle like maybe Enter Webz doesn't have permission to access one of its library files.
     
  13. Mar 23, 2013 #53 of 165
    davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    Just a guess: maybe Windows Firewall is blocking the new version from accessing the Internet? See if you can tell Windows Firewall to let Java do what it wants.
    I just checked mine, and there were like 10 instances of Java listed, and only about half of them were allowed access to the Internet.
     
  14. Mar 23, 2013 #54 of 165
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    Yes, nothing has changed.
     
  15. Mar 23, 2013 #55 of 165
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
  16. Mar 24, 2013 #56 of 165
    davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    ...and nothing else shows up in the terminal after you try using it from the TiVo (and the TiVo gives an error)?
     
  17. Mar 24, 2013 #57 of 165
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    tried again and this is what is in terminal:

    Last login: Sat Mar 23 15:26:31 on ttys002
    You have mail.
    /Applications/EnterWebzDist/Enter\ Webz.command ; exit;
    DADS-COMPUTER-3:~ dad$ /Applications/EnterWebzDist/Enter\ Webz.command ; exit;
    HME SDK 1.4 (TiVo, Inc.)
    LOG: added factory
    LOG: added factory
    LOG: added factory
    MDNS: http://192.168.1.3:7288/webz/
    MDNS: http://192.168.1.3:7288/webz1/
    MDNS: http://192.168.1.3:7288/webz2/
    LOG: null
    LOG: unknown event opcode : 10
    LOG: connection to receiver closed
    LOG: Unexpected error: java.lang.ExceptionInInitializerError
    LOG: null
    LOG: unknown event opcode : 10
    LOG: connection to receiver closed
    LOG: Unexpected error: java.lang.NoClassDefFoundError: Could not initialize class com.blackledge.david.html.hme.HTMLBreakdown
    LOG: 192.168.1.7 bookmark.png HTTP GET - to factory /webz1/
    LOG: null
    LOG: unknown event opcode : 10
    LOG: connection to receiver closed
    LOG: Unexpected error: java.lang.NoClassDefFoundError: Could not initialize class com.blackledge.david.html.hme.HTMLBreakdown
    LOG: null
    LOG: unknown event opcode : 10
    LOG: connection to receiver closed
    LOG: Unexpected error: java.lang.NoClassDefFoundError: Could not initialize class com.blackledge.david.html.hme.HTMLBreakdown
    LOG: null
    LOG: unknown event opcode : 10
    LOG: connection to receiver closed
    LOG: Unexpected error: java.lang.NoClassDefFoundError: Could not initialize class com.blackledge.david.html.hme.HTMLBreakdown
    LOG: null
    LOG: unknown event opcode : 10
    LOG: connection to receiver closed
    LOG: Unexpected error: java.lang.NoClassDefFoundError: Could not initialize class com.blackledge.david.html.hme.HTMLBreakdown
    LOG: null
    LOG: unknown event opcode : 10
    LOG: connection to receiver closed
    LOG: Unexpected error: java.lang.NoClassDefFoundError: Could not initialize class com.blackledge.david.html.hme.HTMLBreakdown
    LOG: null
    LOG: unknown event opcode : 10
    LOG: connection to receiver closed
    LOG: Unexpected error: java.lang.NoClassDefFoundError: Could not initialize class com.blackledge.david.html.hme.HTMLBreakdown
    LOG: 192.168.1.5 bookmark.png HTTP GET - to factory /webz1/
     
  18. Mar 24, 2013 #58 of 165
    vucious

    vucious New Member

    1
    0
    Mar 24, 2013
    I have having a similar issue as dadrepus on a MAC. I get the following errors on my MAC console when trying to access Enter Webz from Tivo.

    my-mac:EnterWebzDist-2013-2-5 vunguyen$ ./Webz.command
    HME SDK 1.4 (TiVo, Inc.)
    LOG: added factory
    LOG: added factory
    LOG: added factory
    ...
    ...
    LOG: null
    LOG: unknown event opcode : 10
    LOG: connection to receiver closed
    LOG: Unexpected error: java.lang.ExceptionInInitializerError
     
  19. Mar 25, 2013 #59 of 165
    davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    Ick. Very weird that it starts up OK, but has a problem with part of the application.
    I couldn't find anything on he Internet specific to this happening on a Mac when it's working fine elsewhere.
    My working theory is: HTMLBreakdown does a lot of work, but it includes the code to translate special characters from unicode that the TiVo can't display into ASCII equivalents. My Internet searches hinted at possible issues with Unicode differences on the Mac (probably depending on OS and Java version).

    For the next release, I'll change how the unicode references are made in hopes that it helps, and I'll probably also move all of that translation code to a separate class and protect it so if that exception happens, Enter Webz doesn't break, it just doesn't do the translation (and you get a bunch of "squares" on the screen for complex characters).

    Thanks for reporting this! Sorry that it might be a little while before I can do another release, though.

    - David.
     
  20. Aug 13, 2013 #60 of 165
    davidblackledge

    davidblackledge Registered lÜser

    466
    0
    Sep 9, 2008
    NM
    Just a note 1) to take up the last post on page 2 so my next update isn't the last post on the page again and 2) to let people know that I figured out the secret to scaling video consistently. I will use that for both Live TV PIP and optionally when you play videos in the browser (allowing you to continue browsing if you want).

    The secret is: you can't put the view containing the video resource up against the top (and probably the left) edge of the screen, or it will ignore the scale factor and just try to display full screen.
    Note the video can't move off the screen... it will stop at the edge even if the view moves past the edge - the video is still visible if there is no other resource/color displayed at that location.

    FYI, I'm close to doing another release. Sometime in the next few weeks.
     

Share This Page