Re: [viewvc-users] About python crypt module introduced in standalone.py in viewvc-1.1.7

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
On 11/16/2010 12:10 AM, LiuYan 刘研 wrote:
> I notice python crypt module was introduced in standalone.py in
> viewvc-1.1.7 because I got an 'no module named crypt' when running
> 'python.exe standalone.py'.
> 
> After gooooooogled for a long time, I got the cause: python crypt module
> is only for linux/unix system, not for windows system. so standalone.py
> will not run on windows system.
> 
> Will the crypt module dependency be kept in future versions?
> 
> btw: someone suggest to use Python in Cygwin, it sounds should be a
> solution, but I don't know if there's a chance to cause another issue...

Eek.  My fault, completely.  I'll fix this in the next release.  Until then,
you should be able to comment out the 'import crypt' line from standalone.py:

   #import crypt

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2682223

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkzipgwACgkQokEGqRcG/W5C+wCglQRZ8quLi3iXE2bJ9J/PC9zN
hi4AoJjZjdjmBQB1wcN8wMRcFvsaZw/5
=vYHJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.