Hi all and Derik,<br>Your tip worked but there were neceessary 1000 characters instead of 500. I executed the following command in case any one else has the same problem: "alter table workflow_exec MODIFY module_dependencies VARCHAR(1000);"<br>
<br>All the best,<br><br>Campa,<br><br><div class="gmail_quote">2011/1/27 Derik Barseghian <span dir="ltr"><<a href="mailto:barseghian@nceas.ucsb.edu">barseghian@nceas.ucsb.edu</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Joseph,<br>
This is an issue Dan came across w/ mysql too, and there's currently a note in the code to fix it. It doesn't seem to affect hsql. The column should be defined as 255 chars now (you can see the definition in Column.java); he guesses hsql doesn't enforce this size hence the issue not happening with the default provenance store. I've counted one module_dependency list as being 389 characters. Yes, changing the size of that column should fix the issue. I would change to at least VARCHAR(500). We'll fix this for the next provenance module release.<br>
<br>
Derik<br>
<div><div></div><div class="h5"><br>
On Jan 27, 2011, at 12:01 PM, Josep Maria Campanera Alsina wrote:<br>
<br>
> Dear all,<br>
> I've found this error when testing Kepler 2.1 (in Mac 10.6 and Mysql<br>
> 5.2.31) with R-·D_plot.xml workflow in<br>
> KeplerData/workflow/module/r-2.1.0/demos/R. This error prevents me to<br>
> go further with Kepler right now since I cannot execute any workflow<br>
> with the Provenance recorder turned on. The installation was fine!<br>
><br>
> "ptolemy.kernel.util.IllegalActionException: RecordingException:<br>
> com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for<br>
> column 'module_dependencies' at row 1 in<br>
> .ProvenanceRecorder_Example_1.TOP Provenance Recorder"<br>
><br>
> Do I have to change the definition of the variable<br>
> "module_dependencies" in MySQL database, VARCHAR(100) or longer? Or<br>
> this is related to other issues? I haven't found any discussion in the<br>
> list. Any clue?<br>
><br>
> Congratulations for the new version of Kepler, it really seems an step forward!<br>
><br>
> Campa,<br>
</div></div>> _______________________________________________<br>
> Kepler-users mailing list<br>
> <a href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a><br>
> <a href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>---------------------------------------------<br>Josep Maria Campanera Alsina<br>Professor Lector<br>Departament de Fisicoquímica<br>Facultat de Farmàcia<br>Universitat de Barcelona<br>
Avgda Joan XXIII, s/n<br>08028 Barcelona<br>Tel: +34 93 4035985<br>Fax: +34 93 4035987<br><a href="mailto:campanera@ub.edu">campanera@ub.edu</a><br>--------------------------------------------<br>