seabre / inviteyoself

Allow people to invite themselves to your slack team. Demo: http://inviteyoself.herokuapp.com
Demo: http://inviteyoself.herokuapp.com
MIT License
33 stars 13 forks source link

Issue with lein send-invites #7

Open frankylol opened 9 years ago

frankylol commented 9 years ago

Hi Guy,

i am not able to get this script to work, it seems the demo is having the same issue? , the cron job appears to fail: Ive attached a tail of the logs

2015-02-12T17:03:33.668221+00:00 app[scheduler.2811]: (Retrieving org/clojure/tools.nrepl/0.2.3/tools.nrepl-0.2.3.pom from central) 2015-02-12T17:03:34.902087+00:00 app[scheduler.2811]: (Retrieving clojure-complete/clojure-complete/0.2.3/clojure-complete-0.2.3.pom from clojars) 2015-02-12T17:03:35.303735+00:00 app[scheduler.2811]: (Retrieving ring-mock/ring-mock/0.1.5/ring-mock-0.1.5.pom from clojars) 2015-02-12T17:03:35.631836+00:00 app[scheduler.2811]: (Retrieving pjstadig/humane-test-output/0.6.0/humane-test-output-0.6.0.pom from clojars) 2015-02-12T17:03:35.940197+00:00 app[scheduler.2811]: (Retrieving org/clojure/tools.nrepl/0.2.3/tools.nrepl-0.2.3.jar from central) 2015-02-12T17:03:36.140647+00:00 app[scheduler.2811]: (Retrieving clojure-complete/clojure-complete/0.2.3/clojure-complete-0.2.3.jar from clojars) 2015-02-12T17:03:36.401683+00:00 app[scheduler.2811]: (Retrieving ring-mock/ring-mock/0.1.5/ring-mock-0.1.5.jar from clojars) 2015-02-12T17:03:36.399638+00:00 app[scheduler.2811]: (Retrieving pjstadig/humane-test-output/0.6.0/humane-test-output-0.6.0.jar from clojars) 2015-02-12T17:03:37.482056+00:00 app[scheduler.2811]: Picked up JAVA_TOOL_OPTIONS: -Djava.rmi.server.useCodebaseOnly=true 2015-02-12T17:03:43.641065+00:00 app[scheduler.2811]: Failed! 2015-02-12T17:03:44.475614+00:00 heroku[scheduler.2811]: Process exited with status 1 2015-02-12T17:03:44.485690+00:00 heroku[scheduler.2811]: State changed from up to complete

seabre commented 9 years ago

I haven't pulled any of the updates into the demo app yet. Are you using the latest from the master branch?

fmacpro commented 9 years ago

yea

yhsiang commented 9 years ago

it seems work fine with g0v/invieyoself right now!

wenderjean commented 9 years ago

Guys I am with the same problem. I cloned actual version from repository and deploy it in Heroku following README steps, the app is running ok, I can assign emails but logs show "Failed!" when try to send invites.

My tool versions are:

PhantomJS - 1.9.8 CasperJS - 1.1.0-beta3

Any ideia about? Thanks

Gasol commented 9 years ago

@wenderjean DId you try the PR https://github.com/seabre/inviteyoself/pull/10? Maybe It will fix the problem, I guess.

wenderjean commented 9 years ago

@Gasol Thanks for sharing, I did not have seen this PR before. It works now.

jmoont commented 9 years ago

This isn't working for me. It seems like the same issue.

←[32m2015-08-06T00:14:53.775988+00:00 heroku[scheduler.2682]:←[0m Starting process with command `lein send-invites`
←[32m2015-08-06T00:14:54.336012+00:00 heroku[scheduler.2682]:←[0m State changed from starting to up
←[32m2015-08-06T00:14:55.475287+00:00 app[scheduler.2682]:←[0m Picked up JAVA_TOOL_OPTIONS:  -Djava.rmi.server.useCodebaseOnly=true
←[32m2015-08-06T00:14:55.458258+00:00 app[scheduler.2682]:←[0m Add phantomjs/casperjs paths ...
←[32m2015-08-06T00:15:00.170053+00:00 app[scheduler.2682]:←[0m (Retrieving org/clojure/tools.nrepl/0.2.3/tools.nrepl-0.2.3.pom from central)
←[32m2015-08-06T00:15:01.394672+00:00 app[scheduler.2682]:←[0m (Retrieving clojure-complete/clojure-complete/0.2.3/clojure-complete-0.2.3.pom from clojars)
←[32m2015-08-06T00:15:02.011888+00:00 app[scheduler.2682]:←[0m (Retrieving ring-mock/ring-mock/0.1.5/ring-mock-0.1.5.pom from clojars)
←[32m2015-08-06T00:15:02.361498+00:00 app[scheduler.2682]:←[0m (Retrieving pjstadig/humane-test-output/0.6.0/humane-test-output-0.6.0.pom from clojars)
←[32m2015-08-06T00:15:02.662621+00:00 app[scheduler.2682]:←[0m (Retrieving org/clojure/tools.nrepl/0.2.3/tools.nrepl-0.2.3.jar from central)
←[32m2015-08-06T00:15:02.857555+00:00 app[scheduler.2682]:←[0m (Retrieving ring-mock/ring-mock/0.1.5/ring-mock-0.1.5.jar from clojars)
←[32m2015-08-06T00:15:03.080294+00:00 app[scheduler.2682]:←[0m (Retrieving pjstadig/humane-test-output/0.6.0/humane-test-output-0.6.0.jar from clojars)
←[32m2015-08-06T00:15:03.081455+00:00 app[scheduler.2682]:←[0m (Retrieving clojure-complete/clojure-complete/0.2.3/clojure-complete-0.2.3.jar from clojars)
←[32m2015-08-06T00:15:03.703508+00:00 app[scheduler.2682]:←[0m Picked up JAVA_TOOL_OPTIONS:  -Djava.rmi.server.useCodebaseOnly=true
←[32m2015-08-06T00:15:13.492002+00:00 app[scheduler.2682]:←[0m Failed!
←[32m2015-08-06T00:15:14.218022+00:00 heroku[scheduler.2682]:←[0m State changed from up to complete
←[32m2015-08-06T00:15:14.204404+00:00 heroku[scheduler.2682]:←[0m Process exited with status 1
wenderjean commented 9 years ago

Hey @jmoont I did just as described in #10 PR and works for me. Maybe you can try to pull our fork and test or see if has some changes between your version and ours. https://github.com/RubyCastsBrasil/inviteyoself

jmoont commented 9 years ago

@wenderjean still didn't work with the same error - how can I debug this?