> This is particularly vexing because I can't get it to let me log in at
> all. I can even get rid of all Sage cookies, restart the browser
> (Safari), go to the notebook server, then delete the one cookie I get
> there, and STILL it doesn't let me log in.
I've seen that problem too. I can't say for sure whether it has been fixed, but
I have some comments about this further down.
> Sysadmin has found possible workaround of deleting history of the
> browser. This is fine in a lab, but potentially very crippling for
> those of us who rely on auto-completion of often-visited sites.
> Sysadmin is also very unlikely to try 4.5.2 VMWare image after recent
> reports of it not being so hot, though I think those may have been
> exaggerated - and anyhow he has a lot to do with the start of classes.
I expect Sage upgrades will slip further down your system admin's priority list
if they are causing him problems.
> I am really hesitant
> to use this in class when I can't even make it work on my own computer
> properly.
I don't blame you.
> I think I now start to understand the arguments about
> rather having one version that works rather than constant upgrades...
>
> Thanks,
> - kcrisman
>
I think Peter Jeremy summed up the problem quite well when he said this on a
trac ticket
http://trac.sagemath.org/sage_trac/ticket/6456#comment:67
=================== From Peter Jeremy ===========================
I am very concerned at this "release it now, we'll make it work later" mentality.
================================================================
In my opinion, (and one I think that is shared by Peter too), Sage needs to
devote *far* more time to testing, and a lot less time to adding features, if
it's ever to become a viable alternative to the 4 M's.
At the most basic level, the notebook does not even produce valid HTML. The
login page has errors, which one discovers when one searches with the W3C
validator.
I note two of the errors are:
======================================================================
# Error Line 91, Column 31: The for attribute of the label element must refer
to a form control.
<label for="email">Username</label>
✉
# Error Line 96, Column 34: The for attribute of the label element must refer to
a form control.
<label for="password">Password</label>
========================================================================
I wonder if those errors have anything to do with logging in?
The only possible way Sage might get less buggy, is for more people with similar
views to me, make them known to William. *Perhaps*, if he realises people like
you are reluctant to use Sage for classes because of the bug rates, he might do
something to address the quality control issues.
One of the release mangers for 4.5.3 has said the first release candidate for
4.5.3 will be available on Monday and he hopes to release 4.5.3 on Friday.
That's simply insufficient time for testing in my personal personal opinion.
I'd like to see regular "bug-fix-only" releases, where no new features are
added, but only code that addresses known bugs is incorporated.
Whilst Brooks claims in his book
that
===================================================================
in a suitably complex system there is a certain irreducible number of errors.
Any attempt to fix observed errors tends to result in the introduction of other
errors
===================================================================
I think Sage is a long way from that point.
Sage is certainly "suitably complex", but I don't think it's reached the point
where attempts to fix bugs will not reduce the total number of bugs. I think
with some effort, and a change of attitude, the number of bugs in Sage could be
reduced, but this would be at the expense of adding new features. It might even
lose some developers, who can't tolerate such a change of attitude.
Just my 2 pennies
Dave
For whatever it's worth I'd like to say that I emphatically agree
that more attention to fixing bugs (presumably at the expense of
adding features) would make Sage *much* more viable from my point
of view. My point of view being as:
(1) Not a developer, but simply a user.
(2) Not a mathematician, but someone who is (late in the day :-)
slowly making my way through the undergrad math/physics
sequence.
(3) Someone who has tried unsuccessfully to get classmates and
instructors interested in Sage as an alternative to certain
other "M"s.
(4) Someone who, not being particularly brilliant with this
stuff, probably represents more of what a "typical" user
would look like if Sage ever attained widespread use.
Having said this, I can't help but wonder what possible
motivation there could be, among developers, to do something
like a bug fix release? It sounds like of boring ...
-Mike
Professionalism?
Jeff
Mike,
Making bug-fix releases is an essential part of professional software
development. Jeff is right - it is the professional thing to do. Unfortunately,
most Sage developers do not have a background in software engineering, so do not
appreciate that.
As for motivation, these two links might give you some thoughts. There's some
very useful responses on the first link.
http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=17798
http://www.python.org/dev/peps/pep-0006/
Dave
I may not have been thinking too clearly when I wrote that
last paragraph. I was, after all, trying to argue *in favor*
of bug fixes :-)
-Mike
Unfortunately, I think a lot of Sage developers would be unhappy about bug-fix
releases. William is far from keen on the idea and I think there are others who
share his view.
Dave
I'd say the only way you will know whether 4.5.2 works for you is to try
it out. The vmware image gets downloaded *a lot* (200 times in the
first 5 days), and as far as I know there were only two problems
reported with it:
* unable to access the notebook from the host machine on Windows
(this works for me on Mac OS X, and I don't have a Windows machine to
test on -- someone suggested a workaround on the list but we haven't
heard the original poster confirm that it fixed his problem)
* request for having R installed with image support; I will look into
this for 4.5.3, but if this is likely to be important to you, you can
just install the ubuntu libraries in your copy of the virtual machine
So, I'm not saying that the 4.5.2 vmware image is perfect, but I'm not
convinced it's any worse than 4.3, and once again, you can find out
whether it works for you by trying it out. Try it out on your computer
first and see if the cookies issue is fixed, and then see if your system
administrator is willing to give it a shot.
Best,
Alex
--
Alex Ghitza -- http://aghitza.org/
Lecturer in Mathematics -- The University of Melbourne -- Australia
> Well, in general it seems to me that most Sage bugs come from things/
> functionality that didn't exist before, and once they exist people
> want to start using them.
Well, there are an alful lot of open-bugs in trac. Some have been open a very
long time. They are assigned to person X (for example I get the Solaris ones),
but person X does not work on them, but spends time writing new code.
> But unlike a commercial system, the only
> realistic way we have to look for these bugs is for people to use the
> system. I just don't see how else to do it;
There are several packages in Sage which have test suites that we could run from
spkg-check. But people have not added the spkg-check file to Sage, so we can not
run the tests.
http://trac.sagemath.org/sage_trac/ticket/9767 # cliquer
http://trac.sagemath.org/sage_trac/ticket/9613 # linbox
http://trac.sagemath.org/sage_trac/ticket/9311 # ratpoints
and *many* others. Of the 100 or so standard packages in sage, only around 20
have the ability to run any self-tests of the packages when they are built. In
some cases, those test suites are *far* more comprehensive than the ones in
Sage. (I believe Pari is an exception, where the Sage doctests are more
comprehensive than the Pari tests).
If you look at the first and second columns of this ticket:
http://trac.sagemath.org/sage_trac/ticket/9281
you will see those where there is an spkg-check file, and there where there is
not one. Not every package in sage has the ability to do any self checks during
the build process, so we will never be able to get that list complete, but there
are a lot missing.
Dave
I just had this problem on Safari, and the only way I fixed it was to go
to safari security preferences and change the cookie handling from
accepting cookies "only from sites I visited" to "always".
Weird, and it seems like a bug that should be tracked down.
Thanks,
Jason
I've created a ticket addressing this issue at (#9822
http://trac.sagemath.org/sage_trac/ticket/9822) and a patch in an
attempt to fix it. I'm not sure whether it works though, as I don't
have access to Safari. Can either of you try it out?
> --
> To post to this group, send email to sage-s...@googlegroups.com
> To unsubscribe from this group, send email to sage-support...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>
--
Tim Joseph Dumol <tim (at) timdumol (dot) com>
http://timdumol.com
One of my students had it in internet explorer today.
I wonder if part of the problem had to do with them creating accounts
directly before trying to log in.
Jason
I've seen this problem, though not necessarily on the latest version using
Firefox. So the problem is not unique. I'm pretty sure I've seen it on
http://t2nb.math.washington.edu:8000/
since I updated that to Sage 4.5.1, but I can't be 100% sure on that.
> One of my students had it in internet explorer today.
>
To my way of thinking, a developer familiar with the notebook should look first
determine why the login page is not producing valid HTML. The W3C validator
clearly shows this, and two of the three errors are directly on the fields about
username and password.
If the code sent to the browser is not valid HTML, the behavior of the browser
is undefined.
One might make changes to the cookie code which fixes this for some browsers or
even all browsers now, but it's anyones guess what will happen long-term if the
sections that requires one to log in are sending invalid data to the browser. Is
it any big surprise the cookies are not working correctly in this case?
> I wonder if part of the problem had to do with them creating accounts
> directly before trying to log in.
It's really anyone's guess. But clearly people should be able to create accounts
before or after they try to log in.
> Jason
Dave
The invalid HTML is orthogonal to this issue and is merely a typo. The
<label> tag merely affects form display semantics and does not have
anything to do regarding cookies.
Frankly, even http://google.com has invalid HTML:
http://validator.w3.org/check?uri=www.google.com&charset=(detect+automatically)&doctype=Inline&group=0
A few more:
And so on.
I do not say that writing invalid HTML should be accepted as the norm,
but it is pointless to blame the cookie issue on it.
>
>> I wonder if part of the problem had to do with them creating accounts
>> directly before trying to log in.
>
> It's really anyone's guess. But clearly people should be able to create
> accounts before or after they try to log in.
And people are indeed able to do so.
>
>> Jason
>
> Dave
> The invalid HTML is orthogonal to this issue and is merely a typo. The
> <label> tag merely affects form display semantics and does not have
> anything to do regarding cookies.
>
> Frankly, even http://google.com has invalid HTML:
> http://validator.w3.org/check?uri=www.google.com&charset=(detect+automatically)&doctype=Inline&group=0
Yes I know. But Google is not presenting a problem.
> I do not say that writing invalid HTML should be accepted as the norm,
> but it is pointless to blame the cookie issue on it.
I was not blaming the HTML on it. I'm merely proposing that it might be the
cause and it would certainly be the first thing I would look at fixing. It would
rule out that possibility.
Dave
>> It's really anyone's guess. But clearly people should be able to create
>> accounts before or after they try to log in.
>
> And people are indeed able to do so.
>
Yes, I should point out that an overwhelming majority of the people had
no problem yesterday logging in.
Jason