RSS Forums RSS
Please support our Python advertiser: Programming Forums
Views: 984 | Replies: 1
Reply
Join Date: Sep 2005
Posts: 7
Reputation: purifier is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
purifier purifier is offline Offline
Newbie Poster

Python Error

  #1  
Mar 27th, 2007
I wasn't able to run a Python script. But then later I was able to run it through the Shell. I was experimenting with cron jobs and set up the python execution in as a cron. The first time it ran, It was fine but then after that, it started giving me some errors. Now when I try to run the script directly, I get the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "userbot.py", line 637, in ?
    con = connect()
  File "userbot.py", line 607, in connect
    con.requestRoster()
  File "user.py", line 531, in requestRoster
    self.SendAndWaitForResponse(rost_iq)
  File "user.py", line 326, in SendAndWaitForResponse
    return self.waitForResponse(ID)
  File "user.py", line 300, in waitForResponse
    self.process(1)
  File "xmlstream.py", line 459, in process
    if not len(self.read()): # length of 0 means disconnect
  File "xmlstream.py", line 398, in read
    data_in=data_in+self._sslObj.read(BLOCK_SIZE).decode('utf-8')
socket.sslerror: (6, 'TLS/SSL connection has been closed')

Any help please?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2007
Posts: 1,449
Reputation: Lardmeister is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 8
Lardmeister's Avatar
Lardmeister Lardmeister is offline Offline
Nearly a Posting Virtuoso

Re: Python Error

  #2  
Apr 1st, 2007
What is a cron job?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:48 am.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC