Re: AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'

2015-11-23 Thread knbk
Python 3 displays the original exception alongside the new exception when a 
new exception occurs in an except block. The AttributeError is expected, so 
this doesn't tell you anything about what goes wrong. The second error 
occurs when importing `self.urlconf_name`. The traceback should point you 
to the exact cause of this second error, that's the error you will have to 
solve to resolve this issue. 

On Monday, November 23, 2015 at 1:07:29 PM UTC+1, KwangYoun Jung wrote:
>
> Did you solve the issue?
>
> On Tuesday, July 2, 2013 at 8:14:00 PM UTC+9, Pratik Mandrekar wrote:
>>
>> Hello,
>>
>>
>> I keep getting the error *AttributeError: 'RegexURLResolver' object has 
>> no attribute '_urlconf_module' *and the only trace available is as shown 
>> below:
>>
>> 'RegexURLResolver' object has no attribute '_urlconf_module'
>>
>> My Sentry Error reporting normally shows the above error along with 
>> another error, both of which seem to happen simultaneously
>>
>>
>> django.core.urlresolvers in urlconf_module 
>> <https://app.getsentry.com/app8437996herokucom/app8437996herokucom/group/6155076/>
>>
>> AttributeError: 'RegexURLResolver' object has no attribute 
>> '_urlconf_module'
>>
>>
>> The trace for which is
>>
>>
>>
>>1. 
>>
>> @property
>>
>>2. 
>>
>>def urlconf_module(self):
>>
>>3. 
>>
>>try:
>>
>>4. 
>>
>>return self._urlconf_module
>>
>>5. 
>>
>>except AttributeError:
>>
>>6. 
>>
>>self._urlconf_module = import_module(self.urlconf_name)
>>
>>7. 
>>
>>return self._urlconf_module
>>
>>8. 
>>
>>9. 
>>
>>@property
>>
>>
>>
>> 'self'
>>
>> 
>>
>>
>> I'm on Django 1.4. I have been unable to debug this for weeks. Any help 
>> would be appreciated. 
>>
>>
>> Thanks,
>>
>> Pratik
>>
>>

-- 
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.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5a1ab7e7-16cd-4c54-8ad1-ce3978813682%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'

2015-11-23 Thread KwangYoun Jung
Did you solve the issue?

On Tuesday, July 2, 2013 at 8:14:00 PM UTC+9, Pratik Mandrekar wrote:
>
> Hello,
>
>
> I keep getting the error *AttributeError: 'RegexURLResolver' object has 
> no attribute '_urlconf_module' *and the only trace available is as shown 
> below:
>
> 'RegexURLResolver' object has no attribute '_urlconf_module'
>
> My Sentry Error reporting normally shows the above error along with 
> another error, both of which seem to happen simultaneously
>
>
> django.core.urlresolvers in urlconf_module 
> <https://app.getsentry.com/app8437996herokucom/app8437996herokucom/group/6155076/>
>
> AttributeError: 'RegexURLResolver' object has no attribute 
> '_urlconf_module'
>
>
> The trace for which is
>
>
>
>1. 
>
> @property
>
>2. 
>
>def urlconf_module(self):
>
>3. 
>
>try:
>
>4. 
>
>return self._urlconf_module
>
>5. 
>
>except AttributeError:
>
>6. 
>
>self._urlconf_module = import_module(self.urlconf_name)
>
>7. 
>
>return self._urlconf_module
>
>8. 
>
>9. 
>
>@property
>
>
>
> 'self'
>
> 
>
>
> I'm on Django 1.4. I have been unable to debug this for weeks. Any help 
> would be appreciated. 
>
>
> Thanks,
>
> Pratik
>
>

-- 
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.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/db8cc652-ae35-4561-b7a8-647bd86ffc01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'

2013-11-20 Thread burak . kuyucakli
Hello,

Is there an answer to this problem?

On Tuesday, July 2, 2013 4:56:08 PM UTC+3, Pratik Mandrekar wrote:
>
> Hey Tom,
>
> My ROOT_URLCONF points to 'urls' which is the top level urlconf for my 
> site. Besides all my urls do work. This error keeps coming intermittently 
> but does not affect my application logic in any way I know. So I need to 
> know why this error keeps getting reported and how to fix it.
>
> Thanks,
> Pratik
>
> On Tuesday, July 2, 2013 4:53:09 PM UTC+5:30, Tom Evans wrote:
>>
>> On Tue, Jul 2, 2013 at 12:14 PM, Pratik Mandrekar 
>>  wrote: 
>> > 
>> > Hello, 
>> > 
>> > 
>> > I keep getting the error AttributeError: 'RegexURLResolver' object has 
>> no 
>> > attribute '_urlconf_module' and the only trace available is as shown 
>> below: 
>> > 
>> > 'RegexURLResolver' object has no attribute '_urlconf_module' 
>> > 
>> > My Sentry Error reporting normally shows the above error along with 
>> > another error, both of which seem to happen simultaneously 
>> > 
>> > 
>> > django.core.urlresolvers in urlconf_module 
>> > 
>> > AttributeError: 'RegexURLResolver' object has no attribute 
>> > '_urlconf_module' 
>> > 
>> > 
>> > The trace for which is 
>> > 
>> > 
>> >  @property 
>> > 
>> > def urlconf_module(self): 
>> > 
>> > try: 
>> > 
>> > return self._urlconf_module 
>> > 
>> > except AttributeError: 
>> > 
>> > self._urlconf_module = import_module(self.urlconf_name) 
>> > 
>> > return self._urlconf_module 
>> > 
>> > @property 
>> > 
>> > 
>> > 'self' 
>> > 
>> >  
>> > 
>> > 
>> > I'm on Django 1.4. I have been unable to debug this for weeks. Any help 
>> > would be appreciated. 
>> > 
>> > 
>> > Thanks, 
>> > 
>> > Pratik 
>> > 
>>
>> Sounds like your ROOT_URLCONF is incorrectly specified in settings. 
>>
>> Cheers 
>>
>> Tom 
>>
>

