Code Monkey home page Code Monkey logo

google-app-engine-samples's People

Contributors

amygdala avatar brianquinlan avatar cilvento avatar dsymonds avatar fredsa avatar hitrust avatar proppy avatar tsukasa-au avatar

Watchers

 avatar

google-app-engine-samples's Issues

gdata-feedfetcher example doesn't work for private feeds

What steps will reproduce the problem?
1. use gdata-feedfetcher example source
2. run feed fetching

What is the expected output? What do you see instead?
expect to see feeds come in as they do on the gdata-feedfetcher.appspot.com 
site (where private feeds do work)
simply using source files doesnt work
have tried with verified domain (using rsa_key & cert) and secure transfer 
(which isn't used on the example site (warning shown on the 'grant permission 
to app page')

What version of the product are you using? On what operating system?
python 2.5, app engine, gdata-python-client 2.0.1   etc...

Please provide any additional information below.
Calendar and other public feeds work fine. Auth appears to be OK, but will not 
get private feeds (e.g. my docs.google.com feeds)

Original issue reported on code.google.com by [email protected] on 18 Jun 2010 at 12:51

myhangouts - geocode.js is missing

In the svn/  trunk/ myhangouts/

The file myhangouts.html refers to /static/geocode.js on line 52 of R12

<script language="javascript" src="/static/json.js"> </script>
<script language="javascript" src="/static/client.js"> </script>
<script language="javascript" src="/static/geocode.js"> </script> 

  svn/  trunk/ myhangouts/ static/ geocode.js does not exist in this project.

The project still allows you to enter addresses, but I am curious what extra 
functions might be included in the missing file.

Original issue reported on code.google.com by [email protected] on 3 Apr 2011 at 7:10

shell commands not working in Google Chrome

What steps will reproduce the problem?
1. Open http://shell.appspot.com/
2. enter a command, then shift-enter. or a second command, then ctrl-up

What is the expected output? What do you see instead?
Expected: shift-enter inserts a newline. ctrl-up retrieves previous 
command. 
Instead: No visible action.

What version of the product are you using? On what operating system?
The one on http://shell.appspot.com/. Google Chrome: Official Build 1583
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, 
like Gecko) Chrome/0.2.149.27 Safari/525.13. Windows XP Pro.




Original issue reported on code.google.com by [email protected] on 6 Sep 2008 at 6:18

extend and append not working

What steps will reproduce the problem?
1. Execute the following code
x = [5]
x.append(6)
x.extend([7])
What is the expected output? What do you see instead?
Expected:
 after append x must be equal to [5,6]
 after extend x must be equal to [5,6,7]
Real result:
 x is not changed and is stilll [5]




Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 19 Feb 2010 at 8:45

Confusing screen when mismatched openid url is used

for a user who has authenticated with a user account, say, "[email protected]"; 
and for any reason, he tries to login Open ID with his "[email protected]", 
i.e. with identifier http://openid-provider.appspot.com/bar, he'll see a 
screen as attached.

There are a few problems:
1. given the user try to authenticate as another user, there is no 
indication of authentication failure to both the user and the relaying 
party

2. links like MyAccount, Download Source, OpenID are confusing and may lead 
the user to elsewhere. In the latest Yahoo OpenID usability report, it is 
indicate those are evil.

3. as suggested in the google's Usability Research on Federated Login 
report, the user may login with an email address. i suppose the relaying 
party should convert the email to OpenID URL, so the user actually do not 
use OpenID URL, and the message on screen about "Just enter http://openid-
..." may give the user no clue of what's going on.

4. I wonder the Recent OpenID Requests is broken. even if it is not, it's 
quite confusing.

5. The confirmed, Remembered, Declined buttons are broken. they are never 
clickable. and don't know what are they about.

I wonder if i have get to the wrong place to look for google's openid 
support. is it really the official Google OpenID provider site?!

Original issue reported on code.google.com by [email protected] on 1 Nov 2008 at 9:26

Attachments:

Bug in db.Query.filter - spaces cause silent query failure

What steps will reproduce the problem?
Look at this small code sample to query a simple entity in various ways.

from google.appengine.api import users
from google.appengine.ext import db

class UserInterest(db.Model):
  user = db.UserProperty()
  interest = db.StringProperty()

me = users.get_current_user()
interests = db.GqlQuery('SELECT * FROM UserInterest WHERE user = :1', me) 
 #works
