Hi martin, patch is not working!
See the error! <error> RuntimeError Traceback (most recent call last) /usr/local/src/<ipython console> in <module>() /usr/local/src/sage-3.4.2/local/lib/python2.5/site-packages/sage/misc/ hg.pyc in import_patch(self, filename, options) 425 if filename.startswith("http://") or filename.startswith("https://"): 426 filename = get_remote_file(filename, verbose=True) --> 427 self._ensure_safe() 428 self('import %s "%s"'%(options, os.path.abspath (filename))) 429 /usr/local/src/sage-3.4.2/local/lib/python2.5/site-packages/sage/misc/ hg.pyc in _ensure_safe(self) 189 self.ci() 190 if self._changed_files(): --> 191 raise RuntimeError, "Refusing to do operation since you still have unrecorded changes. You must check in all changes in your working repository first." 192 193 def _warning(self): RuntimeError: Refusing to do operation since you still have unrecorded changes. You must check in all changes in your working repository first. </error> I did hg_sage.patch('sbox_call_and_rest.patch'); I thinking i need to checkout the updated code to repository or something! I installed sage from source! No idea! Thanks & Regards, Sajan.S On May 27, 5:53 pm, Martin Albrecht <m...@informatik.uni-bremen.de> wrote: > On Wednesday 27 May 2009, Sajan.S wrote: > > > > > Hi Martin, > > > One more doubt. > > > In the above example, i have given 8 input and 8 output to the sbox. > > > Is it possible to give 8 input and 6 output to the sbox. > > > Eg: > > > P= PolynomialRing(GF(2),14,"y0, y1, y2, y3, y4, y5, x0, x1, x2, x3, > > x4, x5, x6, x7",order='lex'); > > > Above code is not tested. but for 6 by 4 i tested. its showing some > > error! > > > Please help me out from this! > > You found a bug. > > I have a fix at > > http://trac.sagemath.org/sage_trac/attachment/ticket/6139/ > > which will likely be in Sage 4.0.1 (I think the patch window for 4.0 was > closed ages ago) > > Martin > > -- > name: Martin Albrecht > _pgp:http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 > _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF > _www:http://www.informatik.uni-bremen.de/~malb > _jab: martinralbre...@jabber.ccc.de --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---