[google-appengine] Re: can pyamf run on app-engine-patch?

2009-06-10 Thread capoista

Hi Ian,

Thanks for showing an interest.

Just to update you - I was getting a python import exception so I
reduced my gateway.py file down to 2 lines;

import wsgiref.handlers
from pyamf.remoting.gateway.wsgi import WSGIGateway

the 2nd line caused the exception so I swapped my pyamf folder with
one from another project (that worked) and the problem was solved!

At least I have successfully finished stage 1 - very exciting : )

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



[google-appengine] can pyamf run on app-engine-patch?

2009-06-09 Thread capoista

I am trying to set up a simple 'hello world' test of pyamf working on
the app-engine-patch but my simple gateway.py file causes major
exceptions.

Does anyone know if it is possible to use pyamf on the app-engine-
patch. Any example links would be greatly appreciated.

Many thanks in advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: app-engine-patch MediaGenerator not generating any media!

2009-03-16 Thread capoista

Waldemar,

Thank you for responding so quickly and pointing me in the right
direction, also many thanks for creating a beautiful resource  : )

You were right about the files - when I went over it again an made
sure the right files were in the right places it worked.

I am trying to teach myself about Django and GAE by incorporating Aral
Balkan's GAEswf project into your app-engine-patch sample project and
it has been very challenging - making good progress now though.

Many thanks and keep up the good work.

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



[google-appengine] app-engine-patch MediaGenerator not generating any media!

2009-03-13 Thread capoista

Can anyone help please?

I have been playing around with the app-engine-patch sample app and
guestbook tutorial - great starter resource. Everything has gone very
smoothly until I tried to create some stylesheets for my base
template.

I followed the instructions from the MediaGenerator page in the
documentation and added 'styles.css' to myapp/media and /media. I also
added this code to my /settings.py;

# Combine media files
COMBINE_MEDIA = {
# Create a combined JS file which is called combined-en.js for
English,
# combined-de.js for German, and so on
'combined-%(LANGUAGE_CODE)s.js': (
# Integrate bla.js from myapp/media folder
# You don't write media because that folder is used
automatically
'myapp/bla.js',
# Integrate morecode.js from media under project root folder
'global/morecode.js',
),
# Create a combined CSS file which is called combined-ltr.css
for
# left-to-right text direction
'combined-%(LANGUAGE_DIR)s.css': (
'myapp/style.css',
# Load layout for the correct text direction
'global/layout-%(LANGUAGE_DIR)s.css',
),
}

I now get following line in my generated html page;

link rel=stylesheet type=text/css href=/generated_media/media/1/
combined-ltr.css /

but no 'combined-ltr.css' has actually been generated!? - should it
have been?

Any input most appreciated. Cheers


P.S. I am very new to python and django so apologies if I have made a
silly mistake


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