Hackman -- A Hack Manager module for TivoWeb

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

  1. Dec 3, 2004 #361 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...

    Advertisements

    cdma, you're not alone. Another person reported the identical problem and I'm still at a loss to solve it. But there's hope. He said it went away after he:
    1. Shut down TivoWeb (restart/quit)
    2. Restarted from bash with tivoweb &
    Could you try that and report what happens?
     
  2. Dec 3, 2004 #362 of 1645
    SeanC

    SeanC ECT

    9,691
    21
    Dec 30, 2003
    Someplace
    I was using the startup editor module but now that hackman can do that I job I wanted to change over.

    I uninstalled startuped, setup hackman with what I wanted to start up at boot and rebooted. The only thing that didn't work was the 30 sec skip code. This was my first reboot since installing hackman. Minor issue, just wanted you to know.
     
  3. Dec 3, 2004 #363 of 1645
    SeanC

    SeanC ECT

    9,691
    21
    Dec 30, 2003
    Someplace
    And on the subsequent quick reload of tivowebplus to get rid of the Startup Editor icon in TWP hackman did the 30 sec code correctly. Maybe while the Tivo is still booting the sendkey isn't sending keys fast enough? I thought the code was going slow on the reboot, but worked normally on the reload.

    And I also noticed that I still need startuped. I use the autospace hack which I don't think hackman looks for.
     
  4. Dec 3, 2004 #364 of 1645
    m1fly

    m1fly New Member

    7
    0
    Nov 24, 2004
    Caldicot UK
    I have been trying to install hackman for a few days now, please can some one point me in the right direction.

    I am currently getting these errors.

    couldn't open "/etc/rc.d/rc.sysinit.author": no such file or directory
    can't read "data": no such variable
    NONE can't read "TWpath": no such variable
    while executing
    "if {$TWpath == "xxx"} {set 2 "$tivowebpluspath/tivoweb &"
    set foundTWpath $tivowebpluspath
    set TWpath $foundTWpath
    set box1..."
    (file "./modules/hackman.itcl" line 279)
    invoked from within
    "source $module "
    index

    I have tried to manauly set TWpath but then get another error

    couldn't open "/etc/rc.d/rc.sysinit.author": no such file or directory
    can't read "data": no such variable
    NONE can't read "box0": no such variable
    while executing
    "set data "$box0 $box1 $box2 $box3 $box4 $box5 $box6 $box7 $box8 $box9 $box10 $box11 $box12 $box13 $box14 $box15 $box16 $box17 $box18 $TWpath $startm $..."
    (file "/var/hack/tivoweb-tcl/./modules/hackman.itcl" line 288)
    invoked from within
    "source $module "
    index

    I am running tivoweb 1.9.4
    Tivo UK version 2.5.5-011-1-023
    tivoweb is installed in /var/hack/tivoweb-tcl
    I have symlinked tivoweb-tcl to tivoweb (Just in case)

    Any Ideas?
     
  5. Dec 3, 2004 #365 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...

    Advertisements

    I'll check these things out. I'm using what is supposed to be a better version of Sendkey, but I'm not so sure. And actually hackman does look for autospace.tcl. If it doesn't autodetect, you can add it manually as described in the readme.
     
  6. Dec 3, 2004 #366 of 1645
    SeanC

    SeanC ECT

    9,691
    21
    Dec 30, 2003
    Someplace
    Oops, roger.

    Upon checking my autospace was missing the .tcl extension, all set now.

    Thanks :)
     
  7. Dec 3, 2004 #367 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...
    Your installation sounds thoroughly botched. You didn't mention what version of hackman you have, but I would suggest that you wait a day or two until I upload the latest version. Then we'll be on the same page with the latest edition if you encounter further problems.

    When you do get the next download, be sure to check out the README, as there will be a few changes.
     
  8. Dec 4, 2004 #368 of 1645
    m1fly

    m1fly New Member

    7
    0
    Nov 24, 2004
    Caldicot UK
    Thanks PortlandPaw,

    I believe I am running your latest version 3.0.3.
    I will keep an eye out for the new release you mention.

    I have tried Versions 2[1].1.3 and V3.0.0 with no sucess.

    Regards Richard.
     
  9. Dec 5, 2004 #369 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...
    I believe I've addressed all the reported bugs and have added a couple of new touches -- support for symbolic links in the autodetect process and the option of going directly to the text editor to review changes made to rc.sysinit.author (thanks, arthur and rjbutler, for the great ideas).

    The other major change is that JJBliss's bufferhack, KeepUpTo and TCTimout utilities are now available separately from the author, as described in the README. These utilities will be seamlessly integrated into hackman when bufferhack.itcl is loaded but the code itself is no longer included in hackman.

    As always, please report any problems here. Since I can't test hackman on all models in all configurations, I rely on you to help make hackman trouble-free for all users.
     
  10. Dec 5, 2004 #370 of 1645
    bobbob20

    bobbob20 New Member

    45
    0
    Feb 11, 2003
    I've tried installing Hackman, and it doesn't seem to be working. I first put the files in /var/hack/tivoweb-tcl, but noticed later it looked like files were missing. So I eventually found the active install in /tivoweb-tcl. So I put the files in there and changed the attributes to +x on all the files.

    When I Restart->Quick Reload, I don't see any difference. My Main Menu looks the same. I have the same 14 menu entries as before. I tried to access #.#.#.#/hackman/ and I get a 404 not found. Should it appear in the Main Menu?

    I'm using Tivoweb 1.9.4 on a 252011011 OS. I even tried setting tivoweb194path to my path in the .cfg file. Any idea why it's not loading or running hackman.itcl?

    EDIT: Hmm.. nevermind. I read the above post and tried the Restart->Quit. Then ran "/tivoweb-tcl/tivoweb &" and now it works. It's shown in the Main Menu. Thanks.
     
  11. Dec 5, 2004 #371 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...
    I'm not sure exactly what you're doing, but please take a look at the README. Assuming that you have TivoWeb in /var/hack, your directory structure should look something like this:

    --/Var
    -------/hack
    -------------/tivoweb-tcl
    ----------------------------/images
    ---------------------------------------/(all the .png files}
    ----------------------------/bin_ppc
    ---------------------------------------/find
    ---------------------------------------/SendKey
    ----------------------------/bin_mips
    ---------------------------------------/find
    ---------------------------------------/sendkey
    ----------------------------/modules
    ----------------------------------------/(all the .itcl files)
    ----------------------------------------/hackman.itcl
    ----------------------------------------/hackman.cfg

    Good luck!
     
  12. Dec 5, 2004 #372 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...
    I misplaced a bracket and slipped a revision level. The latest version will be found here. This could be a record for most version releases in one day.
     
  13. Dec 5, 2004 #373 of 1645
    bobbob20

    bobbob20 New Member

    45
    0
    Feb 11, 2003
    My actual Tivoweb directory is "/tivoweb-tcl". Guess it's kinda strange being in the root and all, but I guess my drive has been read/write for a few years anyway.

    Here's a "skin", I guess you could call it that, I made while messing around. Maybe others will find it useful too. Just use these in the "images" directory instead of the stock ones.

    Hope ya don't mind me adding to your program, PP. Thanks by the way.
     

    Attached Files:

  14. Dec 5, 2004 #374 of 1645
    SeanC

    SeanC ECT

    9,691
    21
    Dec 30, 2003
    Someplace
    Ver 3.1.4 is giving me this error:

    NONE can't use non-numeric string as operand of "!"
    while executing
    "if {!$UseCfg} {
    if {$series1} {set find $source_dir/bin_ppc/find} else {set find $source_dir/bin_mips/find}
    for {set i -1} {$i < 33} {incr i} {
    ..."
    (file "/var/hack/tivowebplus/modules/hackman.itcl" line 259)
    invoked from within
    "source $module "

    I have a series one so I had removed the mips directory.
     
  15. Dec 6, 2004 #375 of 1645
    bobbob20

    bobbob20 New Member

    45
    0
    Feb 11, 2003
    I've noticed in version 3.1.4 when you click one of those boot-time buttons and then press the Cancel button instead of the Save button, you'll end up going to the "Edit files and preferences..." without even typing in the password. Is this by design? Oh, and it ends up saving the option anyway even though you pressed Cancel.
     
  16. Dec 6, 2004 #376 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...
    It's trying to read the old .ini file and is picking up text instead of "0" or "1." All you have to do is delete the old .ini file and do a reload.
     
  17. Dec 6, 2004 #377 of 1645
    PortlandPaw

    PortlandPaw Woodstock-era Hacker

    1,057
    0
    Jan 11, 2004
    Chebeague...
    This could be tweaked a little. It is by design that rc.sysinit.author was written to the drive -- the editor screen gives you a chance to change it. So the "cancel" would cancel any changes subsequent to the write. But you shouldn't be able to go to the "Edit files and preferences" without giving the password first (if this option is set). I'll fix that in the next release.
     
  18. Dec 6, 2004 #378 of 1645
    m1fly

    m1fly New Member

    7
    0
    Nov 24, 2004
    Caldicot UK
    Installed 3.1.4
    Still no joy.

    hackman
    couldn't open "/etc/rc.d/rc.sysinit.author": no such file or directory
    can't read "data": no such variable
    NONE can't read "UseCfg": no such variable
    while executing
    "if {!$UseCfg} {
    if {$series1} {set find $source_dir/bin_ppc/find} else {set find $source_dir/bin_mips/find}
    for {set i -1} {$i < 33} {incr i} {
    ..."
    (file "./modules/hackman.itcl" line 259)
    invoked from within
    "source $module "

    If I add a line
    set UseCfg "1" in the hackman.itcl (Not sure where I should set this)
    I get the following error


    hackman
    couldn't open "/etc/rc.d/rc.sysinit.author": no such file or directory
    can't read "data": no such variable
    NONE can't read "TWpath": no such variable
    while executing
    "if {$TWpath == "xxx"} {set 2 "$tivowebpluspath/tivoweb &"
    set foundTWpath $tivowebpluspath
    set TWpath $foundTWpath
    set box1..."
    (file "./modules/hackman.itcl" line 286)
    invoked from within
    "source $module "

    Any ideas ? Same problem as the older versions I have tried.
    Tivo UK model. (Series1 PPC)
    Tivoweb 1.9.4 installed in /var/hack/tivoweb-tcl
    Hackman files
    /var/hack/tivoweb-tcl/modules/hackman.itcl
    /var/hack/tivoweb-tcl/modules/hackman.cfg
    /var/hack/tivoweb-tcl/images/
    /var/hack/tivoweb-tcl/bin_ppc/find
    /var/hack/tivoweb-tcl/bin_ppc/SendKey
     
  19. Dec 6, 2004 #379 of 1645
    SeanC

    SeanC ECT

    9,691
    21
    Dec 30, 2003
    Someplace
    Roger that, problem solved.
     
  20. Dec 6, 2004 #380 of 1645
    hobiecat

    hobiecat New Member

    4
    0
    Dec 6, 2004
    Hello,

    Running TivoWeb v1.9.4 with no issues on a Series1

    Today installed v1.3.4 of Hack Manager as detailed in your readme.

    Directory tree is:

    /var/hack/tivoweb-tcl/bin_mips/
    /bin_ppc/
    /images/
    /modules/

    Put the hackman files into these directories as instructed
    Execute permissions are set on the /bin files

    Reloading TivoWeb or even restarting TiVo gives the same results
    - as if hackman does not exist. No indication on tivoweb menu.

    If I shut down TivoWeb and start it manually at the prompt:
    =[tivo:root]-# tivoweb &
    [2] 190
    [1] Done tivoweb

    Any ideas how I might get tivoweb to recognize hackman?

    Thanks in advance
     

Share This Page

spam firewall

Advertisements