Re: Error Message when I first run wincvs

Guy Rouillier <[email protected]> Sat, 28 Nov 2009 00:47:58 -0500
Newsgroups gmane.comp.version-control.cvs.gui.user
Message-ID <[email protected]>
Xi LIANG wrote:
> Dear all, After installing WinCvs, I got the following error msg when
> I first run WinCvs. Is there anyone know how to fix this? Regards

I have been running Python 2.4 for years without issue.  I just
installed the latest from ActiveState: Python 2.6.4.  When I restarted
WinCvs 2.1.1.1, it started without error and ran Python macros without
any issues.  Here is what my console says:

CVS executable: C:\Program Files\cvsnt\cvs.exe
Python 2.6.4 (r264:75706, Nov  3 2009, 13:23:17) [MSC v.1500 32 bit
(Intel)] on win32
Tk is available, Tk-macros are enabled
TCL is available, shell is enabled : help (select and press enter)

So, which implementation of Python are you running?  If not ActiveState,
try that and see if it works.

> 
> CVS executable: C:\Program Files\cvsnt\cvs.exePython 2.6.1
> (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)] on
> win32Error loading C:\Program Files\GNU\WinCvs
> 2.0\Macros\BrowseRepoTk.py:Traceback (most recent call last):  File
> "C:\Program Files\GNU\WinCvs 2.0\PythonLib\cvsgui\MacroRegistry.py",
> line 152, in LoadMacrosRecurs    execfile(filename, self.m_globals)
> File "C:\Program Files\GNU\WinCvs 2.0\Macros\BrowseRepoTk.py", line
> 4, in <module>    from cvsgui.SafeTk import *  File "C:\Program
> Files\GNU\WinCvs 2.0\PythonLib\cvsgui\SafeTk.py", line 130, in
> <module>    class PersistentStringVar(StringVar,
> PersistentVar):NameError: name 'StringVar' is not definedError
> loading C:\Program Files\GNU\WinCvs
> 2.0\Macros\ChangeSubstModeTkpy:Traceback (most recent call last):
> File "C:\Program Files\GNU\WinCvs
> 20\PythonLib\cvsgui\MacroRegistry.py", line 152, in LoadMacrosRecurs
> execfile(filename, self.m_globals)  File "C:\Program Files\GNU\WinCvs
> 2.0\Macros\ChangeSubstModeTk.py", line 6, in <module>    from
> cvsgui.SafeTk import *  File "C:\Program Files\GNU\WinCvs
> 2.0\PythonLib\cvsgui\SafeTk.py", line 130, in <module>    class
> PersistentStringVar(StringVar, PersistentVar):NameError: name
> 'StringVar' is not defined'module' object has no attribute
> 'argv'Error loading C:\Program Files\GNU\WinCvs
> 2.0\Macros\cvs2clTk.py:Traceback (most recent call last):  File
> "C:\Program Files\GNU\WinCvs 2.0\PythonLib\cvsgui\MacroRegistry.py",
> line 152, in LoadMacrosRecurs    execfile(filename, self.m_globals)
> File "C:\Program Files\GNU\WinCvs 2.0\Macros\cvs2clTkpy", line 6, in
> <module>    from cvsgui.SafeTk import *  File "C:\Program
> Files\GNU\WinCvs 2.0\PythonLib\cvsgui\SafeTk.py", line 130, in
> <module>    class PersistentStringVar(StringVar,
> PersistentVar):NameError: name 'StringVar' is not definedError
> loading C:\Program Files\GNU\WinCvs
> 2.0\Macros\ExtendedAddTk.py:Traceback (most recent call last):  File
> "C:\Program Files\GNU\WinCvs 2.0\PythonLib\cvsgui\MacroRegistry.py",
> line 152, in LoadMacrosRecurs    execfile(filename, self.m_globals)
> File "C:\Program Files\GNU\WinCvs 2.0\Macros\ExtendedAddTk.py", line
> 5, in <module>    from cvsgui.SafeTk import *  File "C:\Program
> Files\GNU\WinCvs 2.0\PythonLib\cvsgui\SafeTk.py", line 130, in
> <module>    class PersistentStringVar(StringVar,
> PersistentVar):NameError: name 'StringVar' is not definedError
> loading C:\Program Files\GNU\WinCvs
> 2.0\Macros\RecursiveAddTk.py:Traceback (most recent call last):  File
> "C:\Program Files\GNU\WinCvs 2.0\PythonLib\cvsgui\MacroRegistry.py",
> line 152, in LoadMacrosRecurs    execfile(filename, self.m_globals)
> File "C:\Program Files\GNU\WinCvs 2.0\Macros\RecursiveAddTk.py", line
> 6, in <module>    from cvsgui.SafeTk import *  File "C:\Program
> Files\GNU\WinCvs 2.0\PythonLib\cvsgui\SafeTk.py", line 130, in
> <module>    class PersistentStringVar(StringVar,
> PersistentVar):NameError: name 'StringVar' is not definedError
> loading C:\Program Files\GNU\WinCvs
> 2.0\Macros\TemplateMacroTk.py:Traceback (most recent call last):
> File "C:\Program Files\GNU\WinCvs
> 2.0\PythonLib\cvsgui\MacroRegistry.py", line 152, in LoadMacrosRecurs
> execfile(filename, self.m_globals)  File "C:\Program Files\GNU\WinCvs
> 2.0\Macros\TemplateMacroTk.py", line 6, in <module>    from
> cvsgui.SafeTk import *  File "C:\Program Files\GNU\WinCvs
> 2.0\PythonLib\cvsgui\SafeTk.py", line 130, in <module>    class
> PersistentStringVar(StringVar, PersistentVar):NameError: name
> 'StringVar' is not defined -------------------------------- Xi Liang
> 
> 姊 --------------------------------
> 
> 
>  _________________________________________________________________ 
> Windows Live: Friends get your Flickr, Yelp, and Digg updates when
> they e-mail you. 
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010
> 
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 


-- 
Guy Rouillier


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cvsgui/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/cvsgui/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/