Ticket #2527 (closed defect: worksforme)

Opened 10 months ago

Last modified 10 months ago

Attribute error: 'environment' object has no attribute 'env'

Reported by: theterminator Assigned to: coderanger
Priority: normal Component: MacroPostPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

when i implement the changeset 2793, i get the following trac internal error:

Attributeerror: 'Environment' object has no attribute 'env' File "c:\python25\lib\site-packages\trac-0.11dev_r6482-py2.5.egg\trac\web\main.py", line 406, in _dispatch_request

dispatcher.dispatch(req)

File "c:\python25\lib\site-packages\trac-0.11dev_r6482-py2.5.egg\trac\web\main.py", line 171, in dispatch

chosen_handler)

File "c:\python25\lib\site-packages\trac-0.11dev_r6482-py2.5.egg\trac\web\main.py", line 284, in _pre_process_request

chosen_handler = filter_.pre_process_request(req, chosen_handler)

File "build\bdist.win32\egg\macropost\web_ui.py", line 44, in pre_process_requestFile "c:\python25\lib\site-packages\trac-0.11dev_r6482-py2.5.egg\trac\wiki\formatter.py", line 76, in init

self.env = formatter.env

i dint get the error with changeset 2792....but i had the assertion error problem with changeset 2792

iam using trac0.11dev

Attachments

Change History

02/06/08 18:40:40 changed by osimons

  • status changed from new to closed.
  • resolution set to worksforme.

[2792:2793] was a bit unfortunate. I applied the 0.11 changes to the wrong (0.10) branch in [2792], and they were reverted again for 0.10 branch at [2793] as the working 0.11 code was moved to a new 0.11 directory.

So, basically I think you want to install a new version from /macropostplugin/0.11 branch - it contains what worked for you in [2792].

Closing, and please reopen if this does not solve it for you.


Add/Change #2527 (Attribute error: 'environment' object has no attribute 'env')




Change Properties
Action