build errors

30 views
Skip to first unread message

Joe Rocklin

unread,
Mar 23, 2012, 10:54:47 AM3/23/12
to bite-d...@googlegroups.com
I'm having some trouble building the bite extension and hoping that someone will be able to help. I'm quite interested in the project and would like to build a server bridge to an internal tracking system. I'm building on OS X 10.7.3 using python 2.7.1. I'm not really familiar with the build chain or extension code so I'm not sure where to start with figuring out this error. The referenced gist shows the build of both the master and dev branches, though both seem to be showing the same errors.

The first error encountered is this:
extension/src/popup.js:193: ERROR - actual parameter 1 of bite.Popup.prototype.initData_ does not match formal parameter
found   : function (boolean, string, number): ?
required: function (): ?
  this.initData_(/** @type {function(boolean, string, number)} */ (callback));
                                                                   ^
Full build logs here: https://gist.github.com/2171414

If there's any other info I can provide to help figure this out, please let me know.
--Joe

Jason Stredwick

unread,
Mar 26, 2012, 12:17:34 PM3/26/12
to bite-discuss
Hi Joe,

I have tried to reproduce the error, but without success. I cloned a
fresh copy of repo and built the dev version, cleaned, then the master
version and no error was found. Perhaps this issue was resolved
recently, but the compiled files are out of sync with the new code.
Does "./build.py --clean" before building help? Please let me know.

I am building on OSX Lion with python 2.7.

JasonS

Jason Stredwick

unread,
Mar 26, 2012, 12:19:16 PM3/26/12
to bite-discuss
Whoa! I must not be awake yet today! I looked back through the
compile process and indeed I do get those errors. I will fix and post
when they are done. I apologize for my confusion.

JasonS

Jason Stredwick

unread,
Mar 26, 2012, 1:01:41 PM3/26/12
to bite-discuss
Ok, there were about six type Closure type errors. They are fixed now
and if you sync it should build successfully. Currently I have only
updated the dev branch. I will send a request to Po Hu to merge the
master branch and push new servers as well. Sorry for the issues, and
thanks for catching them.

JasonS

On Mar 26, 9:17 am, Jason Stredwick <jason.stredw...@gmail.com> wrote:

Joe Rocklin

unread,
Mar 28, 2012, 8:18:51 PM3/28/12
to bite-d...@googlegroups.com
That seemed to clear up the build. Thanks!
Reply all
Reply to author
Forward
0 new messages