Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux Dart发布安装x86_64 SocketIOException_Linux_Dart_Dart Pub - Fatal编程技术网

Linux Dart发布安装x86_64 SocketIOException

Linux Dart发布安装x86_64 SocketIOException,linux,dart,dart-pub,Linux,Dart,Dart Pub,尝试为项目运行“pub install”,请遵循以下说明: 在这里: 在尝试调用pub install时,我遇到了下面完整详细输出的异常 我在x86_64 Ubuntu linux上使用的是dart SDK版本0.2.9.9_r16323 要安装浏览器软件包,我应该采取哪些不同的措施 跟踪: joe@joe-desktop-2:~/shared/programming/appengine/joesarre/tstormdart$ pub -v install IO : Seeing if

尝试为项目运行“pub install”,请遵循以下说明:

在这里:

在尝试调用pub install时,我遇到了下面完整详细输出的异常

我在x86_64 Ubuntu linux上使用的是dart SDK版本0.2.9.9_r16323

要安装浏览器软件包,我应该采取哪些不同的措施

跟踪:

joe@joe-desktop-2:~/shared/programming/appengine/joesarre/tstormdart$ pub -v install
IO  : Seeing if file /media/mass/home/joe/programming/tstormdart/pubspec.yaml exists.
IO  : File /media/mass/home/joe/programming/tstormdart/pubspec.yaml exists.
IO  : Reading text file /media/mass/home/joe/programming/tstormdart/pubspec.yaml.
IO  : Read /media/mass/home/joe/programming/tstormdart/pubspec.yaml. Contents:
    | name:  tstormdart
    | description:  A sample application
    | 
    | dependencies:
    | #  js: any
    | #  unittest: { sdk: unittest }
    |    browser: any
    | 
    | 
FINE: Loading lockfile.
IO  : Seeing if file /media/mass/home/joe/programming/tstormdart/pubspec.lock exists.
IO  : File /media/mass/home/joe/programming/tstormdart/pubspec.lock exists.
IO  : Reading text file /media/mass/home/joe/programming/tstormdart/pubspec.lock.
IO  : Read /media/mass/home/joe/programming/tstormdart/pubspec.lock. Contents:
    | {"packages":{}}
