Git Product home page Git Product logo

Comments (11)

yjbanov avatar yjbanov commented on May 8, 2024

Does the file '/home/albertog/Documents/streamy-dart/bin/packages/args/args.dart' exist? Perhaps you forgot to run 'pub get'?

from streamy-dart.

albertog avatar albertog commented on May 8, 2024

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.

yjbanov avatar yjbanov commented on May 8, 2024

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.

albertog avatar albertog commented on May 8, 2024

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.

yjbanov avatar yjbanov commented on May 8, 2024

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.

yjbanov avatar yjbanov commented on May 8, 2024

Just tagged a release for you: https://github.com/google/streamy-dart/releases/tag/v0.0.7

from streamy-dart.

albertog avatar albertog commented on May 8, 2024

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.

albertog avatar albertog commented on May 8, 2024

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💯20)
#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.

yjbanov avatar yjbanov commented on May 8, 2024

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.

albertog avatar albertog commented on May 8, 2024

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.

yjbanov avatar yjbanov commented on May 8, 2024

Closing. Feel free to reopen if it's still happening.

from streamy-dart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.