Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions #10

Closed
fceller opened this issue Dec 14, 2011 · 3 comments
Closed

Actions #10

fceller opened this issue Dec 14, 2011 · 3 comments
Assignees

Comments

@fceller
Copy link
Contributor

fceller commented Dec 14, 2011

  1. Actions:
    Was ich nicht ganz verstanden habe: Wo definiere ich die Actions? Speichere ich die in die Datenbank? Muss ich dafür dann
    die Konsole benutzen? Oder kann ich irgendwo eine JS Datei ablegen und die laden lassen?
@ghost ghost assigned fceller Dec 14, 2011
@a2800276
Copy link
Contributor

a2800276 commented Apr 5, 2012

More importantly, do they work!? I tried the current master (6c14d0e) and head from a couple of days ago (b2e091d) on my machine:

$ uname -a
Darwin Tims-MacBook-Pro.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; 
root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64

and I get the following errors during server startup:

(...)
[32787] INFO Have Fun!
[32787] ERROR JavaScript exception in file \'/Users/tbe/projects/nosql/avo/bin/var/avocado/_ACTIONS/api.js\' at 108,1: ReferenceError: defineAction is not defined
[32787] ERROR !defineAction(\"help\",
[32787] ERROR !^
[32787] ERROR stacktrace: ReferenceError: defineAction is not defined\n    at     /Users/tbe/projects/nosql/avo/bin/var/avocado/_ACTIONS/api.js:108:1\n    at /Users/tbe/projects/nosql/avo/bin/var/avocado/_ACTIONS/api.js:121:85
(... 8 more for various JS files in ACTIONS ...)
[32792] FATAL cannot load actions from directory \'/Users/tbe/projects/nosql/avo/bin/var/avocado/_ACTIONS\'

before the errors:

[32787] INFO using database action files at \'/Users/tbe/projects/nosql/avo/bin/var/avocado/_ACTIONS\'    
[32787] INFO using system action files at \'/Users/tbe/projects/nosql/avo/bin/share/avocado/js/actions/system\'
[32787] INFO using JavaScript modules path \'/Users/tbe/projects/nosql/avo/bin/share/avocado/js/server/modules;/Users/tbe/projects/nosql/avo/bin/share/avocado/js/common/modules\'

All these paths exist and have JS files in them.

@fceller
Copy link
Contributor Author

fceller commented Apr 5, 2012

Just try a

rm -rf /Users/tbe/projects/nosql/avo/bin/var/avocado/_ACTIONS

This is a leftover from an old version.

@a2800276
Copy link
Contributor

a2800276 commented Apr 5, 2012

yupp, thanks!

@fceller fceller closed this as completed May 22, 2012
@tthil tthil mentioned this issue Jul 22, 2016
21 tasks
@tthil tthil mentioned this issue Aug 4, 2016
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants