Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
It's magic the view does not exist for django but it worked 5 secondes before and it still exist
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  18 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bussiere  
View profile  
 More options Apr 7 2012, 10:27 am
From: Bussiere <bussi...@gmail.com>
Date: Sat, 7 Apr 2012 07:27:07 -0700 (PDT)
Local: Sat, Apr 7 2012 10:27 am
Subject: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

i've got this error :
ViewDoesNotExist at /invitation/

Could not import jackpoint.invitation.views.index. 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/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/jackpoint/blob/master/jackpoint/jackpoint...

regards

bussiere


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcin Tustin  
View profile  
 More options Apr 7 2012, 10:28 am
From: Marcin Tustin <marcin.tus...@gmail.com>
Date: Sat, 7 Apr 2012 15:28:53 +0100
Local: Sat, Apr 7 2012 10:28 am
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

What does your urls.py look like?

--
Marcin Tustin
Tel: 07773 787 105

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bussiere  
View profile  
 More options Apr 7 2012, 10:36 am
From: Bussiere <bussi...@gmail.com>
Date: Sat, 7 Apr 2012 07:36:19 -0700 (PDT)
Local: Sat, Apr 7 2012 10:36 am
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

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.index'),
    # Uncomment the admin/doc line below to enable admin documentation:
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    url(r'^invitation/create_invitation/$',
'jackpoint.invitation.views.create_invitation'),
    url(r'^invitation/inscription/$',
'jackpoint.invitation.views.invitation_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 :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcin Tustin  
View profile  
 More options Apr 7 2012, 10:42 am
From: Marcin Tustin <marcin.tus...@gmail.com>
Date: Sat, 7 Apr 2012 15:42:09 +0100
Local: Sat, Apr 7 2012 10:42 am
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

Does  invitation/create_invitation work? 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.

--
Marcin Tustin
Tel: 07773 787 105

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bussiere  
View profile  
 More options Apr 7 2012, 10:53 am
From: Bussiere <bussi...@gmail.com>
Date: Sat, 7 Apr 2012 07:53:47 -0700 (PDT)
Local: Sat, Apr 7 2012 10:53 am
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

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 :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcin Tustin  
View profile  
 More options Apr 7 2012, 10:58 am
From: Marcin Tustin <marcin.tus...@gmail.com>
Date: Sat, 7 Apr 2012 15:58:51 +0100
Local: Sat, Apr 7 2012 10:58 am
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

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.

--
Marcin Tustin
Tel: 07773 787 105

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bussiere  
View profile  
 More options Apr 7 2012, 11:29 am
From: Bussiere <bussi...@gmail.com>
Date: Sat, 7 Apr 2012 08:29:36 -0700 (PDT)
Local: Sat, Apr 7 2012 11:29 am
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

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 :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcin Tustin  
View profile  
 More options Apr 7 2012, 11:38 am
From: Marcin Tustin <marcin.tus...@gmail.com>
Date: Sat, 7 Apr 2012 16:38:49 +0100
Local: Sat, Apr 7 2012 11:38 am
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

So, you can import the function in the django shell? Have you considered
replacing the string-based import with a normal import?

--
Marcin Tustin
Tel: 07773 787 105

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bussiere  
View profile  
 More options Apr 7 2012, 11:59 am
From: Bussiere <bussi...@gmail.com>
Date: Sat, 7 Apr 2012 08:59:32 -0700 (PDT)
Local: Sat, Apr 7 2012 11:59 am
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

how to do that ?

Le samedi 7 avril 2012 17:38:49 UTC+2, Marcin a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcin Tustin  
View profile  
 More options Apr 7 2012, 12:03 pm
From: Marcin Tustin <marcin.tus...@gmail.com>
Date: Sat, 7 Apr 2012 17:03:17 +0100
Local: Sat, Apr 7 2012 12:03 pm
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

python manage.py shell

--
Marcin Tustin
Tel: 07773 787 105

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bussiere  
View profile  
 More options Apr 7 2012, 12:06 pm
From: Bussiere <bussi...@gmail.com>
Date: Sat, 7 Apr 2012 09:06:32 -0700 (PDT)
Local: Sat, Apr 7 2012 12:06 pm
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

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 :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bussiere  
View profile  
 More options Apr 7 2012, 12:09 pm
From: Bussiere <bussi...@gmail.com>
Date: Sat, 7 Apr 2012 09:09:40 -0700 (PDT)
Local: Sat, Apr 7 2012 12:09 pm
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

and i've used cygwin vim to find if there was some bad characters in the
file but no.

Bussiere

Le samedi 7 avril 2012 18:03:17 UTC+2, Marcin a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bussiere  
View profile  
 More options Apr 7 2012, 12:13 pm
From: Bussiere <bussi...@gmail.com>
Date: Sat, 7 Apr 2012 09:13:08 -0700 (PDT)
Local: Sat, Apr 7 2012 12:13 pm
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

FIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII IIINNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNND

\o/

Save the file under vim resolved the problems >.>

Bussiere

Le samedi 7 avril 2012 18:06:32 UTC+2, Bussiere a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcin Tustin  
View profile  
 More options Apr 7 2012, 12:13 pm
From: Marcin Tustin <marcin.tus...@gmail.com>
Date: Sat, 7 Apr 2012 17:13:28 +0100
Local: Sat, Apr 7 2012 12:13 pm
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

I'm not sure what you think we can do to help you with this information.

--
Marcin Tustin
Tel: 07773 787 105

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bussiere  
View profile  
 More options Apr 7 2012, 12:33 pm
From: Bussiere <bussi...@gmail.com>
Date: Sat, 7 Apr 2012 09:33:32 -0700 (PDT)
Local: Sat, Apr 7 2012 12:33 pm
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

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 :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Camilo Buitrago  
View profile  
 More options Dec 4 2012, 7:21 pm
From: Camilo Buitrago <juancamilobuitr...@gmail.com>
Date: Tue, 4 Dec 2012 16:21:40 -0800 (PST)
Local: Tues, Dec 4 2012 7:21 pm
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

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ó:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Cogdon  
View profile  
 More options Dec 4 2012, 7:32 pm
From: Chris Cogdon <ch...@cogdon.org>
Date: Tue, 4 Dec 2012 16:32:10 -0800 (PST)
Local: Tues, Dec 4 2012 7:32 pm
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

tl;dr :)

I am going to guess that the server is not recognising tyour changes when
you save them, and perhaps one copy of a server thinks the state is X, and
the other thinks its Y, so you'll get different results each time you
refresh.

Are you running with manage.py runserver? When you save your file,
manage.py should detect this and "reload". If it doesn't, something is awry.

If you're using a normal webserver, and wsgi.py (the usual case, nowadays)
whenever you make changes to your .py files, you _must_ either restart the
webserver, or simply touch the wsgi.py file to update its timestamp.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Camilo Buitrago  
View profile  
 More options Dec 4 2012, 7:47 pm
From: Camilo Buitrago <juancamilobuitr...@gmail.com>
Date: Tue, 4 Dec 2012 16:47:54 -0800 (PST)
Local: Tues, Dec 4 2012 7:47 pm
Subject: Re: It's magic the view does not exist for django but it worked 5 secondes before and it still exist

Thanks for your help Chris...what I did was to use the shell with python
manage.py shell and tried to import the view that wasn't there and could
see the error, it was a lowercase character that must be uppercase.

El martes, 4 de diciembre de 2012 19:32:10 UTC-5, Chris Cogdon escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »