Edgewall Software

Changes between Initial Version and Version 2 of Ticket #4497


Ignore:
Timestamp:
Jan 26, 2007, 6:10:21 PM (17 years ago)
Author:
Christian Boos
Comment:

This is a TracHacks:AccountManagerPlugin issue, please report it on TracHacks (there, you can refer to this ticket for the actual traceback if you want, using the Trac:ticket:4497 InterTrac link).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4497

    • Property Status newclosed
    • Property Resolutionwontfix
  • Ticket #4497 – Description

    initial v2  
    5656If you think this should work you can reproduce the problem, you should consider reporting this to the Trac team.
    5757
    58 Before you do that, though, please first try searching for similar issues, as it is quite likely that this problem has been reported before. For questions about installation and configuration of Trac, please try the mailing list instead of filing a ticket.
    59 
    60 Otherwise, please ==== How to Reproduce ==== While doing a GET operation on `/admin/accounts/users`, Trac issued an internal error. ==== System Information ==== || '''Trac''' || `0.11dev` || || '''Python''' || `2.5 (r25:51908, Jan 3 2007, 23:53:09) `[[br]]`[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-56)]`[[br]] || || '''MySQL''' || `5.0.27-standard` || || '''MySQLdb''' || `1.2.1_p2` || || '''Genshi''' || `0.3.6` || || '''Pygments''' || `0.6` || || '''Subversion''' || `1.4.2` || ==== Python Traceback ==== {{{ Traceback (most recent call last): File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 395, in dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 213, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.5/site-packages/trac/admin/web_ui.py", line 84, in process_request path_info) File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 47, in render_admin_panel return self._do_users(req) File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 129, in _do_users account['last_visit'] = format_datetime(last_visit) File "/usr/local/lib/python2.5/site-packages/trac/util/datefmt.py", line 60, in format_datetime t = t.astimezone(tzinfo) AttributeError: 'long' object has no attribute 'astimezone' }}} a new ticket at the Trac project site, where you can describe the problem and explain how to reproduce it.
    61 System Information:
    62 Trac:   0.11dev
    63 Python:         2.5 (r25:51908, Jan 3 2007, 23:53:09) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-56)]
    64 MySQL:  5.0.27-standard
    65 MySQLdb:        1.2.1_p2
    66 Genshi:         0.3.6
    67 Pygments:       0.6
    68 Subversion:     1.4.2
    69 Python Traceback
    70 Most recent call last:
     58{{{
    7159
    7260    * File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 395, in dispatch_request
     
    208196File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 46, in render_admin_panelFile "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 128, in _do_usersFile "/usr/local/lib/python2.5/site-packages/trac/util/datefmt.py", line 59, in format_datetime
    209197  t = t.astimezone(tzinfo)
    210 
    211 TracGuide — The Trac User and Administration Guide
     198}}}