[Mne_analysis] scp error due to sourcing mne_setup_sh

Morgan Hough morgan.hough at gmail.com
Thu Jul 11 22:12:34 EDT 2013
Search archives:

Thanks Justin,

That fixed it.

Cheers,

-Morgan

On Jul 11, 2013, at 6:01 PM, Justin Ales <justin.ales at gmail.com> wrote:

> Hey Morgan. 
> 
> This error is caused by characters spewed to the non interactive shell used by scp. Switch the step script to .bash_profile and it will work. 
> 
> Bash_profile is only invoked for an interactive shell
> 
> Justin
> 
> On Thursday, July 11, 2013, Morgan Hough wrote:
> Hi there,
> 
> Just wanted to ask if anyone else has had this problem. I was trying to scp something from my workstation to my laptop when I got the following error:
> 
> protocol error: unexpected <newline>
> 
> Checking the interwebs it seemed like the problem was due to something in my bashrc. I nailed it down to the MNE sourcing:
> 
> # Setup MNE
> export MNE_ROOT=/usr/local/MNE
> export MATLAB_ROOT=/usr/local/MATLAB
> . $MNE_ROOT/bin/mne_setup_sh
> 
> Has anyone else seen this problem? I am running Ubuntu 12.04LTS on my workstation.
> 
> Cheers,
> 
> -Morgan
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
> 
> 
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in error
> but does not contain patient information, please contact the sender and properly
> dispose of the e-mail.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20130711/030163dd/attachment.html 


More information about the Mne_analysis mailing list