Modify

Opened 7 years ago

Closed 7 years ago

#2527 closed defect (worksforme)

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

Reported by: theterminator Owned by: 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 (0)

Change History (1)

comment:1 Changed 7 years ago by osimons

  • Resolution set to worksforme
  • Status changed from new to closed

[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 Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.