view diff met "IOError: [Errno 22] Invalid argument"

2011-03-09 Thread Shi Yuanmin - Simon
Traceback (most recent call last): File "c:\python25\lib\site-packages\ReviewBoard-1.5.4-py2.5.egg \reviewboard\diffviewer\views.py", line 153, in view_diff interdiffset, highlighting, True) File "c:\python25\lib\site-packages\ReviewBoard-1.5.4-py2.5.egg \reviewboard\diffviewer\diffutils.py

Re: Trouble with installing ReviewBoard on Windows.

2011-03-10 Thread Shi Yuanmin - Simon
You should check you apache log first, maybe this is caused by privilege setting. On Mar 10, 1:41 am, "ktckd ." wrote: > Hi Christian, > > Thanks for the reply. You are right I forgot to install mod_python. > > I was able to see the login page after settings things up. But now I > am having an is

'view diff' (diffutils.py) in 1.5.4 can't work well on my Windows

2011-03-10 Thread Shi Yuanmin - Simon
1. GnuPatch 2.5.9 on Windows can work well in 'subprocess.Popen' (feed diff file to stdin, an interactive way?), I didn't find root cause yet. I changed the command to 'patch -o new_file old_file diff_file', it generated new_file finally. 2. GnuPatch 2.5.9 on Windows requires '\r\n' in diff_file,

Re: view diff met "IOError: [Errno 22] Invalid argument"

2011-03-11 Thread Shi Yuanmin - Simon
Please ignore this. I just stop and start Apache (not restart), it's gone (weird Windows)... Maybe not gone totally, but it prompted errors on another place, so the runtime environment has been messed up I guess. -- Want to help the Review Board project? Donate today at http://www.reviewboard.

Re: 'view diff' (diffutils.py) in 1.5.4 can't work well on my Windows

2011-03-11 Thread Shi Yuanmin - Simon
Finally I setup it on a Linux server, windows is just not a suitable platform for server I feel. Still I describe my environment here in case someone met the same problem: GnuPatch and Python were installed normally by install package, download from official site. Windows XP SP3 -- Want to he

pycrypto made me dizzy, solved

2011-12-14 Thread Shi Yuanmin - Simon
easy_install failed in install pycrypto, met 'error: no src/config.h': > sudo easy_install > http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.4.1.tar.gz Then, 'error: no Python.h' occured. Ah, google is good: > sudo apt-get install python-dev Still failed... built it in hard way: