Custom Query (104 matches)


Show under each result:

Results (25 - 27 of 104)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#85 fixed UnicodeDecodeError in FTPFile.close() schwa ftputiluser

ftputil 3.1

Python 2.7.5 Stackless 3.1b3

Here is an extract of the traceback:

  File ".../lib/python2.7/site-packages/ftputil-3.1-py2.7.egg/ftputil/", line 499, in download
    conditional=False, callback=callback)
  File ".../lib/python2.7/site-packages/ftputil-3.1-py2.7.egg/ftputil/", line 184, in copy_file
  File ".../lib/python2.7/site-packages/ftputil-3.1-py2.7.egg/ftputil/", line 289, in close
    exc = str(exc)
  File ".../lib/python2.7/site-packages/ftputil-3.1-py2.7.egg/ftputil/", line 60, in __str__
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)

I use ftputil in celery tasks; this error occures when celery detects that the task is too long and asks it to stop.

#83 fixed Crash on schwa ftputiluser

Using pypi ftptil 3.1 on Win7, Python 2.6.6 in a virtualenv:

>>> host =ftputil.FTPHost('', 'anonymous', '')
>>> host.listdir(host.curdir)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "c:\tests\lib\site-packages\ftputil\", line 813, in listdir
    items = self._stat._listdir(path)
  File "c:\tests\lib\site-packages\ftputil\", line 642, in _listdir
    return self.__call_with_parser_retry(self._real_listdir, path)
  File "c:\tests\lib\site-packages\ftputil\", line 618, in __call_with_parser_retry
    result = method(*args, **kwargs)
  File "c:\tests\lib\site-packages\ftputil\", line 502, in _real_listdir
    for stat_result in self._stat_results_from_dir(path):
  File "c:\tests\lib\site-packages\ftputil\", line 475, in _stat_results_from_dir
  File "c:\tests\lib\site-packages\ftputil\", line 340, in parse_line
  File "c:\tests\lib\site-packages\ftputil\", line 187, in parse_unix_time
    hour, minute, 0, 0, 0, -1) )
OverflowError: mktime argument out of range
#82 fixed Fix "Internal Server Error"s schwa schwa

Since a while, certain Trac operations cause an "Internal Server Error" with no helpful information in the logs. Often the operation actually succeeded despite the error message, but sometimes not. Even if the operation succeeds, the messages are annoying for all affected users, including me.

Other websites on the same virtual server work fine.

Find a way, at least a workaround, to avoid the errors.


  • Check all log files, again.
  • Do web searches, again.
  • Check new/updated deployment documentation for Trac.
  • If all else fails, try going back to basic cgi deployment.

(As it turned out, it was a database issue, so changing the deployment method wouldn't have helped. It was just coincidence that made it seem that the situation had gotten this bad because of the switch to FastCGI.)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.