Running routing example

109 views
Skip to first unread message

Shiva Ketabi

unread,
Feb 21, 2015, 12:10:38 PM2/21/15
to beehi...@googlegroups.com
Hi
I was trying to run the routing example, but I have no idea why I get some errors. Should we run it with special arguments?
Best regards,
Shiva

Soheil Hassas Yeganeh

unread,
Feb 21, 2015, 12:15:12 PM2/21/15
to beehi...@googlegroups.com
Hi Shiva,

What are the errors?

Shiva Ketabi

unread,
Feb 21, 2015, 12:24:48 PM2/21/15
to Soheil Hassas Yeganeh, beehi...@googlegroups.com
This is the snapshot of my cmd.

--
You received this message because you are subscribed to the Google Groups "beehive-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beehive-dev...@googlegroups.com.
To post to this group, send email to beehi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beehive-dev/770fdda2-5453-433e-9509-6633f8bbdb16%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Capture.PNG

Soheil Hassas Yeganeh

unread,
Feb 21, 2015, 1:12:00 PM2/21/15
to Shiva Ketabi, beehi...@googlegroups.com
Thanks for catching this Shiva! This is a broken import I mistakenly
added after an automated formatting.

I just fixed it and you can update your local clone by either:
go get -u github.com/kandoo/beehive

or:
git pull origin master

Best,
Soheil

Shiva Ketabi

unread,
Feb 21, 2015, 2:03:36 PM2/21/15
to Soheil Hassas Yeganeh, beehi...@googlegroups.com
Thanks. Now everything works. :)
Another question, I guess since beehive preserves consistency, I have bees for apps I ran even last week and it says "app Calc is not registered but has a bee ". So how can I make these bees free?
Best,
Shiva

Soheil Hassas Yeganeh

unread,
Feb 21, 2015, 2:47:12 PM2/21/15
to Shiva Ketabi, beehi...@googlegroups.com
Good questions, and I like "the set the bees free". You have two options:
1) you can just ignore the message. Because it's just a warning and it actually doesn't consume any resources.
2) You can delete your state path (default is /tmp/beehive) or use another state path when you run your app (using -statepath flag)

Cheers,
Soheil

Prashant Bhole

unread,
Apr 29, 2015, 6:50:52 AM4/29/15
to beehi...@googlegroups.com



  Hi
 I have also problem in running routing examples which are shown in snapshot... 

Soheil Hassas Yeganeh

unread,
Apr 29, 2015, 8:54:52 AM4/29/15
to Prashant Bhole, beehi...@googlegroups.com
It's because you haven't setup your GOPATH.

Cheers,
Soheil

--
You received this message because you are subscribed to the Google Groups "beehive-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beehive-dev...@googlegroups.com.
To post to this group, send email to beehi...@googlegroups.com.

Soheil Hassas Yeganeh

unread,
Apr 29, 2015, 9:09:33 AM4/29/15
to Prashant Bhole, beehi...@googlegroups.com
And BTW, you're using gccgo not the standard go distribution. If your distro doesn't include go-1.3+, you need to either install go from source.

Best,
Soheil

Mandisa Nxumalo

unread,
Oct 23, 2016, 12:46:26 PM10/23/16
to beehive-dev

Hi, can you please help me, am trying to run a helloworld.go file, but when i run command go run helloworld.go, gives me a message saying 'cannot open storage: file locked' tried looking for solutions online but i cannot find one. Please
Reply all
Reply to author
Forward
0 new messages