[google-appengine] Re: UnknownQueueError

2010-05-10 Thread Hazzadous
You'll need to play with the task service stub, specifically, setting
the location of the queue.yaml file in your local development
environment.  Something like:

taskqueue_stub = apiproxy_stub_map.apiproxy.GetStub( 'taskqueue' )
taskqueue_stub._root_path = os.path.join( os.path.dirname( __file__ ),
'..' )

in setUp should suffice.

H

On May 10, 6:29 pm, John Gardner  wrote:
> Bump, same here.  Is there some bootstrap config that needs to be done
> on the development server to have custom queues available?
>
> On Apr 16, 5:33 pm, Jay  wrote:
>
> > Hello all. I get UnknownQueueError when I use a custom queue (define
> > in queue.yaml) in unit tests. The queue works fine when running my
> > app. Any known issue there or suggestions?
>
> > -- Jay
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.
>
> --
> 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-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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-appeng...@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: Audio

2010-02-09 Thread Hazzadous
It would be great to have an audio API like you say, for transcoding,
voice recognition, general manip.  Currently having to upload 4
formats for the same file.  There is this in issues:

http://code.google.com/p/googleappengine/issues/detail?id=1947

On Feb 8, 6:40 pm, sampablokuper  wrote:
> On Feb 6, 8:43 pm, ProfessorMD  wrote:
>
> > Does Google App Engine have support for the Java Sound API?
>
> Come to think of it, does Google App Engine support any audio
> processing libraries? Can an App Engine app, for instance, transcode
> an uploaded WAV file to a FLAC or MP3 file?

-- 
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-appeng...@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: Is GAE the right choice for e-commerce?

2010-02-02 Thread Hazzadous
I decided to negated the issue of finding a commerce framework to run
on appengine and went for the javascript option of Google Checkout
Shopping Cart, which is working pretty well for me at www.rafikirecords.com
.  Details at http://sites.google.com/site/checkoutshoppingcart/

If you wanted to secure checkout you'd have to do some more work
playing with signing the carts but its doable, and you have gchecky
available that could be of some help.

If you find any nice carts that work on appengine it would be good to
check it out.  If I was to start again, I'd probably look at satchmo
or the parts that it has been broken up in to (django-bursar etc) and
see if I could get something working with django-nonrel.  Ok if you
don't mind the django dep.

On Feb 1, 10:40 pm, ng  wrote:
> Hi Mike,
>
> Thanks for your reply. It is really helpful and encouraging to know
> that there are successful e-Commerce models already running good on
> GAE. Your online shop looks GREAT! Clean and intuitive design with
> simple cart + payment structure. And yes, it is pretty much the same
> that I want to do for my service - to write a custom (yet simple)
> shopping cart and be able to control and change anything quick and
> easy (as I understand it)... and due do appEngine development
> simplicity phenomenon I actually enjoy doing it right now, but, as I
> mentioned above, my main concern is all about the simplicity of
> adding, controlling, 'rewiring' and, the last but not least, securing
> clients online payments. I'm pretty sure it is relatively easy for an
> experienced web programmer (especially Google programmer;) to set it
> up nicely from the scratch but not that transparent for a beginner
> (like myself) to make that part running properly without fiddling with
> different approaches, trials and fails... and true, I wish there were
> a couple of reliable open-source e-commerce solutions already to
> investigate and rely on. Also I guess there could be a decent
> guideline for embedding  Google Checkout service... at least it seems
> natural as it is Google's proprietary online paying system.
>
> Thanks,
> NG
>
> On Feb 2, 2:19 am, Mike  wrote:> Hi NG
>
> > We are running our business on AppEngine. (Search "Shoes of Prey" on
> > Google to find us.)
>
> > So far, it is going really well. AppEngine is a delight to develop on,
> > and you can't argue with the cost. (I've only been charged $0.01 so
> > far. Although, as I've posted in another thread, the small charge by
> > itself was problematic for me.) :)
>
> > I had to write the entire ecommerce platform from scratch - which
> > suited me given the very custom nature of our business - however you
> > may not be as keen as me. It really depends on your business.
>
> > We choose AppEngine primarily because a) 2 of us used to work at
> > Google, and we love AppEngine b) if we start serving a lot of traffic/
> > bandwidth we want something scalable. As I said earlier as well, the
> > API is really nice and makes developing a breeze.
>
> > The only thing I wish AppEngine had was HTTPS support for custom
> > domains, and I'm hopeful that one day it will be supported. There are
> > workarounds too. Once AppEngine has HTTPS support and a few open-
> > source ecommerce software packages, it will be a really great platform
> > I would think.
>
> > Good luck.
>
> > Mike
>
> > On Jan 31, 4:31 pm, decuman  wrote:
>
> > > Hello,
>
> > > At the moment I'm thinking of building a small/medium online selling
> > > business and before investing more of my time (and money) into GAE
> > > based development it would be just great to know some experienced
> > > users and expert thoughts and opinions on it.
>
> > > As far as I can see (after reading related books, articles and message
> > > group threads) GAE is just a perfect solution for prototyping and
> > > building a social networking applications (Blogs, Chats, Galleries,
> > > Message boards etc.) which requires tracking a lot of users and
> > > storing data... which is great. But there is quite a few (literally
> > > none) of nice business/e-commerce applications with decent product
> > > galleries, shopping carts and checkout functionality and payment
> > > service integration. Also there are lots of complains and negative
> > > responses pointing to big GAE functional limitations (which are not
> > > going to improve soon or ever) and overall practicability of using it
> > > as a reliable e-commerce platform. In particular (PayPal, Google
> > > Checkout integration)
>
> > > It wasn't a very deep and thoughtful investigation but the outlined
> > > above is just my personal subjective feeling so far. I would really
> > > love to know the opinion and thoughts on this matter from GAE experts.
> > > Shell I move forward with Google App Engine development or it would be
> > > move wise to consider some other solution?
>
> > > Thanks in advance!
> > > NG

-- 
You received this message because you are subscribed to the Google Groups 
"Google App

[google-appengine] Re: Blobstore upload with empty file

2010-01-20 Thread Hazzadous
Sorry, missed these updates.  Yes, I am currently selection form
action based on if any file fields are non empty.  JavaScript, as you
allude to.

On Jan 5, 10:37 pm, Andy Lo-A-Foe  wrote:
> You can use JavaScript to check if the file form field is filled in
> before submitting.
>
> Regards,
> Andy
>
> On Jan 3, 11:02 pm, Hazzadous  wrote:
>
>
>
> > Having a little trouble using blobstore when file form fields are
> > empty.  I'm getting "Server Error" and nothing useful by the way of
> > debugging from this error or in the logs.  Handler as 
> > perhttp://codepad.org/TKnI0WuQandlive version 
> > athttp://rafikirecords-sandbox.appspot.com/upload_form
>
> > Can anyone point to a possible resolution to this problem?
-- 
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-appeng...@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] Blobstore upload with empty file

2010-01-03 Thread Hazzadous
Having a little trouble using blobstore when file form fields are
empty.  I'm getting "Server Error" and nothing useful by the way of
debugging from this error or in the logs.  Handler as per
http://codepad.org/TKnI0WuQ and live version at
http://rafikirecords-sandbox.appspot.com/upload_form

Can anyone point to a possible resolution to this problem?

--

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-appeng...@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: db.put() returns InternalError: Unexpected error, please try again

2009-12-07 Thread Hazzadous
Make sure you write_list contains entities with unique key_names.
I've just had the same error, appears put doesn't like duplicate
key_names maybe.  No heavy testing though so may not be the cause.

On Nov 26, 3:55 pm, Kenneth  wrote:
> I've been getting some db.put errors since last Friday.  The error
> message isn't helpful, I'm hoping someone can shed some light on it.
>
> I changed my     db.put(write_list) to
>
>         fail = True
>         try:
>             db.put(write_list)
>             fail = False
>         except:
>             logging.exception('Error bulk saving')
>         if fail:
>             for r in write_list:
>                 try:
>                     db.put(r)
>                 except:
>                     logging.exception('Error saving kind: %r key: %s'
> % (r.kind(), r.key()))
>
> I'm still getting a couple of errors a day but at least the operation
> is succeeding.  The second exception handler isn't being hit.
>
>     db.put(write_list)
>   File "/base/python_lib/versions/1/google/appengine/ext/db/
> __init__.py", line 1212, in put
>     keys = datastore.Put(entities)
>   File "/base/python_lib/versions/1/google/appengine/api/
> datastore.py", line 181, in Put
>     raise _ToDatastoreError(err)
> InternalError: Unexpected error, please try again.
>
> 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-appeng...@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: MP3 Data Retreival

2009-12-07 Thread Hazzadous
Without retrieving the file, you may be able to use the filename or
other data on the site to guess the artist/title and from this, query
something like musicbrainz.  If you can actually retrieve the file,
you may be able to either get the mbid or more reliable artist album
track data to use in the query.  But no mb entry and its down to
guesswork.

On Nov 26, 5:14 am, MajorProgamming  wrote:
> Is there any way to somehow fetch an external MP3 file (i.e. from
> another website), and then calculate the length of the MP3 file.
>
> I don't need the actual data of the file, I just want the length of it
> (time it runs).
>
> Keep in mind that these files can be as big as 25MB...
>
> 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-appeng...@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: I can't view my apps. https://appengine.google.com/start "The page isn't redirecting properly"

2009-12-01 Thread Hazzadous
I recall experiencing a similar redirecting problem.  Do you have a
Google Apps account by the same name as your Google Account?  Try
https://appengine.google.com/a/example.com

On Nov 30, 8:36 pm, "Ikai L (Google)"  wrote:
> According to the system status, App Engine was fine:
>
> http://code.google.com/status/appengine
>
> Are you still experiencing issues?
>
>
>
>
>
> On Fri, Nov 27, 2009 at 7:33 AM, Scott Murphy  wrote:
> > I can't log in tohttp://appengine.google.com. It just dies.
>
> > I also created a new appengine account in which I can create apps, but
> > can't see them after I hit the save button.
>
> > Is appengine down???
>
> > --
>
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine

--

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-appeng...@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: Why not implement a Django database backend for App Engine?

2009-11-22 Thread Hazzadous
>From the django devel group: http://tinyurl.com/y9gpf55

This is probably the most up to date/informative info on non-
relational db support for Django?

On Nov 20, 7:34 pm, Andy Smith  wrote:
> I've started working on (or at least at this point only arguing with django
> people) this project as well, but it is still some time off so I wouldn't
> hold your breath quite yet.
>
> On Wed, Nov 18, 2009 at 11:11 AM, sserrano wrote:
>
>
>
> > While it is a difficult task there is people trying to work around
> > it.
>
> > Follow wkornewald athttp://bitbucket.org/wkornewald/he is doing an
> > excellent work
>
> > Cheers, Sebastian Serrano
>
> >http://www.sserrano.com
>
> > On 18 nov, 09:54, frankabel  wrote:
> > > Hi all,
>
> > > I'm newbie in this App Engine. As far I know, lot of Django app
> > > portability get solved if someone implement a  Django database backend
> > > for App Engine. Even I read "Once queryset-refactor lands in trunk, it
> > > might also be possible to write a database backend for App Engine that
> > > would allow any app to run properly. " athttp://
> > martyalchin.com/2008/apr/8/appengine/
>
> > > Somebody can explain me why isn't implemented yet such database
> > > backend? I, mean is a big deal? What are the main problems that ones
> > > must address to write such backend? If the backend exist, porting
> > > Django app will be more easy that using Google App Engine Helper for
> > > Django?
>
> > > Cheers
> > > Frank Abel
>
> > --
>
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

--

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-appeng...@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=.




[google-appengine] Re: Why not implement a Django database backend for App Engine?

2009-11-22 Thread Hazzadous
Search the django-devel group for non-relational db for info on this
topic.  Google has apparently set aside some time for this effort.

On Nov 20, 7:34 pm, Andy Smith  wrote:
> I've started working on (or at least at this point only arguing with django
> people) this project as well, but it is still some time off so I wouldn't
> hold your breath quite yet.
>
> On Wed, Nov 18, 2009 at 11:11 AM, sserrano wrote:
>
>
>
> > While it is a difficult task there is people trying to work around
> > it.
>
> > Follow wkornewald athttp://bitbucket.org/wkornewald/he is doing an
> > excellent work
>
> > Cheers, Sebastian Serrano
>
> >http://www.sserrano.com
>
> > On 18 nov, 09:54, frankabel  wrote:
> > > Hi all,
>
> > > I'm newbie in this App Engine. As far I know, lot of Django app
> > > portability get solved if someone implement a  Django database backend
> > > for App Engine. Even I read "Once queryset-refactor lands in trunk, it
> > > might also be possible to write a database backend for App Engine that
> > > would allow any app to run properly. " athttp://
> > martyalchin.com/2008/apr/8/appengine/
>
> > > Somebody can explain me why isn't implemented yet such database
> > > backend? I, mean is a big deal? What are the main problems that ones
> > > must address to write such backend? If the backend exist, porting
> > > Django app will be more easy that using Google App Engine Helper for
> > > Django?
>
> > > Cheers
> > > Frank Abel
>
> > --
>
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

--

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-appeng...@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=.