Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Error messages issued when .profile, .kshrc write messages to stdout

Hi Dave

I was able to reproduce this error with an echo command in .bashrc. Please file a bug report for PTP sync, and I'll take a look.

The problem is probably either in JGit or in how PTP sync uses JGit (unnecessarily using a shell to run remote commands, for example).


Thanks
John

On Wed, Oct 12, 2016 at 8:52 AM, David Wootton <dwootton@xxxxxxxxxx> wrote:

Hi
I have noticed a problem that occurs in various places, most recently when I click 'Synchronize->Sync active now'.

If anything that runs in my .profile login script on my remote system or in .bashrc, etc issues messages to stdout it causes problems with remote system access.

This morning I ran into a problem where my .profile script had a statement echo '"Running .profile on $hname"'. When I clicked 'Synchronize->Sync active now' I got a popup 'Synchronization error for project hpm" org.eclipse.jgit.errors.TransportException: Invalid packet line header: Runn'

If I put text in /etc/motd then that doesn't cause problems

Other times the error is a little more obscure.

I suspect something in one of the underlying transport layers is getting confused by the messages .profile issues to stdout. Is this a restriction/limitation? Is there anything that could be done to fix this?

Dave


_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-user


Back to the top