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

Hackman -- A Hack Manager module for TivoWeb

Discussion in 'TiVo Underground' started by PortlandPaw, Apr 11, 2004.

  1. PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...
    That's right, it certainly could. I just don't know what's going on with the /hackmantemp.
     
  2. Nov 4, 2006 #1082 of 1645
    ctromp

    ctromp clownfish daddy

    157
    0
    Sep 25, 2006
    I'm a little confused about something. Could someone point me to a link or page that tells me how to tell my HR10 to use the new Hackman 1.3.1 I just installed instead of 1.2.1 when it boot?

    I successfully installed 1.3.1 which is in /var/hack but I still apparently have 1.2.1 which I believe was installed in ptvupgrade. So I can manually start 1.3.1 but when the tivo reboots I'm back to 1.2.1.

    thanks in advance

    Thanks
     
  3. Nov 4, 2006 #1083 of 1645
    ttodd1

    ttodd1 Proud Computer Geek

    1,516
    0
    Nov 5, 2003
    SC
    I think you are really talking about TivoWeb Plus not Hackman.
     
  4. Nov 4, 2006 #1084 of 1645
    ctromp

    ctromp clownfish daddy

    157
    0
    Sep 25, 2006
    Yes, thank you. How do I remove the old version of Tivowebplus and tell the tivo to use 1.3.1?

    Thanks
     
  5. Nov 4, 2006 #1085 of 1645
    ttodd1

    ttodd1 Proud Computer Geek

    1,516
    0
    Nov 5, 2003
    SC
    See answer in the other thread and it would help if you would stop cross posting the same question in different threads.
     
  6. Nov 5, 2006 #1086 of 1645
    pdawg17

    pdawg17 Here's Julia!!

    362
    0
    Mar 1, 2003
    With 4.2.8 and TWP 1.31, when I click on "Hackman", it errors and says it cannot find hackman.cfg - is this a common problem? I tried to restart TWP and even rebooted the tivo and it still does not create hackman.cfg or hackman.ini
     
  7. Nov 5, 2006 #1087 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...
    This question has been asked many times and the answer remains the same -- read the ReadMe, especially the Troubleshooting section, and follow the directions.
     
  8. Nov 5, 2006 #1088 of 1645
    pdawg17

    pdawg17 Here's Julia!!

    362
    0
    Mar 1, 2003
    Ummm...if you mean that "set compliance" needs to equal 1, well I have done that...

    In the tivoweb.log file it says Hackman is "not compatible with this version of TWP"...I'm using 1.3.1 and your readme says it is not compatible with 1.40 and above...am I missing something?
     
  9. Nov 6, 2006 #1089 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...
    That really shouldn't happen. Here's the code
    Code:
    set twprelease "1.0"
    catch [set twprelease [string range $TWP::VERSION 0 2]]
    if {[b]$twprelease >= "1.4"[/b]} {
            puts "...<< Sorry, but hackman is not yet compatible with this version of TivoWebPlus. >>"
    It successfully starts v1.2.2 and screens out 1.4.1, but I haven't tested it with 1.3.1.

    So be sure you're running the latest hackman version 4.2.8 and that you're not really running TWP 4.0 or higher.
     
  10. Nov 6, 2006 #1090 of 1645
    pdawg17

    pdawg17 Here's Julia!!

    362
    0
    Mar 1, 2003
    No I'm not so I guess I'll try an earlier version of TWP (1.2.1) and see what happens...
     
  11. Nov 8, 2006 #1091 of 1645
    JWThiers

    JWThiers Smartypants

    2,611
    0
    Apr 12, 2005
    Cocoa, Florida
    I just recently had to reimage my DTivo drive and since then I can't get hackman to run. I tried both versions 4.2.7 and 4.2.8. Hackman is not creating the .cfg nor the .ini files. I thought at first that the zipper might install TWP1.4, but I just confirmed that it installs 1.3. I have tried remounting the drive in write mode and doing a quick restart also a full restart of TWP with no luck, I have also tried rebooting also with no luck. When I select the Hackman tab I get the following error:

    NTERNAL SERVER ERROR
    --cut here--
    action_hackman '/' ''
    couldn't read file "/tivowebplus/modules/hackman.cfg": no such file or directory
    while executing
    "source $source_dir/modules/hackman.cfg"
    (procedure "::action_hackman" line 12)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--

    Oh and yes I did make the change to enable hackman. Anyone have any ideas?
     
  12. Nov 8, 2006 #1092 of 1645
    Finnstang

    Finnstang King of the North

    8,666
    0
    Sep 11, 2003
    Winterfell
    If you exit TWP and then do a TWPrunc.sh so it does console output, do you see any errors? Have you tried switching it to rw before starting TWP?
     
  13. Nov 8, 2006 #1093 of 1645
    pdawg17

    pdawg17 Here's Julia!!

    362
    0
    Mar 1, 2003
    That's the exact problem I am having...
     
  14. Nov 8, 2006 #1094 of 1645
    JWThiers

    JWThiers Smartypants

    2,611
    0
    Apr 12, 2005
    Cocoa, Florida
    it says that Hackman is not compatible with this version of TWP. It should be 1.3 I confirmed with Rbautch that zipper installs 1.3. I went as far as to do a tweak_uninstall.sh restart and verified that twp did not start and then run tweak.sh which downloads the latest enhancements which includes twp1.3.

    Oh well Anyone know how to downgrade TWP?
     
  15. Nov 9, 2006 #1095 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...
    I guess you could revise the version check code that I posted earlier in this thread. If it works, it works...

    Change
    Code:
    set twprelease "1.0"
    catch [set twprelease [string range $TWP::VERSION 0 2]]
    if {$twprelease >= "1.4"} {
            puts "...<< Sorry, but hackman is not yet compatible with this version of TivoWebPlus. >>"
    to
    Code:
    set twprelease "1.0"
    # catch [set twprelease [string range $TWP::VERSION 0 2]]
    if {$twprelease >= "1.4"} {
            puts "...<< Sorry, but hackman is not yet compatible with this version of TivoWebPlus. >>"
    The version check was intended to give at least some information to people who couldn't load hackman.

    Please post results here.
     
  16. Nov 9, 2006 #1096 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...
    Or, to make life easier, I just re-posted the earlier version 4.2.6 without the version check. But if you run this one, be sure to load it from bash so you can watch the load sequence and see if and why it bombs out.

    A message such as the following means whatever the version of TWP, it won't work:
    Code:
    hackman
    NONE variable "Release" already exists
    while executing
    "global file14 file15 file16 Release twrun passok ps pos ppassword send_key startcmd filelist"
     
  17. Nov 9, 2006 #1097 of 1645
    JWThiers

    JWThiers Smartypants

    2,611
    0
    Apr 12, 2005
    Cocoa, Florida
    Just installed 4.2.6 and it runs no problems. When TWP is started in console this is the output when hackman starts:

    hackman
    --hackman Version 4.2.6--
    -No problem running mips find -- mips version of find selected.
    -No problem running mips sendkey -- mips sendkey selected.
    -Root directory mounted read-write
    -Thursday, November 09, 2006, 09:40 AM, local time

    I wonder what The Zipper download version of TWP does to make that happen? or what changes in hackman 4.2.7 and .8?

    Thanks for the help
     
  18. Nov 9, 2006 #1098 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...
    The only change in hackman 4.2.7 was the version check and 4.2.8 added a default value for version if the version variable wasn't found.

    So The Zipper does something to the version variable that makes hackman think it's 1.4 or higher. I don't have the hardware to check The Zipper, so someone will have to clue me in.

    I'm glad you got hackman running!
     
  19. Nov 9, 2006 #1099 of 1645
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    In the Zipper, I do this:
    Code:
    cat /tivowebplus/httpd-tt.tcl | sed -e "s/1.3.0/$bashname/"
    ...which replaces the "1.3.0" in the TWP interface with the name of the tivo ($bashname). Paw, is there a better way for me to "name" the tivo without interfering with Hackman?
     
  20. Nov 9, 2006 #1100 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...
    I think I see what's happening -- you're replacing what I'm trying to read, namely the variable VERSION. Since you're replacing it with with an unknown quantity, I couldn't really screen on your revised VERSION.

    We can do one of two things:
    If $bashname will never start with a numeric character, I can allow a non-numeric VERSION to proceed to load hackman
    or
    you could change your line to
    cat /tivowebplus/httpd-tt.tcl | sed -e "s/1.3.0/1.3.0 $bashname/"
    which might be nice as it would then include the version number

    I'll let you make the call. And thank you for wanting to cooperate to make our software play well together.
     

Share This Page