It's probably a crash related to: https://issues.apache.org/jira/browse/CB-3530 I fixed it, and will roll it in 2.8.0 final
On Sat, Jun 1, 2013 at 7:28 PM, Simon MacDonald <simon.macdon...@gmail.com>wrote: > Hey, > > I'm seeing a problem. > > I'm messing around with the iOS code. I pulled the latest version from > the Apache GIT servers then I ran the create command to start a new > Xcode project. When I try to select a photo from the PHOTOLIBRARY the > dialog pops up and I can select the image but my error call back gets > called. > > Testing: iPad 6.1 simulator and iPhone 6.1 simulator > > My build label is: > > CORDOVA_JS_BUILD_LABEL = '2.8.0rc1-0-g22bc4d8'; > > Here are the logs: > > CDVWebViewDelegate: Navigation started when state=1 > 2013-06-01 22:17:06.793 OttawaJsPhoneGap[44677:c07] Failed to load > webpage with error: CDVWebViewDelegate: Navigation started when > state=1 > 2013-06-01 22:17:08.162 OttawaJsPhoneGap[44677:c07] Error getting picture: > null > > Here is my code: > > navigator.camera.getPicture( > function(data) { > var img = document.getElementById('myImage'); > img.style.visibility = "visible"; > img.style.display = "block"; > img.src = data; > }, > function(e) { > console.log("Error getting picture: " + e); > }, > { quality: 50, destinationType: > Camera.DestinationType.FILE_URI, sourceType: > Camera.PictureSourceType.PHOTOLIBRARY}); > } > } ); > > which is basically right out of MobileSpec tests. > > And I can tell you if I dump this same code in an old Xcode project > that uses Cordova 2.2.0 it works just fine. Can someone take a look at > this? > > Simon Mac Donald > http://hi.im/simonmacdonald > > > On Sat, Jun 1, 2013 at 9:17 PM, Filip Maj <f...@adobe.com> wrote: > > Sorry guys just catching up on mail now. > > > > The fact that someone is not present is not a good reason for blocking > > tagging or a release. > > > > All committers should be comfortable with all platforms at a minimum > level > > of creating a project and running tests. This includes the core platform > > frameworks as well as docs, cli and plugman. I understand that not > > everyone has a device they can test on for all platforms and that's fine, > > but tagging + generating the docs, or running the tests for plugman or > > cordova-cli is doable by anyone. If you happen to give the plugin + cli > > tooling a go on a real device, even better. > > > > On 6/1/13 2:32 PM, "Brian LeRoux" <b...@brian.io> wrote: > > > >>yup, see no reason why not > >> > >>On Sat, Jun 1, 2013 at 11:24 AM, Steven Gill <stevengil...@gmail.com> > >>wrote: > >>> Looking at coho and the 2.8.0rc1, it is not in the release bundle. > >>> > >>> I believe we should add it to the release bundle and push it to npm. > The > >>> readme with the CLI can have instructions for installing with and > >>>without > >>> npm. > >>> > >>> Thoughts? > >>> -Steve > >>> > >>> > >>> On Fri, May 31, 2013 at 2:24 PM, Braden Shepherdson > >>><bra...@chromium.org>wrote: > >>> > >>>> I'll take a look at the state of CLI for 2.8.x. It should definitely > be > >>>> tagged on the release branch, and if that branch is forked off of > >>>>master it > >>>> should probably be rebased. I'll take a look at its state and adjust > >>>> appropriately. > >>>> > >>>> Is CLI part of the release bundle, or is it pushed to npm instead? > >>>> > >>>> Braden > >>>> > >>>> > >>>> On Fri, May 31, 2013 at 3:09 PM, Benn Mapes <benn.ma...@gmail.com> > >>>>wrote: > >>>> > >>>> > Do IT! nice job. > >>>> > > >>>> > > >>>> > On Fri, May 31, 2013 at 12:07 PM, Steven Gill < > stevengil...@gmail.com > >>>> > >wrote: > >>>> > > >>>> > > Okay. Got it packaged up. 2.8.0rc1 can be found at > >>>> > > https://dist.apache.org/repos/dist/release/cordova/. > >>>> > > > >>>> > > I will start another thread about starting the process for 2.8.0. > >>>> > > > >>>> > > Cheers, > >>>> > > -Steve > >>>> > > > >>>> > > > >>>> > > On Fri, May 31, 2013 at 11:21 AM, Lorin Beer > >>>><lorin.beer....@gmail.com > >>>> > > >wrote: > >>>> > > > >>>> > > > awesome, thanks! > >>>> > > > > >>>> > > > On Fri, May 31, 2013 at 10:44 AM, Steven Gill < > >>>> stevengil...@gmail.com> > >>>> > > > wrote: > >>>> > > > > Working on it. > >>>> > > > > > >>>> > > > > > >>>> > > > > On Fri, May 31, 2013 at 10:27 AM, Lorin Beer < > >>>> > lorin.beer....@gmail.com > >>>> > > > >wrote: > >>>> > > > > > >>>> > > > >> Steve, have you cut the release? > >>>> > > > >> > >>>> > > > >> On Fri, May 31, 2013 at 2:53 AM, Shazron <shaz...@gmail.com> > >>>> wrote: > >>>> > > > >> > Updated the cli tag to be on 2.8.x branch > >>>> > > > >> > > >>>> > > > >> > > >>>> > > > >> > On Thu, May 30, 2013 at 5:13 PM, Shazron < > shaz...@gmail.com> > >>>> > wrote: > >>>> > > > >> > > >>>> > > > >> >> Not sure who tagged 2.8.0rc1 on master2, but it really > >>>>should > >>>> > have > >>>> > > > been > >>>> > > > >> >> tagged in the 2.8.x branch. > >>>> > > > >> >> > >>>> > > > >> >> > >>>> > > > >> > >>>> > > > > >>>> > > > >>>> > > >>>> > >>>> > https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=shortlog;h=r > >>>>efs/heads/master2 > >>>> > > > >> >> > >>>> > > > >> >> > >>>> > > > >> >> On Thu, May 30, 2013 at 4:58 PM, Shazron > >>>><shaz...@gmail.com> > >>>> > > wrote: > >>>> > > > >> >> > >>>> > > > >> >>> Not sure how to proceed with this, I'm prob not the one > to > >>>> ask. > >>>> > > I'd > >>>> > > > say > >>>> > > > >> >>> since the stakeholders are away, probably leave it as is, > >>>>and > >>>> I > >>>> > > can > >>>> > > > >> tag it > >>>> > > > >> >>> later using coho. > >>>> > > > >> >>> > >>>> > > > >> >>> > >>>> > > > >> >>> On Thu, May 30, 2013 at 4:55 PM, Benn Mapes < > >>>> > benn.ma...@gmail.com > >>>> > > > > >>>> > > > >> wrote: > >>>> > > > >> >>> > >>>> > > > >> >>>> For the CLI I just updated master2 branch and tested it > >>>>on > >>>> > > windows > >>>> > > > + > >>>> > > > >> mac > >>>> > > > >> >>>> and everything but the plugin add/remove works. If it > >>>>still > >>>> > isn't > >>>> > > > >> tagged > >>>> > > > >> >>>> we > >>>> > > > >> >>>> might as well rebase the 2.8.x branch with master2. (I > >>>>can do > >>>> > > this > >>>> > > > if > >>>> > > > >> >>>> people are ok with it, otherwise we can just leave it as > >>>>is.) > >>>> > > > >> >>>> > >>>> > > > >> >>>> > >>>> > > > >> >>>> On Thu, May 30, 2013 at 3:51 PM, Lorin Beer < > >>>> > > > lorin.beer....@gmail.com > >>>> > > > >> >>>> >wrote: > >>>> > > > >> >>>> > >>>> > > > >> >>>> > Anis, if you can test this for us before the end of > >>>>today, > >>>> > > great. > >>>> > > > >> >>>> > > >>>> > > > >> >>>> > Otherwise, +1 for tagging at EOD, allowing Steve to > >>>>cut the > >>>> > > > release > >>>> > > > >> >>>> > first thing tomorrow. > >>>> > > > >> >>>> > > >>>> > > > >> >>>> > On Thu, May 30, 2013 at 3:40 PM, Shazron < > >>>> shaz...@gmail.com> > >>>> > > > wrote: > >>>> > > > >> >>>> > > Someone more familiar with CLI should look at this. > >>>> Looking > >>>> > > at > >>>> > > > the > >>>> > > > >> >>>> repo, > >>>> > > > >> >>>> > > the only sig. change was for Windows by Benn, after > >>>>the > >>>> > last > >>>> > > > time > >>>> > > > >> Fil > >>>> > > > >> >>>> > > checked in code. > >>>> > > > >> >>>> > > According to the repo, running 'npm test' should run > >>>>the > >>>> > > tests > >>>> > > > >> but I > >>>> > > > >> >>>> get > >>>> > > > >> >>>> > > this error below. Not sure how to proceed... by EOD > >>>>I say > >>>> > > just > >>>> > > > tag > >>>> > > > >> >>>> it, > >>>> > > > >> >>>> > and > >>>> > > > >> >>>> > > if any issues arise we can fix for 2.8.0 final. > >>>> > > > >> >>>> > > > >>>> > > > >> >>>> > > ------------------------ > >>>> > > > >> >>>> > >> cordova@2.7.4 test > >>>> > > > /Users/shaz/Documents/Git/Apache/cordova-cli > >>>> > > > >> >>>> > >> ./node_modules/jasmine-node/bin/jasmine-node > --color > >>>> > > > >> >>>> spec/cordova-cli > >>>> > > > >> >>>> > > > >>>> > > > >> >>>> > > > >>>> > > > >> >>>> > > > >>>> > > > >> >>>> > > >>>> > > > >> >>>> > >>>> > > > >> > >>>> > > > > >>>> > > > >>>> > > >>>> > > >>>>/Users/shaz/Documents/Git/Apache/cordova-cli/node_modules/jasmine-node/l > >>>>ib/jasmine-node/index.js:24 > >>>> > > > >> >>>> > > var minorVersion = > >>>> > process.version.match(/\d\.(\d)\.\d/)[1]; > >>>> > > > >> >>>> > > > >>>> ^ > >>>> > > > >> >>>> > > TypeError: Cannot read property '1' of null > >>>> > > > >> >>>> > > at Object.<anonymous> > >>>> > > > >> >>>> > > > >>>> > > > >> >>>> > > >>>> > > > >> >>>> > >>>> > > > >> > >>>> > > > > >>>> > > > >>>> > > >>>> > > >>>>(/Users/shaz/Documents/Git/Apache/cordova-cli/node_modules/jasmine-node/ > >>>>lib/jasmine-node/index.js:24:57) > >>>> > > > >> >>>> > > 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> > >>>> > > > >> >>>> > > > >>>> > > > >> >>>> > > >>>> > > > >> >>>> > >>>> > > > >> > >>>> > > > > >>>> > > > >>>> > > >>>> > > >>>>(/Users/shaz/Documents/Git/Apache/cordova-cli/node_modules/jasmine-node/ > >>>>lib/jasmine-node/cli.js:1:77) > >>>> > > > >> >>>> > > at Module._compile (module.js:456:26) > >>>> > > > >> >>>> > > at Object.Module._extensions..js > >>>>(module.js:474:10) > >>>> > > > >> >>>> > > npm ERR! weird error 8 > >>>> > > > >> >>>> > > npm ERR! not ok code 0 > >>>> > > > >> >>>> > > > >>>> > > > >> >>>> > > > >>>> > > > >> >>>> > > > >>>> > > > >> >>>> > > > >>>> > > > >> >>>> > > On Thu, May 30, 2013 at 3:24 PM, Steven Gill < > >>>> > > > >> stevengil...@gmail.com > >>>> > > > >> >>>> > > >>>> > > > >> >>>> > wrote: > >>>> > > > >> >>>> > > > >>>> > > > >> >>>> > >> I asked Fil. He said he hasn't looked at it > >>>>recently. He > >>>> > > says > >>>> > > > it > >>>> > > > >> >>>> should > >>>> > > > >> >>>> > >> probably be tested. > >>>> > > > >> >>>> > >> > >>>> > > > >> >>>> > >> If everything gets tagged, I can look into > >>>>packaging it > >>>> up > >>>> > > > >> tomorrow > >>>> > > > >> >>>> and > >>>> > > > >> >>>> > >> releasing/announcing on the various channels. > >>>> > > > >> >>>> > >> On May 30, 2013 5:58 PM, "Lorin Beer" < > >>>> > > > lorin.beer....@gmail.com> > >>>> > > > >> >>>> wrote: > >>>> > > > >> >>>> > >> > >>>> > > > >> >>>> > >> > this is for RC, and I assumed we would, but I > >>>>don't > >>>> > think > >>>> > > > it's > >>>> > > > >> an > >>>> > > > >> >>>> > >> > absolute requirement... > >>>> > > > >> >>>> > >> > > >>>> > > > >> >>>> > >> > Joe, can you bug Fil/Michael about the status of > >>>>CLI > >>>> and > >>>> > > > wether > >>>> > > > >> >>>> they > >>>> > > > >> >>>> > can > >>>> > > > >> >>>> > >> > tag? > >>>> > > > >> >>>> > >> > > >>>> > > > >> >>>> > >> > On Thu, May 30, 2013 at 2:55 PM, Joe Bowser < > >>>> > > > bows...@gmail.com > >>>> > > > >> > > >>>> > > > >> >>>> > wrote: > >>>> > > > >> >>>> > >> > > This is for RC1, right? Do we need docs to even > >>>>be > >>>> > > tagged > >>>> > > > to > >>>> > > > >> do > >>>> > > > >> >>>> an > >>>> > > > >> >>>> > RC? > >>>> > > > >> >>>> > >> > > > >>>> > > > >> >>>> > >> > > On Thu, May 30, 2013 at 5:36 PM, Lorin Beer < > >>>> > > > >> >>>> > lorin.beer....@gmail.com> > >>>> > > > >> >>>> > >> > wrote: > >>>> > > > >> >>>> > >> > >> Blocking issues on Mobile Spec have been > >>>>tested and > >>>> > > > >> resolved. > >>>> > > > >> >>>> > >> > >> Mobile-Spec is now tagged. > >>>> > > > >> >>>> > >> > >> > >>>> > > > >> >>>> > >> > >> We are just waiting on Docs, and CLI. > >>>> > > > >> >>>> > >> > >> > >>>> > > > >> >>>> > >> > >> > >>>> > > > >> >>>> > >> > >> > >>>> > > > >> >>>> > >> > >> On Thu, May 30, 2013 at 2:30 PM, Shazron < > >>>> > > > shaz...@gmail.com > >>>> > > > >> > > >>>> > > > >> >>>> > wrote: > >>>> > > > >> >>>> > >> > >>> Using coho to tag. D'oh - Andrew already > >>>>tagged > >>>> iOS, > >>>> > > > doing > >>>> > > > >> OS > >>>> > > > >> >>>> X > >>>> > > > >> >>>> > now > >>>> > > > >> >>>> > >> > >>> > >>>> > > > >> >>>> > >> > >>> > >>>> > > > >> >>>> > >> > >>> On Thu, May 30, 2013 at 1:58 PM, Shazron < > >>>> > > > >> shaz...@gmail.com> > >>>> > > > >> >>>> > wrote: > >>>> > > > >> >>>> > >> > >>> > >>>> > > > >> >>>> > >> > >>>> I'm tagging iOS and OS X shortly.... > >>>> > > > >> >>>> > >> > >>>> > >>>> > > > >> >>>> > >> > >>>> > >>>> > > > >> >>>> > >> > >>>> On Thu, May 30, 2013 at 12:03 PM, Al Harding > >>>>< > >>>> > > > >> >>>> > >> alharding...@gmail.com > >>>> > > > >> >>>> > >> > >wrote: > >>>> > > > >> >>>> > >> > >>>> > >>>> > > > >> >>>> > >> > >>>>> I also sent off an email to Steve too to > see > >>>> about > >>>> > > > >> helping > >>>> > > > >> >>>> us > >>>> > > > >> >>>> > out. > >>>> > > > >> >>>> > >> > >>>>> > >>>> > > > >> >>>> > >> > >>>>> Let's do this! > >>>> > > > >> >>>> > >> > >>>>> Al > >>>> > > > >> >>>> > >> > >>>>> > >>>> > > > >> >>>> > >> > >>>>> > >>>> > > > >> >>>> > >> > >>>>> > >>>> > > > >> >>>> > >> > >>>>> On Thu, May 30, 2013 at 11:40 AM, Lorin > >>>>Beer < > >>>> > > > >> >>>> > >> > lorin.beer....@gmail.com > >>>> > > > >> >>>> > >> > >>>>> >wrote: > >>>> > > > >> >>>> > >> > >>>>> > >>>> > > > >> >>>> > >> > >>>>> > I think the delay is mostly due to our > >>>>team > >>>> > being > >>>> > > > away > >>>> > > > >> at > >>>> > > > >> >>>> > >> > conferences > >>>> > > > >> >>>> > >> > >>>>> this > >>>> > > > >> >>>> > >> > >>>>> > week. > >>>> > > > >> >>>> > >> > >>>>> > > >>>> > > > >> >>>> > >> > >>>>> > components left to tag: > >>>> > > > >> >>>> > >> > >>>>> > iOS > >>>> > > > >> >>>> > >> > >>>>> > docs > >>>> > > > >> >>>> > >> > >>>>> > CLI > >>>> > > > >> >>>> > >> > >>>>> > Mobile Spec > >>>> > > > >> >>>> > >> > >>>>> > > >>>> > > > >> >>>> > >> > >>>>> > I talked with Shaz on tuesday, there are > >>>>no > >>>> > > > blockers on > >>>> > > > >> >>>> iOS. > >>>> > > > >> >>>> > He's > >>>> > > > >> >>>> > >> > at > >>>> > > > >> >>>> > >> > >>>>> > fluent today, but I would imagine he > could > >>>> > easily > >>>> > > > get > >>>> > > > >> it > >>>> > > > >> >>>> > tagged. > >>>> > > > >> >>>> > >> > >>>>> > Joe, can you bug Michael and Fil to tag > >>>>CLI > >>>> and > >>>> > > > docs? I > >>>> > > > >> >>>> can > >>>> > > > >> >>>> > tag > >>>> > > > >> >>>> > >> > mobile > >>>> > > > >> >>>> > >> > >>>>> > spec this afternoon if no one else does. > >>>>Then > >>>> > > Steve > >>>> > > > can > >>>> > > > >> >>>> cut > >>>> > > > >> >>>> > the > >>>> > > > >> >>>> > >> > >>>>> > release. > >>>> > > > >> >>>> > >> > >>>>> > > >>>> > > > >> >>>> > >> > >>>>> > Let's get this done. > >>>> > > > >> >>>> > >> > >>>>> > > >>>> > > > >> >>>> > >> > >>>>> > - Lorin > >>>> > > > >> >>>> > >> > >>>>> > > >>>> > > > >> >>>> > >> > >>>>> > > >>>> > > > >> >>>> > >> > >>>>> > On Thu, May 30, 2013 at 11:06 AM, Joe > >>>>Bowser < > >>>> > > > >> >>>> > bows...@gmail.com> > >>>> > > > >> >>>> > >> > wrote: > >>>> > > > >> >>>> > >> > >>>>> > > It doesn't help that I'm at JSConf. > >>>>I'll > >>>> tag > >>>> > > > >> Android if > >>>> > > > >> >>>> > this > >>>> > > > >> >>>> > >> > helps > >>>> > > > >> >>>> > >> > >>>>> moves > >>>> > > > >> >>>> > >> > >>>>> > > things along. > >>>> > > > >> >>>> > >> > >>>>> > > On May 30, 2013 1:15 PM, "Braden > >>>> Shepherdson" > >>>> > < > >>>> > > > >> >>>> > >> > bra...@chromium.org> > >>>> > > > >> >>>> > >> > >>>>> > wrote: > >>>> > > > >> >>>> > >> > >>>>> > > > >>>> > > > >> >>>> > >> > >>>>> > >> I think part of the delay here is > >>>>because > >>>> > > Andrew, > >>>> > > > >> who's > >>>> > > > >> >>>> > been > >>>> > > > >> >>>> > >> > driving > >>>> > > > >> >>>> > >> > >>>>> a > >>>> > > > >> >>>> > >> > >>>>> > >> large part of the release process, is > >>>>at > >>>> the > >>>> > > > >> hospital > >>>> > > > >> >>>> > having a > >>>> > > > >> >>>> > >> > baby > >>>> > > > >> >>>> > >> > >>>>> > today. > >>>> > > > >> >>>> > >> > >>>>> > >> > >>>> > > > >> >>>> > >> > >>>>> > >> We should survey the different release > >>>> > process > >>>> > > > bugs > >>>> > > > >> >>>> and see > >>>> > > > >> >>>> > >> what > >>>> > > > >> >>>> > >> > >>>>> still > >>>> > > > >> >>>> > >> > >>>>> > >> needs to be done. Are any repos left > >>>> > untagged? > >>>> > > If > >>>> > > > >> not, > >>>> > > > >> >>>> > we're > >>>> > > > >> >>>> > >> > probably > >>>> > > > >> >>>> > >> > >>>>> > ready > >>>> > > > >> >>>> > >> > >>>>> > >> to create the rc1 bundle. If so, we > >>>>should > >>>> > get > >>>> > > > them > >>>> > > > >> >>>> moving > >>>> > > > >> >>>> > >> > forward. > >>>> > > > >> >>>> > >> > >>>>> > >> > >>>> > > > >> >>>> > >> > >>>>> > >> Braden > >>>> > > > >> >>>> > >> > >>>>> > >> > >>>> > > > >> >>>> > >> > >>>>> > >> > >>>> > > > >> >>>> > >> > >>>>> > >> On Thu, May 30, 2013 at 1:12 PM, Jesse > >>>>< > >>>> > > > >> >>>> > >> purplecabb...@gmail.com > >>>> > > > >> >>>> > >> > > > >>>> > > > >> >>>> > >> > >>>>> wrote: > >>>> > > > >> >>>> > >> > >>>>> > >> > >>>> > > > >> >>>> > >> > >>>>> > >> > Are we ever going to move past > >>>>2.8.0rc1? > >>>> Or > >>>> > > > even > >>>> > > > >> get > >>>> > > > >> >>>> rc1 > >>>> > > > >> >>>> > >> out? > >>>> > > > >> >>>> > >> > >>>>> > >> > Our new process does not seem to be > >>>> helping > >>>> > > us, > >>>> > > > >> and > >>>> > > > >> >>>> I am > >>>> > > > >> >>>> > >> very > >>>> > > > >> >>>> > >> > >>>>> > discouraged > >>>> > > > >> >>>> > >> > >>>>> > >> > given that we have a looming major > >>>> release > >>>> > > and > >>>> > > > a > >>>> > > > >> firm > >>>> > > > >> >>>> > date > >>>> > > > >> >>>> > >> > target. > >>>> > > > >> >>>> > >> > >>>>> > >> > > >>>> > > > >> >>>> > >> > >>>>> > >> > Can we regroup? refocus? > >>>> > > > >> >>>> > >> > >>>>> > >> > > >>>> > > > >> >>>> > >> > >>>>> > >> > Cheers, > >>>> > > > >> >>>> > >> > >>>>> > >> > Jesse > >>>> > > > >> >>>> > >> > >>>>> > >> > > >>>> > > > >> >>>> > >> > >>>>> > >> > > >>>> > > > >> >>>> > >> > >>>>> > >> > @purplecabbage > >>>> > > > >> >>>> > >> > >>>>> > >> > risingj.com > >>>> > > > >> >>>> > >> > >>>>> > >> > > >>>> > > > >> >>>> > >> > >>>>> > >> > >>>> > > > >> >>>> > >> > >>>>> > > >>>> > > > >> >>>> > >> > >>>>> > >>>> > > > >> >>>> > >> > >>>> > >>>> > > > >> >>>> > >> > >>>> > >>>> > > > >> >>>> > >> > > >>>> > > > >> >>>> > >> > >>>> > > > >> >>>> > > >>>> > > > >> >>>> > >>>> > > > >> >>> > >>>> > > > >> >>> > >>>> > > > >> >> > >>>> > > > >> > >>>> > > > > >>>> > > > >>>> > > >>>> > > >