Topic: Not compatible with Google AppEngine?

I host via AppEngine since I don't have a ton of traffic.  Is JB not compatible?  Galleries run fine not through AppEngine on my local machine but as soon as I get them going through AppEngine, the galleries disappear and I get and there is an error reported in the .js file.

Re: Not compatible with Google AppEngine?

It is possible to host a Juicebox gallery on Google App Engine.
Here is a test gallery I uploaded earlier: http://juiceboxgallery.appspot.com/
I followed the instructions here: http://www.labnol.org/internet/host-web … ine/18801/
The only variation to these instructions was to make sure I had XML files specified in the list of accepted file extensions in the 'app.yaml' file.

Re: Not compatible with Google AppEngine?

I know how to  host using AppEngine - I've been doing it for three years.  When I try to run juicebox on my app it doesn't work.  Maybe because I'm running it with python.  Did you use Java?

Re: Not compatible with Google AppEngine?

Maybe because I'm running it with python.  Did you use Java?

No. I used Python v2.7.3 and Google App Engine SDK for Python v1.6.6 (Windows).
The contents of my 'app.yaml' file were as follows:

application: juiceboxgallery 
version: 1
runtime: python
api_version: 1

handlers:
- url: /(.*\.(gif|png|jpeg|jpg|js|css|xml))
  static_files: \1
  upload: (.*\.(gif|png|jpeg|jpg|js|css|xml))

- url: .*
  script: main.py

The 'main.py' file remained unchanged from the 'website.zip' file referenced in the link I posted.

Also, make sure that you are using the latest version of Juicebox (v1.0.2) to ensure that bugs present in earlier versions (which have since been fixed) are not contributing to your problem.
Please see the Upgrading Juicebox section of the Juicebox support pages for details if necessary.

If you continue to experience difficulties, please post the URL to your gallery so that I can take a look.

Re: Not compatible with Google AppEngine?

Ok - I had given up on this for a while but have now decided that I'm going to need to start trying to get freelance design work.  My site is at http://www.abbybedford.com/photography/index.html

Abby

Re: Not compatible with Google AppEngine?

It looks like incorrect MIME types on your web server might be the cause of your problem.
If you view my test gallery's XML file in a browser, you can see the code itself: http://juiceboxgallery.appspot.com/config.xml
If you view your gallery's XML file in a browser, the browser tries to render the page as if it were HTML: http://www.abbybedford.com/photography/config.xml
Also, If you view the first image in my test gallery directly in a browser, you can see the image: http://juiceboxgallery.appspot.com/images/wide.jpeg
If you view the first image in your gallery directly in a browser, the browser displays the source of the image: http://www.abbybedford.com/photography/images/wide.jpeg
Check with your web host to see if they can help you with this problem.

Re: Not compatible with Google AppEngine?

I ended up doing the gallery files in the static files and the html in the templates files and now it works. Thanks!

Abby