Re: [sage-support] Fwd: Sage ModularForms() error?
The actual error message is very clear: NotImplementedError: Computation of dimensions of weight 1 cusp forms spaces not implemented in general This -clearly - means that no formula or algorithm has been implemented in Sage for dimensions of weight 1 modular form spaces. How much clearer could it be?! John On 19 June 2014 02:45, David Joyner wdjoy...@gmail.com wrote: Does anyone know the answer to this? -- Forwarded message -- From: M. ... Date: Wed, Jun 18, 2014 at 8:43 PM Subject: Sage ModularForms() error? To: wdjoy...@gmail.com David Joyner, When using the sagecell.sagemath.org server, when I evaluate the command: ModularForms(Gamma1(29),1).basis() the error message is not very informative. The problem comes from the fact that ModularForms(Gamma1(29),1) has an (unknown) dimension currently. However, Magma returns [] for the basis using the Magma Calculator online. Is it possible to improve this situation? Shalom, M. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: tutoriatutorial() tries to start wine under gnome-3.12
On 2014-06-18, juer...@gmail.com juer...@gmail.com wrote: Hi, if I enter tutorial() at the sage prompt a short time a wine window is opened and only warnings or errors are shown in the terminal window: please specify your environment. I suspect that you run Sage in a VM on Windows... sage: help() Welcome to Sage 6.2! To view the Sagsage: help() Welcome to Sage 6.2! To view the Sage tutorial in your web browser, type tutorial(), and ... sage: tutorial() sage: fixme:iphlpapi:NotifyAddrChange (Handle 0xd9e2c8, overlapped 0xd9e2e0): stub fixme:iphlpapi:NotifyAddrChange (Handle 0xdbe880, overlapped 0xdbe88c): stub wine: configuration in '/home/rose/.wine' has been updated. fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 Any help is appreciated. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: tutorial() under gnome-3.12 does not show a tutorial but generates endless fixme:exec:SHELL_execute
On 2014-06-18, juer...@gmail.com juer...@gmail.com wrote: rose@impala:/home/rose(1)$ sage ┌┐ │ Sage Version 6.2, Release Date: 2014-05-06 │ │ Type notebook() for the browser-based notebook interface.│ │ Type help() for help.│ └┘ sage: help() Welcome to Sage 6.2! To view the Sage tutorial in your web browser, type tutorial(), and ... sage: tutorial() sage: fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 and do you see the same if you try notebook() call? That is: sage: notebook() -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Error when trying to input an 8-bit Sbox into the argument of S = mq.SBox(.)
Works for me. sage: s = range(256) sage: S = mq.SBox(s) sage: S (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255) sage: shuffle(s) sage: S = mq.SBox(s) sage: S (198, 15, 199, 161, 183, 147, 244, 107, 95, 14, 193, 139, 216, 231, 144, 20, 63, 228, 46, 72, 235, 143, 169, 186, 90, 210, 121, 190, 194, 101, 10, 3, 180, 43, 120, 42, 73, 117, 222, 254, 45, 105, 148, 109, 128, 178, 159, 8, 52, 217, 170, 75, 2, 239, 221, 48, 140, 233, 103, 94, 245, 34, 224, 122, 208, 18, 189, 100, 204, 85, 201, 114, 58, 12, 131, 57, 205, 206, 53, 69, 24, 214, 51, 243, 96, 55, 184, 188, 28, 236, 29, 197, 227, 6, 7, 56, 16, 226, 154, 61, 116, 242, 153, 157, 150, 181, 86, 44, 185, 168, 187, 74, 76, 225, 36, 156, 195, 171, 92, 158, 155, 149, 135, 234, 249, 64, 70, 84, 127, 252, 182, 93, 237, 138, 71, 232, 220, 47, 196, 203, 134, 27, 81, 68, 39, 41, 129, 173, 142, 118, 11, 82, 112, 123, 30, 26, 200, 219, 50, 209, 79, 229, 31, 246, 207, 25, 124, 22, 241, 176, 108, 179, 141, 13, 126, 247, 212, 106, 102, 165, 21, 33, 60, 104, 132, 17, 191, 125, 174, 99, 0, 215, 97, 145, 23, 137, 83, 80, 192, 111, 177, 230, 162, 9, 166, 146, 19, 110, 38, 255, 240, 136, 88, 4, 78, 160, 113, 119, 59, 223, 250, 251, 62, 49, 213, 151, 89, 115, 164, 66, 248, 152, 172, 32, 238, 211, 167, 35, 40, 175, 1, 130, 163, 77, 253, 133, 87, 91, 37, 218, 54, 98, 67, 65, 5, 202) On Wednesday 18 Jun 2014 17:48:59 Lei Poo wrote: I am also having this problem. I also tried enclosing the numbers with [ ], i.e. S=mq.SBox([1,2,3]) but it did not work. Does anybody know how to fix this? On Saturday, December 22, 2012 9:16:31 AM UTC-8, Martin Albrecht wrote: Pass a list of numbers instead of independent numbers. SBox( [1,2,3]) not SBox(1,2,3) sent from a telephone. On 19 Dec 2012 08:17, sea21 choyva...@gmail.com javascript: wrote: Why is it that when I try to input an 8-bit Sbox into the argument of S = mq.SBox(.), I get the error: SyntaxError: more than 255 arguments? Does this class not work for more than 7-bit S-boxes? -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-s...@googlegroups.com javascript:. To unsubscribe from this group, send email to sage-support...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/sage-support?hl=en. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: tutoriatutorial() tries to start wine under gnome-3.12
On Wednesday, June 18, 2014 5:51:02 PM UTC+2, jue...@gmail.com wrote: Hi, if I enter tutorial() at the sage prompt a short time a wine window is opened and only warnings or errors are shown in the terminal window: sage: help() Welcome to Sage 6.2! To view the Sagsage: help() Welcome to Sage 6.2! To view the Sage tutorial in your web browser, type tutorial(), and ... sage: tutorial() sage: fixme:iphlpapi:NotifyAddrChange (Handle 0xd9e2c8, overlapped 0xd9e2e0): stub fixme:iphlpapi:NotifyAddrChange (Handle 0xdbe880, overlapped 0xdbe88c): stub wine: configuration in '/home/rose/.wine' has been updated. fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 After removing /home/rose/.sage the start of wine disappeard. But I still get endless: fixme:exec:SHELL_execute flags ignored: 0x0100 Even if I kill sage, the terminal continues to show this message. I get it under xfce4-4.11.0 and gnome-3.12. Under gnome this issue seems to lock after some time the whole desktop. Several existing terminal windows do no more respond and it is impossible to start new application with the application menu. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: tutoriatutorial() tries to start wine under gnome-3.12
On Thursday, June 19, 2014 10:26:09 AM UTC+2, Dima Pasechnik wrote: On 2014-06-18, jue...@gmail.com javascript: jue...@gmail.com javascript: wrote: Hi, if I enter tutorial() at the sage prompt a short time a wine window is opened and only warnings or errors are shown in the terminal window: please specify your environment. I suspect that you run Sage in a VM on Windows... I run Sage directly in a gnome-terminal in a gnome-session or in a xterm in xfce-session under linux- 3.15.0-gentoo-r1. sage: help() Welcome to Sage 6.2! To view the Sagsage: help() Welcome to Sage 6.2! To view the Sage tutorial in your web browser, type tutorial(), and ... sage: tutorial() sage: fixme:iphlpapi:NotifyAddrChange (Handle 0xd9e2c8, overlapped 0xd9e2e0): stub fixme:iphlpapi:NotifyAddrChange (Handle 0xdbe880, overlapped 0xdbe88c): stub wine: configuration in '/home/rose/.wine' has been updated. fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 Any help is appreciated. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: tutoriatutorial() tries to start wine under gnome-3.12
On 2014-06-19, juer...@gmail.com juer...@gmail.com wrote: On Wednesday, June 18, 2014 5:51:02 PM UTC+2, jue...@gmail.com wrote: Hi, if I enter tutorial() at the sage prompt a short time a wine window is opened and only warnings or errors are shown in the terminal window: sage: help() Welcome to Sage 6.2! To view the Sagsage: help() Welcome to Sage 6.2! To view the Sage tutorial in your web browser, type tutorial(), and ... sage: tutorial() sage: fixme:iphlpapi:NotifyAddrChange (Handle 0xd9e2c8, overlapped 0xd9e2e0): stub fixme:iphlpapi:NotifyAddrChange (Handle 0xdbe880, overlapped 0xdbe88c): stub wine: configuration in '/home/rose/.wine' has been updated. fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 After removing /home/rose/.sage the start of wine disappeard. But I still get endless: fixme:exec:SHELL_execute flags ignored: 0x0100 Even if I kill sage, the terminal continues to show this message. I get it under xfce4-4.11.0 and gnome-3.12. Under gnome this issue seems to lock after some time the whole desktop. Several existing terminal windows do no more respond and it is impossible to start new application with the application menu. tutorial() merely opens up the default browser, and a local copy of the tutorial HTML docs in it. By the way, what is your default browser? I never saw this reported as causing problems. Could you try doing notebook() rather than tutorial() ? (notebook() will also pop up your default browser, and then open Sage notebooks in it). -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: tutoriatutorial() tries to start wine under gnome-3.12
Just to be clear Juergen, do you have the problem with a sage-on-gentoo install as you seem to point out in https://bugs.gentoo.org/show_bug.cgi?id=512284#c11 If so while it is interesting it is not usually the right forum. In this case report it on github at https://github.com/cschwan/sage-on-gentoo/issues It may be that your problem would also occur with a vanilla sage but there is no way to know other than building a vanilla sage and trying again. On Thursday, June 19, 2014 8:50:57 PM UTC+12, jue...@gmail.com wrote: On Thursday, June 19, 2014 10:26:09 AM UTC+2, Dima Pasechnik wrote: On 2014-06-18, jue...@gmail.com jue...@gmail.com wrote: Hi, if I enter tutorial() at the sage prompt a short time a wine window is opened and only warnings or errors are shown in the terminal window: please specify your environment. I suspect that you run Sage in a VM on Windows... I run Sage directly in a gnome-terminal in a gnome-session or in a xterm in xfce-session under linux- 3.15.0-gentoo-r1. sage: help() Welcome to Sage 6.2! To view the Sagsage: help() Welcome to Sage 6.2! To view the Sage tutorial in your web browser, type tutorial(), and ... sage: tutorial() sage: fixme:iphlpapi:NotifyAddrChange (Handle 0xd9e2c8, overlapped 0xd9e2e0): stub fixme:iphlpapi:NotifyAddrChange (Handle 0xdbe880, overlapped 0xdbe88c): stub wine: configuration in '/home/rose/.wine' has been updated. fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 Any help is appreciated. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Fwd: Sage ModularForms() error?
On Thu, Jun 19, 2014 at 4:05 AM, John Cremona john.crem...@gmail.com wrote: The actual error message is very clear: NotImplementedError: Computation of dimensions of weight 1 cusp forms spaces not implemented in general This -clearly - means that no formula or algorithm has been implemented in Sage for dimensions of weight 1 modular form spaces. How much clearer could it be?! I think that by improve this, M. is asking if there is a plan to implement one (soon?). I guess not, but I don't know if someone is currently working on this or not. John On 19 June 2014 02:45, David Joyner wdjoy...@gmail.com wrote: Does anyone know the answer to this? -- Forwarded message -- From: M. ... Date: Wed, Jun 18, 2014 at 8:43 PM Subject: Sage ModularForms() error? To: wdjoy...@gmail.com David Joyner, When using the sagecell.sagemath.org server, when I evaluate the command: ModularForms(Gamma1(29),1).basis() the error message is not very informative. The problem comes from the fact that ModularForms(Gamma1(29),1) has an (unknown) dimension currently. However, Magma returns [] for the basis using the Magma Calculator online. Is it possible to improve this situation? Shalom, M. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Fwd: Sage ModularForms() error?
On 19 June 2014 11:36, David Joyner wdjoy...@gmail.com wrote: On Thu, Jun 19, 2014 at 4:05 AM, John Cremona john.crem...@gmail.com wrote: The actual error message is very clear: NotImplementedError: Computation of dimensions of weight 1 cusp forms spaces not implemented in general This -clearly - means that no formula or algorithm has been implemented in Sage for dimensions of weight 1 modular form spaces. How much clearer could it be?! I think that by improve this, M. is asking if there is a plan to implement one (soon?). I guess not, but I don't know if someone is currently working on this or not. I don't know either. The traditional response in such a situation is implement it and submit a patch. But I don't think that there is a forumula in the weight one case (as there is in higher weights) so it will not be easy. See http://magma.maths.usyd.edu.au/magma/handbook/text/1528 for what Magma does. I am not an expert on this, but I think that it is not at all easy. John On 19 June 2014 02:45, David Joyner wdjoy...@gmail.com wrote: Does anyone know the answer to this? -- Forwarded message -- From: M. ... Date: Wed, Jun 18, 2014 at 8:43 PM Subject: Sage ModularForms() error? To: wdjoy...@gmail.com David Joyner, When using the sagecell.sagemath.org server, when I evaluate the command: ModularForms(Gamma1(29),1).basis() the error message is not very informative. The problem comes from the fact that ModularForms(Gamma1(29),1) has an (unknown) dimension currently. However, Magma returns [] for the basis using the Magma Calculator online. Is it possible to improve this situation? Shalom, M. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Graph Cration with distances
Hi guys I would like to ask you how to create graph in sage ? and how give distances between edges ? and I would like if I need CPLEX or not when I am using sage ? I want to solve an optimization equations ? I am a new user I know may be some questions are trivial All the best -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Graph Cration with distances
Hi, I shall only answer your first question of how to create Graphs in Sage (although I am not any expert on Graphs and such stuff...) Did you look through the documentation? For example, have a look though these: http://www.sagemath.org/doc/reference/graphs/index.html Also note that most of the small graphs are implemented and you can call them pretty easily. For a list of small graphs Sage already knows about, please look at this: http://www.sagemath.org/doc/reference/graphs/sage/graphs/graph_generators.html . I would like to tell you about ? and ?? in Sage: Writing graphs? at the Sage prompt will display what Sage knows about the topic in question, more or less. So, when in doubt, I suggest doing key-word?. It MIGHT work... If you already have gotten hold of a function and would like to know what Sage does behind the screens, do function-name?? in the Sage prompt. This will display the code behind the function. I think a quick look through this video might be of help to you: https://www.youtube.com/watch?v=4a1QZJ8aKUM. Finally, since you say you are a new user, consider learning Python seriously (if you already haven't, that is!) and try Sage tutorial by typing tutorial() at the Sage prompt... With Sincere Regards, Kannappan. On Thu, Jun 19, 2014 at 5:20 PM, Mohammed hussein moxammed.huss...@gmail.com wrote: Hi guys I would like to ask you how to create graph in sage ? and how give distances between edges ? and I would like if I need CPLEX or not when I am using sage ? I want to solve an optimization equations ? I am a new user I know may be some questions are trivial All the best -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Segmentation fault in singular multi-polynomial factor() function
Dominique Laurain wrote: I usually factor small polynomials...but this time I got a Segmentation fault for a bigger one...is it ok to get that error (no control of enough memory or processor task force to get the result) ? Maybe I want t much :-) ... over the quota.? Dominique Project-id: 6429970e-5a78-4aee-a6b1-af1e80542481 Location:f71dab5b-f40c-48db-a3d2-eefe6ec55f01 hostname : compute2dc2 Run in SAGE python cell: # Segmentation fault in singular factorization u,v,w = var('u,v,w') f(u,v,w) = 16*u^4*v^6*w^2 + 144*u^4*v^5*w^3 + 80*u^3*v^6*w^3 + 416*u^4*v^4*w^4 + 560*u^3*v^5*w^4 + 96*u^2*v^6*w^4 + 560*u^4*v^3*w^5 + 1296*u^3*v^4*w^5 + 368*u^2*v^5*w^5 + 16*u*v^6*w^5 + 384*u^4*v^2*w^6 + 1328*u^3*v^3*w^6 + 528*u^2*v^4*w^6 + 48*u*v^5*w^6 + 128*u^4*v*w^7 + 608*u^3*v^2*w^7 + 336*u^2*v^3*w^7 + 48*u*v^4*w^7 + 16*u^4*w^8 + 96*u^3*v*w^8 + 80*u^2*v^2*w^8 + 16*u*v^3*w^8 - 112*u^4*v^5*w^2 - 64*u^3*v^6*w^2 - 752*u^4*v^4*w^3 - 960*u^3*v^5*w^3 - 176*u^2*v^6*w^3 - 1648*u^4*v^3*w^4 - 3744*u^3*v^4*w^4 - 1344*u^2*v^5*w^4 - 64*u*v^6*w^4 - 1600*u^4*v^2*w^5 - 5744*u^3*v^3*w^5 - 3104*u^2*v^4*w^5 - 304*u*v^5*w^5 - 704*u^4*v*w^6 - 3840*u^3*v^2*w^6 - 3056*u^2*v^3*w^6 - 480*u*v^4*w^6 - 112*u^4*w^7 - 1008*u^3*v*w^7 - 1296*u^2*v^2*w^7 - 304*u*v^3*w^7 - 64*u^3*w^8 - 176*u^2*v*w^8 - 64*u*v^2*w^8 + 312*u^4*v^4*w^2 + 400*u^3*v^5*w^2 + 76*u^2*v^6*w^2 + 1540*u^4*v^3*w^3 + 3436*u^3*v^4*w^3 + 1360*u^2*v^5*w^3 + 72*u*v^6*w^3 + 2412*u^4*v^2*w^4 + 8788*u^3*v^3*w^4 + 5572*u^2*v^4*w^4 + 616*u*v^5*w^4 + 1500*u^4*v*w^5 + 8836*u^3*v^2*w^5 + 8524*u^2*v^3*w^5 + 1540*u*v^4*w^5 + 316*u^4*w^6 + 3484*u^3*v*w^6 + 5512*u^2*v^2*w^6 + 1548*u*v^3*w^6 + 400*u^3*w^7 + 1348*u^2*v*w^7 + 628*u*v^2*w^7 + 72*u^2*w^8 + 76*u*v*w^8 - 448*u^4*v^3*w^2 - 1004*u^3*v^4*w^2 - 420*u^2*v^5*w^2 - 24*u*v^6*w^2 - 1548*u^4*v^2*w^3 - 5672*u^3*v^3*w^3 - 3920*u^2*v^4*w^3 - 476*u*v^5*w^3 - 1544*u^4*v*w^4 - 9500*u^3*v^2*w^4 - 10280*u^2*v^3*w^4 - 2076*u*v^4*w^4 - 460*u^4*w^5 - 5696*u^3*v*w^5 - 10244*u^2*v^2*w^5 - 3280*u*v^3*w^5 - 1008*u^3*w^6 - 3884*u^2*v*w^6 - 2108*u*v^2*w^6 - 404*u^2*w^7 - 492*u*v*w^7 - 24*u*w^8 + 352*u^4*v^2*w^2 + 1304*u^3*v^3*w^2 + 952*u^2*v^4*w^2 + 124*u*v^5*w^2 + 764*u^4*v*w^3 + 4824*u^3*v^2*w^3 + 5604*u^2*v^3*w^3 + 1228*u*v^4*w^3 + 364*u^4*w^4 + 4836*u^3*v*w^4 + 9468*u^2*v^2*w^4 + 3332*u*v^3*w^4 + 1316*u^3*w^5 + 5568*u^2*v*w^5 + 3356*u*v^2*w^5 + 928*u^2*w^6 + 1252*u*v*w^6 + 124*u*w^7 - 144*u^4*v*w^2 - 928*u^3*v^2*w^2 - 1132*u^2*v^3*w^2 - 264*u*v^4*w^2 - 148*u^4*w^3 - 2056*u^3*v*w^3 - 4264*u^2*v^2*w^3 - 1608*u*v^3*w^3 - 940*u^3*w^4 - 4252*u^2*v*w^4 - 2764*u*v^2*w^4 - 1116*u^2*w^5 - 1624*u*v*w^5 - 264*u*w^6 + 24*u^4*w^2 + 344*u^3*v*w^2 + 744*u^2*v^2*w^2 + 296*u*v^3*w^2 + 348*u^3*w^3 + 1652*u^2*v*w^3 + 1136*u*v^2*w^3 + 740*u^2*w^4 + 1140*u*v*w^4 + 296*u*w^5 - 52*u^3*w^2 - 256*u^2*v*w^2 - 184*u*v^2*w^2 - 256*u^2*w^3 - 412*u*v*w^3 - 184*u*w^4 + 36*u^2*w^2 + 60*u*v*w^2 + 60*u*w^3 - 8*u*w^2 print Factor f : ,f.factor() This is now fixed in Sage 6.3.beta4, released today. -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Fwd: help regarding sage instalation
-- Forwarded message -- From: Pramod Shukla pkshu...@to.infn.it Date: Jun 19, 2014 7:25 AM Subject: help regarding sage instalation To: wst...@uw.edu Cc: Dear Professor Stein, While installing sage in my computer I came across some problem which unfortunately I an unable to fix. I would be very thankful if you could kindly assist me in this regard. The problem mentioned in the technical error message at the end of the running of make is exactly same what I found you wrote quite back in the blog http://osdir.com/ml/sage-devel/2014-05/msg00126.html. To mention it again, towards the end it reads as -- [reference] build succeeded. Build finished. The built documents can be found in /home/shukla/Downloads/sage/src/doc/output/html/en/reference Error building the documentation. Traceback (most recent call last): File /home/shukla/Downloads/sage/src/doc/common/builder.py, line 1477, in module getattr(get_builder(name), type)() File /home/shukla/Downloads/sage/src/doc/common/builder.py, line 284, in _wrapper pool = Pool(NUM_THREADS, maxtasksperchild=1) File /home/shukla/Downloads/sage/local/lib/python/multiprocessing/__init__.py, line 232, in Pool return Pool(processes, initializer, initargs, maxtasksperchild) File /home/shukla/Downloads/sage/local/lib/python/multiprocessing/pool.py, line 159, in __init__ self._repopulate_pool() File /home/shukla/Downloads/sage/local/lib/python/multiprocessing/pool.py, line 222, in _repopulate_pool w.start() File /home/shukla/Downloads/sage/local/lib/python/multiprocessing/process.py, line 130, in start self._popen = Popen(self) File /home/shukla/Downloads/sage/local/lib/python/multiprocessing/forking.py, line 121, in __init__ self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory make: *** [doc-html] Error 1 -- Thanks very much and Best regards Pramod Shukla Postdoctoral Researcher Università di Torino, Dipartimento di Fisica and I.N.F.N. - sezione di Torino Office: T-53 , Via P. Giuria 1, I-10125 Torino, Italy E-mail: pkshu...@to.infn.it or pramodma...@gmail.com Phone: +39 011 6707247, Fax: +39 011 6707214 -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: tutoriatutorial() tries to start wine under gnome-3.12
Dima Pasechnik wrote: On 2014-06-19, juer...@gmail.com juer...@gmail.com wrote: On Wednesday, June 18, 2014 5:51:02 PM UTC+2, jue...@gmail.com wrote: Hi, if I enter tutorial() at the sage prompt a short time a wine window is opened and only warnings or errors are shown in the terminal window: sage: help() Welcome to Sage 6.2! To view the Sagsage: help() Welcome to Sage 6.2! To view the Sage tutorial in your web browser, type tutorial(), and ... sage: tutorial() sage: fixme:iphlpapi:NotifyAddrChange (Handle 0xd9e2c8, overlapped 0xd9e2e0): stub fixme:iphlpapi:NotifyAddrChange (Handle 0xdbe880, overlapped 0xdbe88c): stub wine: configuration in '/home/rose/.wine' has been updated. fixme:exec:SHELL_execute flags ignored: 0x0100 fixme:exec:SHELL_execute flags ignored: 0x0100 After removing /home/rose/.sage the start of wine disappeard. But I still get endless: fixme:exec:SHELL_execute flags ignored: 0x0100 Even if I kill sage, the terminal continues to show this message. I get it under xfce4-4.11.0 and gnome-3.12. Under gnome this issue seems to lock after some time the whole desktop. Several existing terminal windows do no more respond and it is impossible to start new application with the application menu. tutorial() merely opens up the default browser, and a local copy of the tutorial HTML docs in it. By the way, what is your default browser? I never saw this reported as causing problems. Could you try doing notebook() rather than tutorial() ? (notebook() will also pop up your default browser, and then open Sage notebooks in it). By the way, you can set Sage's default browser by exporting SAGE_BROWSER=... in the shell before running 'sage'... -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: ModularForms() error?
On Thu, Jun 19, 2014 at 9:09 AM, Michael Somos so...@grail.cba.csuohio.edu wrote: William Stein, Hello, I am Michael Somos. I have been using Sage for several years now, usually through a Virtual appliance on A Windows PC. Recently, I have been using sagecell.sagemath.org and today I have just created a SageMathCloud account. I am interested in modular forms. My problem is with the command ModularForms(Gamma1(29),1).basis() and I get a few lines of Traceback information about KeyError: 'text/plain' which seems not to be clear what caused it. I know that the space involved has (unknown) dimension and this is probably the cause of the problem. I get the same results using sagecell *and* SageMathCloud. However, when running Sage 6.2 from a bash command line the same command input gives an error message NotImplementedError: Computation of dimensions of weight 1 cusp forms not implemented in general which is more informative, but, still, I didn't ask for cusp forms. ModularForms(Gamma1(29),1) = Eisenstein series + Cusp forms, so you did indirectly ask for cusp forms. My main question is why the different error messages? Is there something very different with the cloud versus native? Shalom, Michael Type version() into each version of Sage you're using. If the output is different, then they are different versions of sage, and hence behave differently. I have no idea why in this case the error messages might be different. There is no known efficient algorithm to compute spaces of weight 1 modular forms in general. There are very slow complicated algorithms that do work in some cases, which are NOT implemented in Sage in general. See, e.g., Springer Lecture Notes in Math 1585, which is all about one such algorithm. -- William -- PUBLIC: Cleveland State University at http://cis.csuohio.edu/~somos/ Dedekind eta product identities at http://eta.math.georgetown.edu/ -- William Stein Professor of Mathematics University of Washington http://wstein.org -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Segmentation fault in singular multi-polynomial factor() function
OK+Thanks... I will check it when release will pop up in the cloud. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Re: Segmentation fault in singular multi-polynomial factor() function
On Thu, Jun 19, 2014 at 10:45 AM, Dominique Laurain dominique.laurai...@orange.fr wrote: OK+Thanks... I will check it when release will pop up in the cloud. I'm planning to wait for the official Sage 6.3 release before updating the cloud. If you want to test sooner, let me know and I can drop a temporary build in /scratch on the same VM as one of your projects (let me know the project id). -- William -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout. -- William Stein Professor of Mathematics University of Washington http://wstein.org -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Fwd: help regarding sage instalation
William Stein wrote: -- Forwarded message -- From: Pramod Shukla pkshu...@to.infn.it mailto:pkshu...@to.infn.it Date: Jun 19, 2014 7:25 AM Subject: help regarding sage instalation While installing sage in my computer I came across some problem which unfortunately I an unable to fix. I would be very thankful if you could kindly assist me in this regard. The problem mentioned in the technical error message at the end of the running of make is exactly same what I found you wrote quite back in the blog http://osdir.com/ml/sage-devel/2014-05/msg00126.html. To mention it again, towards the end it reads as [...] OSError: [Errno 12] Cannot allocate memory Which part of this error message is unclear? Errno 12 = ENOMEM aka Out of memory. You'd have to close some other applications, install more RAM, or setup [more] swap space. (Or try building the documentation with less threads, in case you were using more than one.) -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Solve for a function defined in a file?
Thank you, so what to do for Python function? Matlab had general purpose 'optim(f)' if my memory is right... On Wednesday, June 11, 2014 1:50:10 AM UTC-7, Dima Pasechnik wrote: On 2014-06-10, David Ingerman davidd...@gmail.com javascript: wrote: How to solve([f(x)==0],x) for a function f(x) defined in a .sage file? The error message: TypeError: Cannot evaluate symbolic expression to a numeric value. what is f(x) ? solve() won't work for a Python function, it needs a symbolic expression, e.g. sage: type(sin(x)) type 'sage.symbolic.expression.Expression' sage: Thank you... -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] command line type argument when loading sage files
Suppose I have a file -- test.sage - from sage.all import * print sys.argv[1], sys.argv[2], sys.argv[3] It could be run from bash terminal as-- $ test.sage 2 3 5 Here 2, 3, 5 are the three command line arguments and can be printed by: print sys.argv[1], sys.argv[2], sys.argv[3] But it gives error when loaded in sage environment:--- sage: load test.sage 2 3 5 or sage: load test.sage 2 3 5 or sage: load test.sage 2 3 5 or sage: load(test.sage,2,3,5) but the statement- print sys.argv[0] successfully prints the file name. So I think it can be done. It will be very helpful if someone posts a way out. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.