473,382 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

View doesnot exist Error

9
HI...
I am running python 2.5.1 with django 0.97 pre and apache 2.4. I am trying to run mysite which has views inside a views folder. This works really well on django's server but when i try to run it on apache it returns the following error

ViewDoesNotExist: Could not import mysite.views.views. Error was: No module named feeds

This is my httpd conf setting.


<Location "/mysite/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
PythonPath "[r'C:\\Python25\\mysite\\views'] + sys.path"
PythonDebug On
</Location>

Can anybody help? Do I have to give the python path? Since the files are residing on the python path I believe I don't have to... Since that was not working I was forced to give the path as well. That too resulted in the same error. Works fine in django... but not with apache.( I hope I have configured apache since i got the django test page in apache) Please help ..
Aug 30 '07 #1
1 1557
bartonc
6,596 Expert 4TB
There is an import that is failing. It is not views. It is

feeds

If it exists somewhere, you will need to put its location into sys.path, as well.
Aug 30 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Larry Pits | last post by:
Hi All, Everytimes I tried to view any crystall reports, I got this error message Server Error in '/xxxx' Application....
0
by: Max Hotte | last post by:
We have following situation: USER1 uses secondary-IDs SEC1 and SEC2 We defined an ALIAS with SEC1.ALIAS1 => SEC2.VIEW1 => SEC2.TABLE1 and GRANT SELECT user SEC1 on VIEW SEC2.VIEW1.
6
by: _link98 | last post by:
Problem: getting SQL0181N for queries on nicknames to remote Union-All-View. Can't see what I'm doing wrong yet, maybe someone has seen this before. Environment: UDB ESE 8.1 + FIXPAK 9A, on...
2
by: Brad | last post by:
I have an intranet app that has just started sporadically getting the following error "The viewstate is invalid for this page and might be corrupted." By sproadic I mean 3-4 times during the past...
3
by: dave | last post by:
We have an application that works perfectly in-house (tested on 3 different servers). It uses Microsoft.Web.UI.WebControls.dll for menubars and toolbars. Problem Description: We uploaded...
2
by: Curtiosity | last post by:
I have done a create or replace view called creditcard1. If I do a "select * from creditcard1" it retrieves the data just fine. If I try to do a statement where I am listing the column names it...
0
by: rraw | last post by:
few days before i could connect the SQL server of another system but now i am having problem in connecting to database of another system. the system has registered me successfully but still the...
1
by: shalini jain | last post by:
Hi all, I am very new to java and have a very limited knowledge about this. i am stuck at one problem which is really druving me crazy.. The problem is : I have written a code wherein I...
0
by: Terry | last post by:
Hello, I have problem adding controls to my webpage default.aspx. There is a group of controls that just refuse to be used with message: 'The name 'controlname' does not exist in the current...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.