Giter Club home page Giter Club logo

bipio's Introduction

NOTICE: This repository has been DEPRECATED. Do not use.


Welcome to the bip.io API Server (Snow 0.4)

bip.io is Billion Instructions Per I/O - For People and Robots.

Imagine you can send a single standard payload and have a limitless host of API's orchestrate at your command.

That's what bip.io does.

NPM

Follow @bipioapp on Twitter for regular news and updates.


bip.io is a nodejs based web automation framework that runs 'bips'. A Bip is a web automation agent. A Bip can connect many different web services and perform useful work. It can act on your behalf or perform at your command.

Bips can take actions in sequence or in parallel, and chain web services together as you like. They can be put to work via Web Hooks, Email or Trigger when something happens.

bip.io can be installed alongside your existing open source app or prototype for out-of-band message transformation, feed aggregation, queuing, social network fanout or whatever you like, even on your Raspberry Pi.

This server software is a RESTful JSON API supporting account level namespacing and multiple domains (fqdn) per account. Clients authenticate over HTTP Basic.

bip.io is dynamic, flexible, fast, modular, opinionless and GPLv3 open source.

Find out more in the wiki.

Pods

Pods are the standalone service containers bip.io uses to encapsulate and standardize the world's API's. Supported Services are growing fast, and open source.

This server ships with a few handy 'Pods' which you can use right away - Email, Text/HTML/Markdown Templating, Flow Control, Syndication, Web Hooks and Time.

Extra Pods can be found in the master repository.

To install a pod :

npm install bip-pod-{pod-name}
./tools/pod-install.js -a {pod-name}

And follow the instructions.

Feel free to craft your own.

Requirements

SMTP Bips are available out of the box with a Haraka plugin. Configs under bipio-contrib/haraka.

Installation

docker (offical)

Find It Here

npm (global)

sudo npm install -g bipio
bipio

npm (local)

sudo npm install bipio
cd node_modules
npm start

git

git clone [email protected]:bipio-server/bipio.git
cd bipio
npm install
node . (or `npm start`)

Visual Tools

The bip.io server is a light weight headless API server and ships without a User Interface (UI). The official UI can be found on the bip.io hosted platform. It's completely free, will run on all desktops and most tablets.

ScreenShot

To learn about the UI, the community knowledgebase is the best place to start.

Although bip.io is a hosted cloud platform, you can still use it to manage your own bip.io server with a feature called 'Mounts'

Sign in to bip.io to mount your local install from your browser under My Account > Mounts > Create Mount.

Server Mount

Mounting Security Notes

Be sure to answer yes to the SSL question during setup to install a self signed SSL certificate.

Enable SSL? This will let you mount this server from the https://bip.io dashboard :

This will avoid any browser security restrictions when mounting your server via the hosted website. You must visit your bipio server in a browser first and accept the self signed certificate, or the mount may not work eg : https://localhost:5000/status

The UI is a thin client which is loaded entirely into your browser. Once loaded you can reach any bipio server your browser can connect to such as from behind any firewall, over VPN or IP tunnel etc.

Technical Notes

When setting bip.io up for the first time, the install process will enter interactive mode, saving the generated config to config/default.json.

The location of the config file can be overrideen using the NODE_CONFIG_DIR environment variable.

export NODE_CONFIG_DIR=<path_to_your_config_directory>

Be sure to have a MongoDB server and Rabbit broker ready and available before install. Otherwise, follow the prompts during the install process to get a basically sane server running that you can play with.

For Ubuntu users, a sample upstart script is supplied in config/upstart_bip.conf which should be copied to /etc/init and reconfigured to suit your environment.

If you have a more complex deployment environment and the packaged sparse config doesn't suit, don't worry! Set the environment variable BIPIO_SPARSE_CONFIG to the path of your preferred config file, and it will use that instead.

For a non-interactive setup (ie: make install without any user interaction) - set environment variable HEADLESS=true

bip.io does not provide any load balancing beyond node-cluster. It can provide SSL termination but this is unsuitable for a production environment. If you need SSL termination this should be delegated to the forward proxy of your choice such as Nginx, Apache, HAProxy etc.

Developing and Contributing

A healthy contributor community is great for everyone! Take a look at the Contribution Document to see how to get your changes merged in.

Support

Please log issues to the repository issue tracker on GitHub.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

bipio's People

Contributors

alfonsogoberjr avatar dialaarja avatar elieyoussef avatar marvettefeghali avatar mjpearson avatar offlinehacker avatar potherca avatar thomson avatar tuddman avatar wissamsaikali avatar yyken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bipio's Issues

How to resolve the bipio installation error?

I have installed MongoDB and RabbitMQ in the machine.
While running install npm bipio command in the ubuntu ,i am getting following error

[TypeError: Cannot read property 'sanitize' of undefined]

Config written to : /home/selvi/node_modules/bipio/config/default.json

IMPORTANT : Ensure to remember your API password

RabbitMQ may need additional configuration. Check the 'rabbit' section in the config file.

To start bipio server : node ./src/server.js - the REST API will be listening at http://localhost:5000

