Re: Error in sample app

Visto 14 veces
Saltar al primer mensaje no leído

Sam McCall

no leída,
19 oct 2012, 11:31:1519/10/12
a google-api-...@googlegroups.com
Hi Reed,

Sorry! Yes, it's out of date - it hasn't yet caught up with recent language changes.
I've got a new version that should fix these issues, and will push it as soon as code.google.com finishes maintenance.

There are more significant changes coming, as we work out how to support pub better.
(This will probably mean splitting each client library into its own package so they can be separately versioned, and working out how to automatically update them).

Cheers,
Sam

On Thu, Oct 11, 2012 at 9:42 PM, <reedl...@gmail.com> wrote:
I am trying to run the sample schedule app (http://code.google.com/p/google-api-dart-client/wiki/Samples#Today's_schedule_(calendar-v3)) and getting the following errors in the dart editor console:

Internal error: 'http://127.0.0.1:3030/Users/reed/Developer/google-api-dart-client.samples/schedule/schedule.dart': Error: line 130 pos 54: illegal character after $ in string interpolation
  final tzMatch = const RegExp(@'([+-])(\d\d):(\d\d)$').firstMatch(text);
                                                     ^
Internal error: 'http://127.0.0.1:3030/Users/reed/Developer/google-api-dart-client.samples/schedule/packages/google-api-dart-client/calendar-v3.dart': Error: line 84 pos 41: unexpected token '@'
          .replaceAll(const core.RegExp(@'\s+'), '_')
                                        ^

Here is my dart info:
Editor: 13393 (2012-10-08)
OS: Mac OS X - x86_64 (10.7.5)
JVM: 1.6.0_35

SDK installed: true
Dartium installed: true


Is this library out of date? Am I running it incorrectly?

Thanks,
Reed

--
You received this message because you are subscribed to the Google Groups "Google APIs client library for Dart" group.
To post to this group, send email to google-api-...@googlegroups.com.
To unsubscribe from this group, send email to google-api-dart-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/google-api-dart-client/-/3jKZl8_975AJ.
For more options, visit https://groups.google.com/groups/opt_out.



Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos