Curious: 2134 2004-10-06 08:55:20Z fredrik

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Sep 5 06:43:06 CEST 2008


En Fri, 05 Sep 2008 00:13:28 -0300, Akathorn Greyhat <akathorn at gmail.com>  
escribi�:

> I had an import error and I get this error:
> Traceback (most recent call last):
>   File "C:\Eclipse\pyworkspace\CodenameRazor0.2\src\app.py", line 11, in
> <module>
>     import core
>   File "C:\Python25\lib\site-packages\PIL\__init__.py", line 3, in  
> <module>
>     # $Id: __init__.py 2134 2004-10-06 08:55:20Z fredrik $
> ImportError: No module named data
>
> I've already fix it, but I don't know what the hell does this line means:
>
>     # $Id: __init__.py 2134 2004-10-06 08:55:20Z fredrik $
> It seens curious, isn't it?

I'd say the import mechanism got confused about the actual source of the  
error. Probably it happened on line 3 in *another* module, but the  
traceback got messed. Perhaps "core" is a package and contains "import  
data" at line 3?

The $Id: stuff comes from some version control system -probably svn- and  
identifies the file version.

-- 
Gabriel Genellina




More information about the Python-list mailing list