Hi,
I have been using a remote data server named Clarens which runs on top
of the Apache web server and communicates through xmlrpc on Redhat
Linux 7.3. It has been working fine for about a month, but today it
has started giving some error in httplib.py. The complete traceback is
given below:
Traceback (most recent call last):
File "clarensclient. py", line 2, in ?
dbsvr=Clarens.c larens_client(' http://localhost:80/xmlrpc/clarens_server. py',certfile='/root/rpms/CA.crt',keyfile ='/root/rpms/CA.key',debug=1 )
File "Clarens.py ", line 280, in __init__
text_scert,cryp t_server_nonce_ 64,crypt_user_n once_64 =
self.system.aut h()
File "xmlrpclib. py", line 821, in __call__
return self.__send(sel f.__name, args)
File "xmlrpclib. py", line 975, in __request
verbose=self.__ verbose
File "Clarens.py ", line 178, in request
errcode, errmsg, headers = h.getreply()
File "httplib.py ", line 752, in getreply
response = self._conn.getr esponse()
File "httplib.py ", line 595, in getresponse
response.begin( )
File "httplib.py ", line 119, in begin
line = self.fp.readlin e()
This also occurs when i press Ctrl+C. Otherwise the python script just
hangs up.Can somebody tell me how this error can be removed? Ive
already tried reinstalling the python2 rpm, the py-xmlrpc rpm and
mod_python, but still it doesnt work.
Tahir. 0 1671 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: jeff |
last post by:
Hiya
im trying to pull tags off a website using python ive got a few things
running that have the potential to work its just i cant get them to
becuase of certain errors?
basically i dont what to download the images and all the stuff just
the html and then work from there, i think its timing out because its
trying to downlaod the images as well which i dont what to do as this
would decrease the speed of what im trying to achieve, the...
|
by: C GIllespie |
last post by:
Dear All,
I'm having problems using the urllib module and was wondering if anyone
could suggest a solution. The only thing I can thing of is that I'm using at
university and my uni uses a compulsory proxy.
I'm using the python 2.3.3 and have tried both windows and Linux
environments. I've tried different urls as well.
Here's the code and error message I get
|
by: scummer |
last post by:
Hi,
I am having a problem with the httplib HTTPConnection object. While I
can easily send requests that don't have any payload (ie. "get"), I
encounter issues if I want to post xml data. If you look at the class
below, when req == 'getFreeBusyInfo' all functions perfectly, but when
req == 'conflictRequest' I run into problems of the nature "400 Bad
Request". As you will notice, I also tried the shorter HTTPConnection
instance method...
|
by: Robert |
last post by:
I need to run FTP over SSL from windows (not shitty sftp via ssh etc!)
as explained on
http://www.ford-hutchinson.com/~fh-1-pfh/ftps-ext.html (good variant
3: FTP_TLS )
I tried to learn from M2Crypto's ftpslib.py (uses OpenSSL - not
Pythons SSL) and made a wrapper for ftplib.FTP using Pythons SSL.
I wrap the cmd socket like:
|
by: Johan |
last post by:
I don't get it:
I'm trying to write a "readfile" function which would replace some code from
a __init__ function:
1 import string
2 class landdict:
3 def __init__(self, file):
4 # Laadt de dictionnary van landen.
5 # Kijk in de actiefspel-file voor de file van waaruit je
moet laden.
| |
by: Mitch.Garnaat |
last post by:
Hi -
I'm writing some Python code to interact with Amazon's S3 service. One
feature of S3 is that it will allow you to use the HTTP HEAD request to
retrieve metadata about an S3 object without actually retrieving the
content of the object. In trying to use this feature, I'm running into
what I think is a bug in httplib.py.
If the resource I perform the HEAD request on exists within S3 then
everything is fine. If, however, the...
|
by: kristian.hermansen |
last post by:
keherman@ibmlnx20:/tmp$ cat helloworld.py
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
|
by: Marek S. |
last post by:
Hi,
I am new in Python and I have no experience in object-oriented programming.
I want to make an easy GUI for my application. What is my problem? I have
the data-file like this (file ETab_H1.dan):
16
1 13 10 1 0.9 1.1 1 0 0.0 0.0 0.0
2 14 50 2 0.9 1.1 4 2 0.0 0.0 0.0
|
by: Daniel |
last post by:
Hello,
I can't seem to get my sockets code to work right. Here is what I
have inside my RequestHandler handle() function:
total_data=
data = True
logger_server.debug(self.__class__.__name__ + ' set data =
True')
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |