Open TC1206 opened 5 years ago
Please enable debug mode and show me the log when pop-up is opened. https://github.com/sienori/Tab-Session-Manager/wiki/Q&A-How-to-use-debug-mode
Thanking you for your reply much appreciated. How do i show you the pop up when it is opened?. i have tried print screening it into word document and uploading it here but it wont accept the format or it doesn't look right. I have tried a couple of other things but it says try again. I do have it in a word document that sorta did upload but it looks like this below. Not sure if that is helpful to you or if it contains the info you need. it looks completely different to the print screen in the actual document. Any help would be appreciated. Thank you
With the debugger open, click the toolbar icon.
Debug logs are displayed on the Console
tab.
https://send.firefox.com/download/ce683053e6cf50c3/#bDOEMnIdT6h0EGe7dkrdVQ
You do not need to paste it into a word file to send an image. You can drag and drop image files into the GitHub comment box. https://help.github.com/en/articles/file-attachments-on-issues-and-pull-requests
I´m having the same problem. Here it is what appears at the console when the popup is opened: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ‘https://api.github.com/_private/browser/stats’. (Reason: Credential is not supported if the CORS header ‘Access-Control-Allow-Origin’ is ‘*’).
I'm having the same issue. The following is after starting from a clear console log in Firefox and clicking the Tab Session Manager icon once:
[info] popup/components/PopupPage: init() popup.js:1:72442
[info] background/background: onMessageListener()
Object { message: "getInitState" }
background.js:1:67100
[debug] popup/actions/controlSessions: getSessions() null
Array(6) [ "id", "name", "date", "tag", "tabsNumber", "windowsNumber" ]
popup.js:1:72442
[info] background/background: onMessageListener()
Object { message: "getSessions", id: null, needKeys: (6) […] }
background.js:1:67100
[debug] background/getSessions: getSessions() null
Array(6) [ "id", "name", "date", "tag", "tabsNumber", "windowsNumber" ]
background.js:1:67100
[debug] background/sessions: getAll()
Array(6) [ "id", "name", "date", "tag", "tabsNumber", "windowsNumber" ]
background.js:1:67100
[error] background/sessions: getAll()
error { target: IDBRequest, isTrusted: true, srcElement: IDBRequest, currentTarget: IDBRequest, eventPhase: 2, bubbles: true, cancelable: true, defaultPrevented: false, composed: false, timeStamp: 1227273, … }
background.js:1:67100
[error] background/getSessions: getSessions()
IDBRequest { error: DOMException, source: IDBObjectStore, transaction: IDBTransaction, readyState: "done", onsuccess: onsuccess(), onerror: onerror() }
background.js:1:67100
[error] popup/components/Error: Error()
Object { isError: true, type: "noConnection" }
popup.js:1:72442
[info] popup/components/PopupPage: openNotification()
Object { message: "Tab Session Manager has been updated!", type: "info", duration: 20000, buttonLabel: "See more", onClick: onClick() }
popup.js:1:72442
[error] popup/components/Error: Error()
Object { isError: true, type: "noConnection" }
popup.js:1:72442
[info] settings/settings: setSettings() isShowUpdated false popup.js:1:72442
In my case, it looks like the IndexedDB of Tab Session Manager was corrupt. I moved only the directory for TSM under [firefox profile]/storage/default/ and let Firefox recreate a new/empty database, then re-imported my sessions from a .json backup file (similar to steps on the wiki). That resolved the issue for me.
I'm having similar issues (clicking on the icon opens up TSM, but only for a second or so.) Have followed the instructions to debug which resulted in the following:
Any help is appreciated.
Short description
Steps to reproduce
Expected result
Actual result
Platform information
Additional context