Comments (5)
In Website Agent:
"template": {
"xyz": "{% assign city = 'Tokyo' %}{{ weather[city] }}"
Also got nothing.
from huginn.
Also failed in JavaScript Agent.
Agent.receive = function() {
var events = this.incomingEvents();
for(var i = 0; i < events.length; i++) {
var a = 'Tokyo';
this.log(this.kvs.weather[a]);
}
}
And the log:
[00:00:00] INFO -- : Dry Run started
[00:00:00] ERROR -- : JavaScript error: TypeError: Cannot read properties of undefined (reading 'Tokyo')
[00:00:00] INFO -- : Dry Run finished
The Key Value Store Agent has been set to the controller of JavaScript Agent.
Unable to reproduce the results here. Maybe our version is different from yours? @knu
from huginn.
The problem is about Dry run, there is no output anyway. It seems that it is not connected to dry run?
In the generated event, the data was successfully obtained.
from huginn.
@tortoo was your original problem addressed then? Perhaps we can close this?
from huginn.
Sorry to see this message so late. Problem partially solved, still hoping to be able to call variables of Key Value Store Agent in such as Website Agent and JavaScript Agent, not just when generating an event. Thank you guys very much for your efforts!
from huginn.
Related Issues (20)
- diagrams not working
- Dependency Dashboard
- The recent Docker container images are broken HOT 8
- Add support for monospace font in PUSHOVER HOT 2
- Long log entries are truncated in Huginn interface
- TIMEZONE env variable not working
- help: Delay Agent implementation
- "Not found. Authentication passthru" error when trying to connect Twitter / X service HOT 2
- Unable to send email; trying to use SSL when it is supposed to be disabled HOT 5
- 'mysql_native_password' is not loaded HOT 1
- [Help] How to periodically update data on already emitted events
- Kad HOT 3
- How does Sentiment Agent work, exactly? HOT 2
- How can I avoid escapes in json? HOT 15
- SMTP no longer works without auth since PR#3398 HOT 8
- Using-the-Twilio-Agent improvement HOT 2
- Assign sub object of event as prop in agent options? HOT 2
- Digest Agent not working
- Multi-process setup instructions mention an non-existent docker-compose.yaml
- huginn/docker/multi-process/Dockerfile contains incorrect paths
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from huginn.