The message basically says that there is something wrong with the file
.profile in your home directory. You will either have to correct this error or to remove the file.
So use a Live CD or USB and boot from that. When the system is up, use "Try Ubuntu" and open the hard drive. You'll find it normally in the sidebar or you can open a terminal and enter
ls /media. Your mounted hard drive lives there. Navigate to
home/imight. The whole path is
SOMETHING depends on the layout of your drive. The best option is to rename the file
.profile to some other name. But you can also open the file and see if you can find the error. Once you've spotted it you might be able to correct it.
After you renamed the file or corrected it you can reboot into your system. Now you'll be able to login.