Re: value error at dashboard did not return httpresponse

2018-08-05 Thread Kasper Laudrup
Return the result of the call to the render function at the end of your dashboard function instead of just calling render(). Kind regards, Kasper Laudrup On August 5, 2018 4:26:30 PM GMT+02:00, ireoluwa fakeye wrote: > > >-- >You received this message because you are subscribed to the Google

value error at dashboard did not return httpresponse

2018-08-05 Thread ireoluwa fakeye
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. V

Re: 1.11: Value error on related user name during save of user model

2017-09-14 Thread Axel Rau
> Am 21.08.2017 um 23:53 schrieb James Schneider : > > If this was working under 1.9 (I'd be surprised if it was), then I would file > this as a backward-incompatibility bug with the bug tracker. https://code.djangoproject.com/ticket/28594 Axel --- PGP-Key:29E99DD6 ☀ computing @ chaos

Re: 1.11: Value error on related user name during save of user model

2017-08-22 Thread James Schneider
On Tue, Aug 22, 2017 at 12:31 PM, Axel Rau wrote: > Thanks for taking the time to write such an extensive answer. > Thanks. I should really sleep more... > > Some background info: > > This is a realtime operational database, for which I try to create a GUI > with Django. > The DB is fully norm

Re: 1.11: Value error on related user name during save of user model

2017-08-22 Thread Axel Rau
Thanks for taking the time to write such an extensive answer. > Am 21.08.2017 um 23:53 schrieb James Schneider : > > > > On Mon, Aug 21, 2017 at 7:50 AM, Axel Rau > wrote: > While upgrading from 1.9 to 1.11, ForwardManyToOneDescriptor.__set__() > tries to assign a st

Re: 1.11: Value error on related user name during save of user model

2017-08-21 Thread James Schneider
On Mon, Aug 21, 2017 at 7:50 AM, Axel Rau wrote: > While upgrading from 1.9 to 1.11, ForwardManyToOneDescriptor.__set__() > tries to assign a string (description of the related instance) to the > related user name field > of user model. > > class AbstractEmailUser(AbstractBaseUser, PermissionsMix

1.11: Value error on related user name during save of user model

2017-08-21 Thread Axel Rau
While upgrading from 1.9 to 1.11, ForwardManyToOneDescriptor.__set__() tries to assign a string (description of the related instance) to the related user name field of user model. class AbstractEmailUser(AbstractBaseUser, PermissionsMixin, FieldlistForDetailTemplateMixin): localemail = model

Re: Reading xpath value error - Lxml

2013-04-14 Thread no body
Wow, thank you so so much for reminding me about the "tbody". This works well now !!! On Sun, Apr 14, 2013 at 7:27 PM, Tom Evans wrote: > On Sun, Apr 14, 2013 at 10:29 AM, wrote: > > Hi all, > > > > I am trying to crawl the information from this link > > > > > http://muaban.net/mua-ban-nha-qu

Re: Reading xpath value error - Lxml

2013-04-14 Thread Tom Evans
On Sun, Apr 14, 2013 at 10:29 AM, wrote: > Hi all, > > I am trying to crawl the information from this link > > http://muaban.net/mua-ban-nha-quan-thu-duc-l5924-c32/quan-thu-duc-ban-nha1lau-2mt-truoc-sau-dg-ng-cong-tru-p-hiep-phu-q9-dt-4x21-5m--id15946781 > > and this is the code I use > >> link =

Reading xpath value error - Lxml

2013-04-14 Thread bubufff
Hi all, I am trying to crawl the information from this link http://muaban.net/mua-ban-nha-quan-thu-duc-l5924-c32/quan-thu-duc-ban-nha1lau-2mt-truoc-sau-dg-ng-cong-tru-p-hiep-phu-q9-dt-4x21-5m--id15946781 and this is the code I use link = > "http://muaban.net/mua-ban-nha-quan-thu-duc-l5924-c3

Re: Value Error during 1.2 to 1.4 conversion

2012-10-10 Thread Peter
Thanks. That pointed me in the right direction. First, I didn't realize that the 'url' form required named parameters. However, I was using the non-url form, and it turned out in the conversion to class-based generics, I had left off the "{}" third object in each list. So it was expecting a dict

Re: Value Error during 1.2 to 1.4 conversion

2012-10-08 Thread Marek Brzóska
Check your urls. For me it looks like you wanted to give name to the url but forgot use keyword argument. For example you could be having: url(r"^#", "your_view", "name_of_the_view") instead of url(r"^#", "your_view", name="name_of_the_view") -- Marek Brzóska brzoskama...@gmail.com -- You rec

Value Error during 1.2 to 1.4 conversion

2012-10-07 Thread Peter
I'm trying to convert a Django 1.2 site to a 1.4 site. So there's lots of changing old generic views to class-based generic views, and the apps all go up one level so lots of changes to imports, but in each case so far it's it's been quite easy to narrow down the problem to a line in my code, a

Re: Value Error in Pyfacebook

2010-08-08 Thread Fabian Ezequiel Gallina
2010/8/8 Pankaj Singh : > problem got solved > > 1292 if params.get('expires'): > 1293 self.session_key_expires = int(params['expires']) > > I've just changed it to: > > 1292 if params.get('expires'): > > 1293 try: > 1294 self.session_key_expi

Re: Value Error in Pyfacebook

2010-08-07 Thread Pankaj Singh
problem got solved 1292 if params.get('expires'): 1293 self.session_key_expires = int(params['expires']) I've just changed it to: 1292 if params.get('expires'): 1293 try: 1294 self.session_key_expires = int(params['expires']) 1295

Re: Value Error in Pyfacebook

2010-08-07 Thread marekw2143
At the end of the stacktrace there's written: ValueError: invalid literal for int() with base 10: 'None' You can debug that code and see what happens. On Aug 7, 10:20 pm, Pankaj Singh wrote: > Hi i m getting this error > > *** > T

Re: Value Error in Pyfacebook

2010-08-07 Thread marekw2143
At the end of the stacktrace there's written: ValueError: invalid literal for int() with base 10: 'None' You can debug that code and see what happens. On Aug 7, 10:20 pm, Pankaj Singh wrote: > Hi i m getting this error > > *** > T

Value Error in Pyfacebook

2010-08-07 Thread Pankaj Singh
Hi i m getting this error *** Traceback (most recent call last): File "/usr/local/alwaysdata/python/ django/1.2.1/django/core/handlers/base.py", line 100, in get_response response = callback(request, *callback_args, **callback_kw

value error

2009-08-04 Thread srini
Hi all, I am using "location = request.get_full_path()"in my view, when the user is logged in this " request.get_full_path() " is getting the correct path but when user gets logged out and again logging in at that time this "request.get_full_path()" is adding the extr

Re: Value error......

2009-07-28 Thread Daniel Roseman
On Jul 28, 7:27 pm, ashish tiwari wrote: > I see the value error when I run the > > http://127.0.0.1:8000/People/Info/5 > > it shows me the error which is in the figure……attached with this folder….. > > here is the codes….of  “urls.

Re: How to solve value error

2009-05-10 Thread Daniel Roseman
On May 10, 4:17 am, Nalini wrote: > Hi, > > I am getting this value error in my report. i am using pagination fro > my report. I have only 2 records in my database. so in order to check > whether my pagination works i gave > { % autopaginate Data 1 % } so that each record wil

How to solve value error

2009-05-09 Thread Nalini
Hi, I am getting this value error in my report. i am using pagination fro my report. I have only 2 records in my database. so in order to check whether my pagination works i gave { % autopaginate Data 1 % } so that each record will get displayed in two different pages. when i generate my report

Re: Value Error after update to latest Django

2008-06-14 Thread Steve Potter
> > Searching here: > > http://code.djangoproject.com/search > > for date_heirarchy brings up an open ticket: > > http://code.djangoproject.com/ticket/7199 > > So looks like someone else has hit this and reported it already. The report > includes some analysis of where the error is occurring but

Re: Value Error after update to latest Django

2008-06-14 Thread Karen Tracey
On Sat, Jun 14, 2008 at 4:50 PM, Steve Potter <[EMAIL PROTECTED]> wrote: > On Jun 13, 7:47 pm, Steve Potter <[EMAIL PROTECTED]> wrote: > > I just updated the the latest version of Django and I started getting > > the following error in the admin interface: > > > > Caught an exception while render

Re: Value Error after update to latest Django

2008-06-14 Thread Steve Potter
On Jun 13, 7:47 pm, Steve Potter <[EMAIL PROTECTED]> wrote: > I just updated the the latest version of Django and I started getting > the following error in the admin interface: > > Caught an exception while rendering: invalid literal for int() with > base 10: 'None' > > It seems to be the resu

Value Error after update to latest Django

2008-06-13 Thread Steve Potter
I just updated the the latest version of Django and I started getting the following error in the admin interface: Caught an exception while rendering: invalid literal for int() with base 10: 'None' It seems to be the result of a model I have with a DateTimeField with both null and blank set to T

DateTimeField - Value Error - 'Year is out of Range'

2006-10-30 Thread Merric Mercer
h the Admin, everything seems fine. I can view the the individual transactions without a problem. I can see the transaction when I first go to a related UserProfile. However, as soon as I save the UserProfile I get the following error "Value Error - Year out of Range". Looking at the

Re: DateTimeField - Value Error - 'Year is out of Range'

2006-10-30 Thread Aidas Bendoraitis
can view the the individual transactions without a problem. > > I can see the transaction when I first go to a related UserProfile. > However, as soon as I save the UserProfile I get the following error > "Value Error - Year out of Range". > > Looking at the database it is cle

Re: DateTimeField - Value Error - 'Year is out of Range'

2006-10-30 Thread MerMer
Cheers Aidas, that's wokred for me too. MerMer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group