See docs at https://github.com/bipio-server/bipio for more information.
info: WORKER:PID:4396:1416395642640:Resolvable Interface lo:127.0.0.1
info: WORKER:PID:4396:1416395642640:Resolvable Interface lo:::1
info: WORKER:PID:4396:1416395642640:Resolvable Interface wlan0:192.168.2.28
info: WORKER:PID:4396:1416395642641:Resolvable Interface wlan0:fe80::6627:37ff:fefa:97f5
info: WORKER:PID:4396:1416395642699:POD:Registering Cron:syndication:feed
info: WORKER:PID:4396:1416395642710:POD:Registering Cron:syndication:subscribe
info: WORKER:PID:4396:1416395642755:RABBIT:Connected
info: WORKER:PID:4396:1416395642755:RABBIT:Connected
Trace: { [MongoError: insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }]
name: 'MongoError',
code: 11000,
err: 'insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }' }
at Dao.app.logmessage as _log
at Promise. (/home/selvi/node_modules/bipio/src/managers/dao-mongo.js:423:16)
at Promise. (/home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mpromise/lib/promise.js:172:8)
at Promise.EventEmitter.emit (events.js:95:17)
at Promise.emit (/home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mpromise/lib/promise.js:84:38)
at Promise.reject (/home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mpromise/lib/promise.js:111:15)
at Promise.error (/home/selvi/node_modules/bipio/node_modules/mongoose/lib/promise.js:95:15)
at handleSave (/home/selvi/node_modules/bipio/node_modules/mongoose/lib/model.js:95:15)
at /home/selvi/node_modules/bipio/node_modules/mongoose/lib/utils.js:408:16
at /home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mongodb/lib/mongodb/collection/core.js:120:18
error: WORKER:PID:4396:1416395642924:MongoError: insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }
Trace: { [MongoError: insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }]
name: 'MongoError',
code: 11000,
err: 'insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }' }
at Dao.app.logmessage as _log
at DaoMongo.errorParse (/home/selvi/node_modules/bipio/src/managers/dao-mongo.js:332:10)
at Promise. (/home/selvi/node_modules/bipio/src/managers/dao-mongo.js:463:25)
at Promise. (/home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mpromise/lib/promise.js:172:8)
at Promise.EventEmitter.emit (events.js:95:17)
at Promise.emit (/home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mpromise/lib/promise.js:84:38)
at Promise.reject (/home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mpromise/lib/promise.js:111:15)
at Promise.error (/home/selvi/node_modules/bipio/node_modules/mongoose/lib/promise.js:95:15)
at handleSave (/home/selvi/node_modules/bipio/node_modules/mongoose/lib/model.js:95:15)
at /home/selvi/node_modules/bipio/node_modules/mongoose/lib/utils.js:408:16
error: WORKER:PID:4396:1416395642926:MongoError: insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }
{ [MongoError: insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }]
name: 'MongoError',
code: 11000,
err: 'insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }' }
make: *** [install] Error 1
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! weird error 2
npm ERR! not ok code 0

License & Commercial Permissions

"If you'd like to integrate BipIO with your proprietary system, GPLv3 is likely incompatible. To secure a Commercial OEM License for Bipio, please reach us"
Well, could someone please explain this statement? As far as I know, GPL licenses mostly allow use in proprietary for profit systems, and not the contrary.

bips auth issues

I built a bips (all pods design by myself) with config.auth : none.When I request to this bips, still require my auth. But even if i input my username, password, it returns: Unauthorized.
I have no ideas how to handle this situation.

domain cannot changed when set domain_public

I set domain_public in config with localhost:5000 and domain is localhost. but when I setup bipio server, I found the mongodb domain document still store admin.localhost as name. Is it a issues?

How to resolve the acess installation error in bipio?

I am getting the following error message,when i give npm install -g bipio command in ubuntu terminal

npm http GET https://registry.npmjs.org/bipio
npm http 304 https://registry.npmjs.org/bipio
npm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules/bipio'
npm ERR! { [Error: EACCES, mkdir '/usr/local/lib/node_modules/bipio']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/usr/local/lib/node_modules/bipio',
npm ERR! fstream_type: 'Directory',
npm ERR! fstream_path: '/usr/local/lib/node_modules/bipio',
npm ERR! fstream_class: 'DirWriter',
npm ERR! fstream_stack:
npm ERR! [ '/usr/lib/nodejs/fstream/lib/dir-writer.js:36:23',
npm ERR! '/usr/lib/nodejs/mkdirp/index.js:37:53',
npm ERR! 'Object.oncomplete (fs.js:107:15)' ] }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.13.0-32-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "bipio"
npm ERR! cwd /home/selvi
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /usr/local/lib/node_modules/bipio
npm ERR! fstream_path /usr/local/lib/node_modules/bipio
npm ERR! fstream_type Directory
npm ERR! fstream_class DirWriter
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/usr/local/lib/node_modules/bipio'
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/dir-writer.js:36:23
npm ERR! fstream_stack /usr/lib/nodejs/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/selvi/npm-debug.log
npm ERR! not ok code 0

How to deploying on security domain

When I deployed bipio to my security domain https://proxy.xxxx.com.
I got response status 500 errors. I tested others api, they can works
How should I debug bipio deploying security domain?

I've updated domain_public as proxy.xxxx.com

Where to include the root certificate in the bipio installation process?

When i give npm install bipio in mid of the installation process,it shows in highlighted text as
Downloaded the latest Root Certificate Authorities. Restart your server to use them.
I have downloaded certificate.But,I don't know whether it was correct certificate or not.How can i include that certificate in bipio installation process.

Scheduled Bip

Hey,
I'm looking at the documentation and trying to determine if theres a "Scheduled Task" type bip, where an action can be run on a schedule rather than being kicked off via an event. Does Bip support anything like that?

How to resolve the inqiurer error message?

when i give make install, i am getting following error message

/tools/git-setup.sh

module.js:340
throw err;
^
Error: Cannot find module 'inquirer'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/selvi/bipio/tools/setup.js:24:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
make: *** [install] Error 8

