rails icon indicating copy to clipboard operation
rails copied to clipboard

TypeError: undefined is not an object

Open Wylan opened this issue 3 years ago • 1 comments

Hi,

I've recently noticed an error popping up in the extension log. It looks like it's maybe having some trouble when trying to pull information about the database schema version?

Ruby on Rails[14:08:49.546000] TypeError: undefined is not an object (evaluating 'response[9].split')
Ruby on Rails[14:08:49.943000] Extension encountered an uncaught exception:
/Users/wylan/Library/Application Support/Nova/Extensions/com.tommasonegri.Rails/Scripts/main.dist.js (Line 376, Column 28)
TypeError: null is not an object (evaluating 'noteParts[1]')
    @file:///Users/wylan/Library/Application%20Support/Nova/Extensions/com.tommasonegri.Rails/Scripts/main.dist.js:376:28
    forEach@[native code]
    @file:///Users/wylan/Library/Application%20Support/Nova/Extensions/com.tommasonegri.Rails/Scripts/main.dist.js:362:22
    @[native code]
    promiseReactionJob@[native code]

Let me know if there is any extra info I can provide to help track it down! 😄

Wylan avatar Mar 09 '22 22:03 Wylan

Hi there!

Thanks for the catch. Yes, it seems there is an issue with the About view of the sidebar. Can you send me the result of rails about command in the project you were working on?

It should be something like this:

Schermata 2022-03-10 alle 09 03 38

Thanks

tommasongr avatar Mar 10 '22 08:03 tommasongr