[GRASS-user] Traceback in running my first script

Giuliano Urgeghe giuliano.u at gmail.com
Tue Oct 21 08:09:20 PDT 2014


Hi all,

someone know this error that appears in running my first script in windows
7.0 with grass 6.4.4 mysys

'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "C:\Program Files (x86)\GRASS GIS
6.4.4\etc\gui\scripts\v.WESdaSDFtoGRASS_rev4.py", line 87,
in <module>
    import sys,os,re,numpy,math,string
  File "C:\Program Files (x86)\GRASS GIS
6.4.4\Python27\lib\os.py", line 398, in <module>
    import UserDict
  File "C:\Program Files (x86)\GRASS GIS
6.4.4\Python27\lib\UserDict.py", line 84, in <module>
    _abcoll.MutableMapping.register(IterableUserDict)
  File "C:\Program Files (x86)\GRASS GIS
6.4.4\Python27\lib\abc.py", line 109, in register
    if issubclass(subclass, cls):
  File "C:\Program Files (x86)\GRASS GIS
6.4.4\Python27\lib\abc.py", line 184, in __subclasscheck__
    cls._abc_negative_cache.add(subclass)
  File "C:\Program Files (x86)\GRASS GIS
6.4.4\Python27\lib\_weakrefset.py", line 84, in add
    self.data.add(ref(item, self._remove))
TypeError: cannot create weak reference to 'classobj' object


Best regards
Giuliano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20141021/b74f4e9b/attachment-0001.html>


More information about the grass-user mailing list