if i give npm install inquirer to solve this error message ,i am getting following error message
npm ERR! registry error parsing json
npm ERR! SyntaxError: Unexpected token <
npm ERR! <script type="text/javascript">url="http://airtelforum.com/main?InterceptSource=0&ClientLocation=in&ParticipantID=kk7rp2jf3dkl4v52nla5u7676ej8r6uf&FailureMode=1&SearchQuery=&FailedURI=http%3A%2F%2Fregistry.npmjs.org%2Finquirer&AddInType=4&Version=2.1.8-1.90base&Referer=install+inquirer&Implementation=3&method=GET";if(top.location!=location){var w=window,d=document,e=d.documentElement,b=d.body,x=w.innerWidth||e.clientWidth||b.clientWidth,y=w.innerHeight||e.clientHeight||b.clientHeight;url+="&w="+x+"&h="+y;}window.location.replace(url);</script>
npm ERR! at Object.parse (native)
npm ERR! at RegClient. (/home/selvi/.nvm/v0.10.32/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:274:23)
npm ERR! at Request._callback (/home/selvi/.nvm/v0.10.32/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:246:65)
npm ERR! at Request.self.callback (/home/selvi/.nvm/v0.10.32/lib/node_modules/npm/node_modules/request/request.js:236:22)
npm ERR! at Request.emit (events.js:98:17)
npm ERR! at Request. (/home/selvi/.nvm/v0.10.32/lib/node_modules/npm/node_modules/request/request.js:1142:14)
npm ERR! at Request.emit (events.js:117:20)
npm ERR! at IncomingMessage. (/home/selvi/.nvm/v0.10.32/lib/node_modules/npm/node_modules/request/request.js:1096:12)
npm ERR! at IncomingMessage.emit (events.js:117:20)
npm ERR! at _stream_readable.js:943:16
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 3.13.0-32-generic
npm ERR! command "/home/selvi/.nvm/v0.10.32/bin/node" "/home/selvi/.nvm/v0.10.32/bin/npm" "install" "inquirer"
npm ERR! cwd /home/selvi/bipio
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! type unexpected_token
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/selvi/bipio/npm-debug.log
npm ERR! not ok code 0

unit tests incomplete

unit tests currently incomplete.

depends :

can't yet validate : #6
can't bypass queue : #8

prefer to test behaviors and business logic rather than units and interfaces.

security audit, data retention, key rotation

Confirm all data being sanitized, encoded and surfaced correctly, across all public endpoints, edges and renderers, that channel teardowns are destroying metadata (and files), that transiting files get cleared every day. Add key rotation tool

Creation of bips does not work

I get the following error when trying to create bips on my local instance using web interface:

{"message":"ValidationError: Invalid, Inactive or Missing Channel In Hub"}

I also get 404 on get_transform_hint, which might be related.

Continue the process, after recovery the broken bipio server.

For example, there is a bip with three channels, when channel 2 processing the workflow, bipio server breaking down.
After restart bipio server, I want to process the workflow from channel 2, not start from beginning. How to deal with this situation?
I think maybe need to handle rabbitmq queue. Is there some api for handle rabbitmq ?

Mac Install Hangs at DAO:MONGODB:Connected

I am not sure if this is me, but when running 'make install' gets to prompting for all the configuration settings, then hangs at:

[?] Administrator email (default "root@localhost") :
[?] Mongo connect string (see http://docs.mongodb.org/manual/reference/connection-string). Default "localhost/bipio" :
trying mongodb://localhost/bipio Ctrl-C to quit
POD:email:UP
POD:templater:UP
POD:flow:UP
POD:syndication:UP
POD:http:UP
POD:time:UP
[TypeError: Cannot read property 'sanitize' of undefined]
DAO:MONGODB:Connected

This is on OS X Mavericks with Mongodb 2.4.9 and RabbitMQ 3.2.4

Thanks

Workflow to test pods

Currently there's no description how to manually or automatically test pods, without installing them to bip-io server. What's the best way to test them?

TypeError: Cannot set property 'activeDomainId' of null

I updated bipio from 0.3.21 to latest, then when I generating pods rpc, I got the following errors:

TypeError: Cannot set property 'activeDomainId' of null
at /bipio/src/modules/auth/native.js:192:41
at Function.collateResults (/bipio/src/modules/auth/native.js:155:7)
at next (/bipio/src/lib/step.js:51:23)
at /bipio/src/lib/step.js:83:14
at /bipio/src/managers/dao-mongo.js:923:5
at /bipio/node_modules/mongoose/node_modules/kareem/index.js:101:16
at process._tickDomainCallback (node.js:492:13)

Update

I found it due to Can not overwrite a protected Domain when I installing bipio.

{ [ValidationError: domain validation failed]
message: 'domain validation failed',
name: 'ValidationError',
errors:
{ name:
    { [ValidatorError: Can not overwrite a protected Domain]
       properties: [Object],
       message: 'Can not overwrite a protected Domain',
       name: 'ValidatorError',
       kind: undefined,
       path: 'name',
       value: 'localhost' } } }

cannot push to heroku

when use git push heroku master to heroku, then got error ! [remote rejected] master -> master (pre-receive hook declined)

Status 500 after installing

I installed bipio from git (commit 647834a) but if I try to access if from web I get a 500 response.

$ curl http://localhost:9009
$ curl -I http://localhost:9009
HTTP/1.1 500 Internal Server Error
Access-Control-Allow-Origin: undefined
Access-Control-Allow-Headers: *
Access-Control-Allow-Methods: GET,POST,PUT,DELETE
Access-Control-Allow-Credentials: true
set-cookie: sid=s%3A2jJUZO7vtRjulzaiVceR3C0q3ze4P-aZ.eIzhl%2BtJ5BDBEJLHcP8R5T59Xqcu7TGzqQSRxPvQiBY; Path=/; Expires=Tue, 19 May 2015 08:17:25 GMT; HttpOnly
Date: Tue, 19 May 2015 07:17:25 GMT
Connection: keep-alive

How to resolve the installation error mesage ?

When i give npm start in terminal i am getting following error

node src/server.js

info: WORKER:PID:6854:1416830441510:Resolvable Interface lo:127.0.0.1
info: WORKER:PID:6854:1416830441512:Resolvable Interface lo:::1
info: WORKER:PID:6854:1416830441512:Resolvable Interface wlan0:192.168.2.28
info: WORKER:PID:6854:1416830441512:Resolvable Interface wlan0:fe80::6627:37ff:fefa:97f5
info: WORKER:PID:6854:1416830441789:Caught exception: Error: Cannot find module './engines/sendmail'
Error: Cannot find module './engines/sendmail'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/selvi/bipio/node_modules/bip-pod-email/node_modules/nodemailer/lib/transport.js:3:25)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
info: WORKER:PID:6854:1416830441801:DAO:MONGODB:Connected