-- 
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.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/451bd362-f0c2-4d00-a843-1b205880da5c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'

2013-07-02 Thread Pratik Mandrekar
Hey Tom,

My ROOT_URLCONF points to 'urls' which is the top level urlconf for my 
site. Besides all my urls do work. This error keeps coming intermittently 
but does not affect my application logic in any way I know. So I need to 
know why this error keeps getting reported and how to fix it.

Thanks,
Pratik

On Tuesday, July 2, 2013 4:53:09 PM UTC+5:30, Tom Evans wrote:
>
> On Tue, Jul 2, 2013 at 12:14 PM, Pratik Mandrekar 
> > wrote: 
> > 
> > Hello, 
> > 
> > 
> > I keep getting the error AttributeError: 'RegexURLResolver' object has 
> no 
> > attribute '_urlconf_module' and the only trace available is as shown 
> below: 
> > 
> > 'RegexURLResolver' object has no attribute '_urlconf_module' 
> > 
> > My Sentry Error reporting normally shows the above error along with 
> > another error, both of which seem to happen simultaneously 
> > 
> > 
> > django.core.urlresolvers in urlconf_module 
> > 
> > AttributeError: 'RegexURLResolver' object has no attribute 
> > '_urlconf_module' 
> > 
> > 
> > The trace for which is 
> > 
> > 
> >  @property 
> > 
> > def urlconf_module(self): 
> > 
> > try: 
> > 
> > return self._urlconf_module 
> > 
> > except AttributeError: 
> > 
> > self._urlconf_module = import_module(self.urlconf_name) 
> > 
> > return self._urlconf_module 
> > 
> > @property 
> > 
> > 
> > 'self' 
> > 
> >  
> > 
> > 
> > I'm on Django 1.4. I have been unable to debug this for weeks. Any help 
> > would be appreciated. 
> > 
> > 
> > Thanks, 
> > 
> > Pratik 
> > 
>
> Sounds like your ROOT_URLCONF is incorrectly specified in settings. 
>
> Cheers 
>
> Tom 
>

-- 
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.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'

2013-07-02 Thread Tom Evans
On Tue, Jul 2, 2013 at 12:14 PM, Pratik Mandrekar
 wrote:
>
> Hello,
>
>
> I keep getting the error AttributeError: 'RegexURLResolver' object has no
> attribute '_urlconf_module' and the only trace available is as shown below:
>
> 'RegexURLResolver' object has no attribute '_urlconf_module'
>
> My Sentry Error reporting normally shows the above error along with
> another error, both of which seem to happen simultaneously
>
>
> django.core.urlresolvers in urlconf_module
>
> AttributeError: 'RegexURLResolver' object has no attribute
> '_urlconf_module'
>
>
> The trace for which is
>
>
>  @property
>
> def urlconf_module(self):
>
> try:
>
> return self._urlconf_module
>
> except AttributeError:
>
> self._urlconf_module = import_module(self.urlconf_name)
>
> return self._urlconf_module
>
> @property
>
>
> 'self'
>
> 
>
>
> I'm on Django 1.4. I have been unable to debug this for weeks. Any help
> would be appreciated.
>
>
> Thanks,
>
> Pratik
>

Sounds like your ROOT_URLCONF is incorrectly specified in settings.

Cheers

Tom

-- 
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.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'

2013-07-02 Thread Pratik Mandrekar
Hello,


I keep getting the error *AttributeError: 'RegexURLResolver' object has no 
attribute '_urlconf_module' *and the only trace available is as shown below:

'RegexURLResolver' object has no attribute '_urlconf_module'

My Sentry Error reporting normally shows the above error along with another 
error, both of which seem to happen simultaneously


django.core.urlresolvers in 
urlconf_module<https://app.getsentry.com/app8437996herokucom/app8437996herokucom/group/6155076/>

AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'


The trace for which is



   1. 
   
@property
   
   2. 
   
   def urlconf_module(self):
   
   3. 
   
   try:
   
   4. 
   
   return self._urlconf_module
   
   5. 
   
   except AttributeError:
   
   6. 
   
   self._urlconf_module = import_module(self.urlconf_name)
   
   7. 
   
   return self._urlconf_module
   
   8. 
   
   9. 
   
   @property
   
   

'self'




I'm on Django 1.4. I have been unable to debug this for weeks. Any help 
would be appreciated. 


Thanks,

Pratik

-- 
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.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.