I got it to work by: 1) Modifying my appcfg.py code. Added a mimetype. Details below. 2) check my html and file names for case (the online google app engine is case sensitive)
File: C:\google_appengine\google\appengine\tools\appcfg.py Towards the bottom in function "main" needs to run this line (i made it the first line): mimetypes.add_type("application/xaml", ".xaml") Thanks! On Nov 7, 7:41 am, Neo42 <[EMAIL PROTECTED]> wrote: > How do I use the upload tool (appcfg.py) and my app.yaml file to > upload .XAML (silverlight) files? > > Here are the handlers in my yaml: > handlers: > - url: /stylesheets > static_dir: stylesheets > > - url: /silverlight > static_dir: silverlight > > - url: /.* > script: helloworld.py > > My xaml and such is in the silverlight directory. My appcfg.py > command is: > appcfg.py update C:\GoogleAppsProjects\HelloWorld > > When I try to do it I get this: > "Could not guess mimetype for silverlight/scene.xaml. Using > application/octet-stream." > > And the uploaded xaml file doesn't work. By the way, the localhost > version of the app runs fine. It's the upload tool that is screwing > something up. > > I can't figure out how to do it from this > page:http://code.google.com/appengine/docs/configuringanapp.html#Static_Fi... > > I'm new to python. Please help. I suppose I could try to put my xaml > code in the html code, but I'd prefer not to. > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---