<div dir="ltr">Hi Adam,<div><br></div><div>I don&#39;t usually use GitHub, but I&#39;ve given myself a refresher /crash course.<br><br><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjkerwin22%2Fuolrepo_test%2Ftree%2Fmaster%2Fcfg%2Fplugins%2FEPrints%2FPlugin%2FEvent&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ccdf4d97f994e4dd77d6808d79a7af80c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=FrJbRBc6uUfgAHaCw50Re%2B00isKfXq5sPPzbrVpKGDY%3D&amp;reserved=0" originalSrc="https://github.com/jkerwin22/uolrepo_test/tree/master/cfg/plugins/EPrints/Plugin/Event" shash="JOQXONS4oy11TPMcYiKoeTb6lVkYJxHLQgumYhwxA3jDosViHQ0H2/ULLx9Jq+y57UI5PnrXRFTwlZRWmAT/BKtQqoJHn6cQ0SG9+BnD1wLNWibAzOTj0uvRa//LmnNWRMZDW6glDhKUy1WSzlV37RZXrYfs8t7WmSJFt+LxyUY=">https://github.com/jkerwin22/uolrepo_test/tree/master/cfg/plugins/EPrints/Plugin/Event</a> </div><div><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjkerwin22%2Fuolrepo_test%2Fblob%2Fmaster%2Fcfg%2Fcfg.d%2Ftwitter_v2_2.pl&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ccdf4d97f994e4dd77d6808d79a7af80c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=k5MsveSgZ2ZK%2B5J7ltIdoa%2FfqC5fjzOgi%2BGcYLhHR%2Bw%3D&amp;reserved=0" originalSrc="https://github.com/jkerwin22/uolrepo_test/blob/master/cfg/cfg.d/twitter_v2_2.pl" shash="bgdnXa+SCHe7Tmw4C/kafKR30jx0IzplaYDt6EbZ2sn3C9nPlMlRoGmrWe2CoBL8c6+nreQzyUrm7Cv17FgI5BwL+evCYd4ECr+KN0GFZJ6FDI6MpEpiqVyPXk+UbdxEvTqU7iQr3sDA537eTFM6t0WtqYVE8lzmIxs1pCSgHkg=">https://github.com/jkerwin22/uolrepo_test/blob/master/cfg/cfg.d/twitter_v2_2.pl</a>  </div><div><br></div><div>I&#39;ve included a &quot;sub bish&quot; in the TwitterEvent.pm which was to test if this file was being reached at all, with the hope that it would add a unique/nonsense string to my error log. This didn&#39;t work.</div><div><br></div><div>Whatever mistake I&#39;ve made, it must be incredibly basic. I was under no illusion that the plugin would be correct first time (it&#39;s almost certainly got errors), but I would expect the nonsense text to reach the error log so I can at least know that it&#39;s trying to run my script.</div><div><br></div><div>Thanks,</div><div>James<br> <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 16, 2020 at 8:39 AM &lt;<a href="mailto:adam@adamfield.net">adam@adamfield.net</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Is it in github?  Can you link me to the code?</div><div class="gmail_extra"><br><div class="gmail_quote">On 16 Jan 2020 08:31, James Kerwin via Eprints-tech &lt;<a href="mailto:eprints-tech@ecs.soton.ac.uk" target="_blank">eprints-tech@ecs.soton.ac.uk</a>&gt; wrote:<br type="attribution"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi All,<br><div><br></div><div>I rewrote my twitter bot using a different Perl module as it wasn&#39;t working how I wanted it to (failed with &quot;special characters&quot;).</div><div><br></div><div>It worked when I rewrote it as a .pl in cfg.d. I then decided to rewrite it as an Event plugin as this seems like the &quot;proper&quot; way to do things. Unfortunately, it doesn&#39;t work.</div><div><br></div><div>I can see that it gets added to the indexer and it subsequently fails.</div><div><br></div><div>One possible reason it fails is that I don&#39;t have any user roles set up for it. For an event plugin, do I need user roles to be set up?</div><div><br></div><div>I&#39;ve tried to look at documentation for other plugins, but they also involve a &quot;Screen&quot; plugin which is what I assume the user roles are for. My plugin just uses the status change trigger to compile and send a tweet.</div><div><br></div><div>Any pointers greatly appreciated.</div><div><br></div><div>Thanks,</div><div>James</div></div>
</blockquote></div><br></div></blockquote></div>