Web-interface

Sorry for creating this as an issue. But when, if ever will the bip.io interface for controlling your bip.io server become open-sourced, and something I can self host?
Having full control over a service like this is important for both organizations that wants to use it, and paranoid people (myself having both issues)...

Open-source projects like https://github.com/cantino/huginn provides the whole package.

How to resolve the bipio installation error in lib/debug module cannot find?

when i tried to install bipio repository,it throws following error,if give make install in terminal
/tools/git-setup.sh

module.js:340
throw err;
^
Error: Cannot find module './lib/debug'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/selvi/bipio/node_modules/mongoose/node_modules/mquery/node_modules/debug/index.js:2:20)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
make: *** [install] Error 8

deprecate rabbitmq dependency

src/managers/bastion.js is coupled to RabbitMQ for transport. Deprecate into nodejs native pipe pattern with optional rabbitmq middleware.

How to resolve the installation error?

I have installed install npm -g bipio in /usr/local/lib/node_modules path.Even though,It shows following error again.
[TypeError: Cannot read property 'sanitize' of undefined]

Config written to : /home/selvi/node_modules/bipio/config/default.json

IMPORTANT : Ensure to remember your API password

RabbitMQ may need additional configuration. Check the 'rabbit' section in the config file.

To start bipio server : node ./src/server.js - the REST API will be listening at http://localhost:5000

See docs at https://github.com/bipio-server/bipio for more information.
info: WORKER:PID:4396:1416395642640:Resolvable Interface lo:127.0.0.1
info: WORKER:PID:4396:1416395642640:Resolvable Interface lo:::1
info: WORKER:PID:4396:1416395642640:Resolvable Interface wlan0:192.168.2.28
info: WORKER:PID:4396:1416395642641:Resolvable Interface wlan0:fe80::6627:37ff:fefa:97f5
info: WORKER:PID:4396:1416395642699:POD:Registering Cron:syndication:feed
info: WORKER:PID:4396:1416395642710:POD:Registering Cron:syndication:subscribe
info: WORKER:PID:4396:1416395642755:RABBIT:Connected
info: WORKER:PID:4396:1416395642755:RABBIT:Connected
Trace: { [MongoError: insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }]
name: 'MongoError',
code: 11000,
err: 'insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }' }
at Dao.app.logmessage as _log
at Promise. (/home/selvi/node_modules/bipio/src/managers/dao-mongo.js:423:16)
at Promise. (/home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mpromise/lib/promise.js:172:8)
at Promise.EventEmitter.emit (events.js:95:17)
at Promise.emit (/home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mpromise/lib/promise.js:84:38)
at Promise.reject (/home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mpromise/lib/promise.js:111:15)
at Promise.error (/home/selvi/node_modules/bipio/node_modules/mongoose/lib/promise.js:95:15)
at handleSave (/home/selvi/node_modules/bipio/node_modules/mongoose/lib/model.js:95:15)
at /home/selvi/node_modules/bipio/node_modules/mongoose/lib/utils.js:408:16
at /home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mongodb/lib/mongodb/collection/core.js:120:18
error: WORKER:PID:4396:1416395642924:MongoError: insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }
Trace: { [MongoError: insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }]
name: 'MongoError',
code: 11000,
err: 'insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }' }
at Dao.app.logmessage as _log
at DaoMongo.errorParse (/home/selvi/node_modules/bipio/src/managers/dao-mongo.js:332:10)
at Promise. (/home/selvi/node_modules/bipio/src/managers/dao-mongo.js:463:25)
at Promise. (/home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mpromise/lib/promise.js:172:8)
at Promise.EventEmitter.emit (events.js:95:17)
at Promise.emit (/home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mpromise/lib/promise.js:84:38)
at Promise.reject (/home/selvi/node_modules/bipio/node_modules/mongoose/node_modules/mpromise/lib/promise.js:111:15)
at Promise.error (/home/selvi/node_modules/bipio/node_modules/mongoose/lib/promise.js:95:15)
at handleSave (/home/selvi/node_modules/bipio/node_modules/mongoose/lib/model.js:95:15)
at /home/selvi/node_modules/bipio/node_modules/mongoose/lib/utils.js:408:16
error: WORKER:PID:4396:1416395642926:MongoError: insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }
{ [MongoError: insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }]
name: 'MongoError',
code: 11000,
err: 'insertDocument :: caused by :: 11000 E11000 duplicate key error index: bipio.accounts.$username_1 dup key: { : "admin" }' }
make: *** [install] Error 1
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! weird error 2
npm ERR! not ok code 0

How to fix the bpio installtion error?

When i give npm start in terminal, I am getting below information.The installation get struck at info: WORKER:PID:7464:1417172400917:TRIGGER:DONE,after this i didn't get any information.The control doesn't relinquish from the terminal.So,I have checked with browser as localhost:5000,it shows Cannot GET / .

