calling an npm module from a function within a function
i'd be grateful for some help here. i attach two examples of functions, one works, the other doesn't.

i have simplified the problem down to these trivial examples.

i am trying to use external npm modules from within a function within a function. this used to work in earlier versions of node red.

w…
[image] andrei:

a quick fix is to comment the line in the "on message" tab for the function node that is troubled

when you add a module in "setup", the "import as" name is made available to the function tabs...

[image]

... so you dont need to declare it nor do you need to set/get it from co…
yes, you can using a module.

you might have seen examples of module where a only a symbol is given, e.g. from the docs:

data = mx.sym.variable('data')

fc1 = mx.sym.fullyconnected(data, name='fc1', num\_hidden=128)

act1 = mx.sym.activation(fc1, name='relu1', act\_type="relu")

fc2 = mx.sym.fullyconn… functions prefixed with “common” are part of our example framework and not part of fmod itself. this code is added to the examples via common.cpp and common\_platform.cpp. developers would usually replace this code with their own application code. Call statement Transfers control to a Sub procedure, Function procedure, or dynamic-link library (DLL)procedure.



I believe that you cannot use "CALL" to call a file which is not executable.  

same goes with SHELL...



Call Shell(AppName, 1) Where AppName contains the path of the Executable file.



try it with any other directory and try calling an executable.. it will work.



If you try calling a .txt or .bmp, it will give you the same error message... more information: [c++ friend functions](http://www.tutorialspoint.com/cplusplus/cpp_friend_functions.htm) you are mixing up "for all iterators i" with "for some specific kind of iterator i".

what if i decide to call foo<std::vec::intoiter<string>>? then you have a function that takes an intoiter<string>, but you tried to call it with an skip<intoiter<string>>, which is a different type. hence a type mi… this is done in the smack testcases quite frequently. you can look at the parsebasicitem test case as an example.

this does use a testing utility class that is not part of the smack or smackx jars, but you can easily duplicate that if you need to. so if you want to be able to run them as separate runs, you’ll still need some way of communicating between them. one mechanism we provide for that is by serializing daml values as json through the --input-file and --output-file options to daml script. so in your case, you should make sure that the … here is an example notebook

<https://gist.github.com/volkerh/465925d24accc940f7a0a0b1f5f40f7a#file-map_array_example-ipynb>

map\_array\_example.ipynb

{

"cells": [

{

"cell\_type": "code",

"execution\_count": 1,

"id": "satellite-momentum",

"metadata": {},

"outputs": [],

"source… wow.

good idea with the packages. i have compared it with another system. the package “opennms-plugin-protocol-radius” is missing here. (we use radius login)

i installed it and opennms works now.

but in the meantime i have deactivated 5 adapters. i’ll take that back one by one. let’s see what hap… can you try with other dropdowns? if its working , nothing wrong with your code and something to do with that specific drop down.