MSG : Resolving dependencies...
FINE: Adding (entrypoint)'s constraint tstormdart 0.0.0 from root (tstormdart).
FINE: Changing tstormdart to version 0.0.0.
FINE: Adding tstormdart's constraint browser any from hosted (browser).
IO  : Sending HTTP request GET http://pub.dartlang.org/packages/browser.json.
FINE: Got response 200 OK.
FINE: Changing browser to version 0.9.0.
IO  : Sending HTTP request GET http://pub.dartlang.org/packages/browser/versions/0.9.0.yaml.
FINE: Got response 200 OK.
IO  : Seeing if directory /media/mass/home/joe/programming/tstormdart/packages exists.
IO  : Directory /media/mass/home/joe/programming/tstormdart/packages exists.
IO  : Begin delete directory /media/mass/home/joe/programming/tstormdart/packages.
IO  : End delete directory /media/mass/home/joe/programming/tstormdart/packages.
IO  : Begin create directory /media/mass/home/joe/programming/tstormdart/packages.
IO  : End create directory /media/mass/home/joe/programming/tstormdart/packages.
FINE: Ensuring directory /media/mass/home/joe/programming/tstormdart/packages exists.
IO  : Seeing if directory /media/mass/home/joe/programming/tstormdart/packages exists.
IO  : Directory /media/mass/home/joe/programming/tstormdart/packages exists.
FINE: Directory /media/mass/home/joe/programming/tstormdart/packages already exists.
IO  : Seeing if file /media/mass/home/joe/programming/tstormdart/packages/browser exists.
IO  : Seeing if directory /media/mass/home/joe/programming/tstormdart/packages/browser exists.
IO  : File /media/mass/home/joe/programming/tstormdart/packages/browser does not exist.
IO  : Directory /media/mass/home/joe/programming/tstormdart/packages/browser does not exist.
IO  : Seeing if file /home/joe/.pub-cache/hosted/pub.dartlang.org/browser-0.9.0 exists.
IO  : Seeing if directory /home/joe/.pub-cache/hosted/pub.dartlang.org/browser-0.9.0 exists.
IO  : File /home/joe/.pub-cache/hosted/pub.dartlang.org/browser-0.9.0 does not exist.
IO  : Directory /home/joe/.pub-cache/hosted/pub.dartlang.org/browser-0.9.0 does not exist.
FINE: Ensuring directory /home/joe/.pub-cache/hosted/pub.dartlang.org exists.
IO  : Seeing if directory /home/joe/.pub-cache/hosted/pub.dartlang.org exists.
IO  : Directory /home/joe/.pub-cache/hosted/pub.dartlang.org exists.
FINE: Directory /home/joe/.pub-cache/hosted/pub.dartlang.org already exists.
MSG : Downloading browser 0.9.0...
IO  : Sending HTTP request GET http://pub.dartlang.org/packages/browser/versions/0.9.0.tar.gz.
FINE: Ensuring directory /home/joe/.pub-cache/_temp exists.
IO  : Seeing if directory /home/joe/.pub-cache/_temp exists.
IO  : Directory /home/joe/.pub-cache/_temp does not exist.
FINE: Ensuring directory /home/joe/.pub-cache exists.
IO  : Seeing if directory /home/joe/.pub-cache exists.
IO  : Directory /home/joe/.pub-cache exists.
FINE: Directory /home/joe/.pub-cache already exists.
IO  : Begin create directory /home/joe/.pub-cache/_temp.
IO  : End create directory /home/joe/.pub-cache/_temp.
IO  : Begin create temp directory /home/joe/.pub-cache/_temp/dir.
IO  : End create temp directory /home/joe/.pub-cache/_temp/dir.
Unhandled exception:
SocketIOException: Unexpected handshake error in client (OS Error: errno = -12268)
#0      _SecureFilterImpl.handshake (dart:io-patch:870:8)
#1      _SecureSocket._secureHandshake (dart:io:7393:27)
#2      _SecureSocket._secureConnectHandler._secureConnectHandler (dart:io:7305:21)
#3      _Socket._updateOutHandler.firstWriteHandler (dart:io-patch:773:64)
#4      _SocketBase._multiplex (dart:io-patch:408:26)
#5      _SocketBase._sendToEventHandler.<anonymous closure> (dart:io-patch:509:20)
#6      _ReceivePortImpl._handleMessage (dart:isolate-patch:37:92)
joe@joe-桌面2:~/shared/programming/appengine/joesarre/tstormdart$pub-v安装
IO:查看是否存在文件/媒体/大众/主页/乔/编程/tstormdart/pubspec.yaml。
IO:File/media/mass/home/joe/programming/tstormdart/pubspec.yaml存在。
IO:读取文本文件/media/mass/home/joe/programming/tstormdart/pubspec.yaml。
IO:Read/media/mass/home/joe/programming/tstormdart/pubspec.yaml。内容:
|姓名:tstormdart
|描述:一个示例应用程序
| 
|依赖项:
|#js:有吗
|#unittest:{sdk:unittest}
|浏览器:有吗
| 
| 
好:加载锁文件。
IO:查看是否存在文件/媒体/大众/主页/乔/编程/tstormdart/pubspec.lock。
IO:File/media/mass/home/joe/programming/tstormdart/pubspec.lock存在。
IO:读取文本文件/media/mass/home/joe/programming/tstormdart/pubspec.lock。
IO:Read/media/mass/home/joe/programming/tstormdart/pubspec.lock。内容:
|{“包”:{}
正在解析依赖项。。。
精细:从根(tstormdart)添加(入口点)的约束tstormdart 0.0.0。
很好:将tstormdart更改为0.0.0版。
精细:从任何主体(浏览器)添加tstormdart的约束浏览器。
IO:发送HTTP请求GEThttp://pub.dartlang.org/packages/browser.json.
好的:得到了200的回复。
精细:将浏览器更改为0.9.0版。
IO:发送HTTP请求GEThttp://pub.dartlang.org/packages/browser/versions/0.9.0.yaml.
好的:得到了200的回复。
IO:查看是否存在目录/media/mass/home/joe/programming/tstormdart/packages。
IO:存在目录/media/mass/home/joe/programming/tstormdart/packages。
IO:开始删除目录/media/mass/home/joe/programming/tstormdart/packages。
IO:End删除目录/media/mass/home/joe/programming/tstormdart/packages。
IO:开始创建目录/media/mass/home/joe/programming/tstormdart/packages。
IO:结束创建目录/media/mass/home/joe/programming/tstormdart/packages。
很好:确保目录/media/mass/home/joe/programming/tstormdart/packages存在。
IO:查看是否存在目录/media/mass/home/joe/programming/tstormdart/packages。
IO:存在目录/media/mass/home/joe/programming/tstormdart/packages。
很好:目录/media/mass/home/joe/programming/tstormdart/packages已经存在。
IO:查看是否存在文件/媒体/大众/主页/乔/编程/tstormdart/软件包/浏览器。
IO:查看是否存在目录/media/mass/home/joe/programming/tstormdart/packages/browser。
IO:File/media/mass/home/joe/programming/tstormdart/packages/browser不存在。
IO:目录/media/mass/home/joe/programming/tstormdart/packages/browser不存在。
IO:查看文件/home/joe/.pub cache/hosted/pub.dartlang.org/browser-0.9.0是否存在。
IO:查看目录/home/joe/.pub cache/hosted/pub.dartlang.org/browser-0.9.0是否存在。
IO:File/home/joe/.pub cache/hosted/pub.dartlang.org/browser-0.9.0不存在。
IO:Directory/home/joe/.pub cache/hosted/pub.dartlang.org/browser-0.9.0不存在。
很好:确保目录/home/joe/.pub cache/hosted/pub.dartlang.org存在。
IO:查看目录/home/joe/.pub cache/hosted/pub.dartlang.org是否存在。
IO:Directory/home/joe/.pub cache/hosted/pub.dartlang.org存在。
很好:目录/home/joe/.pub cache/hosted/pub.dartlang.org已经存在。
消息:正在下载浏览器0.9.0。。。
IO:发送HTTP请求GEThttp://pub.dartlang.org/packages/browser/versions/0.9.0.tar.gz.
很好:确保目录/home/joe/.pub cache/\u temp存在。
IO:查看目录/home/joe/.pub cache/\u temp是否存在。
IO:Directory/home/joe/.pub cache/\u temp不存在。
很好:确保目录/home/joe/.pub缓存存在。
IO:查看目录/home/joe/.pub缓存是否存在。
IO:存在目录/home/joe/.pub缓存。
很好:目录/home/joe/.pub缓存已存在。
IO:开始创建目录/home/joe/.pub cache/\u temp。
IO:结束创建目录/home/joe/.pub cache/\u temp。
IO:开始创建临时目录/home/joe/.pub cache/\u temp/dir。
IO:End create temp directory/home/joe/.pub cache/_temp/dir。
未处理的异常:
SocketIOException:客户端中出现意外的握手错误(操作系统错误:errno=-12268)
#0_SecureFilterImpl.握手(dart:io补丁:870:8)
#1 _SecureSocket._secureHandshake(dart:io:7393:27)
#2 \u SecureSocket.\u secureConnectHandler.\u secureConnectHandler(dart:io:7305:21)
#3 _Socket._updateOutHandler.firstWriteHandler(dart:io修补程序:773:64)
#4 SocketBase.multiplex(dart:io补丁:408:26)
#5_SocketBase._发送给Venthandler。(飞镖:io补丁:509:20)
#6 _ReceivePortImpl._handleMessage(dart:隔离补丁:37:92)

我尝试下载Linux x64版本,得到了当前版本


很高兴看到从过时版本更新成功(帮助>关于>检查更新)。

使用这种过时的Dart版本有什么意义?Dart 1.0已经推出一段时间了(构建30798而不是16323)。我刚刚从主页下载了一个,并假设它是最新的稳定版本。您知道在哪里可以找到更新的版本吗?发现可以从编辑器->帮助->关于进行更新。现在再试试看,一定是出了什么问题。你能试着从(使用下面提到“开发频道”的大下载按钮的段落中的链接)下载吗?从编辑器中更新使我看到Dart SDK版本1.1.0-dev.4.0,我可以看到它与你描述的链接中的版本相同。使用更新的版本,我不再有任何问题。谢谢你帮我到达那里-如果你愿意的话