interests = UserInterest.gql("WHERE user = :1", me)   #works
interests = UserInterest.all().filter("user = ", me)        # works
interests = UserInterest.all().filter("user =", me)        # works
interests = UserInterest.all().filter("user= ", me)        # throws
BadFilterError: BadFilterError: invalid filter: Could not parse filter
string: user= .
interests = UserInterest.all().filter("user=", me)        # fails silently
- just returns no rows! 

What is the expected output? What do you see instead?

It appears that spaces are inadvertently significant in the construction of
query filters, and the placing of them can cause filters to fail in highly
unintuitive ways. For instance, the filters "x = " and "x =" work, but "x=
" throws a BadFilterError, and "x=" silently fails by returning no rows. 

Spaces should not be significant here. This bug could become a significant
source of user frustration (it had me annoyed for a good couple of hours
until i happened upon a working form after trying other forms of the query).

What version of the product are you using? On what operating system?
release: "1.0"
timestamp: 1206675800
Python 2.5.1
Linux

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Apr 2008 at 5:53

Django-sample only works locally.

What steps will reproduce the problem?
1. Download django-sample
2. change the project name
3. Upload

What is the expected output? What do you see instead?
Attribute Error: 'module' object has no attribute 'ROOT_URLCONF'


What version of the product are you using? On what operating system?
20080409, OS 10.5.2

Please provide any additional information below.

See discussion at
http://groups.google.com/group/google-appengine/browse_thread/thread/5caca976275
67de9/ebf942706be57d2a?lnk=gst&q=sample#ebf942706be57d2a
for more info.

Original issue reported on code.google.com by [email protected] on 3 Jul 2008 at 1:52

Bad ordering of entities containing international characters

What steps will reproduce the problem?
1. Run query on model, ex. categories = db.GqlQuery("SELECT * FROM Category
ORDER BY name ASC")
2. List result

What is the expected output? What do you see instead?
"Čerpadlo" beginning with (&#268; entity) should by before "Motory" in Gql
result ordered ASC
I see "Motory" as first

What version of the product are you using? On what operating system?
1.1.0, Ubuntu 8.04




Original issue reported on code.google.com by [email protected] on 23 Jul 2008 at 11:56

'from datetime.datetime import datetime,timedelta' or 'import datetime'?

What steps will reproduce the problem?
1. integrate two where one uses import datetime and nr 2 uses from datetime
import datetime, timedelta
2. conflict
3. choose one way and stay consistent

What is the expected output? 
mixing the two could work

What do you see instead?
type object 'datetime.datetime' has no attribute 'datetime'

What version of the product are you using? On what operating system?
latest crowdguru svn version gae 

Please provide any additional information below.
http://groups.google.com/group/comp.lang.python/browse_thread/thread/5a8b82a19fd
6445e/c57bfab03bce76f6#c57bfab03bce76f6


Original issue reported on code.google.com by [email protected] on 10 Oct 2009 at 9:57

Using Spring with GAEJ

How to configure applications that use Spring MVC for GAE Java. Is there an
article which gives this information?

More specifically I would like to know if I am required to upload spring
related jars also to the cloud?



Original issue reported on code.google.com by [email protected] on 18 May 2010 at 12:32

crowdguru via desktop xmpp can't understand /

What steps will reproduce the problem?
1. desktop xmpp buddsystem input /tellme
2. crowdguru output unknown command
3. works via web or other xmpp

What is the expected output? What do you see instead?
expected the obvious i.e. web crowguru i/o, instead unknown command

What version of the product are you using? On what operating system?
ubuntu, bsd, mandriva, pidjin 2.6.2 and empathy

Please provide any additional information below.
shall check serverlogs self


Original issue reported on code.google.com by [email protected] on 24 Nov 2009 at 4:59

"Hello World" everywhere

If I try the Guestbook, or Tasks sample, and deploy it, my App only displays 
"Hello World". I have tried looking through the manuals, but cannot find 
anything. Is there someone who could help me? It would be highly appreciated.

Wannes

Original issue reported on code.google.com by [email protected] on 14 Jul 2010 at 8:08

Shell: Fixed-Width Font

In the interactive Python shell app, it'd be nice for the code (both in the 
entry section as well as in 
the echoed section) to be fixed-width (instead of proportional).  It'd make it 
easier to keep track of 
indentation.

Thanks, and keep up the great work!  :-)

