Aptana 间歇性无法关闭输出流 [英] Aptana intermiittent unable to close output stream

查看:20
本文介绍了Aptana 间歇性无法关闭输出流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

希望有人能帮忙解决这个问题,因为这让我很生气!我在 OS X Lion 上使用 Aptana 3.1,但在之前的 Aptana 和 Snow Leopard 版本中遇到了同样的问题.

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.

我设置了多个 ftp 连接,但在尝试上传文件时出现间歇性问题.对于较大的 php 文件,这种情况似乎发生得更频繁,但并非总是如此.我单击向上"箭头将文件上传到服务器,上传进度条变为 100%,然后挂起大约一分钟,然后我收到一条消息,提示错误无法关闭输出流",并选择继续或取消.

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)

我已尝试删除连接并使用它重新创建.我在端口 21 上使用被动模式.

I've tried deleting the connection and recreating with it. I'm using passive mode on port 21.

感谢任何帮助.

谢谢,

德里克

推荐答案

此外,如果此操作失败,则在服务器中没有可用空间时会显示此消息.

Also if this fails, this message is shown when there is no free space in the server.

这篇关于Aptana 间歇性无法关闭输出流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