[email protected] start /home/selvi/bipio
node src/server.js

info: WORKER:PID:7464:1417171097932:Resolvable Interface lo:127.0.0.1
info: WORKER:PID:7464:1417171097934:Resolvable Interface lo:::1
info: WORKER:PID:7464:1417171097934:Resolvable Interface wlan0:192.168.2.28
info: WORKER:PID:7464:1417171097934:Resolvable Interface wlan0:fe80::6627:37ff:fefa:97f5
info: WORKER:PID:7464:1417171098553:POD:email:UP
info: WORKER:PID:7464:1417171098562:POD:templater:UP
info: WORKER:PID:7464:1417171098590:POD:flow:UP
info: WORKER:PID:7464:1417171098744:POD:syndication:UP
info: WORKER:PID:7464:1417171098846:POD:http:UP
info: WORKER:PID:7464:1417171099052:POD:time:UP
info: WORKER:PID:7464:1417171099232:POD:math:UP
info: WORKER:PID:7464:1417171099412:POD:html:UP
info: WORKER:PID:7464:1417171099414:POD:crypto:UP
info: WORKER:PID:7464:1417171099445:POD:Registering Cron:syndication:feed
info: WORKER:PID:7464:1417171099453:POD:Registering Cron:syndication:subscribe
info: WORKER:PID:7464:1417171099786:BIPIO:STARTED:Fri Nov 28 2014 10:38:19 GMT+0000 (GMT)
info: WORKER:PID:7464:1417171099786:Node v0.10.33
info: WORKER:PID:7464:1417171099786:Starting 1 fork(s)
info: WORKER:PID:7464:1417171099799:RABBIT:Connected
info: WORKER:PID:7464:1417171099825:DAO:MONGODB:Connected
info: WORKER:PID:7464:1417171099825:DAO:Starting Stats Cron
info: WORKER:PID:7464:1417171099831:DAO:Starting Trigger Cron
info: WORKER:PID:7464:1417171099833:DAO:Starting Expiry Cron
info: WORKER:PID:7464:1417171099838:DAO:Starting OAuth Refresh
info: WORKER:PID:7464:1417171099887:RABBIT:X:bastion_generic:UP
info: WORKER:PID:7464:1417171099887:RABBIT:X:bastion_jobs:UP
info: WORKER:PID:7464:1417171099900:RABBIT:X:bastion_ctl:UP
info: WORKER:PID:7464:1417171099906:RABBIT:Q:PUBSUBqueue_bastion:UP
info: WORKER:PID:7464:1417171099907:BASTION:queue_bastion:consumer attached
info: WORKER:PID:7464:1417171099907:RABBIT:Q:PUBSUBqueue_jobs:UP
info: WORKER:PID:7464:1417171099907:BASTION:queue_jobs:consumer attached
info: WORKER:PID:7464:1417171099907:RABBIT:Q:PUBSUBqueue_bastion_ctl:UP
info: WORKER:PID:7472:1417171100315:Resolvable Interface lo:127.0.0.1
info: WORKER:PID:7472:1417171100316:Resolvable Interface lo:::1
info: WORKER:PID:7472:1417171100316:Resolvable Interface wlan0:192.168.2.28
info: WORKER:PID:7472:1417171100316:Resolvable Interface wlan0:fe80::6627:37ff:fefa:97f5
info: WORKER:PID:7472:1417171100941:POD:email:UP
info: WORKER:PID:7472:1417171100949:POD:templater:UP
info: WORKER:PID:7472:1417171100977:POD:flow:UP
info: WORKER:PID:7472:1417171101119:POD:syndication:UP
info: WORKER:PID:7472:1417171101219:POD:http:UP
info: WORKER:PID:7472:1417171101426:POD:time:UP
info: WORKER:PID:7472:1417171101615:POD:math:UP
info: WORKER:PID:7472:1417171101795:POD:html:UP
info: WORKER:PID:7472:1417171101797:POD:crypto:UP
info: WORKER:PID:7472:1417171102158:BIPIO:STARTED:Fri Nov 28 2014 10:38:22 GMT+0000 (GMT)
info: WORKER:PID:7472:1417171102162:RABBIT:Connected
info: WORKER:PID:7472:1417171102174:TLD:UP
info: WORKER:PID:7472:1417171102196:DAO:MONGODB:Connected
info: WORKER:PID:7472:1417171102311:Listening on :5000 in "development" mode...
info: WORKER:PID:7472:1417171102317:RABBIT:X:bastion_generic:UP
info: WORKER:PID:7472:1417171102317:RABBIT:X:bastion_jobs:UP
info: WORKER:PID:7472:1417171102318:RABBIT:X:bastion_ctl:UP
info: WORKER:PID:7472:1417171102328:RABBIT:Q:PUBSUBqueue_bastion:UP
info: WORKER:PID:7472:1417171102329:BASTION:queue_bastion:consumer attached
info: WORKER:PID:7472:1417171102329:RABBIT:Q:PUBSUBqueue_jobs:UP
info: WORKER:PID:7472:1417171102330:BASTION:queue_jobs:consumer attached
info: WORKER:PID:7472:1417171102330:RABBIT:Q:PUBSUBqueue_bastion_ctl:UP
info: WORKER:PID:7464:1417171500928:No Bips
info: WORKER:PID:7464:1417171500928:TRIGGER:DONE
info: WORKER:PID:7464:1417172400592:Error: remove(): Nothing to Remove
info: WORKER:PID:7464:1417172400854:STATS:Processing Account fb1393df-10c7-4bd4-a434-2904c2610954
info: WORKER:PID:7464:1417172400874:STATS:NO ACTIVITY:fb1393df-10c7-4bd4-a434-2904c2610954
info: WORKER:PID:7464:1417172400874:Writing System Entry
info: WORKER:PID:7464:1417172400882:EXPIRE:DONE
info: WORKER:PID:7464:1417172400883:ok
info: WORKER:PID:7464:1417172400883:STATS:DONE
info: WORKER:PID:7464:1417172400917:No Bips
info: WORKER:PID:7464:1417172400917:TRIGGER:DONE

