Is anyone out there* using web2py?
Specifically:
In production?
With what database?
With Google Application Engine?
by "out there" I mean at stackoverflow.
In this example from the App Engine docs, why does the example declare contactInfos like this (no Generics):
import javax.jdo.annotations.Element;
// ...
@Persistent
@Element(dependent = "true")
private List contactInfos;
instead of like this, using a Generic:
import javax.jdo.annotations.Element;
// ...
@Persistent
@Element(dependent = "true")
private List <ContactInfo> contactInfos;
in my application, user sign in/sing out via openid ( same as stackoverlfow ).
i would like to open up my application a bit via oauth to third party applications.
how do i create my app which is openid-consumer to make it oauth-provider ?
is there some standard,library etc out there ? i am basically working in app engine and python.
I have looked into Geopy and googlemaps (http://py-googlemaps.sourceforge.net/) and they both do not work for Chinese addresses. My app is stored on the Google App Engine. What I want to do is to parse a file containing addresses of restaurants in Hong Kong, and then Geocode the addresses and store the Lat and Lng in the datastore. How do I do this?
Let's say that the Google Custom Search Engine on my website is returning results like the following:
Campine chickens - buy discount chickens online ...
blah...blah...blah...blahblah...blahblah...blah
www.pollosshop.co.uk/poultry/Campine/3941
Pollo's Staff Picks
blah...blahblah...blahblah...blahblah...blah
www.pollosshop.co.uk/staff-picks/
Is there anyway to append a tracking parameter to the URL's so that they become:
Campine chickens - buy discount chickens online ...
blah...blah...blah...blahblah...blahblah...blah
www.pollosshop.co.uk/poultry/Campine/3941?track=fromsearch
Pollo's Staff Picks
blah...blahblah...blahblah...blahblah...blah
www.pollosshop.co.uk/staff-picks/?track=fromsearch
?
Hi,
I'm trying to load the DOM of web pages in my application (running under Google App Engine), using HtmlUnit, HttpUnit or any similar library.
Did anyone manage to do something similar?
Thanks
Gilad
I just ran into trouble with the AreaDescriptionFilter of Spark using MVC 2 Beta.
The following line is from my Application.spark file. It results in the view engine looking in all possible locations of the view - except in the folders of the area "Shell".
# Html.RenderAction("ShowMainMenu", "Navigation", new { area = "Shell" });
Running the same action using http://localhost/Shell/Navigation/ShowMainMenu executes fine and recognizes the area's view directory as expected.
Any ideas how to fix this?
i am looking for a open source full featured web search engine like nutch , because nutch is complex and it take much time to penetrate its code and i didnt find a book about it .
I'm looking to find the equivalent in C# for the equivalent of this regex.
Java:
public static final String expression = "[\s\p{Punct}]";
{Punct} is a reserved character class in Java but I'm not sure how to create the equivalent expression so that the .net regex engine doesn't barf.
i have an app in GAE, but i have no idea about how to use django session, although i know the app-engine-patch may be helpful. who can give me a demo how to use it for session? thank you!
Can I use a spark variable inside an html helper?
Say we have
<var url="Url.Action(“get”)" />
!{Html.Image("~/Content/up.png")}
Now if I need to use the url inside Html.Image as an attribute(part of the 2nd param) to get
<img src="~/Content/up.png" type="~/engine/get" />
how do I go about doing it?
I wanted some information about FAST ESP search engine. After failing to get any response from the email query system on Microsoft site I called their ore-sales phone number. The person there told me the only way they sell FAST ESP is as a bundled product with SharePoint. That really does not make any sense and contradicts all the PDF documents they have about FAST ESP on their site.
Does anyone know who to contact at Microsoft to discuss this product?
HI
I have a django application running on app engine and I want to add a twitter login to my application.
Do you have a good links how to do that. I already registered my app in twitter.
Just don't know how to do login/logout buttons.
Thanks, Arshavski Alexander
Can search engines such as Google index JavaScript generated web pages? When you right click and select view source in a page that is generated by JavaScript (e.g using GWT) you do not see the dynamically generated HTML. I suppose that if a search engine also cannot see the generated HTML then there is not much to index, right?
My application running on google app engine, so can not use File. I want to save a pdf file on other site to google drive, but get a IllegalArgumentException
file.setMimeType("application/pdf");
mediaContent = new InputStreamContent(file.getMimeType(),
url.openStream());
try {
File result = getDrive().files().insert(file, mediaContent)
.execute();
return result.getId();
} catch (Exception e) {
e.printStackTrace();
}
Thanks
The server part of the Remote API that App Engine uses can be installed in the Java version as well, so that you can use for example the bulkloader.py utility to backup data.
But is there also a Java client for accessing this API (or is that only available for Python)?
I am not able to set cookies using following statements
self.request.headers['Cookie'] = 'uniqueid = ',unique_identifier
self.request.headers['Cookie'] = 'nickname = ',nickname
as
self.request.cookies
is returning null dictionary in another request.
environment is python on google app engine
I'm trying to optimize the startup time/class loading time of my Java web app because its on the Google App Engine and startup time is important.
Is there a way I can turn on some sort of class loading debug messages or someway to see where time is being spent while class loading? I want to see if any specific libraries take a while to load and then get rid of them if they aren't essential.
I want to scrape this URL : https://www.xstreetsl.com/modules.php?searchSubmitImage_x=0&searchSubmitImage_y=0&SearchLocale=0&name=Marketplace&SearchKeyword=business&searchSubmitImage.x=0&searchSubmitImage.y=0&SearchLocale=0&SearchPriceMin=&SearchPriceMax=&SearchRatingMin=&SearchRatingMax=&sort=&dir=asc
Go into each of the links and extract out various pieces of information e.g. permissions, prims etc then post the results into a Entity on google app engine.
I want to know the best way to go about it?
Chris
Hi there,
I'm using this code to implement the like button
<fb:like layout="button_count" show_faces="false" width="450"></fb:like>
But when I try to click it the counter is increased for about 1 second and then it goes back to zero again. I can't see on my facebook profile that i've liked something either. Someone have a solution for this? I'm using the newest JavaScript SDk in an Google App engine/ Django environment.
I know wordpress,joomla,drupal etc ( most of php_mysql stack ) can auto detect update in software itself or/and plugin and either ask for user permission to update or auto update it.
How to do similar thing on google app engine like cloud computing ?
I am creating an open source software which is targeted towards non-computer people. who can not clone my code and update their application easily.
what is the easier way to do this ?
when i upload my project to google-app-engine , it show this :
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it.
why ?
how can i debug this error ?
thanks
In the video/PDF from "Data pipelines with Google App Engine" Brett puts "now / 30" into the task name noting that he will explain the reason later, but somehow he never does. :)
http://www.youtube.com/watch?v=zSDC_TU7rtc#t=41m35
task_name = '%s-%d-%d' % (sum_name, int(now / 30), index)
Do you have any idea about the reason? Does it have anything to do with the 7 day period in which one can't re-use task names?
URL to the session page: http://tinyurl.com/3523mej