So, you can import the function in the django shell? Have you considered replacing the string-based import with a normal import?
On Sat, Apr 7, 2012 at 16:29, Bussiere <bussi...@gmail.com> wrote: > Everything is fine. > > I said you it worked five second before ... > > > Bussiere > > Le samedi 7 avril 2012 16:58:51 UTC+2, Marcin a écrit : > >> Reinstalling django will not help. Verify that the file is present and >> has the correct permissions (likewise all superior directories, and also >> the relevant __init__.py files. These files are essential.). >> >> You may also like to run the django shell, and try to import that module. >> If that does not work, examine the sys.path setting to ensure that >> jackpoint is on the path. >> >> On Sat, Apr 7, 2012 at 15:53, Bussiere <bussi...@gmail.com> wrote: >> >>> i've made no deploiement at all ... >>> >>> No views in invitation works. >>> >>> >>> I was working on live with the test server runnning. >>> >>> (i've tried to restart it more than one time after i get this error). >>> >>> And by magic all the views in invitation don't works, they are not found. >>> >>> Maybe a reinstallation of django ? >>> >>> Have you any suggestion ? >>> >>> Bussiere >>> >>> >>> >>> Le samedi 7 avril 2012 16:42:09 UTC+2, Marcin a écrit : >>> >>>> Does invitation/create_invitation **w**ork? If not, I suspect that >>>> you have either some kind of configuration issue, or the file has gone >>>> missing from your deployment/has wrong permissions set. >>>> >>>> On Sat, Apr 7, 2012 at 15:36, Bussiere <bussi...@gmail.com> wrote: >>>> >>>>> from django.conf.urls.defaults import patterns, include, url >>>>> >>>>> # Uncomment the next two lines to enable the admin: >>>>> from django.contrib import admin >>>>> admin.autodiscover() >>>>> >>>>> urlpatterns = patterns('', >>>>> # Examples: >>>>> # url(r'^$', 'Jackpoint.views.home', name='home'), >>>>> # url(r'^Jackpoint/', include('Jackpoint.foo.urls'))****, >>>>> url(r'^$', 'jackpoint.engine.views.index'****), >>>>> #url(r'^X/$', 'jackpoint.X.views.index'), >>>>> url(r'^invitation/$', 'jackpoint.invitation.views.**in**dex'), >>>>> # Uncomment the admin/doc line below to enable admin documentation: >>>>> url(r'^admin/doc/', include('django.contrib.**admind**ocs.urls')), >>>>> >>>>> url(r'^invitation/create_**invit**ation/$', >>>>> 'jackpoint.invitation.views.**cr**eate_invitation'), >>>>> url(r'^invitation/inscription/****$', 'jackpoint.invitation.views. >>>>> **in**vitation_inscription'), >>>>> url(r'^hand/$', 'jackpoint.hand.views.index'), >>>>> url(r'^hand/ask/$', 'jackpoint.hand.views.ask'), >>>>> # Uncomment the next line to enable the admin: >>>>> url(r'^admin/', include(admin.site.urls)), >>>>> ) >>>>> >>>>> >>>>> Le samedi 7 avril 2012 16:28:53 UTC+2, Marcin a écrit : >>>>> >>>>>> What does your urls.py look like? >>>>>> >>>>>> On Sat, Apr 7, 2012 at 15:27, Bussiere <bussi...@gmail.com> wrote: >>>>>> >>>>>>> i've got this error : >>>>>>> ViewDoesNotExist at /invitation/ >>>>>>> >>>>>>> Could not import jackpoint.invitation.views.**ind****ex. View does not >>>>>>> exist in module jackpoint.invitation.views. >>>>>>> >>>>>>> >>>>>>> But yes it exist and worked fine 5 secondes before. >>>>>>> >>>>>>> >>>>>>> the image of eclipse : >>>>>>> >>>>>>> http://dl.dropbox.com/u/**197533****32/wtf.png >>>>>>> <http://dl.dropbox.com/u/19753332/wtf.png> >>>>>>> >>>>>>> >>>>>>> all the other view works well. >>>>>>> >>>>>>> >>>>>>> >>>>>>> And when i close and reopen firefox, all the views works fine and that >>>>>>> one appaeras 5 secondes freeze then say it doesn't exist. >>>>>>> >>>>>>> >>>>>>> the view is here : >>>>>>> >>>>>>> https://github.com/bussiere/**ja****ckpoint/blob/master/**jackpoint/****jackpoint/**invitation/views.py >>>>>>> >>>>>>> <https://github.com/bussiere/jackpoint/blob/master/jackpoint/jackpoint/invitation/views.py> >>>>>>> ** ** >>>>>>> >>>>>>> >>>>>>> regards >>>>>>> >>>>>>> bussiere >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Django users" group. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/**ms****g/django-users/-/**kiSWlzDrl28J<https://groups.google.com/d/msg/django-users/-/kiSWlzDrl28J> >>>>>>> . >>>>>>> To post to this group, send email to django-users@googlegroups.com. >>>>>>> To unsubscribe from this group, send email to >>>>>>> django-users+unsubscribe@**googl****egroups.com<django-users%2bunsubscr...@googlegroups.com> >>>>>>> . >>>>>>> For more options, visit this group at http://groups.google.com/** >>>>>>> group****/django-users?hl=en<http://groups.google.com/group/django-users?hl=en> >>>>>>> . >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Marcin Tustin >>>>>> Tel: 07773 787 105 >>>>>> >>>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Django users" group. >>>>> To view this discussion on the web visit https://groups.google.com/d/* >>>>> *ms**g/django-users/-/**KZlOCBWleEMJ<https://groups.google.com/d/msg/django-users/-/KZlOCBWleEMJ> >>>>> . >>>>> >>>>> To post to this group, send email to django-users@googlegroups.com. >>>>> To unsubscribe from this group, send email to >>>>> django-users+unsubscribe@**googl**egroups.com<django-users%2bunsubscr...@googlegroups.com> >>>>> . >>>>> For more options, visit this group at http://groups.google.com/**group >>>>> **/django-users?hl=en<http://groups.google.com/group/django-users?hl=en> >>>>> . >>>>> >>>> >>>> >>>> >>>> -- >>>> Marcin Tustin >>>> Tel: 07773 787 105 >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/django-users/-/m-**QAVDODpUUJ<https://groups.google.com/d/msg/django-users/-/m-QAVDODpUUJ> >>> . >>> >>> To post to this group, send email to django-users@googlegroups.com. >>> To unsubscribe from this group, send email to django-users+unsubscribe@* >>> *googlegroups.com <django-users%2bunsubscr...@googlegroups.com>. >>> For more options, visit this group at http://groups.google.com/** >>> group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en> >>> . >>> >> >> >> >> -- >> Marcin Tustin >> Tel: 07773 787 105 >> >> -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/aBYKTLVIyRwJ. > > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- Marcin Tustin Tel: 07773 787 105 -- 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, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.