Support for otixo

http://otixo.com/api
This service is already a cloud storage management of many service like Dropbox, Google Drive, OneDrive, Facebook, Box, SugarSync, FTP, WebDAV but also output as WebDAV service for end user => image

So end user only need to access 1 network drive on machine for all other services without caring which protocol they are using

The task I want to do with bipio is:

  • create new file dynamically from bipio events (events from supported service of bipio like email, rss, twitter) in any service supported by otixo
  • edit file base on bipio event
  • notify email when new file upload to specific cloud storage service and/or specific path
  • move file between cloud storage service based on bipio events

Cannot read property 'public_interfaces' of undefined

I install bipio by npm install -g bipio, and then run bipio.
But I got the error Caught exception: TypeError: Cannot read property 'public_interfaces' of undefined.
Where should I set this property?
similar issues when I run pod-install.js

How to resolve the unmet dependency warning in pkginfo?

When i give npm install [email protected], i am getting the following error message
npm WARN package.json [email protected] 'repositories' (plural) Not supported. Please pick one as the 'repository' field
npm WARN unmet dependency /home/selvi/bipio/node_modules/amqp requires lodash@'~1.3.1' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/lodash,
npm WARN unmet dependency which is version 2.4.1
npm WARN unmet dependency /home/selvi/bipio/node_modules/bip-pod-flow requires q@'~1.0.1' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/q,
npm WARN unmet dependency which is version 1.1.1
npm WARN unmet dependency /home/selvi/bipio/node_modules/bip-pod-time requires moment@'~2.5.1' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/moment,
npm WARN unmet dependency which is version 2.8.4
npm WARN unmet dependency /home/selvi/bipio/node_modules/connect requires method-override@'~2.3.0' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/method-override,
npm WARN unmet dependency which is version 1.0.2
npm WARN unmet dependency /home/selvi/bipio/node_modules/multer requires mkdirp@'~0.3.5' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/mkdirp,
npm WARN unmet dependency which is version 0.5.0
npm WARN unmet dependency /home/selvi/bipio/node_modules/request requires caseless@'~0.7.0' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/caseless,
npm WARN unmet dependency which is version 0.8.0
npm WARN unmet dependency /home/selvi/bipio/node_modules/request requires mime-types@'~1.0.1' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/mime-types,
npm WARN unmet dependency which is version 2.0.3
npm WARN unmet dependency /home/selvi/bipio/node_modules/request requires node-uuid@'~1.4.0' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/node-uuid,
npm WARN unmet dependency which is version 1.3.3
npm WARN unmet dependency /home/selvi/bipio/node_modules/request requires hawk@'1.1.1' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/hawk,
npm WARN unmet dependency which is version 2.3.0
npm WARN unmet dependency /home/selvi/bipio/node_modules/ssl-root-cas requires es6-promise@'^1.0.0' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/es6-promise,
npm WARN unmet dependency which is version 2.0.0
npm WARN unmet dependency /home/selvi/bipio/node_modules/ssl-root-cas requires request@'~2.34.0' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/request,
npm WARN unmet dependency which is version 2.48.0
npm WARN unmet dependency /home/selvi/bipio/node_modules/webkit-devtools-agent requires underscore@'1.3.3' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/underscore,
npm WARN unmet dependency which is version 1.7.0
npm WARN unmet dependency /home/selvi/bipio/node_modules/winston requires colors@'0.x.x' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/colors,
npm WARN unmet dependency which is version 1.0.3
npm WARN unmet dependency /home/selvi/bipio/node_modules/winston requires loggly@'0.3.x >=0.3.7' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/loggly,
npm WARN unmet dependency which is version 1.0.7
npm WARN unmet dependency /home/selvi/bipio/node_modules/mocha/node_modules/jade requires commander@'0.6.1' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/mocha/node_modules/commander,
npm WARN unmet dependency which is version 2.3.0
npm WARN unmet dependency /home/selvi/bipio/node_modules/mocha/node_modules/jade requires mkdirp@'0.3.0' but will load
npm WARN unmet dependency /home/selvi/bipio/node_modules/mkdirp,
npm WARN unmet dependency which is version 0.5.0

support rendered types in pod configs

define config schema type for actions that will $ref into a local renderer for a pod, matching key/value pairs or some other enumerated type.

eg: facebook pod, pages action needs a page id - this can not currently be surfaced automatically by a schema client

Caught exception: TypeError: Cannot read property 'length' of undefined (mongoose)

If I start bipio I get the following error (many, many times):

