On Fri, Oct 5, 2018 at 11:39 AM Simon King <simon.k...@uni-jena.de> wrote: > > Hi! > > I was expressing some group (in fact, libgap.SuzukiGroup(8)) as a permutation > group (via regular permutation action) and took the string representation of > that permutation group. Reason: GAP doesn't know how to pickle individual > objects, but GAP can reconstruct a group from its string representation. > > Problem: While the pexpect GAP interface can evaluate a string of that > length, libgap tells me: > python2: libgap.c:184: libgap_get_input: Assertion > `strlen(libGAP_stdin_buffer) < length' failed. > and then raises a value error. > > What to do? In the pexpect interfaces, evaluation of large strings > typically works via temporary files. Would it be a good idea to > implement the same for libgap.eval(...), too?
How about simply increasing the buffer size (or make it dynamic?) (pexpect works with files cause it's not good to send large about of data through a socket, but here we don't have this limitation...) > > Best regards, > Simon > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.