Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #89726 > unrolled thread

Re: GAE environment differences

Started byChris Angelico <rosuav@gmail.com>
First post2015-05-01 22:15 +1000
Last post2015-05-01 22:15 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: GAE environment differences Chris Angelico <rosuav@gmail.com> - 2015-05-01 22:15 +1000

#89726 — Re: GAE environment differences

FromChris Angelico <rosuav@gmail.com>
Date2015-05-01 22:15 +1000
SubjectRe: GAE environment differences
Message-ID<mailman.10.1430482543.3347.python-list@python.org>
On Fri, May 1, 2015 at 8:29 PM, Robin Becker <robin@reportlab.com> wrote:
> A user reports getting KeyError/ImportError when executing GAE dev/live code
> looking like
>
>
> import os
> .......
> fn = os.path.expanduser(os.path.join('~','.reportlab_settings'))
> ......
>
> This works fine in cpython; so I assume that the GAE environment must be
> doing module resolution differently.
>
> Is that the case or is it that os.path or os.path.expanduser doesn't exist?

Best thing to do is to ask the user to post the complete traceback.
You might need to use "import os.path" but normally I would expect
that not to be an issue.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web