alexgit2k / trac-gitlab-service-hook

Gitlab Service Hook Plugin for Trac
MIT License
1 stars 0 forks source link

python gitlabservicehook.py install error File "gitlabservicehook.py", line 14 #2

Open thetuxinator opened 5 years ago

thetuxinator commented 5 years ago

python gitlabservicehook.py install gives an error:

Traceback (most recent call last): File "gitlabservicehook.py", line 14, in from trac.ticket.notification import TicketNotifyEmail ImportError: cannot import name TicketNotifyEmail

regards

MIke

thetuxinator commented 5 years ago

Could be the same as https://trac.edgewall.org/ticket/3216, will try this

thetuxinator commented 5 years ago

Seems that the actual function TicketNotifyEmail has been deprecated and replaced see https://trac.edgewall.org/changeset/13578

thetuxinator commented 5 years ago

@mwaeckerlin could you maybe help here?

alexgit2k commented 5 years ago

Which Trac-version are you using?

The plugin has been developed for Trac 1.0.x.

thetuxinator commented 5 years ago

Hi, we recently upgraded to Trac 1.2.x as 1.0 is "oldstable"

alexgit2k commented 5 years ago

We are stuck to 1.0 as another plugin is only working with 1.0. So there are no plans yet to upgrade this plugin to Trac 1.2 or newer.

thetuxinator commented 5 years ago

Are you refering to Notifymail or which other plugin?

alexgit2k commented 5 years ago

Agilo for Trac (https://trac-hacks.org/wiki/AgiloForTracPlugin)

thetuxinator commented 5 years ago

Hmm, i see no code reference to AgiloForTracPlugin and in your install instructions it is not mentioned. Do i misunderstand?

alexgit2k commented 5 years ago

Correct, AgiloForTracPlugin has nothing to do with Gitlab-Service-Hook. Agilo for Trac is one of other plugins used independently of Gitlab-Service-Hook here, but requires Trac 1.0.