On Mon, Nov 3, 2008 at 9:23 AM, <[EMAIL PROTECTED]> wrote: > > William, I went to "Devices" and then "Network Adapter" and changed > the setting from NAT to bridged and the intial command notebook now > works. I assune this means Sage notebooks will only work if I am > connected to my router.
NAT "should work", but obviously doesn't for you for some reason. This is unfortunately a VMware/Windows problem, so there isn't much I can suggest. I'm glad bridged works for you. > The !ifconfig showed I had a ip address of > 127.0.0.1 which clearly did not work. Yes, that means that you *only* had the "localhost" network, not the one that you should get via NAT. > I am still suprised that the command line version of sage graphics > commands don't work. Thanks for your help. Mike It is a command line in a virtual machine. It tried to "pop up" the graphics in the virtual machine, which can't work, since the virtual machine doesn't have any graphical user interface installed. I'm probably going to release a vmware image soon that has a graphical interface installed into it, but still need to work on making the vmware image use less disk space. Anyway, sorry for all this trouble. There is work going on to have a native version of Sage for windows that doesn't require vmware at all, but that isn't here yet. -- William > > On Nov 2, 4:08 pm, "William Stein" <[EMAIL PROTECTED]> wrote: >> On Sun, Nov 2, 2008 at 2:37 PM, <[EMAIL PROTECTED]> wrote: >> >> > William, Sorry having problems first I can't seem to cut and past >> > from VMware to windows >> >> > The screen looks like. >> >> > Welcome to Sage:http://www.sagemath.org >> >> > Type one of the following. >> >> > notebook -- start the Sage notebook server >> > off -- turn this machine off >> > manage --- ect >> > sage -- run the sage command line >> >> > sage login: >> >> > If I type "notebook" it just reprints the above message. It does not >> > seem to start a server. Do I need to set an option in VMplayer? >> >> This sounds very much like unfortnately the sage-vmware image that we posted >> is >> completely broken. I check if this is the case tomorrow when I go to >> my office (actually, >> I will also check at home, which will take an hour or two). I recommend >> that you use >> >> http://sagenb.org >> >> until then or do the following: >> >> login: sage >> >> at the sage prompt type >> >> sage: !ifconfig >> >> In the output there should be a line that looks like this: >> >> eth0 Link encap:Ethernet HWaddr 00:0c:29:ed:81:58 >> inet addr:192.168.243.129 Bcast:192.168.243.255 >> Mask:255.255.255.0 >> >> If not, then the problem is with your vmware player setup and windows. >> If there is such a line, do this: >> >> sage: notebook(address="192.168.243.129") >> >> where the number in quotes is after "inet addr". >> >> Then try using Sage via a browser from windows. >> >> -- William >> >> >> >> >> >> > My second point was that I can run the tutorial from the Sage command >> > line. However, if I try "show" or "plot" from the command line >> > version of sage I get no graphics. >> >> > I also tried to run notebook from the command line sage, and It did >> > not work. As you pointed it without the server running in vmplayer it >> > should not have worked. >> >> > So I think I have two questions. 1. Why does the notebook command not >> > work from the above screen? Do I need to set up network connections >> > options in VMplayer? >> >> > 2. Should I be able to run graphics from the command line version of >> > sage? >> >> > Thanks Mike >> >> > On Nov 2, 2:04 pm, "William Stein" <[EMAIL PROTECTED]> wrote: >> >> On Sun, Nov 2, 2008 at 1:40 PM, <[EMAIL PROTECTED]> wrote: >> >> >> > I have installed VMplayer and sage-vmware-3.1.4 on a windows XP >> >> > notebook. I start it with sage_vm. I then get "sage login:" . If I >> >> > type notebook I get the start up screen again telling me to type >> >> > notebook, sage ect.. I can start sage, and it runs however, I can >> >> > not plot. >> >> >> Just to clarify, you can use the sage notebook fine from windows, >> >> e.g., to do arithmetic, >> >> and the one problem is "I can not plot"? Could you be dramatically >> >> more precise in >> >> describing what you mean by "I can not plot"? E.g., post a screen >> >> shot. Thanks. >> >> >> > From within Sage if t I type notebook() it runs a series of >> >> > command that end with >> >> >> > "http://localhost:8000/?startup_token=a80b60aa4d.....:nosuch file or >> >> > directory >> >> >> > from windows I can not connect tohttp://localhost:8000/ >> >> >> That should definitely *not* work from windows. Only typing >> >> >> sage: notebook >> >> >> at the login prompt makes it so that the notebook starts a server >> >> that can be used from windows. From within sage you could do >> >> >> sage: >> >> notebook(address="whatever.the.address.was.above.when.you.typed.notebook.at.the.sage.prompt") >> >> >> Cheers, >> >> >> William >> >> -- >> William Stein >> Associate Professor of Mathematics >> University of Washingtonhttp://wstein.org- Hide quoted text - >> >> - Show quoted text -- Hide quoted text - >> >> - Show quoted text - > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ 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://www.sagemath.org -~----------~----~----~----~------~----~------~--~---