Hey I have the same error... the views just dissapeared... can't find a way to solve it as I'm working in Notepad++... any suggestion?
El sábado, 7 de abril de 2012 11:33:32 UTC-5, Bussiere escribió: > > the problem is solved. > > Just saving the view file under vim solved it. > > It must have been an encoding problems with the file. > > But it was strange because it reads some part of the file. > > By the way thanks for your support. > > Bussiere > > Le samedi 7 avril 2012 18:13:28 UTC+2, Marcin a écrit : >> >> I'm not sure what you think we can do to help you with this information. >> >> On Sat, Apr 7, 2012 at 17:06, Bussiere <[email protected] >> <javascript:>>wrote: >> >>> my point the import in shell does not work too. >>> >>> I had a import error from a line of import in view corrected it and it's >>> still not working. >>> >>> i had an error in a form imported. >>> >>> So it reads the file because he tel me if there is an error but it >>> didn't found index. >>> >>> Regards >>> >>> >>> Le samedi 7 avril 2012 17:38:49 UTC+2, Marcin a écrit : >>> >>>> 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 <[email protected] <javascript:> >>>> > 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 <[email protected]<javascript:> >>>>>> > 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 <[email protected]<javascript:> >>>>>>>> > 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 >>>>>>>>>> <[email protected]<javascript:> >>>>>>>>>> > 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 >>>>>>>>>>> [email protected]<javascript:> >>>>>>>>>>> . >>>>>>>>>>> To unsubscribe from this group, send email to django-users...@** >>>>>>>>>>> googl******egroups.com <javascript:>. >>>>>>>>>>> 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 >>>>>>>>> [email protected]<javascript:> >>>>>>>>> . >>>>>>>>> To unsubscribe from this group, send email to django-users...@** >>>>>>>>> googl****egroups.com <javascript:>. >>>>>>>>> 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/-/m-**QAVDODpUUJ<https://groups.google.com/d/msg/django-users/-/m-QAVDODpUUJ> >>>>>>> . >>>>>>> >>>>>>> To post to this group, send email to >>>>>>> [email protected]<javascript:> >>>>>>> . >>>>>>> To unsubscribe from this group, send email to django-users...@** >>>>>>> googl**egroups.com <javascript:>. >>>>>>> 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<https://groups.google.com/d/msg/django-users/-/aBYKTLVIyRwJ> >>>>> . >>>>> >>>>> To post to this group, send email to >>>>> [email protected]<javascript:> >>>>> . >>>>> To unsubscribe from this group, send email to django-users...@** >>>>> googlegroups.com <javascript:>. >>>>> 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/-/S7QOA9SmE2QJ. >>> >>> To post to this group, send email to [email protected]<javascript:> >>> . >>> To unsubscribe from this group, send email to >>> [email protected] <javascript:>. >>> 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 view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/By3U1Y2_s3YJ. 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/django-users?hl=en.

