Closed abradshaw closed 8 years ago
@abradshaw have you the same behavior for all documents?
Yes, it does seem that way
Have you try the newest version? (2.4.2)
version 2.4.2. exhibits same behavior
[Enter steps to reproduce below:]
Atom Version: 1.8.0 System: Ubuntu 14.04.4 Thrown From: asciidoc-preview package, v2.4.2
Uncaught TypeError: Cannot read property 'parent' of null
At /home/natalie/.atom/packages/asciidoc-preview/node_modules/cheerio/lib/parse.js:55
TypeError: Cannot read property 'parent' of null
at Function.exports.update (/home/natalie/.atom/packages/asciidoc-preview/node_modules/cheerio/lib/parse.js:55:25)
at module.exports (/home/natalie/.atom/packages/asciidoc-preview/node_modules/cheerio/lib/parse.js:17:11)
at Function.exports.load (/home/natalie/.atom/packages/asciidoc-preview/node_modules/cheerio/lib/static.js:19:14)
at sanitize (/home/natalie/.atom/packages/asciidoc-preview/lib/renderer.coffee:92:3)
at Task.callback (/home/natalie/.atom/packages/asciidoc-preview/lib/renderer.coffee:28:10)
at /opt/atom/resources/app.asar/src/task.js:65:72
at /opt/atom/resources/app.asar/src/task.js:126:25
at Function.module.exports.Emitter.simpleDispatch (/opt/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
at ChildProcess.<anonymous> (/opt/atom/resources/app.asar/src/task.js:78:34)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at handleMessage (internal/child_process.js:686:10)
at Pipe.channel.onread (internal/child_process.js:440:11)
-4:09.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
2x -4:07.0 core:move-down (atom-text-editor.editor.is-focused)
7x -4:05.4.0 core:move-left (atom-text-editor.editor.is-focused)
23x -4:03.3.0 core:select-left (atom-text-editor.editor.is-focused)
-4:00.1.0 core:paste (atom-text-editor.editor.is-focused)
2x -3:58.5.0 core:move-down (atom-text-editor.editor.is-focused)
-3:57.6.0 core:move-left (atom-text-editor.editor.is-focused)
23x -3:56.5.0 core:select-left (atom-text-editor.editor.is-focused)
-3:48.9.0 tree-view:move (span.name.icon.icon-file-text)
-3:47.3.0 core:copy (atom-text-editor.editor.mini.is-focused)
2x -3:45.2.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-3:39.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-3:37.3.0 core:paste (atom-text-editor.editor.is-focused)
-3:29.7.0 asciidoc-preview:toggle (atom-text-editor.editor.is-focused)
-0:45.4.0 settings-view:open (div.asciidoc-preview.native-key-bindings)
-0:01.4.0 asciidoc-preview:toggle (atom-text-editor.editor.is-focused)
{
"core": {
"disabledPackages": [
"language-c",
"language-go",
"language-java",
"language-javascript",
"language-ruby",
"language-ruby-on-rails",
"language-sass",
"language-sql",
"language-clojure",
"language-csharp",
"language-make",
"language-objective-c",
"styleguide",
"language-yaml",
"language-toml",
"linter-coffeescript",
"language-gfm",
"hyperclick-markdown",
"language-markdown",
"markdown-preview-opener",
"markdown-scroll-sync",
"markdown-sort-list",
"markdown-toc",
"markdown-url-extract",
"markdown-writer",
"tidy-markdown",
"tool-bar-markdown-writer",
"markdown-preview"
],
"projectHome": "/home/natalie/Programming/",
"themes": [
"one-dark-ui",
"pen-paper-coffee-syntax"
]
},
"asciidoc-preview": {
"compatMode": true
}
}
# User
asciidoc-assistant, v0.2.0
asciidoc-image-helper, v1.0.0
asciidoc-preview, v2.4.2
autocomplete-asciidoc, v0.1.1
language-asciidoc, v1.5.1
linter, v1.11.11
linter-coffeelint, v1.1.2
linter-write-good, v0.6.1
markdown-writer, v2.3.4
package-settings, v1.1.0
package-switch, v0.5.0
pen-paper-coffee-syntax, v0.14.0
project-manager, v2.9.7
project-plus, v0.9.0
recent-projects, v0.11.2
tool-bar, v0.4.0
tool-bar-atom, v1.5.0
# Dev
No dev packages
@ParaplegicRacehorse can you close and reopen Atom?
The stackstrace that you provided come from 2.4.1. I suppose you have update and test without restart, I am right?
That is correct. No restart after update. Everything works well after restart; and continues to work well after upgrade to 2.5.1.
@ParaplegicRacehorse Good news! :smile:
@abradshaw can you retry with the latest version and restart after update?
Ok, for some reason Im failing to update to 2.5.1 - I wonder if its because Im using the RPM packaged version from UnitedRPMs
When I click on update I get the red box
/usr/lib64/atom/node_modules/settings-view/lib/package-card.js:709
Hide Stack Trace <#>
TypeError: Cannot read property 'substr' of null
at /usr/lib64/atom/node_modules/settings-view/lib/package-card.js:709:80
at /usr/lib64/atom/node_modules/settings-view/lib/package-manager.js:376:51
at /usr/lib64/atom/node_modules/settings-view/lib/package-manager.js:403:20
at exit
(/usr/lib64/atom/node_modules/settings-view/lib/package-manager.js:73:16)
at triggerExitCallback (/usr/lib64/atom/src/buffered-process.js:215:47)
at /usr/lib64/atom/src/buffered-process.js:229:18
at Socket.
On 19 June 2016 at 18:05, Ludovic Fernandez notifications@github.com wrote:
@ParaplegicRacehorse https://github.com/ParaplegicRacehorse Good news! π
@abradshaw https://github.com/abradshaw can you retry with the latest version and restart after update?
β You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asciidoctor/atom-asciidoc-preview/issues/184#issuecomment-227005204, or mute the thread https://github.com/notifications/unsubscribe/AAYqjMGmAVsl54IrgHkqzkyOwn5nUsS1ks5qNWjggaJpZM4I3mcR .
@abradshaw you have clearly a bug with your Atom installation.
Uninstall and install from the official Atom RPM https://atom.io/download/rpm
Yup, that did the trick, installed the rpm from the link you sent, updated to 2.5.1, closed and re-opened, seems to be working fine now.
Many many thanks !
On 19 June 2016 at 18:14, Ludovic Fernandez notifications@github.com wrote:
@abradshaw https://github.com/abradshaw you have clearly a bug with your Atom installation.
Uninstall and install from the official Atom RPM https://atom.io/download/rpm
β You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asciidoctor/atom-asciidoc-preview/issues/184#issuecomment-227005661, or mute the thread https://github.com/notifications/unsubscribe/AAYqjLrDsY2CbCifN4yyHaQwrwv-7EgRks5qNWrbgaJpZM4I3mcR .
very happy, to have helped you :smile:
[Enter steps to reproduce below:]
Atom Version: 1.8.0 System: "Fedora release Thrown From: asciidoc-preview package, v2.4.1
Stack Trace
Uncaught TypeError: Cannot read property 'parent' of null
Commands
Config
Installed Packages