info: WORKER:PID:5231:1429204371283:Caught exception: TypeError: Cannot read property 'length' of undefined
TypeError: Cannot read property 'length' of undefined
    at processResults (/home/bipio/node_modules/bipio/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1581:31)
    at /home/bipio/node_modules/bipio/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1619:20
    at /home/bipio/node_modules/bipio/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1157:7
    at /home/bipio/node_modules/bipio/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1890:9
    at Server.Base._callHandler (/home/bipio/node_modules/bipio/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/base.js:448:41)
    at /home/bipio/node_modules/bipio/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:481:18
    at MongoReply.parseBody (/home/bipio/node_modules/bipio/node_modules/mongoose/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
    at null.<anonymous> (/home/bipio/node_modules/bipio/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:439:20)
    at emit (events.js:95:17)
    at null.<anonymous> (/home/bipio/node_modules/bipio/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:201:13)
$ mongo --version
MongoDB shell version: 3.0.2

How to resolve the rabbitmq error mesage?

when i give npm start,it gives following error message

[email protected] start /home/selvi/bipio
node src/server.js

info: WORKER:PID:3453:1416928283996:Resolvable Interface lo:127.0.0.1
info: WORKER:PID:3453:1416928283998:Resolvable Interface lo:::1
info: WORKER:PID:3453:1416928283998:Resolvable Interface wlan0:192.168.2.28
info: WORKER:PID:3453:1416928283998:Resolvable Interface wlan0:fe80::6627:37ff:fefa:97f5
info: WORKER:PID:3453:1416928284427:POD:email:UP
info: WORKER:PID:3453:1416928284435:POD:templater:UP
info: WORKER:PID:3453:1416928284463:POD:flow:UP
info: WORKER:PID:3453:1416928284518:POD:syndication:UP
info: WORKER:PID:3453:1416928284522:POD:http:UP
info: WORKER:PID:3453:1416928284721:POD:time:UP
info: WORKER:PID:3453:1416928284885:POD:math:UP
info: WORKER:PID:3453:1416928285063:POD:html:UP
info: WORKER:PID:3453:1416928285065:POD:crypto:UP
info: WORKER:PID:3453:1416928285096:POD:Registering Cron:syndication:feed
info: WORKER:PID:3453:1416928285109:POD:Registering Cron:syndication:subscribe

/home/selvi/bipio/node_modules/body-parser/node_modules/qs/lib/stringify.js:72
});
^
info: WORKER:PID:3453:1416928285431:Caught exception: SyntaxError: Unexpected token }
SyntaxError: Unexpected token }
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/selvi/bipio/node_modules/body-parser/node_modules/qs/lib/index.js:3:17)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
info: WORKER:PID:3453:1416928285435:RABBIT:Connected
info: WORKER:PID:3453:1416928285435:RABBIT:Connected
info: WORKER:PID:3453:1416928285457:DAO:MONGODB:Connected
Trace: RABBIT:Error: read ECONNRESET
at Object.app.logmessage (/home/selvi/bipio/src/bootstrap.js:110:13)
at Connection. (/home/selvi/bipio/src/managers/rabbit.js:89:9)
at Connection.emit (events.js:117:20)
at Socket.emit (events.js:95:17)
at net.js:440:14
at process._tickDomainCallback (node.js:463:13)
error: WORKER:PID:3453:1416928288447:RABBIT:Error: read ECONNRESET
info: WORKER:PID:3453:1416928289449:RABBIT:Connected
info: WORKER:PID:3453:1416928289493:RABBIT:X:bastion_generic:UP
info: WORKER:PID:3453:1416928289494:RABBIT:X:bastion_jobs:UP
info: WORKER:PID:3453:1416928289495:RABBIT:X:bastion_ctl:UP
info: WORKER:PID:3453:1416928289497:RABBIT:Q:PUBSUBqueue_bastion:UP
info: WORKER:PID:3453:1416928289498:BASTION:queue_bastion:consumer attached
info: WORKER:PID:3453:1416928289498:RABBIT:Q:PUBSUBqueue_jobs:UP
info: WORKER:PID:3453:1416928289499:BASTION:queue_jobs:consumer attached
info: WORKER:PID:3453:1416928289499:RABBIT:Q:PUBSUBqueue_bastion_ctl:UP
Trace: RABBIT:Error: read ECONNRESET
at Object.app.logmessage (/home/selvi/bipio/src/bootstrap.js:110:13)
at Connection. (/home/selvi/bipio/src/managers/rabbit.js:89:9)
at Connection.emit (events.js:117:20)
at Socket.emit (events.js:95:17)
at net.js:440:14
at process._tickDomainCallback (node.js:463:13)
error: WORKER:PID:3453:1416928295437:RABBIT:Error: read ECONNRESET
Trace: RABBIT:Error: read ECONNRESET
at Object.app.logmessage (/home/selvi/bipio/src/bootstrap.js:110:13)
at Connection. (/home/selvi/bipio/src/managers/rabbit.js:89:9)
at Connection.emit (events.js:117:20)
at Socket.emit (events.js:95:17)
at net.js:440:14
at process._tickDomainCallback (node.js:463:13)
error: WORKER:PID:3453:1416928295438:RABBIT:Error: read ECONNRESET
info: WORKER:PID:3453:1416928296438:RABBIT:Connected
info: WORKER:PID:3453:1416928296490:RABBIT:X:bastion_generic:UP
info: WORKER:PID:3453:1416928296491:RABBIT:X:bastion_jobs:UP
info: WORKER:PID:3453:1416928296491:RABBIT:X:bastion_ctl:UP
info: WORKER:PID:3453:1416928296492:RABBIT:Q:PUBSUBqueue_jobs:UP
info: WORKER:PID:3453:1416928296493:BASTION:queue_jobs:consumer attached
info: WORKER:PID:3453:1416928296494:RABBIT:Q:PUBSUBqueue_bastion:UP
info: WORKER:PID:3453:1416928296494:BASTION:queue_bastion:consumer attached
info: WORKER:PID:3453:1416928296494:RABBIT:Q:PUBSUBqueue_bastion_ctl:UP

migrate public site into express middleware

need :

  • migrate current BackboneJS dashboard on public site into express /dash route

  • build system (grunt) for RequireJS module builds/LESS/JS & CSS Minification/cache busting

  • break out dashboard components into 'apps' which can set up their own routes and layouts. Server should ship with /channels#, /bips#, /account# and /outbox# apps.

    /feeds# TBA

TypeError: Cannot read property 'public_interfaces' of undefined

I used git clone https://github.com/bipio-server/bipio.git and then make install.
When I run $ node src/server.js. I got the error: TypeError: Cannot read property 'public_interfaces' of undefined.