Original issue reported on code.google.com by brainix on 11 Apr 2010 at 2:06

Example code for paging article.

Purpose of code changes on this branch:

  Example code for paging article.

When reviewing my code changes, please focus on:


After the review, I'll merge this branch into:
/trunk


Original issue reported on code.google.com by [email protected] on 12 Jan 2009 at 10:16

shell does not store change of state of objects

Visit http://shell.appspot.com/
and type:

>>> a=[1,2,3]
>>> a.append(4)
>>> print a
[1, 2, 3]

What is the expected output? What do you see instead?
I expected [1, 2, 3, 4] but got [1, 2, 3]

Original issue reported on code.google.com by [email protected] on 5 Jan 2011 at 7:34

Tasks sample application does not behave well in Chrome

What steps will reproduce the problem?
1. Download and run the tasks application.
2. Login and create a task. 
3. Add tasks 

Do these while you are logged in from Mozilla Firefox and Also Try the same 
when you are logged in from Google Chrome

What is the expected output? What do you see instead?

Mozilla Firefox - the Tasks are saved. Drag and Drop of Tasks are possible.
Google Chrome - The Tasks are not save. Drag and Drop of Tasks are not possible.


What version of the product are you using? On what operating system?
I am on Ubuntu and I am at the svn r134.

Please provide any additional information below.

This is a javascript related issue.



Original issue reported on code.google.com by [email protected] on 29 Dec 2010 at 11:33

Many problems with cccwiki

1. Version control? User control? If someone vandalizes my site, I'd have to 
write everything from 
scratch without version control. And if I can't ban certain users then there's 
no protection against 
them doing it again.

2. No sanitization. I can just switch to html view and enter in some javascript 
on a link. That 
might not be too much of a problem, but it's a small detail that could prove 
deadly.

3. Broken wikiword feature. What if I want my own word or phrase to denote a 
link to another 
article? I could switch to html view and insert my own link. But for some 
reason I end up getting 
something like this:
<a href="/<a class="wikiword" href="/MyArticle">MyArticle</a>">
This problem could probably be fixed by altering a regular expression 
somewhere. But is that 
really the issue? What if the word just happens to be the same as one of my 
wikiwords, but I'm 
using it in a completely different context? I need to have control over which 
words are linked.

Is cccwiki intended for production?

Original issue reported on code.google.com by [email protected] on 16 May 2010 at 3:22

Security problem in secret-valentine

What steps will reproduce the problem?
1. Log in the to http://secret-valentine.appspot.com
2. Click on
http://secret-valentine.appspot.com/compose?error_message=%3Cscript%3Ealert(%27O
wned!%27)%3C/script%3E

You shouldn't get a popup saying 'owned!'. This is a classic CSS attack.

While the app is not important, people may be using it as a pattern to
develop their own applications, thus it is probably worth getting it right.


Original issue reported on code.google.com by [email protected] on 23 Dec 2008 at 12:04

tasks / create new tasklist CSS formatting on IE 6.0

What steps will reproduce the problem?
1. run tasks
2. login
3. click on new takslist

What is the expected output? What do you see instead?
in firefox, Safari new tasklist dialog is displayed correctly,
in IE6.0 dialog is truncated.

What version of the product are you using? On what operating system?
tasks_20080409

Please provide any additional information below.
probably CSS related.


Original issue reported on code.google.com by [email protected] on 21 May 2008 at 3:11

[PATCH] simple-ajax-chat UI fixes and enhancements

1) Addded a ifNotEmpty() function to check if user submitted an empty string.
2) Changed {% if %} statement to {% ifnotequal %} statement to prevent
broken avatar images.
3) Added HTML 1.0 Transitional DOCTYPE to all templates. Web standards is cool.
4) Minor CSS fixes & addons.
5) Removed highlightuser.js script link. It's not being used right?


Original issue reported on code.google.com by [email protected] on 5 Nov 2008 at 3:27

Attachments:

app works on dev_appserver but not on appspot.com

What steps will reproduce the problem?
1. download source
2. edit app.yaml with your project name
3. upload your app and try to run it

What is the expected output? What do you see instead?
500 ERROR on appname.appspot.com. All works fine on localhost:8080

The logs on appengine start with

{{{
<type 'exceptions.AttributeError'>: 'module' object has no attribute
'ROOT_URLCONF'

}}}

