Re: Possible Wincvs clash with latest automatic Vista 64 update

"stusch" <[email protected]> Thu, 04 Jun 2009 12:49:41 -0000
Newsgroups gmane.comp.version-control.cvs.gui.user
Message-ID <[email protected]>
--- In [email protected], "Arthur Barrett" <arthur.barrett@...> wrote:
>
> Stu Schaffner,
...
> Which version number?

WinCVS 2.1.1.1 (Build1), downloaded from SourceForge

...
> Try uninstalling WinCVS and re-installing and if that doesn't fix it
> please report back.
...

Tried that, didn't work. This may be just noise, but I did get the following in the output window while the error popups were appearing:

CVS executable: C:\Program Files (x86)\cvsnt\cvs.exe
Python 2.6.1 (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)] on win32
Error loading C:\Program Files (x86)\GNU\WinCvs 2.0\Macros\BrowseRepoTk.py:
Traceback (most recent call last):
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\PythonLib\cvsgui\MacroRegistry.py", line 152, in LoadMacrosRecurs
    execfile(filename, self.m_globals)
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\Macros\BrowseRepoTk.py", line 4, in <module>
    from cvsgui.SafeTk import *
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\PythonLib\cvsgui\SafeTk.py", line 130, in <module>
    class PersistentStringVar(StringVar, PersistentVar):
NameError: name 'StringVar' is not defined
Error loading C:\Program Files (x86)\GNU\WinCvs 2.0\Macros\ChangeSubstModeTk.py:
Traceback (most recent call last):
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\PythonLib\cvsgui\MacroRegistry.py", line 152, in LoadMacrosRecurs
    execfile(filename, self.m_globals)
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\Macros\ChangeSubstModeTk.py", line 6, in <module>
    from cvsgui.SafeTk import *
  File "C:\Program Files (x86)\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 (x86)\GNU\WinCvs 2.0\Macros\cvs2clTk.py:
Traceback (most recent call last):
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\PythonLib\cvsgui\MacroRegistry.py", line 152, in LoadMacrosRecurs
    execfile(filename, self.m_globals)
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\Macros\cvs2clTk.py", line 6, in <module>
    from cvsgui.SafeTk import *
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\PythonLib\cvsgui\SafeTk.py", line 130, in <module>
    class PersistentStringVar(StringVar, PersistentVar):
NameError: name 'StringVar' is not defined
Error loading C:\Program Files (x86)\GNU\WinCvs 2.0\Macros\ExtendedAddTk.py:
Traceback (most recent call last):
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\PythonLib\cvsgui\MacroRegistry.py", line 152, in LoadMacrosRecurs
    execfile(filename, self.m_globals)
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\Macros\ExtendedAddTk.py", line 5, in <module>
    from cvsgui.SafeTk import *
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\PythonLib\cvsgui\SafeTk.py", line 130, in <module>
    class PersistentStringVar(StringVar, PersistentVar):
NameError: name 'StringVar' is not defined
Error loading C:\Program Files (x86)\GNU\WinCvs 2.0\Macros\RecursiveAddTk.py:
Traceback (most recent call last):
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\PythonLib\cvsgui\MacroRegistry.py", line 152, in LoadMacrosRecurs
    execfile(filename, self.m_globals)
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\Macros\RecursiveAddTk.py", line 6, in <module>
    from cvsgui.SafeTk import *
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\PythonLib\cvsgui\SafeTk.py", line 130, in <module>
    class PersistentStringVar(StringVar, PersistentVar):
NameError: name 'StringVar' is not defined
Error loading C:\Program Files (x86)\GNU\WinCvs 2.0\Macros\TemplateMacroTk.py:
Traceback (most recent call last):
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\PythonLib\cvsgui\MacroRegistry.py", line 152, in LoadMacrosRecurs
    execfile(filename, self.m_globals)
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\Macros\TemplateMacroTk.py", line 6, in <module>
    from cvsgui.SafeTk import *
  File "C:\Program Files (x86)\GNU\WinCvs 2.0\PythonLib\cvsgui\SafeTk.py", line 130, in <module>
    class PersistentStringVar(StringVar, PersistentVar):
NameError: name 'StringVar' is not defined


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

I notice that this is mostly from places where Python is trying to access the C library. I forget how connecting to Python is done in the latest version of WinCVS, but at least in older versions there was a perhaps error-prone method of manually specifying the Python dll.  According to Admin>Preferences>WinCVS>Programs, in my system Python is loaded from

C:\Windows\System32\python26.dll

and TCL is from

C:\Program Files (x86)\Python26\DLLS\tcl85.dll



Hope this helps,

Stu Schaffner





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

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:
    mailto:[email protected] 
    mailto:[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/