[Tutor] RuntimeError: file does not exist

Susana Iraiis Delgado Rodriguez susana.delgado_s at utzmg.edu.mx
Thu May 19 20:52:18 CEST 2011


Hi Alan!!

After I read your e-mail, I remebered that I run the scripts in a different
way.
The script worked properly when I run it from Python IDLE, I don't have any
idea the reason why.


2011/5/19 Alan Gauld <alan.gauld at btinternet.com>

>
> "Susana Iraiis Delgado Rodriguez" <susana.delgado_s at utzmg.edu.mx> wrote
>
>
>  Well, I tried this code in other computer and it worked just fine.
>>
>
>
>> But when I run the module in my computer it throws many errors,
>>
>
> So what is different between the computers?
> What are the respective OS versions and Python versions?
>
> How exactly are you running the code on each
> computer - double click in exporer, from IDLE,  from the command line?
>
> Its hard to tell what the problem is from your description.
>
>
>  lyr.datasource = mapnik.Shapefile(base=ruta,file=archivo[0]), it shows
>> Python Runtime Error: wrong file code: -1991225785
>>
>
> But that looks odd, possibly a problem with the python script file itself?
>
>
> --
> 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/20110519/06f888c2/attachment.html>


More information about the Tutor mailing list