drummerSupport icon indicating copy to clipboard operation
drummerSupport copied to clipboard

Zombie Tab (Empty outline, cannot close)

Open scotthansonde opened this issue 4 years ago • 6 comments

Since this afternoon I have a tab in Drummer that I cannot close. I had opened the cluelessnewbie blog.opml as an URL, but at some point the outline was blank and I cannot close the tab. (The 'x' to close the tab never appears.)

CleanShot 2021-10-14 at 18 44 41

The console shows this error repeatedly:

readHttpFile: url == http://oldschool.scripting.com/cluelessnewbie/, error == {
    "readyState": 0,
    "responseText": "",
    "status": 0,
    "statusText": "error"
}
oldschool.scripting.com/cluelessnewbie/:1 Failed to load resource: net::ERR_FAILED

(Note that 'blog.opml' is missing from the end of the URL.)

I backed up my outlines, and see these entries in prefs.json:

 "tabs": [
        {
            "flActive": false,
            "name": "No clues",
            "flReadOnly": true,
            "flInstantOutline": true,
            "serialnum": 0,
            "flLocked": false,
            "urlOutline": "http://oldschool.scripting.com/cluelessnewbie/",
            "urlOpmlFile": "http://oldschool.scripting.com/cluelessnewbie/",
            "socketserver": "ws://drummer.scripting.com:1232/"
        },
        {
            "flActive": true,
            "name": "Change notes",
            "flReadOnly": true,
            "flInstantOutline": true,
            "serialnum": 4,
            "flLocked": false,
            "urlOutline": "http://drummer.scripting.com/davewiner/drummer/changeNotes.opml",
            "urlOpmlFile": "http://drummer.scripting.com/davewiner/drummer/changeNotes.opml",
            "socketserver": "ws://drummer.scripting.com:1232/"
        }
    ],
    "lastInstantOutlineUrl": "http://drummer.scripting.com/cluelessnewbie/blog.opml"

(There's a tabs entry for Change notes even though there is no tab open for Change notes.)

Reloading the app and logging out then logging in again do not help. The zombie tab remains.

scotthansonde avatar Oct 14 '21 16:10 scotthansonde

@papascott -- i will show you how to close the zombie tab, but I want to know what you did, step by step, to get it there, so I can fix that problem.

That said --

Right click on the tab and choose Inspect.

Find the closebox, and make it visible, by editing its properties.

Then click in the close box to close it.

image

scripting avatar Oct 14 '21 19:10 scripting

@scripting I'm not sure how helpful this will be, but I think the only thing I did to provoke the error was... that I went to lunch. I left the Drummer page open on my Mac Book for about 90 minutes when I was away from my desk, and when I came back the tab was unresponsive.

scotthansonde avatar Oct 14 '21 20:10 scotthansonde

@papascott -- just checking in -- were you able to get rid of the tab?

scripting avatar Oct 15 '21 13:10 scripting

Oh yes, it worked. It took a couple of tries to get the changes to stick after a reload. Either I was too impatient, or I needed to open 3 or 4 tabs first to overwrite the bad tabs in the prefs.

scotthansonde avatar Oct 15 '21 13:10 scotthansonde

@papascott -- I started writing a longish comment and decided to record a voicemail instead.

No rush to listen to it, just some general observations, where we're at with Drummer and how scripting could help address some of these issues.

http://scripting.com/2021/10/15/voicemailScottHanson.m4a

PS: I'll probably put a link to this in the change notes too, it'll probably be of interest to a few other people. :-)

scripting avatar Oct 15 '21 13:10 scripting

Great, I'm about to go on a bike ride, so I can listen to it now! 😃

On Fri, Oct 15, 2021 at 3:46 PM Dave Winer @.***> wrote:

@papascott https://github.com/papascott -- I started writing a longish comment and decided to record a voicemail instead.

No rush to listen to it, just some general observations, where we're at with Drummer and how scripting could help address some of these issues.

http://scripting.com/2021/10/15/voicemailScottHanson.m4a

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/scripting/drummerSupport/issues/70#issuecomment-944315273, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCHNHMQDYQM5LLPHOWW2ELUHAWDHANCNFSM5GADR63A .

-- Scott Hanson

Email: @.*** Mobile: +49-171-5529568 Johmsweg 9a, 21266 Jesteburg, Germany

Day Job: http://www.mcdonalds-nordheide.de/

scotthansonde avatar Oct 15 '21 14:10 scotthansonde