randy3k / remote-atom

rmate for atom
https://atom.io/packages/remote-atom
MIT License
85 stars 16 forks source link

occasional line break added #7

Closed ptica closed 9 years ago

ptica commented 9 years ago

I've noticed that slightly longer files get sometimes (1 of 10 edits) damaged during the transport: a line break is added after first roughly ~20 characters of some random line

(I know this is very vague report, I will inspect the log files I encounter the issue next time, I just post it in case anyone had already noticed the same issue)

ptica commented 9 years ago

so a line break was just added after 16352 characters from beginning of the file on line 515, dmesg on the remote machine reports nothing, atom console looks ok as well - what should I check next?

[ratom] received connection from 127.0.0.1 /Users/ptacek/.atom/packages/remote-atom/lib/remote-atom.coffee:197
[ratom] create /var/folders/x6/5xgyjw2j7nb_8_75r0lr9rkw0000gn/T/idNLZKPc5H/module/Application/src/Application/Controller/SocialController.php /Users/ptacek/.atom/packages/remote-atom/lib/remote-atom.coffee:49
[ratom] opening /var/folders/x6/5xgyjw2j7nb_8_75r0lr9rkw0000gn/T/idNLZKPc5H/module/Application/src/Application/Controller/SocialController.php /Users/ptacek/.atom/packages/remote-atom/lib/remote-atom.coffee:105
randy3k commented 9 years ago

Could you check if v1.1.4 solves the issue?

randy3k commented 9 years ago

It doesn't fix the issue. I think I know the reason why. Trying to fix it.

randy3k commented 9 years ago

Fixed. It was because the chunk is not parsed correctly.