Aptana 间歇性无法关闭输出流
希望有人能帮忙解决这个问题,因为它让我发疯!我在 OS X Lion 上使用 Aptana 3.1,但与之前版本的 Aptana 和 Snow Leopard 遇到了同样的问题。
我设置了多个 ftp 连接,但在尝试上传文件时遇到间歇性问题。对于较大的 php 文件,这种情况似乎更常见,但并非总是如此。我单击“向上”箭头将文件上传到服务器,上传进度条达到 100%,然后挂起大约一分钟,然后我收到一条消息,提示“错误无法关闭输出流”,并可选择继续或取消。
这是错误日志中的相应条目:
!SUBENTRY 1 com.aptana.core.io 4 0 2012-02-01 09:51:22.863
!MESSAGE Unable to close output stream.
!STACK 0
com.enterprisedt.net.ftp.ControlChannelIOException: Read timed out
at com.enterprisedt.net.ftp.FTPControlSocket.e(FTPControlSocket.java:1041)
at com.enterprisedt.net.ftp.FTPControlSocket.b(FTPControlSocket.java:1076)
at com.enterprisedt.net.ftp.FTPClient.validateTransfer(FTPClient.java:2545)
at com.enterprisedt.net.ftp.FTPOutputStream.close(FTPOutputStream.java:275)
at com.aptana.filesystem.ftp.internal.FTPFileUploadOutputStream.close(FTPFileUploadOutputStream.java:106)
at com.aptana.core.io.efs.SyncUtils.safeClose(SyncUtils.java:165)
at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:116)
at com.aptana.ide.syncing.core.old.Synchronizer.uploadAndDelete(Synchronizer.java:1370)
at com.aptana.ide.syncing.core.old.Synchronizer.upload(Synchronizer.java:1274)
at com.aptana.ide.syncing.ui.actions.UploadAction$1.run(UploadAction.java:128)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
我尝试删除连接并重新创建它。我在端口 21 上使用被动模式。
感谢任何帮助。
谢谢,
德里克
Hope someone can help with this as it's driving me mad! I'm using Aptana 3.1 on OS X Lion but had the same problem with the previous build of Aptana and Snow Leopard.
I have several ftp connections set up and get an intermittent problem when trying to upload files. It seems to happen much more often with larger php files but not all the time. I click the 'up' arrow to upload a file to the server and the upload progress bar gets to 100% then hangs for about a minute, I then get a message saying 'error unable to close output stream' with the option to continue or cancel.
This is the corresponding entry in the error log:
!SUBENTRY 1 com.aptana.core.io 4 0 2012-02-01 09:51:22.863
!MESSAGE Unable to close output stream.
!STACK 0
com.enterprisedt.net.ftp.ControlChannelIOException: Read timed out
at com.enterprisedt.net.ftp.FTPControlSocket.e(FTPControlSocket.java:1041)
at com.enterprisedt.net.ftp.FTPControlSocket.b(FTPControlSocket.java:1076)
at com.enterprisedt.net.ftp.FTPClient.validateTransfer(FTPClient.java:2545)
at com.enterprisedt.net.ftp.FTPOutputStream.close(FTPOutputStream.java:275)
at com.aptana.filesystem.ftp.internal.FTPFileUploadOutputStream.close(FTPFileUploadOutputStream.java:106)
at com.aptana.core.io.efs.SyncUtils.safeClose(SyncUtils.java:165)
at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:116)
at com.aptana.ide.syncing.core.old.Synchronizer.uploadAndDelete(Synchronizer.java:1370)
at com.aptana.ide.syncing.core.old.Synchronizer.upload(Synchronizer.java:1274)
at com.aptana.ide.syncing.ui.actions.UploadAction$1.run(UploadAction.java:128)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
I've tried deleting the connection and recreating with it. I'm using passive mode on port 21.
Any help appreciated.
Thanks,
Derek
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
此外,如果失败,当服务器中没有可用空间时,会显示此消息。
Also if this fails, this message is shown when there is no free space in the server.
好的,修好了。清空Aptana的错误日志似乎已经完成了!
帮助->阿普塔纳 ->清除日志文件
OK Fixed it. Emptying Aptana's error log seems to have done it!
Help -> Aptana -> Clear log file