I've recently upgrade from 0.9.5 though 010.4 (for a few days) to
0.11.b1 on a Linux platform.

I've got two errors occurring after this install.  Any help would be
greatly appreciated!

1)  On the trac site homepage (after I click our project logo), we get
this:

Error: Macro TracNav(TracNav/TOC) failed

__init__() takes exactly 3 arguments (2 given)

2)  When trying to create a new user, we get this:
 Trac detected an internal error:

OSError: [Errno 16] Device or resource busy

Most recent call last:

    * File "/usr/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/
trac/web/main.py", line 398, in _dispatch_request
      Code fragment:
       393. try:
       394. if not env and env_error:
       395. raise HTTPInternalError(env_error)
       396. try:
       397. dispatcher = RequestDispatcher(env)
       398. dispatcher.dispatch(req)
       399. except RequestDone:
       400. pass
       401. resp = req._response or []
       402.
       403. except HTTPException, e:
      Local variables:
      Name      Value
      after     [' except RequestDone:', ' pass', ' resp = ...
      before    [' try:', ' if not env and env_error:', ' raise ...
      dispatcher        <trac.web.main.RequestDispatcher object at
0xb4a48e6c>
      e         <exceptions.OSError instance at 0xb49dfc4c>
      env       <trac.env.Environment object at 0xb4e51a4c>
      env_error         None
      exc_info  (<class exceptions.OSError at 0xb51e94dc>,
<exceptions.OSError instance at ...
      filename  '/usr/lib/python2.3/site-packages/Trac-0.11b1-
py2.3.egg/trac/web/main.py'
      frames    [{'function': '_dispatch_request', 'lines_before': ['
try:', ' ...
      has_admin         True
      line      ' dispatcher.dispatch(req)'
      lineno    397
      message   u'OSError: [Errno 16] Device or resource busy'
      req       <Request "POST u'/admin/general/users'">
      resp      []
      tb        <traceback object at 0x80cc6a04>
      tb_hide   None
      traceback         'Traceback (most recent call last):\n File ...
    * File "/usr/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/
trac/web/main.py", line 195, in dispatch
      Code fragment:
       190. req.args.get('__FORM_TOKEN') != req.form_token:
       191. raise HTTPBadRequest('Missing or invalid form token. '
       192. 'Do you have cookies enabled?')
       193.
       194. # Process the request and render the template
       195. resp = chosen_handler.process_request(req)
       196. if resp:
       197. if len(resp) == 2: # Clearsilver
       198. chrome.populate_hdf(req)
       199. template, content_type = \
       200. self._post_process_request(req, *resp)
      Local variables:
      Name      Value
      chosen_handler    <trac.admin.web_ui.AdminModule object at
0xb4b0398c>
      chrome    <trac.web.chrome.Chrome object at 0xb4a48ecc>
      ctype     'application/x-www-form-urlencoded'
      err       (<class exceptions.OSError at 0xb51e94dc>,
<exceptions.OSError instance at ...
      handler   <trac.admin.web_ui.AdminModule object at 0xb4b0398c>
      options   {}
      req       <Request "POST u'/admin/general/users'">
      self      <trac.web.main.RequestDispatcher object at 0xb4a48e6c>
    * File "/usr/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/
trac/admin/web_ui.py", line 113, in process_request
      Code fragment:
       108. path_info)
       109.
       110. else: # support for legacy WebAdmin panels
       111. data = {}
       112. cstmpl, ct = provider.process_admin_request(req, cat_id,
panel_id,
       113. path_info)
       114. if isinstance(cstmpl, basestring):
       115. output = req.hdf.render(cstmpl)
       116. else:
       117. output = cstmpl.render()
       118.
      Local variables:
      Name      Value
      _panel_order      <function _panel_order at 0x80cbd79c>
      cat_id    u'general'
      data      {}
      panel_id  u'users'
      panels    [('general', 'General', 'basics', 'Basic Settings'),
('general', ...
      path_info         None
      provider  <acct_admin.web_admin_ui.UserManager object at
0xb4b0390c>
      providers         {('ticket', 'components'):
<trac.ticket.admin.ComponentAdminPage object at ...
      req       <Request "POST u'/admin/general/users'">
      self      <trac.admin.web_ui.AdminModule object at 0xb4b0398c>
    * File "build/bdist.linux-i686/egg/acct_admin/web_admin_ui.py",
line 29, in process_admin_request
      Local variables:
      Name      Value
      category  u'general'
      mgr       <acct_mgr.api.AccountManager object at 0xb4a4890c>
      page      u'users'
      path_info         None
      req       <Request "POST u'/admin/general/users'">
      self      <acct_admin.web_admin_ui.UserManager object at 0xb4b0390c>
    * File "build/bdist.linux-i686/egg/acct_admin/web_admin_ui.py",
line 75, in _do_add
      Local variables:
      Name      Value
      mgr       <acct_mgr.api.AccountManager object at 0xb4a4890c>
      password  u'deep12'
      req       <Request "POST u'/admin/general/users'">
      self      <acct_admin.web_admin_ui.UserManager object at 0xb4b0390c>
      user      u'marcus'
    * File "/home/trac/trac/plugins/TracAccountManager-0.1.2.egg/
acct_mgr/api.py", line 88, in set_password
      Local variables:
      Name      Value
      password  u'deep12'
      self      <acct_mgr.api.AccountManager object at 0xb4a4890c>
      user      u'marcus'
    * File "/home/trac/trac/plugins/TracAccountManager-0.1.2.egg/
acct_mgr/htfile.py", line 50, in set_password
      Local variables:
      Name      Value
      password  u'deep12'
      self      <acct_mgr.htfile.HtPasswdStore object at 0xb49ab1ec>
      user      u'marcus'
    * File "/home/trac/trac/plugins/TracAccountManager-0.1.2.egg/
acct_mgr/htfile.py", line 77, in _update_file
      Local variables:
      Name      Value
      filename  u'/home/trac/pw/.htpasswd'
      prefix    u'marcus:'
      self      <acct_mgr.htfile.HtPasswdStore object at 0xb49ab1ec>
      userline  u'marcus:$apr1$sGKzu...$g2LCgK/62ayOYVB.B.xbH.'
      written   False
    * File "/usr/lib/python2.3/fileinput.py", line 231, in next
      Code fragment:
       226. else:
       227. self._bufindex += 1
       228. self._lineno += 1
       229. self._filelineno += 1
       230. return line
       231. line = self.readline()
       232. if not line:
       233. raise StopIteration
       234. return line
       235.
       236. def __getitem__(self, i):
      Local variables:
      Name      Value
      self      <fileinput.FileInput instance at 0xb49df5ec>
    * File "/usr/lib/python2.3/fileinput.py", line 300, in readline
      Code fragment:
       295. self._backupfilename = (
       296. self._filename + (self._backup or os.extsep+"bak"))
       297. try: os.unlink(self._backupfilename)
       298. except os.error: pass
       299. # The next few lines may raise IOError
       300. os.rename(self._filename, self._backupfilename)
       301. self._file = open(self._backupfilename, "r")
       302. try:
       303. perm = os.fstat(self._file.fileno()).st_mode
       304. except OSError:
       305. self._output = open(self._filename, "w")
      Local variables:
      Name      Value
      self      <fileinput.FileInput instance at 0xb49df5ec>

File "/usr/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/web/
main.py", line 398, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/web/
main.py", line 195, in dispatch
  resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/
admin/web_ui.py", line 113, in process_request
  path_info)
File "build/bdist.linux-i686/egg/acct_admin/web_admin_ui.py", line 29,
in process_admin_requestFile "build/bdist.linux-i686/egg/acct_admin/
web_admin_ui.py", line 75, in _do_addFile "/home/trac/trac/plugins/
TracAccountManager-0.1.2.egg/acct_mgr/api.py", line 88, in
set_passwordFile "/home/trac/trac/plugins/TracAccountManager-0.1.2.egg/
acct_mgr/htfile.py", line 50, in set_passwordFile "/home/trac/trac/
plugins/TracAccountManager-0.1.2.egg/acct_mgr/htfile.py", line 77, in
_update_fileFile "/usr/lib/python2.3/fileinput.py", line 231, in next
  line = self.readline()
File "/usr/lib/python2.3/fileinput.py", line 300, in readline
  os.rename(self._filename, self._backupfilename)

System Information:

User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:
1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Trac:   0.11b1
Python:         2.3.4 (#1, Feb 15 2005, 19:42:48) [GCC 3.4.3 20041212 (Red
Hat 3.4.3-9.EL4)]
setuptools:     0.6c1
SQLite:         3.3.3
pysqlite:       1.1.7
Genshi:         0.4.4
Subversion:     1.2.1 (r15230)
jQuery: 1.2.1

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to