Custom Query (104 matches)

Filters
 
Or
 
  
 
Columns

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
Description

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/host.py", line 499, in download
    conditional=False, callback=callback)
  File ".../lib/python2.7/site-packages/ftputil-3.1-py2.7.egg/ftputil/file_transfer.py", line 184, in copy_file
    source_fobj.close()
  File ".../lib/python2.7/site-packages/ftputil-3.1-py2.7.egg/ftputil/file.py", line 289, in close
    exc = str(exc)
  File ".../lib/python2.7/site-packages/ftputil-3.1-py2.7.egg/ftputil/error.py", line 60, in __str__
    ftputil.version.version_info)
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 ibiblio.org schwa ftputiluser
Description

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

>>> host =ftputil.FTPHost('mirrors.ibiblio.org', 'anonymous', 'me@anonymous.com')
>>> host.listdir(host.curdir)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "c:\tests\lib\site-packages\ftputil\host.py", line 813, in listdir
    items = self._stat._listdir(path)
  File "c:\tests\lib\site-packages\ftputil\stat.py", line 642, in _listdir
    return self.__call_with_parser_retry(self._real_listdir, path)
  File "c:\tests\lib\site-packages\ftputil\stat.py", line 618, in __call_with_parser_retry
    result = method(*args, **kwargs)
  File "c:\tests\lib\site-packages\ftputil\stat.py", line 502, in _real_listdir
    for stat_result in self._stat_results_from_dir(path):
  File "c:\tests\lib\site-packages\ftputil\stat.py", line 475, in _stat_results_from_dir
    self._host.time_shift())
  File "c:\tests\lib\site-packages\ftputil\stat.py", line 340, in parse_line
    with_precision=True)
  File "c:\tests\lib\site-packages\ftputil\stat.py", 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
Description

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.

Ideas:

  • 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.