I removed the / and now I get:

IOError: [Errno 2] No such file or directory:
'assets/Albanian-Hasan-Nahi-115.csv'



Gezim Hoxha (aka Gizmo)
http://www.gizmobooks.com -- buy/sell your textbooks


On Fri, Oct 30, 2009 at 12:40 PM, Wooble <[email protected]> wrote:

>
> You're starting the file path with /, which is trying to read from the
> root of the filesystem.
>
> On Oct 30, 1:12 am, Gezim Hoxha <[email protected]> wrote:
> > Hi everyone,
> >
> > I uploaded a file called 'Albanian-Hasan-Nahi-115.csv' into my /
> > assets/ directory.
> >
> > I'm working on a wave robot, but the issue is not wave related.
> >
> > I'm trying to read the file like this:
> >
> > q = codecs.open('/assets/Albanian-Hasan-Nahi-115.csv','r', 'utf-8')
> >
> > but I get this error:
> > q = codecs.open('/assets/Albanian-Hasan-Nahi-115.csv','r', 'utf-8')
> >   File "/base/python_dist/lib/python2.5/codecs.py", line 817, in open
> >     file = __builtin__.open(filename, mode, buffering)
> > IOError: [Errno 13] Permission denied: '/assets/Albanian-Hasan-
> > Nahi-115.csv'
> >
> > How do I change my file permissions? I can view the file on the
> > browser, so reading should be allowed.
> >
> > If anyone could shed some light on this, it would be greatly
> > appreciated.
> >
> > Thanks in advance,
> > -Gezim
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to