View previous topic :: View next topic |
Author |
Message |
IceNine *The Freshest*
Joined: 08 Sep 2003 Posts: 1459 Location: Bel Air
|
Posted: Fri, 08 Apr 2005 17:44:52 Post Subject: Problems Posting |
|
|
having problems posting... getting a 500 internal server error. Posting here.. will it work? _________________
A letter to a soldier |
|
Back to top |
|
|
Little Bruin
Boo Boo
Joined: 07 Apr 2003
Posts: 667
Location: Pic-A-Nic Basket |
|
|
IceNine *The Freshest*
Joined: 08 Sep 2003 Posts: 1459 Location: Bel Air
|
Posted: Fri, 08 Apr 2005 17:45:12 Post Subject: |
|
|
hm... I'll try posting in the software forum again. _________________
A letter to a soldier |
|
Back to top |
|
|
IceNine *The Freshest*
Joined: 08 Sep 2003 Posts: 1459 Location: Bel Air
|
Posted: Fri, 08 Apr 2005 17:46:37 Post Subject: |
|
|
Error again
Quote: | Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@bigbruin.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.33 Server at www.bigbruin.com Port 80 |
_________________
A letter to a soldier |
|
Back to top |
|
|
IceNine *The Freshest*
Joined: 08 Sep 2003 Posts: 1459 Location: Bel Air
|
Posted: Fri, 08 Apr 2005 17:47:16 Post Subject: |
|
|
Perhaps it's the code in my post :/
This is the post I've been trying to POST:
Can you help me with my snake?
But seriously folks, I'm trying to implement Exception Handling in ftplib. I'd like it to catch on all errors, and there's even an 'all_errors' tuple supposedly available... But I don't know how
http://python.org/doc/2.4.1/lib/module-ftplib.html
Here's my simple code snippet: Code: | try:
ftp = FTP(ftp_host, ftp_user, ftp_pass)
ftp.storbinary('STOR ' + filename, pointer)
ftp.close()
except:
# do something with an error message here...? |
_________________
A letter to a soldier |
|
Back to top |
|
|
IceNine *The Freshest*
Joined: 08 Sep 2003 Posts: 1459 Location: Bel Air
|
Posted: Fri, 08 Apr 2005 17:48:02 Post Subject: |
|
|
........................................................wtf BB? I didn't break anything, I swear!! _________________
A letter to a soldier |
|
Back to top |
|
|
Doctor Feelgood Arrrrghh!
Joined: 07 Apr 2003 Posts: 20349 Location: New Jersey
|
|
Back to top |
|
|
IceNine *The Freshest*
Joined: 08 Sep 2003 Posts: 1459 Location: Bel Air
|
Posted: Fri, 08 Apr 2005 19:04:07 Post Subject: |
|
|
It was exactly that starting from "Can you help me...". I even tried a couple different titles and got the same result. This was the software forum. _________________
A letter to a soldier |
|
Back to top |
|
|
Little Bruin
Boo Boo
Joined: 07 Apr 2003
Posts: 667
Location: Pic-A-Nic Basket |
|
|
|