Server issue with GridSpec - follow up from gitter

@philippjfr
I noticed that on gitter you replied to Andrew comment from July 30th 2019 18:16, quoted here for context:

DocumentLifeCycleHandler on_session_destroyed callback
<bound method Viewable._server_destroy of GridSpec(sizing_mode='stretch_both')
failed with following error: 'tuple' object has no attribute '_cleanup'

through panel serve

with:

And yes, that error means something but there’s already an issue.

Can you please point me to the issue? I’m having the same problem and I’m not sure if there’s anything I can do interim to get around it.

Thanks.

It looks like there was this issue but it doesn’t seem like that actually fixed the concrete bug. I’ll try to push a fix and get it into 0.8 due out today.

I’ve pushed a PR with a fix here.

Awesome! Thanks for the super fast response :slight_smile: I’ll test it tomorrow