Advertisement
Guest User

Untitled

a guest
Jan 27th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. Trac[env] WARNING: 20120 Component <trac.env.EnvironmentSetup object at 0x24d8690> requires environment upgrade
  2. Trac[env] WARNING: 20120 Component <trac.env.EnvironmentSetup object at 0x24d8690> requires environment upgrade
  3. Trac[console] ERROR: 20120 Exception in trac-admin command:
  4. Traceback (most recent call last):
  5. File "build/bdist.linux-x86_64/egg/trac/admin/console.py", line 109, in onecmd
  6. rv = cmd.Cmd.onecmd(self, line) or 0
  7. File "/usr/lib/python2.5/cmd.py", line 218, in onecmd
  8. return self.default(line)
  9. File "build/bdist.linux-x86_64/egg/trac/admin/console.py", line 287, in default
  10. return self.cmd_mgr.execute_command(*args)
  11. File "build/bdist.linux-x86_64/egg/trac/admin/api.py", line 127, in execute_command
  12. return f(*fargs)
  13. File "build/bdist.linux-x86_64/egg/trac/env.py", line 1024, in _do_upgrade
  14. self.env.upgrade(backup=no_backup is None)
  15. File "build/bdist.linux-x86_64/egg/trac/env.py", line 761, in upgrade
  16. participant.upgrade_environment(db)
  17. File "build/bdist.linux-x86_64/egg/trac/env.py", line 823, in upgrade_environment
  18. script.do_upgrade(self.env, i, cursor)
  19. File "build/bdist.linux-x86_64/egg/trac/upgrades/db28.py", line 37, in do_upgrade
  20. move_attachment_file(env, *row)
  21. File "build/bdist.linux-x86_64/egg/trac/upgrades/db28.py", line 83, in move_attachment_file
  22. filename)
  23. File "build/bdist.linux-x86_64/egg/trac/attachment.py", line 183, in _get_path
  24. hash = sha1(parent_id.encode('utf-8')).hexdigest()
  25. AttributeError: 'long' object has no attribute 'encode'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement