Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#14076 closed defect (invalid)

AttributeError: 'Environment' object has no attribute 'get_htdocs_dir'

Reported by: anonymous Owned by: Ryan J Ollos
Priority: normal Component: TagsPlugin
Severity: major Keywords: Search
Cc: Trac Release: 1.4

Description

This what I have when trying search tags in IE (FF not have this popup - why?)

AttributeError: 'Environment' object has no attribute 'get_htdocs_dir'

https://trac-hacks.org/ticket/14058#comment:13

Attachments (1)

tag g.png (14.2 KB) - added by anonymous 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by anonymous

Attachment: tag g.png added

comment:1 Changed 3 years ago by Ryan J Ollos

Resolution: invalid
Status: newclosed

Please provide the full traceback. It appears you don't have the latest version installed.

~/Documents/Workspace/trac-dev/trac-hacks/tagsplugin/tags/0.12 $ pwd
/Users/rjollos/Documents/Workspace/trac-dev/trac-hacks/tagsplugin/tags/0.12
~/Documents/Workspace/trac-dev/trac-hacks/tagsplugin/tags/0.12 $ grep -R get_htdocs_dir . --exclude-dir=build
./tractags/macros.py:    def get_htdocs_dirs(self):
~/Desktop $ wget https://files.pythonhosted.org/packages/d8/5c/cc62d1316e69eaed6b400894acd946113652f46261558cb8ecd1e9eac542/TracTags-0.12.1.tar.gz
~/Desktop $ grep -R get_htdocs_dir TracTags-0.12.1
TracTags-0.12.1/tractags/macros.py:    def get_htdocs_dirs(self):

comment:2 Changed 3 years ago by anonymous

But no any traceback, I have latest version. Try with empty list of tags.

Requirement already up-to-date: TracTags in /vp27/lib/python2.7/site-packages (0.12.1)

comment:3 in reply to:  2 Changed 3 years ago by Ryan J Ollos

Replying to anonymous:

Try with empty list of tags.

I cannot reproduce. Most likely it's coming from a different plugin. There should be a traceback in the logs. If not, please disable all your plugins and re-enabled one-by-one to find the culprit.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.