Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No handler found error when running in Dartium #31

Open
marcojakob opened this issue May 1, 2013 · 5 comments
Open

No handler found error when running in Dartium #31

marcojakob opened this issue May 1, 2013 · 5 comments

Comments

@marcojakob
Copy link

I tried to start the provided example application in Dart Editor. It works when I run it as JavaScript but doesn't work in Dartium.

OS: Win7 64bit
Dart SDK: 0.5.1.0_r22072

Error message and log output:

[FINEST] addHandler /one
[FINEST] addHandler /two
[FINEST] listen ignoreClick=false useFragment=false
[FINEST] onPopState handle(/C:/Users/{user}/dart/routing/web/example.html)
[FINEST] handle /C:/Users//{user}/dart/routing/web/example.html
Exception: Illegal argument(s): No handler found for /C:/Users//{user}/dart/routing/web/example.html
Stack Trace: #0      Router._getUrl (package:route/client.dart:48:7)
#1      Router.handle (package:route/client.dart:66:22)
#2      Router.listen.<anonymous closure> (package:route/client.dart:97:15)

Exception: Illegal argument(s): No handler found for /C:/Users//{user}/dart/routing/web/example.html
Stack Trace: #0      Router._getUrl (package:route/client.dart:48:7)
#1      Router.handle (package:route/client.dart:66:22)
#2      Router.listen.<anonymous closure> (package:route/client.dart:97:15)
@marcojakob
Copy link
Author

Might be the same problem as discussed in Routes: using fragments

Is there a way to make route work with Dart Editor?

(Thanks for the great work!)

@sethladd
Copy link
Contributor

I think I just ran into this. Using editor + dartium, and route is complaining that it can't find a route for the index.html itself. Which is correct, I never setup a route for home.

@hatuan
Copy link

hatuan commented Jun 20, 2013

Is there anyway to use route with editor + dartium. I am learning dart web ui with multiple views?

@sethladd
Copy link
Contributor

Any ideas or progress on this?

@sethladd
Copy link
Contributor

Here's the very hacky fix:
#41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants