Are you using appstats or some other middlewear that might be using 
webapp.template?  You need to call use_library() before any code tries to 
use django; app_config.py is probably a good place to put the call.

On Sunday, February 13, 2011 10:44:38 AM UTC-5, $ÂÑЀ€P wrote:
>
> Hi,
>
> tried to use use_library('django','1.2')
>
> This is giving this kind of error......., can any one help how to sort 
> this...
>
> E2011-02-13 07:08:52.561 
>
> <class 'google.appengine.dist._library.UnacceptableVersionError'>: django 1.2 
> was requested, but 0.96.4.None is already in use
> Traceback (most recent call last):
>   File 
> "/base/data/home/apps/littleparadischool/1-2-36.348324395325175647/cricket/disxml.py",
>  line 7, in <module>
>     use_library('django', '1.2')
>   File 
> "/base/python_runtime/python_lib/versions/1/google/appengine/dist/_library.py",
>  line 291, in use_library
>     InstallLibrary(name, version, explicit=True)
>   File 
> "/base/python_runtime/python_lib/versions/1/google/appengine/dist/_library.py",
>  line 250, in InstallLibrary
>     CheckInstalledVersion(name, version, explicit=True)
>   File 
> "/base/python_runtime/python_lib/versions/1/google/appengine/dist/_library.py",
>  line 194, in CheckInstalledVersion
>     (name, desired_version, installed_version))
>
>
> On Sun, Feb 13, 2011 at 6:01 AM, David Mora <[email protected]> wrote:
>
>> There seems to be a problem (in python) when using the bulk loader:
>>
>> UnacceptableVersionError: django 1.1 was requested, but 1.2.3.final.0
>> is already in use
>> [INFO    ] An error occurred. Shutting down...
>>
>> We load django 1.1 directly in app_config.py so it is used across all
>> mapreduces/pipelines
>>
>> Would not say it is a issue yet since i have not properly debug it
>> (hell, is weekend :) ) - if i found more info ill fill up a bug
>> properly, thought i should share this, tho
>>
>> On 12 February 2011 14:30, Sandeep Koduri <[email protected]> wrote:
>> > Thanks for the update, we were eager about this.
>> > Thinking why the version release updates of python went after java ones,
>> > different from regular process.
>> > This version helps us lot....
>> >
>> > On Sat, Feb 12, 2011 at 1:50 AM, Ikai Lan (Google)
>> > <[email protected]> wrote:
>> >>
>> >> Hey everyone,
>> >> The moment you've been waiting for is here. Drum roll please ... *drum
>> >> roll* SDK 1.4.2 is out! I know you've all been anxious to get your 
>> hands on
>> >> this release (many of you jumping the gun and download the SDK before 
>> the
>> >> previous announcement). You won't be disappointed. Here's the official 
>> blog
>> >> post:
>> >>
>> >> 
>> http://googleappengine.blogspot.com/2011/02/app-engine-142-sdk-api-updates-and.html
>> >> One thing you'll notice is that Prospective Search (Matcher API) isn't 
>> in
>> >> this release even though it was in the prerelease SDK. We're going to 
>> try to
>> >> get it out for one of the upcoming releases. Apologies for those of you
>> >> wanted to use it - it's coming soon, I promise!
>> >> Release notes for 1.4.2 are below. As usual, you can update the SDK
>> >> through all the standard means or via the downloads
>> >> page: http://code.google.com/appengine/downloads.html
>> >> Note: Some of you who downloaded the Java SDK prior to this 
>> announcement
>> >> actually got a version that was missing the unit testing jars. If you
>> >> downloaded the Java SDK over ~30 minutes ago and are wondering where 
>> all the
>> >> testing jars went, please go ahead and download it again (if you didn't
>> >> notice that the testing jars were missing ... well, shame on you, you 
>> should
>> >> be writing unit tests).
>> >> Java Version 1.4.2
>> >> =============
>> >> - You can now vacuum datastore indexes with the Java SDK.
>> >> - The XMPP API was updated to include presence and allow subscriptions.
>> >> - The Task Queue now supports programmatic deleting of tasks.
>> >>     http://code.google.com/p/googleappengine/issues/detail?id=2588
>> >> - The maximum rate per queue at which tasks are processed has been
>> >> increased to
>> >>   100 task per second.
>> >> - The maximum number of concurrent requests for a single queue can be
>> >> specified
>> >>   in the application's queue.xml. This provides an additional 
>> easy-to-use
>> >> form
>> >>   of rate limiting. The current number of running tasks is also 
>> displayed
>> >> in
>> >>   the Admin Console.
>> >> - Metadata queries in the Datastore now support cursors.
>> >> - Admin Console logs viewer now displays time as YYYY-MM-DD 
>> HH:MM:SS.mmm.
>> >> - Added a warning when an admin tries to upload a queue.yaml where the
>> >> number
>> >>   of new queues and the number of disabled queues exceeds 100.
>> >> - Added a putIfUntouched() method to the Memcache API.
>> >>     http://code.google.com/p/googleappengine/issues/detail?id=2139
>> >> - Added JAX-WS support for writing SOAP clients and SAAJ support for
>> >> writing
>> >>   SOAP servers. JAX-WS for SOAP servers is not yet supported.
>> >> - The Mail API added KML and KMZ files as allowed attachments.
>> >> - Fixed an issue where mail from @appid.appspotmail.com did not work 
>> when
>> >>   sending mail to app admins.
>> >> - Fixed an issue where the SDK did not enforce the 100 task limit for 
>> the
>> >> Task
>> >>   Queue.
>> >>     http://code.google.com/p/googleappengine/issues/detail?id=3296
>> >> - Fixed an issue where the Java SDK URLFetch did not support 32MB 
>> response
>> >>   sizes.
>> >>     http://code.google.com/p/googleappengine/issues/detail?id=4215
>> >> - Fixed an issues where <jsp-file> mappings in web.xml were broken.
>> >>     http://code.google.com/p/googleappengine/issues/detail?id=4216
>> >> Python Version 1.4.2
>> >> ================================
>> >> - The XMPP API was updated to include presence and allow subscriptions.
>> >> - The Task Queue now supports programmatic deleting of tasks.
>> >>     http://code.google.com/p/googleappengine/issues/detail?id=2588
>> >> - The maximum rate per queue at which tasks are processed has been
>> >> increased to
>> >>   100 tasks per second.
>> >> - The maximum number of concurrent requests for a single queue can be
>> >> specified
>> >>   in the application's queue.yaml. This provides an additional 
>> easy-to-use
>> >> form
>> >>   of rate limiting. The current number of running tasks is also 
>> displayed
>> >> in
>> >>   the Admin Console.
>> >> - Metadata queries in the Datastore now support cursors.
>> >> - Admin Console logs viewer now displays time as YYYY-MM-DD 
>> HH:MM:SS.mmm.
>> >> - Added a warning when an admin tries to upload a queue.yaml where the
>> >> number
>> >>   of new queues and the number of disabled queues exceeds 100.
>> >> - Django 1.2.5 is available via use of the use_library() declaration. 
>> This
>> >>   version of Django has also been added to the Python SDK.
>> >> - Added builtin support for the deferred library.
>> >> - If Python Precompilation fails, an error will be printed but the app
>> >> will
>> >>   still be uploaded.
>> >> - Added a --disable_sdk_update_check command line flag to the
>> >> dev_appserver.
>> >> - The Mail API added KML and KMZ files as allowed attachments.
>> >> - Fixed an issue where the datastore copy functionality did not work if
>> >> writes
>> >>   were disabled on the source application.
>> >> - Fixed an issue where mail from @appid.appspotmail.com did not work 
>> when
>> >>   sending mail to app admins.
>> >> - Fixed an issue where the dev_appserver URLFetch API limit was 16MB. 
>> It
>> >> is now
>> >>   32 MB to match production.
>> >> - Fixed a zipimport issue on Windows which was not working due to path
>> >>   separators.
>> >>     http://code.google.com/p/googleappengine/issues/detail?id=2086
>> >> - Fixed an issue where the SDK did not enforce the 100 task limit for 
>> the
>> >> Task
>> >>   Queue.
>> >>     http://code.google.com/p/googleappengine/issues/detail?id=3296
>> >> - Fixed an issue where Query.order() was broken for properties with the
>> >> 'name'
>> >>   attribute.
>> >>     http://code.google.com/p/googleappengine/issues/detail?id=3693
>> >> - Fixed an unhelpful error message in the Python namespace_manager.
>> >>     http://code.google.com/p/googleappengine/issues/detail?id=3931
>> >> --
>> >> Ikai Lan
>> >> Developer Programs Engineer, Google App Engine
>> >> Blogger: http://googleappengine.blogspot.com
>> >> Reddit: http://www.reddit.com/r/appengine
>> >> Twitter: http://twitter.com/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 [email protected].
>> >> 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.
>> >
>> >
>> >
>> > --
>> > Regards
>> > Sandeep
>> >
>> > --
>> > You received this message because you are subscribed to the Google 
>> Groups
>> > "Google App Engine" group.
>> > To post to this group, send email to [email protected].
>> > 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.
>> >
>>
>>
>>
>> --
>> http://about.me/david.mora
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to [email protected].
>> 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.
>>
>>
>
>
> -- 
> Regards
> Sandeep Koduri
> Phone: +91- 99 666 02 456
> Gtalk: sandeep.koduri | Skype: sandeep.koduri
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
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.

Reply via email to