dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.25k stars 1.58k forks source link

Dart Editor: dart programs (including examples) do not work #13659

Closed DartBot closed 9 years ago

DartBot commented 11 years ago

This issue was originally filed by hassan.h...@gmail.com


What steps will reproduce the problem?

  1. Open the Dart Editor
  2. Start any dart program (including the examples)
  3. Press play

What is the expected output? What do you see instead?

--- 27 sept. 2013 21:59:58 Running pub install ... --- Pub install failed, [1] Resolving dependencies......... Downloading browser 0.7.5 from hosted... %1 n’est pas une application Win32 valide.

Warning: Application may fail to run since packages did not get installed.Try running pub install again.

What version of the product are you using? On what operating system?

Please provide any additional information below.

I just tried to follow the tutorials and it doesn't seem to work. If I compile to javascript, then suddenly everything works, but I still get the aforementioned 404 error in the chrome (dartium) dev tools.

DartBot commented 11 years ago

This comment was originally written by hassan.hay...@gmail.com


Note: I have not made a single change to any of the given files (neither html, nor yaml, nor dart, nor css).

dgrove commented 11 years ago

cc @munificent. cc @keertip.

keertip commented 11 years ago

Bob,

Is pub supported on 32bit Windows 7?

sethladd commented 11 years ago

Added Area-Editor, Triaged labels.

clayberg commented 11 years ago

I am running Windows 7 64-bit with 32-bit Java and 32-bit Dart Editor and it works fine. I don't know about 32-bit Windows.


Set owner to @keertip. Added this to the M8 milestone. Removed Priority-Unassigned label. Added Priority-Medium label.

munificent commented 11 years ago

I've seen that issue appear before when there was a space in the path to the Dart SDK. What path do you have Dart installed to?

DartBot commented 11 years ago

This comment was originally written by hassan.haya...@gmail.com


the path is C:\Users\HAYAT Nezha\Downloads\dart

Yup, there is a space in the path. Then i guess that could be it.

keertip commented 11 years ago

@hassan,

Could you rename directory so that there is no path and check if pub then works? That way we could confirm that it is a space in path issue.

Thanks,

clayberg commented 11 years ago

Removed this from the M8 milestone. Added this to the Later milestone. Added NeedsInfo label.

DartBot commented 10 years ago

This comment was originally written by johnlus...@gmail.com


I have the EXACT same problem but my path has no spaces.

When I telnet to the server on 127.0.0.1:3030, the server immediately closes the connection before I can enter a GET request.

PS C:\Users\John\dart\sunflower> ls -r | ? {$_.Name -match 'sunflower.dart'}

    Directory: Microsoft.PowerShell.Core\FileSystem::C:\Users\John\dart\sunflower\build

Mode LastWriteTime Length Name


-a--- 12/14/2013 12:17 PM 91058 sunflower.dart.js

    Directory: Microsoft.PowerShell.Core\FileSystem::C:\Users\John\dart\sunflower\web

Mode LastWriteTime Length Name


-a--- 12/13/2013 7:52 PM 1480 sunflower.dart -a--- 12/14/2013 12:20 PM 194848 sunflower.dart.js -a--- 12/14/2013 12:20 PM 7748 sunflower.dart.js.deps -a--- 12/14/2013 12:20 PM 55700 sunflower.dart.js.map -a--- 12/14/2013 12:20 PM 347715 sunflower.dart.precompiled.js

PS C:\usr\local\dart> ls

    Directory: Microsoft.PowerShell.Core\FileSystem::C:\usr\local\dart

Mode LastWriteTime Length Name


d---- 12/13/2013 7:20 PM <DIR> chromium d---- 12/13/2013 7:16 PM <DIR> configuration d---- 12/13/2013 7:21 PM <DIR> dart-sdk d---- 12/13/2013 7:21 PM <DIR> features d---- 12/13/2013 7:20 PM <DIR> plugins d---- 12/13/2013 7:16 PM <DIR> samples

----- 12/2/2013 11:30 AM 135 .eclipseproduct

----- 12/6/2013 10:47 AM 325584 DartEditor.exe

----- 12/2/2013 11:30 AM 113 DartEditor.ini

----- 12/2/2013 11:33 AM 83 editor.properties

Just downloaded Dart yesterday.

DartBot commented 10 years ago

This comment was originally written by john...@gmail.com


Is this maybe related to 14011? (https://code.google.com/p/dart/issues/detail?id=14011)

DartBot commented 10 years ago

This comment was originally written by john...@gmail.com


Actually, I'm sort of guessing not, since dartium is your chromium clone and the problem is on the server side. Right?

keertip commented 10 years ago

@johnlusk4,

Can you run pub get successfully on your system?

sethladd commented 10 years ago

Please request to reopen if more information is provided.


Added CannotReproduce label.

clayberg commented 10 years ago

Removed this from the Later milestone. Added this to the 1.3 milestone.