The next chapter in my journey into errors.

14 views
Skip to first unread message

shykitten55

unread,
Sep 21, 2017, 2:33:53 AM9/21/17
to Node-RED
Again, I am not doing this on purpose.  I really want to learn about node-red (or I think I do) and am trying things.

Story:
With the MQTT kinda working, I was wanting to log the data as something to do.
The easiest way was with sql - or so I thought.
I just write the packets out to a file - as someone wrote somewhere - and the "program" can make real sense of it to make the times human readable.

So I looked around and found mention of sqlite and so on.

Now when I load the flow with NO EXTRA stuff added/loaded NR refuses to flow.   It complains about "missing node types".

I could accept that HAD I added any new nodes on said flow.

All I did was install new nodes.

This is what I get from the node-red-start that seems of importance.

There is also a LARGE mention of "audio" - but the only audio node I use is espeak to say alerts.
But it seems to take up a lot of lines in the report.

And at the botton:  sqlitedb.

I couldn't remove it from the palette so I just took it out of the .node-red/node-modules directory.
So if it isn't there, why is it trying to load it?   I can't see the connection.

Now:  Ok, I accept searching the file which is "running" (or trying to be) there is a couple of lines with sqlite in them.
I seriously don't know HOW they got there.

Further more:  As the "big red box" with the error is there and won't close, when I try "search flow" I can't get o the top of the box to enter the search string.

ITMT I shall try to read the flow and work out "where it fits in to the big picture" but I am not going to hold my breath while doing it.



21 Sep 16:12:42 - [info] Node-RED version: v0.17.5
21 Sep 16:12:43 - [info] Node.js  version: v6.11.3
21 Sep 16:12:43 - [info] Linux 4.9.35-v7+ arm LE
21 Sep 16:12:45 - [info] Loading palette nodes
21 Sep 16:12:57 - [info] Dashboard version 2.5.0 started at /ui
21 Sep 16:12:59 - [warn] ------------------------------------------------------
21 Sep 16:12:59 - [warn] [audio] Error: Could not locate the bindings file. Tried:
→ /home/pi/.node-red/node_modules/lame/build/bindings.node
→ /home/pi/.node-red/node_modules/lame/build/Debug/bindings.node
→ /home/pi/.node-red/node_modules/lame/build/Release/bindings.node
→ /home/pi/.node-red/node_modules/lame/out/Debug/bindings.node
→ /home/pi/.node-red/node_modules/lame/Debug/bindings.node
→ /home/pi/.node-red/node_modules/lame/out/Release/bindings.node
→ /home/pi/.node-red/node_modules/lame/Release/bindings.node
→ /home/pi/.node-red/node_modules/lame/build/default/bindings.node
→ /home/pi/.node-red/node_modules/lame/compiled/6.11.3/linux/arm/bindings.node
21 Sep 16:12:59 - [warn] [filter-filename] Error: filter already registered (line:45)
21 Sep 16:12:59 - [warn] ------------------------------------------------------
21 Sep 16:12:59 - [info] Settings file  : /home/pi/.node-red/settings.js
21 Sep 16:12:59 - [info] User directory : /home/pi/.node-red
21 Sep 16:12:59 - [info] Flows file     : /home/pi/.node-red/flows_PIFACE.json
21 Sep 16:13:00 - [info] Server now running at http://127.0.0.1:1880/
21 Sep 16:13:00 - [info] Waiting for missing types to be registered:
21 Sep 16:13:00 - [info]  - sqlitedb

Cat

unread,
Sep 21, 2017, 2:48:42 AM9/21/17
to node...@googlegroups.com
Well, here's a twist:

Pressing the "find in flows" (as mentioned) is kind of obstructed, I took a chance and typed sqlite and pressed enter.

Hey!  It worked!  It found "sqlite" being referenced in a flow.
But here's the kicker!   FLOW 2
I just managed to get to flow 2 on the screen and zoomed out as far as possible.   Believe me when I say I have looked in the other corners.  Nothing to be found.

I pressed DEPLOY and it still says the nodes are there.

HELP!   I don't understand why the program thinks the flow is there when it isn't.

P.S.  I admit I did HAVE a flow there for trial, but it didn't do what I wanted so I deleted it - and pressed DEPLOY.



--
http://nodered.org
 
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/4491pNaHU7M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/8fb2dec9-e8a9-4644-8984-2372e43e73c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

sqlite search result.png

Cat

unread,
Sep 21, 2017, 3:00:52 AM9/21/17
to node...@googlegroups.com
RESOLVED.

"menu/flows/delete"
DEPLOY
no errors!


However, may I please ask that the "big red box" showing errors be movable so if you want to search flows you can see what you are typing?


Reply all
Reply to author
Forward
0 new messages