473,406 Members | 2,356 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,406 software developers and data experts.

Import error on webserver

1
Hi all,

I've developed a web application using Python on my development machine at home (running Mac OS X Tiger, Python 2.4.3). The time has come to "go live" and I have copied the app's folders to my host's servers (running GNU/Linux unknown Python version).

I am using Comstar's excellent HTML tool, and the error occurs when trying to import it:

Expand|Select|Wrap|Line Numbers
  1. from HyperText.HTML import DIV
Causes the error: "No module named HyperText.HTML"

The Python script I'm calling it from is in a folder that contains the "HyperText" folder, and within the "HyperText" folder is the "HTML.py" script I need to import. In other words the directory structure looks like this:

server/myscript.py
server/HyperText/HTML.py

I am guessing this is something to do with mod_python (as that's what my host is running). Or is it a configuration setting my host needs to change? (I don't have Python command line access on the host's server).

Can this be resolved?

Cheers,

Brendon
Mar 2 '08 #1
0 1017

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

Similar topics

2
by: vichet | last post by:
Dear All; I have two servers: Webserver(WebServer) and Database server(DBServer). In Webserver, i asp to connect to sqlserver in dbserver. but i can not connect it, it show error "No Trust...
0
by: Thijs | last post by:
Hi, I am developing both a webservice and a Windows Forms webservice client. After I've deployed my webservice to the webserver I update my webservice reference in my client application, but the...
1
by: Dave | last post by:
Hi all, I was wondering if anyone has successfully copied a project from their local webserver to an Internet webserver via frontpage extensions. I can copy to my heart's content on a local LAN...
12
by: Ann Marinas | last post by:
Hi all, I would like to ask for some help regarding separating the asp.net webserver and the sql server. I have created an asp.net application for a certain company. Initially, we installed...
8
by: Řyvind Isaksen | last post by:
Hello! I have made an asp.net application, and it works fine on my local computer. But when I transfer it to my webserver (here: http://dev1.softmaker.no/ld/), I get this error message: ...
3
by: Adriano | last post by:
Hello, when I try to print something, either DataGrid or from Crystal Report viever the folowing error message appears and cancels printing: Object reference not set to an instance of an...
1
by: kristian | last post by:
I'm using the following entry in my web.config: web.config <customErrors mode="On" defaultRedirect="~/CMS/Default.aspx"> <error statusCode="404" redirect="~/CMS/Default.aspx"/> </customErrors> ...
2
by: Jay | last post by:
Hi, This is Jay Mehta. I have this problem when using LDAP. I extract names and EmailId's of all those present from LDAP and populate in a datagrid. Now when run locally, it is running...
1
by: Nick C | last post by:
Hi I am trying to import emails from a webserver. This code retrieves only 1 email. I also would like to save them into an xml file? thanks N Request =...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.