also discussed on
http://groups.google.com/group/google-appengine/browse_thread/thread/8ee67a72182
9d372/bd90d7a847f9b6b2?#bd90d7a847f9b6b2


Please provide any additional information below.
This error is fixed by inserting the lines

{{{
# Force Django to reload its settings.
from django.conf import settings
settings._target = None
}}}

after
{{{
# Google App Hosting imports.
from google.appengine.ext.webapp import util
}}}

in django_bootstrap.py

also ref: http://code.google.com/intl/fr/appengine/articles/django.html


REQUEST: Dev team, please update django_bootstrap.py with the above 3
lines. Will greatly help new developers.

Original issue reported on code.google.com by animesh on 15 May 2009 at 2:42

UI enhancements

Files involved?

1. simple-ajax-chat/templates/index.html
2. simple-ajax-chat/templates/chats.html
3. simple-ajax-chat/templates/edit_user.html
4. simple-ajax-chat/templates/user.html
5. simple-ajax-chat/css/main.css

A much more refined look for simple-ajax-chat sample application. Mainly
added, removed & edited HTML elements in templates & added some CSS spices
to it. Tried using a "valid" HTML doctype, but the chat window will resize
to a much smaller height. so, no HTML doctype. I don't it's necessary for
this sample application.


Original issue reported on code.google.com by [email protected] on 4 Nov 2008 at 6:18

Attachments:

Consider including simple shell.appspot.com wrapper script.

What steps will reproduce the problem?

1. Attempt to use shell.appspot.com outside the browser.
2. Observe you can't.
3. Fail. :)

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Please find attached a little script that wraps shell.appspot.com and makes
it feel like a local repl shell. It's kind of a 2 minute hack, but I'm
finding it useful already. Perhaps other would too.

Original issue reported on code.google.com by [email protected] on 6 Mar 2009 at 12:19

Attachments:

OpenID provider seems to be broken

What steps will reproduce the problem?
1. Attempt to log in to LiveJournal or OpenIDDirectory
2.
3.


What is the expected output? What do you see instead?

Expect: Successful OpenID-login to site.
Get:
    LiveJournal: Error message from livejournal.com "no_identity_server:
The provided URL doesn't declare its OpenID identity server."
    OpenIDDirectory:
        * openid-provider permission page from openid-provider.appspot.com
(with appspot warning)
        * on affirmative response, HTTP 302 Moved with link
        * on follow, page stating "The request method GET is inappropriate
for the URL /login" (at http://openid-provider.appspot.com/login)

What version of the product are you using? On what operating system?

Firefox 3.0.1 / Mac OS X 10.5.4


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 30 Aug 2008 at 1:04

Django_Example

What steps will reproduce the problem?
1.  base.html indicates '/static/styles.css' as linked. The archive does not 
contain '/static' 
2.  app.yaml does not show any static_dir:
3.  Application works! But, how does it get the 'styles.css' ?

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 May 2008 at 10:37

Code review request

Purpose of code changes on this branch:

   Add the Overheard application to the samples.

When reviewing my code changes, please focus on:


After the review, I'll merge this branch into:
/trunk


Original issue reported on code.google.com by [email protected] on 6 Nov 2008 at 7:35

openid-provider.appspot.com advertises OP 2.0 support but only offers 1.x

What steps will reproduce the problem?
1. Visit http://nerdbank.org/rp
2. Log in as any identifier hosted by openid-provider.appspot.com.

What is the expected output? What do you see instead?
Expected login success.

Actual: login fails.

Visit http://nerdbank.org/rp/tracepage.aspx and inspect the logs.  Note how 
the Provider is sending all OpenID 1.0 messages although the identifier you 
logged in with advertises OpenID 2.0 support, which causes the identifier 
positive assertion failure.

Original issue reported on code.google.com by [email protected] on 13 Feb 2009 at 3:17

tasks javascript is obfuscated

The file 
svn/  trunk/ tasks/ static/ javascript/ tasks.js
is obfuscated.

It would be very helpful if this was unobfuscated in order to understand the 
example.  Since this is an example, with the intention of showing what App 
Engine can do, and how it can do it, I'm assuming that the the obfuscation was 
unintentional.

What version of the product are you using?
r141

Original issue reported on code.google.com by [email protected] on 8 Jun 2011 at 7:24

MuvMuv - Import Error - No Module Named simplejson

What steps will reproduce the problem?
1. Launching MuvMuv using dev_appserver.py

What is the expected output? What do you see instead? "Import Error - No 
Module Named simplejson"

What version of the product are you using? Python 2.5 On what operating 
system? Windows XP


Please provide any additional information below. Other sample applications 
work such as tasks, geochat, etc.

Original issue reported on code.google.com by [email protected] on 28 Apr 2008 at 3:56

desktop multichat with empathy 2.28.1

What steps will reproduce the problem?
1. send /help
2. it just won't get it
3.  - Unsupported command

What is the expected output? What do you see instead?
expected same thing like webways. instead slash bugs

What version of the product are you using? On what operating system?
client Empathy 2.28.1 posix class

Please provide any additional information below.
may sniff transportlayers onwards


Original issue reported on code.google.com by [email protected] on 26 Dec 2009 at 6:56

Shell: entities are immutable in the shell

>>> class KpyModifyEntityTest(db.Model): name = db.StringProperty()
>>> e = KpyModifyEntityTest(key_name='key', name='abc')
>>> e.name
'abc'
>>> e.name = 'def'
>>> e.name
'abc'
>>> e.put()
datastore_types.Key.from_path(u'KpyModifyEntityTest', u'key', 
_app_id_namespace=u'shell')
>>> e = KpyModifyEntityTest.get_by_key_name('key')
>>> e.name
u'abc'
>>> e.name = 'def'
>>> e.put()
datastore_types.Key.from_path(u'KpyModifyEntityTest', u'key', 
_app_id_namespace=u'shell')
>>> e = KpyModifyEntityTest.get_by_key_name('key')
>>> e.name
u'abc'
>>> KpyModifyEntityTest(key_name='key', name='xyz').put()
datastore_types.Key.from_path(u'KpyModifyEntityTest', u'key', 
_app_id_namespace=u'shell')
>>> e = KpyModifyEntityTest.get_by_key_name('key')
>>> e.name
u'xyz'


What is the expected output? What do you see instead?
After e.name = 'def', e.name should return 'def'.

What version of the product are you using? On what operating system?
Tried this on shell.appspot.com today (2009-10-14), which is running:
Google Apphosting/1.0
Python 2.5.2 (r252:60911, Apr  7 2009, 17:42:26) 
[GCC 4.1.0]


Original issue reported on code.google.com by zestyping on 14 Oct 2009 at 11:01

Java "Getting Started" guide is incorrect.

The Java "Getting Started" guide does not match what actually happens on a 
real machine!

Just downloaded & installed the latest versions today:
Eclipse 3.5
Google Plugin 1.3.2
Google App Engine SDK 1.3.2
Google Web Toolkit SDK 2.0.3

http://code.google.com/appengine/docs/java/tools/eclipse.html says that 
the folder structure created should be:

Guestbook/
  src/
    guestbook/
      server/
        GuestbookServlet.java
    META-INF/
      jdoconfig.xml
    log4j.properties
    logging.properties
  war/
    WEB-INF/
      lib/
        ...App Engine JARs...
      appengine-web.xml
      web.xml
    index.html


That's not true!
The folder structure actually created is:


Guestbook/
  src/
    guestbook/
      GuestBook.gwt.xml
      client/
        GreetingService.java
        GreetingServiceAsync.java
        GuestBook.java
      server/
        GreetingServiceImpl.java
      shared/
        FieldVerifier.java
    META-INF/
      jdoconfig.xml
    log4j.properties
    logging.properties
  war/
    WEB-INF/
      classes
      lib/
        ...App Engine JARs...
      appengine-web.xml
      web.xml
    GuestBook.css
    GuestBook.html

Is there a proper description somewhere that properly reflects reality?

Original issue reported on code.google.com by [email protected] on 12 Apr 2010 at 2:59

Create/Edit Link doesn't work in safari (osx)

What steps will reproduce the problem?
1. Select some text.
2. Press the Create/Edit Link button.

What is the expected output? What do you see instead?
Expected to see a popup with options on creating my link. Instead saw blank 
popup. The blank 
popup seemed to have the correct source code, however.

What version of the product are you using? On what operating system?
Version 1 (what is written in app.yaml)
OSX 10.6.3
Safari 4.0.5

Original issue reported on code.google.com by [email protected] on 16 May 2010 at 12:01

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.