Holcombe:SubversionEtc

From OpenWetWare

Revision as of 19:52, 27 May 2009 by Alex O. Holcombe (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Members

Alex Holcombe
Sarah McIntyre
Fahed Jbarah
• Shih-Yu Lo
• Patrick Goodbourn
Lizzy Nguyen
Alumni


Technical

Skills Checklist
Python Programming
Psychopy/VisionEgg Installation Notes
R analysis,plot,stats
Statistics
Buttonbox
Verifying timing
Programming Cheat Sheets


Subversion

here at Sydney Uni we live behind a proxy server so subversion will not work unless you configure subversion for that https://www.opends.org/wiki/page/ConfiguringSubversionToUseAProxyServer

which tells you to edit ~/.subversion/servers to tell it about the proxy. If you don't have this file, first try typing just 'svn' in terminal to check if you have it, if so run ANY command on svn and the config file will be created. Then you can hopefully execute: svn checkout http://psychopy.googlecode.com/svn/trunk/ psychopy-read-only

Accessing your stand-alone psychopy modules from a terminal session

Recall that sys.path which python uses might be affected by: .profile file in home directory, PYTHONSTARTUP file if you have one. But what adds the default directories to sys.path ?

Psychopy IDE editor is annoying, I prefer to run IPython from terminal and edit in TextWrangler. I don't know how to access the code in the PsychoPyIDE library, so instead I use svn to checkout a new version and then compile it

 python setup.py install

But noone's been able to access the PsychoPyIDE installation of python successfully from the terminal, see discussion


>>> from psychopy import * Traceback (most recent call last):

 File "<stdin>", line 1, in <module>
 File "/Applications/PsychoPyIDE.app/Contents/Resources/lib/python2.5/psychopy/misc.py", line 7, in <module>
   import monitors
 File "/Users/jwp/Code/psychopy/monitors/__init__.py", line 2, in <module>
 File "/Users/jwp/Code/psychopy/monitors/calibTools.py", line 13, in <module>
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy-0.7.0.dev4645-py2.5-macosx-10.3-i386.egg/scipy/__init__.py", line 86, in <module>
ImportError: cannot import name Tester
Views
Personal tools