Dear developers,
If .bashrc and .bash_profile do not exist the installer will die. Issuing touch .bashrc and touch .bash_profile will fix this. Please find the traceback below.
Antti
----
Setting up FSL software...
Traceback (most recent call last):
File "Downloads/fslinstaller.py", line 1731, in <module>
installer(options,args)
File "Downloads/fslinstaller.py", line 1665, in installer
a_result = this_install.configure_env()
File "Downloads/fslinstaller.py", line 1128, in configure_env
if file_contains(self.profile, "FSLDIR"):
File "Downloads/fslinstaller.py", line 389, in file_contains
f = open(fname, 'r')
IOError: [Errno 2] No such file or directory: '/Users/antti/.bash_profile'
Duncan Mortimer <[log in to unmask]> kirjoitti 7.9.2012 kello 14.42:
> Thanks for pointing that out. Unless you want to use the MATLAB libraries we provide then this will have no effect on your use of the FSL software.
>
> This will be fixed in the next installer release which will probably happen early next week.
>
> Duncan
> On 7 Sep 2012, at 08:41, Michel Thiebaut de Schotten wrote:
>
>> Dear Experts.
>> Thank you for this new realease. FSL 5.0 is working perfectly.
>>
>> I had an error message during the installation that I though would be a good idea to report it.
>> UnboundLocalError: local variable 'mlines' referenced before assignment
>>
>>
>> Thanks again for you work,
>> Kind regards,
>> Michel
>>
>> --- FSL Installer - Version 2.0.0 ---
>> [Warning] Some operations of the installer require administative rights, for example installing into the default folder of /usr/local. If your account is an 'Administrator' (you have 'sudo' rights) then you will be prompted for your administrator password when necessary.
>> [OK] Installer is current
>> Where would you like to install FSL? [/usr/local]:
>> FSL exists in the current location, would you like to keep the old version? [No]:
>> Downloading FSL version 5.0.0
>> Checking download...
>> [OK] Download is good.
>> Password:
>> Installing FSL software...
>> [OK] FSL software installed.
>> Creating Application links...
>> [Warning] Unable to find application /usr/local/fsl/bin/fslview.app to link to
>> [Warning] Unable to find application /usr/local/fsl/bin/assistant.app to link to
>> Checking for X11 windowing system (required for FSL GUIs).
>> [OK] X11 software (required for FSL GUIs) is installed.
>> Setting up FSL software...
>> Traceback (most recent call last):
>> File "./fslinstaller.py", line 1731, in <module>
>> installer(options,args)
>> File "./fslinstaller.py", line 1665, in installer
>> a_result = this_install.configure_env()
>> File "./fslinstaller.py", line 1140, in configure_env
>> a_result = self.configure_matlab()
>> File "./fslinstaller.py", line 1082, in configure_matlab
>> result = create_file(m_startup, mlines)
>> UnboundLocalError: local variable 'mlines' referenced before assignment
>
> --
> Duncan A B Mortimer DPhil MChem
> Computing Officer, FMRIB Centre, University of Oxford,
> John Radcliffe Hospital, Headington, Oxford OX3 9DU, UK.
> Tel: (0)1865 222713
> WWW: http://www.fmrib.ox.ac.uk/~duncan email: [log in to unmask]
|