TraceInfo:

    at Object.<anonymous> (node_modules/bipio/src/bootstrap.js:158:23)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (node_modules/bipio/src/server.js:23:17)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)

Evernote channel

Please add a Evernote channel.

  • create notes
  • delete notes
  • update tags of a note
  • update notes (title, content, source url, author)
  • move notes to a different notebook
  • trigger if there is a new note (specific notebook)
  • get attributes from a note (title, content, tags, source url, author)
  • handle attachments

How to configure the environment variable?

In the bipio document .I have seen the following details
For Ubuntu users, a sample upstart script is supplied in config/upstart_bip.conf which should be copied to /etc/init and reconfigured to suit your environment.

I have confused little bit,whether i need to create a /etc/init file as myself.I don't find any etc/init to copy the upstart_bip.conf.

I have updated my upstart_bip.conf file like as below
env APP_PATH="/home/selvi/bipio/src"
env LOGFILE="/home/selvi/bipio/logs/server.log"
export HOME="/home/selvi/bipio/"

make install error: Cannot read property 'public_interfaces' of undefined

use git clone https://github.com/bipio-server/bipio.git then npm install && make install

TypeError: Cannot read property 'public_interfaces' of undefined
at Object.<anonymous> (bipio/src/bootstrap.js:158:23)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (bipio/src/server.js:23:17)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)

cannot access bipio server within vagrant guest

I want to use bipio in vagrant as guest, but I found I can't access bipio from host machine(if I use others server[restify or koa and etc..], I can access successfully). Should I need setting something else for bipio?

filename

Hi,

I created a bip that receives emails and sends them to an HTTP endpoint.
For some reason the filename I get from bipio is just a random id.
How can I get the original filename?

How to reslove the installation type error in bipio?

I am using ubuntu and also i have installed MongoDB,RabbitMQ and node js.
I am getting following error after giving this command
npm install bipio in terminal
POD:crypto:UP
[TypeError: Cannot read property 'sanitize' of undefined]

Config written to : /home/selvi/node_modules/bipio/config/default.json

IMPORTANT : Ensure to remember your API password

RabbitMQ may need additional configuration. Check the 'rabbit' section in the config file.

To start bipio server : node ./src/server.js - the REST API will be listening at http://localhost:5000

See docs at https://github.com/bipio-server/bipio for more information.
info: WORKER:PID:7656:1416311343600:Resolvable Interface lo:127.0.0.1
info: WORKER:PID:7656:1416311343601:Resolvable Interface lo:::1
info: WORKER:PID:7656:1416311343601:Resolvable Interface wlan0:192.168.2.28
info: WORKER:PID:7656:1416311343601:Resolvable Interface wlan0:fe80::6627:37ff:fefa:97f5
info: WORKER:PID:7656:1416311343658:POD:Registering Cron:syndication:feed
{ [Error: Unknown Timezone: 'IST'] tzname: [ 'IST', '' ], timezone: 0, daylight: 0 }
info: WORKER:PID:7656:1416311343664:Caught exception: Error: Unknown Timezone: 'IST'
Error: Unknown Timezone: 'IST'
at Function.tzset (/home/selvi/node_modules/bipio/node_modules/time/index.js:149:15)
at Date.setTimezone (/home/selvi/node_modules/bipio/node_modules/time/index.js:251:18)
at Object.CronTime.sendAt (/home/selvi/node_modules/bipio/node_modules/cron/lib/cron.js:70:12)
at Object.CronTime.getTimeout (/home/selvi/node_modules/bipio/node_modules/cron/lib/cron.js:85:30)
at Object.CronJob.start (/home/selvi/node_modules/bipio/node_modules/cron/lib/cron.js:367:33)
at Object.CronJob (/home/selvi/node_modules/bipio/node_modules/cron/lib/cron.js:318:19)
at Object.Pod.registerCron (/home/selvi/node_modules/bipio/node_modules/bip-pod/index.js:219:28)
at Object.Feed (/home/selvi/node_modules/bipio/node_modules/bip-pod-syndication/feed.js:44:7)
at Object.Pod.init (/home/selvi/node_modules/bipio/node_modules/bip-pod/index.js:200:16)
at Object.Channel.staticChildInit (/home/selvi/node_modules/bipio/src/models/channel.js:187:15)

TypeError: Cannot read property 'asOwner' of undefined

maybe

AuthModule.prototype.test = function(username, password, options, next) {
this.proto._test.apply(this, arguments);
}

TypeError: Cannot read property 'asOwner' of undefined
at Object.AuthModule._test (E:\Projects\bipio\src\modules\auth\prototype.js:213:14)
at Object.AuthModule.test (E:\Projects\bipio\src\modules\auth\prototype.js:252:24)
at E:\Projects\bipio\src\router.js:129:24
at E:\Projects\bipio\node_modules\connect\node_modules\basic-auth-connect\index.js:83:7
at restAuthWrapper (E:\Projects\bipio\src\router.js:130:7)
at Layer.handle as handle_request
at next (E:\Projects\bipio\node_modules\express\lib\router\route.js:100:13)
at Route.dispatch (E:\Projects\bipio\node_modules\express\lib\router\route.js:81:3)
at Layer.handle as handle_request
at E:\Projects\bipio\node_modules\express\lib\router\index.js:227:24

pod corpus export not supported

training corpus for hub transforms needs to be built out :

  • every pod needs a training set automatically installed on setup which can be surfaced by /rpc/get_transform_hint on fresh systems
  • need a cron to rebuild system hinted transforms based on global user activity. Should ignore transforms which have been installed via shares, wiegh heavier organic (user defined) transforms.
  • should be able to export/import corpus across systems

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.