[sage-support] Re: Vector symbolic algebra

2011-06-19 Thread Lars Fischer
Hello Sepidar, in your second example you create functions without a return statement. Per default Python returns None if the function ends without an explicit return statement. That is the cause for the error. Just define the functions like this: def n(t): return cos(a*t),sin(a*t),0 def

[sage-support] Re: readline? problem

2009-08-07 Thread Lars Fischer
Hello John, if a recompilation does not work (or take too long), you could try to disable colors: set colors NoColor instead of colors Linux in ~/.sage/ipython/ipythonrc Whenever I encountered this completion bug, disabling of colors made it go away. Most of the time, the bug came with a

[sage-support] Re: very basic sage question on objects and methods

2009-04-15 Thread Lars Fischer
Hello, This would be a great question to ask Guido (inventor of Python)--we get it from there. a similar question is answered in the Python FAQ: http://www.python.org/doc/faq/general/#why-does-python-use-methods-for-some-functionality-e-g-list-index-but-functions-for-other-e-g-len-list 4.7

[sage-support] Re: Internal Server Error

2009-01-18 Thread Lars Fischer
Hello, I'm moving the virtual machine from it's current physical host to a new one with more RAM, and will revive it there. thank you for your answer. If I find out what happened on our server I will report it here. With best regards, Lars Fischer

[sage-support] Re: Internal Server Error

2009-01-18 Thread Lars Fischer
Hello everybody, I spoke with our admin. There was a python process consuming 100 percent of the cpu on our server. After a restart erverything seems fine. With best regards, Lars --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Re: Change to a local variable affects the variable outside the program

2008-12-14 Thread Lars Fischer
Hello Giovanni, you have hit one of my favorite Python Pitfalls: Python does always call by value, but sometimes it behaves like call by reference . The explanation is hidden in a footnote in the tutorial. Please see Defining Functions in More Control Flow Tools in the Python Tutorial:

[sage-support] Re: Sage does not start from desktop icon

2008-07-15 Thread Lars Fischer
Hello Alejandro, what happens, if you enter the command notebook(open_viewer=True) at the sage console? Also try: properties of the Icon, Application tab, Advanced options, Do not close when command exits. Watch for error messages. I have a certain suspicion, that sage tries to open a viewer,

[sage-support] Re: Cant use notebook with firefox

2008-06-23 Thread Lars Fischer
, Connection group: Settings- Button: No Proxy for: field add 192.230.168.128. Or you can disabling proxy by checking Direct connection to the Internet. That should work. With best regards, Lars Fischer --~--~-~--~~~---~--~~ To post to this group, send email to sage-support

[sage-support] sage-3.0-linux_ubuntu-athlon-i686-Linux.tar.gz does not work

2008-05-02 Thread Lars Fischer
: PyFPE_jbuf System is Kubuntu 7.10. Sage 2.10.4 compiled from source worked flawless. Any ideas? Thanks in advance, Lars Fischer --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email

[sage-support] Re: parenthesis matching in notebook environment

2008-04-22 Thread Lars Fischer
{} and and '' and so on. With best regards, Lars Fischer --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http

[sage-support] Re: Umlauts in Notebook cells do not work (encoding problem)

2008-04-12 Thread Lars Fischer
: unexpected end of data }}} {{{id=3| /// }}} With best regards, Lars Fischer --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group

[sage-support] Re: Umlauts in Notebook cells do not work (encoding problem)

2008-04-12 Thread Lars Fischer
or decode input to ascii or unicode. Or set the encoding of the opened file object before write. The bug is not only in the publishing step. It also does not work for unpublished worksheets. I suppose the intermediate files for each cell are created in a not unicode aware way. With best regards, Lars

[sage-support] Umlauts in Notebook cells do not work (encoding problem)

2008-04-11 Thread Lars Fischer
LC_NAME=de_DE.UTF-8 LC_ADDRESS=de_DE.UTF-8 LC_TELEPHONE=de_DE.UTF-8 LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=de_DE.UTF-8 LC_ALL= With best regards, Lars Fischer --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe

[sage-support] Re: how to set coding to utf-8 in sage script

2008-03-31 Thread Lars Fischer
, Lars Fischer --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http

[sage-support] Re: Sage in Windows

2008-03-30 Thread Lars Fischer
of the file. (filezilla instead of winscp works also, but it asks for confirmation before uploading the modified file, which quickly gets on my nerves.) With best regards, Lars Fischer --~--~-~--~~~---~--~~ To post to this group, send email to sage-support

[sage-support] Re: how to set coding to utf-8 in sage script

2008-03-30 Thread Lars Fischer
: no diffs found But it didn't work. Probaply the others will tell you how to apply the patch to your sage version. Perhabs you have to use the linux patch command. With best regards, Lars Fischer --~--~-~--~~~---~--~~ To post to this group, send email to sage-support

[sage-support] Bug: sage -t does not respect # long time comments

2008-01-20 Thread Lars Fischer
. At least sage-doctest looks for long time inside comment_modifiers() and sage-doctest_tex doesnot. With best regards, Lars Fischer --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email

[sage-support] Re: spkg-install, choosing the right installation path

2008-01-14 Thread Lars Fischer
Thank you very much for your answers, I will continue in the proposed direction. With best regards, Lars Fischer --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[sage-support] spkg-install, choosing the right installation path

2008-01-11 Thread Lars Fischer
understand the details discussed in the thread spkg refactoring and development model on sage-devel. With best regards, Lars Fischer --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email