Open sayyaff opened 7 years ago
@sayyaff hey! thanks for reporting the bug! But can I ask you to explain a little bit in details what were your actions before this happened? thanks!
Yeah sure I installed a package called Ionic-Preview which would give preview of the current app in atom it self. With that on I cannot save workspace
Link to the package https://atom.io/packages/ionic-preview
This also occurs when using the package "atom-latex", and trying to add its pdf preview tab to a workspace.
Steps to reproduce:
Atom: 1.40.0 x64 Electron: 3.1.10 OS: Ubuntu 18.04.3 Thrown From: save-workspace package 0.5.0
Uncaught TypeError: tab.getURI is not a function
At /home/ubuntu/.atom/packages/save-workspace/lib/models/paneMap.js:32
TypeError: tab.getURI is not a function
at formatPaneData (/packages/save-workspace/lib/models/paneMap.js:32:19)
at buildPane (/packages/save-workspace/lib/models/paneMap.js:24:11)
at /packages/save-workspace/lib/models/paneMap.js:10:45
at Array.map (<anonymous>)
at buildPaneMap (/packages/save-workspace/lib/models/paneMap.js:10:33)
at Workspace.save (/packages/save-workspace/lib/models/workspace.js:31:29)
at /packages/save-workspace/lib/commands/save.js:18:22)
at InputWorkspaceNameView.confirmed (/packages/save-workspace/lib/views/input-workspace-name-view.js:46:10)
at InputWorkspaceNameView.module.exports.SelectListView.confirmSelection (/packages/atom-beautify/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at /packages/atom-beautify/node_modules/atom-space-pen-views/lib/select-list-view.js:139:19)
at HTMLOListElement.dispatch (/packages/atom-beautify/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLOListElement.elemData.handle (/packages/atom-beautify/node_modules/jquery/dist/jquery.js:4121:28)
-8:16 save-workspace:save (atom-pane.pane.active)
-8:14.3.0 core:confirm (input.hidden-input)
3x -2:02.8.0 core:save (div.panels-item)
-0:04.8.0 save-workspace:save (webview.)
atom-beautify 0.33.4
atom-doxit 0.2.0
atom-latex 0.8.11
highlight-line 0.12.0
highlight-selected 0.16.0
linter-cppcheck 0.2.3
pdf-view 0.72.0
save-workspace 0.5.0
sort-lines 0.19.0
[Enter steps to reproduce:]
Atom: 1.16.0 x64 Electron: 1.3.13 OS: Ubuntu 16.04.2 Thrown From: save-workspace package 0.4.0
Stack Trace
Uncaught TypeError: tab.getURI is not a function
Commands
Non-Core Packages