<html><body>
<p><font size="2" face="sans-serif">Hi James,</font><br>
<br>
<font size="2" face="sans-serif">interesting idea. What is the motivation and what do you expect from posting 6000 tweets anually from UoL repo?</font><br>
<br>
<font size="2" face="sans-serif">Kind regards,</font><br>
<br>
<font size="2" face="sans-serif">Martin</font><br>
<br>
<br>
<img width="16" height="16" src="cid:1__=4EBB0E62DFDB52068f9e8a93df9@lotus.uzh.ch" border="0" alt="Inactive hide details for &quot;James Kerwin via Eprints-tech&quot; ---16.01.2020 12:58:41---Hi Adam, I don't usually use GitHub, but I'v"><font size="2" color="#424282" face="sans-serif">&quot;James Kerwin via Eprints-tech&quot; ---16.01.2020 12:58:41---Hi Adam, I don't usually use GitHub, but I've given myself a refresher /crash course.</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">Von:        </font><font size="1" face="sans-serif">&quot;James Kerwin via Eprints-tech&quot; &lt;eprints-tech@ecs.soton.ac.uk&gt;</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">An:        </font><font size="1" face="sans-serif">adam@adamfield.net</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Kopie:        </font><font size="1" face="sans-serif">eprints-tech@ecs.soton.ac.uk</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Datum:        </font><font size="1" face="sans-serif">16.01.2020 12:58</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Betreff:        </font><font size="1" face="sans-serif">Re: [EP-tech] User Roles</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Gesendet von:        </font><font size="1" face="sans-serif">&lt;eprints-tech-bounces@ecs.soton.ac.uk&gt;</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="3" face="serif">Hi Adam,</font><br>
<br>
<font size="3" face="serif">I don't usually use GitHub, but I've given myself a refresher /crash course.<br>
</font><font size="3" color="#0000FF" face="serif"><u><br>
</u></font><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%7C9340a28d3a304c11a65308d79a867693%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2FqocNjtIyibE1q1kJF4x9ZAaNzdjLeoq%2BI%2Bs7xvyQnQ%3D&amp;reserved=0" originalSrc="https://github.com/jkerwin22/uolrepo_test/tree/master/cfg/plugins/EPrints/Plugin/Event" shash="CalIqfeEeAptc3gdYIVW7RGMNxprGqgYdAbl/vN96iT4EjcGWUObodxvVd27V1RF0FNzUhEKVYt6fLO1+72+fyWbfkTXOhyxTV78qTGGatMiIPVvaQXxkVn4iZda5KO+D6Rk0p6FNAVoKm7fBBk7wRAFXm4ReCfUOXT8rVInySY="><font size="3" color="#0000FF" face="serif"><u>https://github.com/jkerwin22/uolrepo_test/tree/master/cfg/plugins/EPrints/Plugin/Event</u></font></a><font size="3" face="serif"> </font><br>
<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%7C9340a28d3a304c11a65308d79a867693%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2B4cNRzK%2BNayc0qpyUIwq7j7Mh6M4JpZuygWQMRqKZyQ%3D&amp;reserved=0" originalSrc="https://github.com/jkerwin22/uolrepo_test/blob/master/cfg/cfg.d/twitter_v2_2.pl" shash="bcNz0HtWVaipTBA0r2Au0Q7ui5WZ3XcnoTXF2t4wbcBV9KtYvVBooBgVeXxk56iOzk0+rsAXKlCnBNFQu9QC+ay8GF2aUl2R7VYtGsPXPLEc6fkA0FJkS50dPqZA1hz/p7ajORzotCdgoSso4CuSWSCqpsMT0FMxQvN3CAWXm3g="><font size="3" color="#0000FF" face="serif"><u>https://github.com/jkerwin22/uolrepo_test/blob/master/cfg/cfg.d/twitter_v2_2.pl</u></font></a><font size="3" face="serif">  </font><br>
<br>
<font size="3" face="serif">I'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't work.</font><br>
<br>
<font size="3" face="serif">Whatever mistake I've made, it must be incredibly basic. I was under no illusion that the plugin would be correct first time (it'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's trying to run my script.</font><br>
<br>
<font size="3" face="serif">Thanks,</font><br>
<font size="3" face="serif">James<br>
 </font><br>
