-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
This issue was originally filed by ctorresk8guita...@gmail.com
What steps will reproduce the problem?
1.Launch DartEditor, either from Terminal or launcer in Ubuntu 12.04 x86_64.
2.Create a project, a select Command-line Application
3.Hit run.
What is the expected output? What do you see instead?
I expect to see a "Hello World" message, instead I get an error explaining it can't find "/home/meteorfox/dart/dart-sdk/bin/dart"
What version of the product are you using? On what operating system?
Version 0.1.0.201207091117, Build 9474
Dart SDK version 9474
Please provide any additional information below.
From experiences in Clojure, JVM have a hard time handling folders with dashes in directory names, perhaps, this could be the cause of this problem.
When launched from Terminal, and I tried to run the application I get the following message in the terminal.
!SESSION 2012-07-15 18:25:06.702 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64 -consoleLog -data workspace
!ENTRY com.google.dart.tools.debug.core 4 0 2012-07-15 18:25:13.541
!MESSAGE Cannot run program "/home/meteorfox/dart/dart-sdk/bin/dart" (in directory "/home/meteorfox/dart-workspace/HelloWorld"): error=2, No such file or directory
!STACK 0
java.io.IOException: Cannot run program "/home/meteorfox/dart/dart-sdk/bin/dart" (in directory "/home/meteorfox/dart-workspace/HelloWorld"): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at com.google.dart.tools.debug.core.configs.DartServerLaunchConfigurationDelegate.launchVM(DartServerLaunchConfigurationDelegate.java:128)
at com.google.dart.tools.debug.core.configs.DartServerLaunchConfigurationDelegate.launch(DartServerLaunchConfigurationDelegate.java:70)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
... 7 more
(Dart Editor:12314): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed
(Dart Editor:12314): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.