Opened 3 years ago

Closed 3 years ago

#13665 closed defect (duplicate)

ImportError: No module named api

Reported by: Massimo Owned by: Ryan J Ollos
Priority: normal Component: TagsPlugin
Severity: normal Keywords: ImportError
Cc: Trac Release: 1.4


There is an error since Trac-1.4:

2019-11-21 14:52:56,738 Trac[loader] DEBUG: Loading plugin "tractags.wikiautocomplete" from "/mnt/data/trac/projects/trac-pp/plugins/TracTags-0.11.dev0-py2.7.egg"
2019-11-21 14:52:56,739 Trac[loader] ERROR: Skipping "tractags.wikiautocomplete = tractags.wikiautocomplete [wikiautocomplete]": ImportError: No module named api

Not sure if this ticket belongs to component TagsPlugin or WikiAutoCompletePlugin.

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by Ryan J Ollos

Resolution: duplicate
Status: newclosed

See #13072.

comment:2 Changed 3 years ago by Massimo

Resolution: duplicate
Status: closedreopened

Do I understand 8:ticket:13072 right, that latest TracTags just requires latest WikiAutoCompletePlugin for the completion? I now have in the log:

2020-01-09 14:47:42,226 Trac[loader] DEBUG: Skipping "tractags.wikiautocomplete = tractags.wikiautocomplete [wikiautocomplete]": DistributionNotFound: The 'WikiAutoComplete>=1.4dev; extra == "wikiautocomplete"' distribution was not found and is required by the application

..eventhough both plugins are installed and enabled.

comment:3 Changed 3 years ago by Peter Suter

WikiAutoCompletePlugin 1.4 does not support this yet. TracTags works without this component. And WikiAutoCompletePlugin also works, just not for tag: completions. To get those you would need "WikiAutoCompletePlugin 1.4dev" including the patches attached to #13072. They should work but are not official because it remains unclear what the best way is that will not require breaking changes in plugins like TracTags later.

comment:4 Changed 3 years ago by Ryan J Ollos

Resolution: duplicate
Status: reopenedclosed

Modify Ticket

Change Properties
Set your email in Preferences
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.