Showing results 1 to 7 of 7

Thread: Daemon GADGET RUNTIME error problem

  1. #1

    Default Daemon GADGET RUNTIME error problem

    Hi.
    Just installed daemon tools 4.35.5 after a windows vista home premium complete reinstallation. It's working fine, but the GADGET is NOT.

    Everytime I load windows sidebar or I load daemon gadget I get an ERROR message ("A RUNTIME ERROR HAS OCURRED. DO YOU WISH TO DEBUG?") and it askes me if I want to DEBUG the error or not. It happens ALL the time it loads. So, it's with some kind of problem. The system is clean, with only drivers and windows security updates installed.

    I could just use the software, but I kind of liked the gadget. It's cool. Hope we can fix it easily...

    Antecipating a question that will be made, the result for the debugging is:
    1) I click YES, I wish to debug.
    2) It asked me to select a debugger (A "just in time debugging" window. That's the title of the window that pops up after I click YES). The only option available is:
    "New instance of Microsoft Script Editor". So I click YES AGAIN.
    3) THE RESULT IS:
    disableAddDrive = false;
    function d(id)
    {
    return document.getElementById(id);
    }
    function removeElement(id){
    obj = d(id);
    if(obj)
    obj.parentNode.removeChild(obj);
    }
    function addClass(element, value) {
    if (!element.className) {
    element.className = value;
    } else {
    var newClassName = element.className;
    newClassName += " ";
    newClassName += value;
    element.className = newClassName;
    }
    }
    function hasClass (element, value) {
    if (typeof element == 'undefined' || element==null ) { return false; }
    if(element.className) {
    str = element.className.split( " " );
    for( i = 0; i < str.length; i++ ){
    if(str[i]==value) return true;
    }
    }
    return false;
    }
    function removeClass(element, value) {
    if (element.className) {
    var newClassName = "";
    str = element.className.split( " " );
    for( i = 0; i < str.length; i++ ){
    if( str[i] != value && str[i]!="" ) newClassName += ( i==0 ? "" : " " ) + str[i];
    }
    element.className = newClassName;
    }
    return 0;
    }
    function addClassSimple(element, value) {
    element.className = value;
    }
    function removeClassSimple(element) {
    element.className = '';
    }
    function bindAddClass()
    {
    addClass (this, 'hover')
    }
    function chengeTab(num)
    {
    removeClassSimple(d('tabArea'));
    removeClassSimple(d('content'));
    removeClassSimple(d('mainControls'));
    addClassSimple(d('tabArea'), 'tab'+num);
    addClassSimple(d('content'), 'cont'+num);
    addClassSimple(d('mainControls'), 'ctrl'+num);
    addClassSimple(d('tab'+num), 'selected');
    for (i=1; i<=3; i++){
    if(i!=num){
    removeClassSimple(d('tab'+i));
    }
    }
    }

    flyoutFileName = '';
    function blockContent (remove_on_click, loader, opacity)
    {
    var imgBlockContent = document.createElement('img');
    imgBlockContent.setAttribute('src','img/1.gif');
    imgBlockContent.className = "positionAbsolute blockStandart";
    var mainConteiner = d('mainDTGadjet');
    imgBlockContent.style.width = (mainConteiner.offsetWidth - 8) + "px";
    //d('alert_div').innerHTML = imgBlockContent.style.height;
    imgBlockContent.style.height = mainConteiner.offsetHeight + "px";
    imgBlockContent.id = "block_content";
    if(opacity) {
    var opacityBlockContent = document.createElement('img');
    opacityBlockContent.setAttribute('src','img/1.gif');
    opacityBlockContent.className = "positionAbsolute opacity_80 blockLoader";
    opacityBlockContent.style.width = (mainConteiner.offsetWidth-11) +"px";
    opacityBlockContent.style.height = (mainConteiner.offsetHeight - 57) + "px";
    opacityBlockContent.id = "block_content_opacity";
    mainConteiner.appendChild(opacityBlockContent);
    }
    if(remove_on_click)
    imgBlockContent.attachEvent('onclick', function(){ return function(){removeElement('block_content'); bodyHideFlyout();}}());
    mainConteiner.appendChild(imgBlockContent);
    if(loader)
    {
    imgLoader = document.createElement('img');
    mainConteiner.offsetHeight
    }
    }
    function unBlockContent ()
    {
    removeElement('block_content');
    removeElement('block_content_opacity');
    }
    function unBlockContentOnHide()
    {
    unBlockContent();
    d(flyoutFileName+'_selected').style.display = 'none';
    if( disableAddDrive == true && flyoutFileName=='add_drive') {}
    else
    d(flyoutFileName).style.display = 'block';
    }
    function showFlyout()
    {
    System.Gadget.Flyout.show = true;
    }
    function hideFlyout()
    {
    System.Gadget.Flyout.show = false;
    }
    function bodyHideFlyout()
    {
    if(System.Gadget.Flyout.show == true)
    {
    hideFlyout();
    d(flyoutFileName+'_selected').style.display = 'none';
    d(flyoutFileName).style.display = 'block';
    }
    }
    function flyoutShowHide(fileName)
    {
    if(System.Gadget.Flyout.show == true) {
    hideFlyout();
    d(flyoutFileName+'_selected').style.display = 'none';
    if( disableAddDrive == true && flyoutFileName=='add_drive')
    d(flyoutFileName).style.display = 'none';
    else
    d(flyoutFileName).style.display = 'block';
    System.Gadget.Flyout.file = fileName+".html";
    } else {
    System.Gadget.Flyout.file = fileName+".html";
    flyoutFileName = fileName;
    showFlyout();
    blockContent(true);
    d(fileName).style.display = 'none';
    d(fileName+'_selected').style.display = 'block';
    }
    }
    function returnGadgetOnHide(){
    System.Gadget.Flyout.onHide = unBlockContentOnHide;
    }
    function RemoveS(str)
    {
    if(str.length > 2) {
    return str.substr(1, str.length-2);
    }
    return "";
    }

    function dTLoader()
    {

    d('dt_loader').style.backgroundPosition = "-"+Gadget.loaderStep+"px 0";
    if (Gadget.loaderStep == 715)
    Gadget.loaderStep=0;
    else
    Gadget.loaderStep += 65;
    Gadget.dtLoaderTimeout = setTimeout("dTLoader()",60);
    }

  2. #2
    GERMAN TRANSLATOR
    Blazkowicz's Avatar
    Join Date
    09.11.2005
    Posts
    6,401
    Make something idiot proof, but then they just make a better idiot
    Peace Through Power

  3. #3

    Default

    Hi. Your link point direct to a download location. I have installed the zip file, and this new gadget didn't show any in its first run.
    So, yes you solved the problem.

    Why isn't this gadget in the latest version do daemon tools yet?

  4. #4
    Master

    Sway's Avatar
    Join Date
    09.07.2009
    Posts
    1,966

    Default

    You cannot install .zip file. DTLite.zip contains DTLite.gadget file. You should unzip this file and run new gadget setup by double click on it.

  5. #5

    Default

    When I said I installed the zip file you posted, I meant I installed the gadget that was inside it. LOL¹²³

    Anyway, Why isn't this gadget in the latest version do daemon tools since so many posts inform the same bug I have mentioned here?

  6. #6
    Master

    Sway's Avatar
    Join Date
    09.07.2009
    Posts
    1,966

    Default

    http://forum.daemon-tools.cc/f19/pro...tml#post120972

    Gadget was updated after DT Lite 4.35.5 release.

  7. #7

    Default

    The Daemon Tools I have installed and experienced this problem is 4.35.5 as I said in the first message.

Bookmarks

Posting Rules

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