A problem with workspace mirroring - project file update

Discussion about CodeLite development process and patches
pholonow
CodeLite Curious
Posts: 4
Joined: Tue Jul 22, 2014 12:51 pm
Genuine User: Yes
IDE Question: C++
Contact:

A problem with workspace mirroring - project file update

Post by pholonow »

Hi!
While working with Codelite I am using the workspace mirroring feature. It is a great idea, but it suffers from a little bug: the project file is not updated on the remote server. The SFTP always returns the following error: "SFTP Error: Can't write data to file: /home/corrlike/f2change.project. Remote channel is closed.". The source files (eg. cpp, hpp) are updated correctly. The project file at the remote server is always damaged, as well as the workspace file.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: A problem with workspace mirroring - project file update

Post by eranif »

which version of codelite are you using?

Eran
Make sure you have read the HOW TO POST thread
pholonow
CodeLite Curious
Posts: 4
Joined: Tue Jul 22, 2014 12:51 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: A problem with workspace mirroring - project file update

Post by pholonow »

I use CodeLite version 6.0
nickname
CodeLite Curious
Posts: 1
Joined: Tue Aug 11, 2015 1:31 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: A problem with workspace mirroring - project file update

Post by nickname »

Hi to all,
I am experiencing a similar problem. I always have problem on "mirroring" big files (around 10.000 lines but still small in size <500kb). The upload always fails with "remote channel closed" error and the file on the "mirrored" workspace becomes a zero-size damaged file. I have to use filezilla to fix the remote file. the problem sometimes appears and for the .project file.
If I delete some lines from the file upload (mirroring) works fine so the problem *must* be realated to the file size.

I am not sure if it's codelite error or my ssh client or ssh server on the mirrored machine but I hope someone has an idea of what is happening.

Currently I am using:

codelite version 8.1 but the problem has there from 6.X version
it is a self compiled from arch aur https://aur4.archlinux.org/packages/cod ... mments=all but the problem existed and in pre-compiled and in ubuntu
Your OS arch linux but the problem existed and in ubuntu
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: A problem with workspace mirroring - project file update

Post by eranif »

Reporting bugs on the forum tends to get lost. Please report them on GitHub on the issue tracker (this URL is also accessible from the codelite.org main page):

https://github.com/eranif/codelite/issues/new

Eran
Make sure you have read the HOW TO POST thread
Post Reply