<br>
<font size="3" face="serif">On Thu, Jan 16, 2020 at 8:39 AM &lt;</font><a href="mailto:adam@adamfield.net"><font size="3" color="#0000FF" face="serif"><u>adam@adamfield.net</u></font></a><font size="3" face="serif">&gt; wrote:</font>
<ul style="padding-left: 9pt; margin-left: 0px"><font size="3" face="serif">Is it in github?  Can you link me to the code?</font><br>
<br>
<font size="3" face="serif">On 16 Jan 2020 08:31, James Kerwin via Eprints-tech &lt;</font><a href="mailto:eprints-tech@ecs.soton.ac.uk" target="_blank"><font size="3" color="#0000FF" face="serif"><u>eprints-tech@ecs.soton.ac.uk</u></font></a><font size="3" face="serif">&gt; wrote:</font>
<ul style="padding-left: 9pt; margin-left: 0px"><font size="3" face="serif">Hi All,</font><br>
<br>
<font size="3" face="serif">I rewrote my twitter bot using a different Perl module as it wasn't working how I wanted it to (failed with &quot;special characters&quot;).</font><br>
<br>
<font size="3" face="serif">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't work.</font><br>
<br>
<font size="3" face="serif">I can see that it gets added to the indexer and it subsequently fails.</font><br>
<br>
<font size="3" face="serif">One possible reason it fails is that I don't have any user roles set up for it. For an event plugin, do I need user roles to be set up?</font><br>
<br>
<font size="3" face="serif">I'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.</font><br>
<br>
<font size="3" face="serif">Any pointers greatly appreciated.</font><br>
<br>
<font size="3" face="serif">Thanks,</font><br>
<font size="3" face="serif">James</font></ul>
<tt><font size="2">*** Options: </font></tt><tt><font size="2"><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a></font></tt><tt><font size="2"><br>
*** Archive: </font></tt><tt><font size="2"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9340a28d3a304c11a65308d79a867693%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ZR7m%2Bbk0w110jPJOZ1E6jcyBrKBV4bhNPZlO7DWaAhA%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="jIfx8pg6weUTPKljkX91W6t5NA+Indq8VFJzcXxEt8Y9oQCykqR5nuchtpwpcF4r1s3tK52nfrpyJ1EmbmFXWn+mmbhK3+h2aZph771V3lquJjocuBfXKqvdTL5ANvziimtKayzQ66aER/oLlWBiA26c2o/bo/MsW/eBoP6ajUw=">http://www.eprints.org/tech.php/</a></font></tt><tt><font size="2"><br>
*** EPrints community wiki: </font></tt><tt><font size="2"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9340a28d3a304c11a65308d79a867693%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=LIZl7Q7oap4dtFkUW2IH5BctdRPGmQmr9xSxuWlZK58%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="uH4BbiQ8E3mmIbYqrzJHuH3itzP9T/XwN9YM4j/5mSq3axxPS5kCZFtbwCqhVri0LWdAUfrBmt1WkPAiGUN4v6DccpsddJzAkPhCWiHsC426D841d4wMcPp9e4zrlvmomHv7FDu+IUZvv0yiodgzS/AI4K2u/El8jONxfiugnZ0=">http://wiki.eprints.org/</a></font></tt><tt><font size="2"><br>
*** EPrints developers Forum: </font></tt><tt><font size="2"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9340a28d3a304c11a65308d79a867693%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=POTIQ6%2FjH0epT1JUXoWVCakf5goGFXHviSt8bWWPYpU%3D&amp;reserved=0" originalSrc="http://forum.eprints.org/" shash="P1APT7ePgdV13zNovNM2iukrHWyJqwqmu1DUSSjSRE/q4SiMxyfCkky6GnsYmkM923txxzVfeKdR+V4Ssw/pkSQJ9vnZXfwjsqOqvtsgATcQ34EFMku4O+IVg5YG5FyVDDZv71PXsWDTGUfBibciCO1vVojHPKF4E+iCmbUg/gc=">http://forum.eprints.org/</a></font></tt><tt><font size="2"><br>
</font></tt><br>
<br>
</ul>
</body></html>