Sorry, it was my typo about 'autocomplete' in cgi-bin above
I don't have autocompleteusers directory or file under $env. I have only autocomplete $ ls www/chrome/ www/htdocs/ www/chrome/: autocomplete/ common/ site/ web.config www/htdocs/: autocomplete/ common/ site/ We are not using Apache but IIS and the path is D:\Trac\nbdr\www Thanks again, it wasn't easy but I am happy now that with your help I completed the task On Friday, December 4, 2020 at 10:27:26 PM UTC-5 RjOllos wrote: > On Friday, December 4, 2020 at 6:45:56 PM UTC-8 RjOllos wrote: > >> On Fri, Dec 4, 2020 at 6:20 PM Eliya Voldman <evol...@gmail.com> wrote: >> >>> Hi Ryan, >>> Finally I was able to implement 'autocompleteusers' option. >>> The trick was to copy 'autocomplete' directory from cgi-bin to chrome >>> directory >>> Now both 'autocomplete' and 'drop-down' works fine >>> >>> Highly appreciate your help >>> >> >> autocomplete in cgi-bin? Are you sure? Hopefully the directory is named >> "autocompleteusers" and is not found in cgi-bin after deployment. >> >> Here is an example: >> >> $ trac-admin ../tracenvs/proj-1.4 deploy www >> Copying resources from: >> trac.web.chrome.Chrome >> >> /Users/rjollos/.pyenv/versions/trac-2.7/lib/python2.7/site-packages/Trac-1.4.2-py2.7.egg/trac/htdocs >> /Users/rjollos/Documents/Workspace/trac-dev/tracenvs/proj-1.4/htdocs >> autocompleteusers.autocompleteusers.AutocompleteUsers >> >> /Users/rjollos/.pyenv/versions/trac-2.7/lib/python2.7/site-packages/TracAutocompleteUsersPlugin-1.0.dev0-py2.7.egg/autocompleteusers/htdocs >> Creating scripts. >> >> $ find www/htdocs/autocompleteusers/ >> www/htdocs/autocompleteusers/ >> www/htdocs/autocompleteusers//css >> www/htdocs/autocompleteusers//css/autocomplete.css >> www/htdocs/autocompleteusers//css/indicator.gif >> www/htdocs/autocompleteusers//js >> www/htdocs/autocompleteusers//js/autocomplete_ticket.js >> www/htdocs/autocompleteusers//js/autocomplete.js >> www/htdocs/autocompleteusers//js/format_item.js >> www/htdocs/autocompleteusers//js/autocomplete_query.js >> www/htdocs/autocompleteusers//js/autocomplete_perms.js >> >> It works for me. >> >> What are your Alias directives in the Apache config? >> >> Ryan >> > > Another possibility, your Alias is too specific. Currently, we recommend: > > Alias /trac/chrome D:\Trac\NBDR\www\htdocs > > See: > https://trac.edgewall.org/wiki/TracInstall#MappingStaticResources > > In the past our documentation defined more specific aliases: > > Alias /trac/chrome/common D:\Trac\NBDR\www\htdocs\common > Alias /trac/chrome/site D:\Trac\NBDR\www\htdocs\site > > See: > https://trac.edgewall.org/wiki/0.12/TracInstall#MappingStaticResources > > However, there's no real advantage to the latter and it can cause problems > like the one you are experiencing. Adding TracAutocompleteUsers plugin adds > the path: > D:\Trac\NBDR\www\htdocs\autocompleteusers > which wouldn't be picked up by the latter set of aliases. An additional > alias would be needed. > > We had a long discussion about that on trac-dev a few years back. > > Ryan > > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/4b8f2eee-2f54-41f5-866f-cbd0766c12d6n%40googlegroups.com.