Re: Re: WinCVS installation - python installed but not recognized
Guy Rouillier <[email protected]> Sun, 11 Oct 2009 22:28:16 -0400
| Newsgroups | gmane.comp.version-control.cvs.gui.user |
|---|---|
| Message-ID | <[email protected]> |
ChikChik84 wrote: > I have exactly the same problem... > > "NameError: name 'StringVar' is not defined" > > What would be the correct solution to fix this? > > I guess this error is not because of WinCvs or Python, it might be > because of some issue in the way the Python scripts are written. > However, I haven't verified this yet. If my assumption is correct, > this error would not occur with older version of Python. Some information would help. What version of WinCvs are you running? What version of Python? I'm running WinCvs 2.1.1.1 with Python 2.4.1 and it works fine. > > Anyways, if anyone has found a solution by now, please post it to > this thread. > > --- In [email protected], Critter <critter@...> wrote: >> Guy Rouillier wrote: >>> Mike wrote: >>>> I have the same problem, and subscribed to this group to get >>>> the >>> answers. >>>> Python 2.6 WinCVS 2.0.9.1 (the latest version), downloaded from >>>> wincvs.org WinXP SP1 >>>> >>>> WinCVS warn me that Python isn't installed, but it installed >>>> (for me only, not for all users). >> I'm sorry, my question is stupid. There is an option, which contain >> the path to Python's DLL library. From WinCVS' menu: >> Admin->Preferences->WinCvs->(Programs)->PythonDLL And there we can >> select the path for the dll. >> >> But... >> >> It write many error messages in the log: >> >> Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit >> (Intel)] on win32 Error loading E:\Program >> Files\!Programming\_Version Control\WinCVS\Macros\BrowseRepoTk.py: >> Traceback (most recent call last): File "E:\Program >> Files\!Programming\_Version >> Control\WinCVS\PythonLib\cvsgui\MacroRegistry.py", line 152, in >> LoadMacrosRecurs execfile(filename, self.m_globals) File >> "E:\Program Files\!Programming\_Version >> Control\WinCVS\Macros\BrowseRepoTk.py", line 4, in <module> from >> cvsgui.SafeTk import * File "E:\Program Files\!Programming\_Version >> Control\WinCVS\PythonLib\cvsgui\SafeTk.py", line 130, in <module> >> class PersistentStringVar(StringVar, PersistentVar): NameError: >> name 'StringVar' is not defined Error loading E:\Program >> Files\!Programming\_Version >> Control\WinCVS\Macros\ChangeSubstModeTk.py: Traceback (most recent >> call last): File "E:\Program Files\!Programming\_Version >> Control\WinCVS\PythonLib\cvsgui\MacroRegistry.py", line 152, in >> LoadMacrosRecurs execfile(filename, self.m_globals) File >> "E:\Program Files\!Programming\_Version >> Control\WinCVS\Macros\ChangeSubstModeTk.py", line 6, in <module> >> from cvsgui.SafeTk import * File "E:\Program >> Files\!Programming\_Version >> Control\WinCVS\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 E:\Program Files\!Programming\_Version >> Control\WinCVS\Macros\cvs2clTk.py: Traceback (most recent call >> last): File "E:\Program Files\!Programming\_Version >> Control\WinCVS\PythonLib\cvsgui\MacroRegistry.py", line 152, in >> LoadMacrosRecurs execfile(filename, self.m_globals) File >> "E:\Program Files\!Programming\_Version >> Control\WinCVS\Macros\cvs2clTk.py", line 6, in <module> from >> cvsgui.SafeTk import * File "E:\Program Files\!Programming\_Version >> Control\WinCVS\PythonLib\cvsgui\SafeTk.py", line 130, in <module> >> class PersistentStringVar(StringVar, PersistentVar): NameError: >> name 'StringVar' is not defined Error loading E:\Program >> Files\!Programming\_Version Control\WinCVS\Macros\ExtendedAddTk.py: >> Traceback (most recent call last): File "E:\Program >> Files\!Programming\_Version >> Control\WinCVS\PythonLib\cvsgui\MacroRegistry.py", line 152, in >> LoadMacrosRecurs execfile(filename, self.m_globals) File >> "E:\Program Files\!Programming\_Version >> Control\WinCVS\Macros\ExtendedAddTk.py", line 5, in <module> from >> cvsgui.SafeTk import * File "E:\Program Files\!Programming\_Version >> Control\WinCVS\PythonLib\cvsgui\SafeTk.py", line 130, in <module> >> class PersistentStringVar(StringVar, PersistentVar): NameError: >> name 'StringVar' is not defined Error loading E:\Program >> Files\!Programming\_Version >> Control\WinCVS\Macros\RecursiveAddTk.py: Traceback (most recent >> call last): File "E:\Program Files\!Programming\_Version >> Control\WinCVS\PythonLib\cvsgui\MacroRegistry.py", line 152, in >> LoadMacrosRecurs execfile(filename, self.m_globals) File >> "E:\Program Files\!Programming\_Version >> Control\WinCVS\Macros\RecursiveAddTk.py", line 6, in <module> from >> cvsgui.SafeTk import * File "E:\Program Files\!Programming\_Version >> Control\WinCVS\PythonLib\cvsgui\SafeTk.py", line 130, in <module> >> class PersistentStringVar(StringVar, PersistentVar): NameError: >> name 'StringVar' is not defined Error loading E:\Program >> Files\!Programming\_Version >> Control\WinCVS\Macros\TemplateMacroTk.py: Traceback (most recent >> call last): File "E:\Program Files\!Programming\_Version >> Control\WinCVS\PythonLib\cvsgui\MacroRegistry.py", line 152, in >> LoadMacrosRecurs execfile(filename, self.m_globals) File >> "E:\Program Files\!Programming\_Version >> Control\WinCVS\Macros\TemplateMacroTk.py", line 6, in <module> from >> cvsgui.SafeTk import * File "E:\Program Files\!Programming\_Version >> Control\WinCVS\PythonLib\cvsgui\SafeTk.py", line 130, in <module> >> class PersistentStringVar(StringVar, PersistentVar): NameError: >> name 'StringVar' is not defined >> >> >> >> What the problem? >> >> >> >> >> [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: 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/