Comments (11)
Does the file '/home/albertog/Documents/streamy-dart/bin/packages/args/args.dart' exist? Perhaps you forgot to run 'pub get'?
from streamy-dart.
Thaks for your suggest but yes i have gotten even if i open project from
editor lib exist and seems not problenm it is a little strange.
El 30/12/2013 18:56, "Yegor" [email protected] escribió:
Does the file
'/home/albertog/Documents/streamy-dart/bin/packages/args/args.dart' exist?
Perhaps you forgot to run 'pub get'?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/140#issuecomment-31358440
.
from streamy-dart.
So, I just tried it myself (on Linux for now, will try Windows later today when I have access to a Windows machine). I did a fresh git clone, ran apigen.dart and got the same error. However, after running 'pub get' it worked. Perhaps your 'packages' directory is broken. Try deleting all 'packages' directories and running 'pub get' again. Sorry, I can only give you my guesses until I can reproduce the problem myself.
from streamy-dart.
I will try it and give the result
El 30/12/2013 19:16, "Yegor" [email protected] escribió:
So, I just tried it myself (on Linux for now, will try Windows later today
when I have access to a Windows machine). I did a fresh git clone, ran
apigen.dart and got the same error. However, after running 'pub get' it
worked. Perhaps your 'packages' directory is broken. Try deleting all
'packages' directories and running 'pub get' again. Sorry, I can only give
you my guesses until I can reproduce the problem myself.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/140#issuecomment-31359412
.
from streamy-dart.
Just so you know, the master branch is ahead of pub and has some breaking changes. If you want the version that's the same as in pub the commit you want is 6a968f2
from streamy-dart.
Just tagged a release for you: https://github.com/google/streamy-dart/releases/tag/v0.0.7
from streamy-dart.
ok many thanks for quick response.
On Mon, Dec 30, 2013 at 9:49 PM, Yegor [email protected] wrote:
Just tagged a release for you:
https://github.com/google/streamy-dart/releases/tag/v0.0.7—
Reply to this email directly or view it on GitHubhttps://github.com//issues/140#issuecomment-31367886
.
from streamy-dart.
I have tried and now appear other different error. If i can help I paste error.
casa streamy-dart-0.0.7 # /home/albertog/dart/dart-sdk/bin/dart bin/apigen.dart --discovery_file=urlshortener.json --client_file=urlshortener.dart --library_name=urlshortener
Uncaught Error: Class '_LocalClassMirror' has no instance getter 'members'.
NoSuchMethodError : method not found: 'members'
Receiver: Instance of '_LocalClassMirror'
Arguments: []
Stack Trace:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#1 _Template._getNamedProperty (package:mustache/template.dart:158:29)
#2 _Template._resolveValue (package:mustache/template.dart:131:30)
#3 _Template._renderVariable (package:mustache/template.dart:175:30)
#4 _renderNode (package:mustache/template.dart
#5 List.forEach (dart:core-patch/growable_array.dart:240)
#6 _Template._renderSectionWithValue (package:mustache/template.dart:193:24)
#7 _Template._renderSection. (package:mustache/template.dart:202:48)
#8 List.forEach (dart:core-patch/growable_array.dart:240)
#9 _Template._renderSection (package:mustache/template.dart:202:17)
#10 _renderNode (package:mustache/template.dart:106:19)
#11 List.forEach (dart:core-patch/growable_array.dart:240)
#12 _Template._renderSectionWithValue (package:mustache/template.dart:193:24)
#13 _Template._renderSection. (package:mustache/template.dart:202:48)
#14 List.forEach (dart:core-patch/growable_array.dart:240)
#15 _Template._renderSection (package:mustache/template.dart:202:17)
#16 _renderNode (package:mustache/template.dart:106:19)
#17 List.forEach (dart:core-patch/growable_array.dart:240)
#18 _Template.render (package:mustache/template.dart:88:25)
#19 _Template.renderString (package:mustache/template.dart:79:9)
#20 Emitter._render (package:streamy/generator/emitter.dart:108:40)
#21 Emitter.processObjectType (package:streamy/generator/emitter.dart:249:12)
#22 Emitter.processType (package:streamy/generator/emitter.dart:210:26)
#23 Emitter.generate. (package:streamy/generator/emitter.dart:76:18)
#24 _HashMap&_LinkedHashMapMixin.forEach (dart:collection-patch/collection_patch.dart:965)
#25 Emitter.generate (package:streamy/generator/emitter.dart:75:30)
#26 main. (file:///home/albertog/Documents/streamy-dart-0.0.7/bin/apigen.dart:20:18)
#27 _Future._propagateToListeners. (dart:async/future_impl.dart:453)
#28 _rootRun (dart:async/zone.dart:683)
#29 _RootZone.run (dart:async/zone.dart:832)
#30 _Future._propagateToListeners (dart:async/future_impl.dart:445)
#31 _Future._complete (dart:async/future_impl.dart:303)
#32 _Future._asyncComplete. (dart:async/future_impl.dart:354)
#33 _asyncRunCallback (dart:async/schedule_microtask.dart:18)
#34 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:119)
Unhandled exception:
Class '_LocalClassMirror' has no instance getter 'members'.
NoSuchMethodError : method not found: 'members'
Receiver: Instance of '_LocalClassMirror'
Arguments: []
#0 _rootHandleUncaughtError.. (dart:async/zone.dart:677)
#1 _asyncRunCallback (dart:async/schedule_microtask.dart:18)
#2 _asyncRunCallback (dart:async/schedule_microtask.dart:21)
#3 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:119)
thanks in advance
from streamy-dart.
There's some weirdness about the "members" getter. On one hand I am getting a warning from the Editor that it doesn't exist, and api.dartlang.org show there's no such getter. On the other hand, my code is able to hit that line and not fail. However, it fails for you. What version of Dart SDK are you running? You can check by running dart --version. I'm on 1.0.2.1_r30821. I suspect there are bugs in both the mustache library and the Dart SDK. The mustache library should be using members, and Dart SDK should not let it use it.
from streamy-dart.
My version is:
Dart VM version: 1.1.0-dev.5.0 (Fri Dec 20 05:52:30 2013) on "linux_ia32"
thanks alberto
On Mon, Dec 30, 2013 at 10:45 PM, Yegor [email protected] wrote:
There's some weirdness about the "members" getter. On one hand I am
getting a warning from the Editor that it doesn't exist, and
api.dartlang.org show there's no such getter. On the other hand, my code
is able to hit that line and not fail. However, it fails for you. What
version of Dart SDK are you running? You can check by running dart
--version. I'm on 1.0.2.1_r30821. I suspect there are bugs in both the
mustache library and the Dart SDK. The mustache library should be using
members, and Dart SDK should not let it use it.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/140#issuecomment-31370758
.
from streamy-dart.
Closing. Feel free to reopen if it's still happening.
from streamy-dart.
Related Issues (20)
- Utility function for observing deeply HOT 1
- Cleanup warnings/errors from Dart analyzer
- Need ability to specify path to protoc instead of assuming it will be on the path. HOT 1
- Rewrite transformer using await when available
- Handle 204 responses correctly
- In DotAccess mixin eliminate removeLast HOT 2
- SimpleRequestHandler should close its stream on completion
- Dart2JS complains about base entities not being abstract when clone and other options are turned on
- streamyType not declared in Entity
- Streamy constructs new key/unmarshallar map for every instance being unmarshalled.
- Allow Unmarshallar to override the new call
- Use quiver.cache instead of a copy of the same interface in Streamy.
- Update README to reflect current command-line options
- Implement discardListChanges in ObservableImmutableListView
- Bump mustache to >= 0.2.3
- update generated .pb.dart files for protobuf 0.5.0
- "Could not resolve package location..." while running the tutorial
- Streamy on pub is 3 years out of date HOT 2
- apigen step fails (from README.md instructions on how to try the library)
- What's the status of streamy? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamy-dart.