1
試圖運行「酒館安裝」的一個項目,這裏的操作說明: http://news.dartlang.org/2013/01/big-breaking-change-dartjs-bootstrap-file-moving-to-pub.html飛鏢酒吧安裝x86_64的SocketIOException
這裏:
http://pub.dartlang.org/packages/browser
我得到與異常嘗試調用pub安裝時,請在下面詳細輸出。
我在x86_64 Ubuntu linux上使用dart SDK版本0.2.9.9_r16323。
我該怎樣做才能讓瀏覽器軟件包安裝?
跟蹤:
[email protected]:~/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)
使用這樣一個過時的Dart版本有什麼意義?Dart 1.0現在已經出現了一段時間(構建30798而不是16323)。 –
我剛從主頁https://www.dartlang.org/下載了一個,並認爲它是最新的穩定版本。你知道在哪裏可以找到更新的版本嗎? –
發現可以從編輯器 - >幫助 - >關於更新。現在再給它一次嘗試 –