[Tutor] RuntimeError: file does not exist
Susana Iraiis Delgado Rodriguez
susana.delgado_s at utzmg.edu.mx
Wed May 18 16:45:26 CEST 2011
Hello Alan!!
Can you please tell me, how to rebuild my path? I've tried it, but I didn't
succed =(
2011/5/17 Alan Gauld <alan.gauld at btinternet.com>
>
> "Susana Iraiis Delgado Rodriguez" <susana.delgado_s at utzmg.edu.mx> wrote
>
>
> message which tells me the file I want to work with
>> doesn't exist, but it does.
>>
>
> I don't believe you! :-)
>
> Traceback (most recent call last):...
>>
>> lyr.datasource = mapnik.Shapefile(base=filepath, file=filepath)
>> return CreateDatasource(keywords)
>> RuntimeError: C:\Ýndice.shp/C:\Ýndice does not exist
>>
>
> That "file name" has two C: in it which I am pretty sure is
> an illegal path in Windows. Therfore the file cannot exist.
>
> You just need to build your path correctly I suspect.
>
> --
> Alan Gauld
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
>
>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110518/f3ef91d8/attachment.html>
More information about the Tutor
mailing list