Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning on twisted after starting notebook(). #6676

Closed
sagetrac-drkirkby mannequin opened this issue Aug 6, 2009 · 6 comments
Closed

DeprecationWarning on twisted after starting notebook(). #6676

sagetrac-drkirkby mannequin opened this issue Aug 6, 2009 · 6 comments

Comments

@sagetrac-drkirkby
Copy link
Mannequin

sagetrac-drkirkby mannequin commented Aug 6, 2009

When I start Sage on Solaris, as soon as I type notebook(), I get a 'DeprecationWarning'. It does not give a good impression to get this after the running the first command one is likely to want to run. It says 'the md5 module is deprecated; use hashlib instead'.

Hence I suggest this is fixed asap, as its going to be the first impression someone gets of Sage.

Dave

kirkby@t2:[/scratch/kirkby/sage-4.1.1.rc0] $ ./sage


| Sage Version 4.1.1.rc0, Release Date: 2009-07-29 |
| Type notebook() for the GUI, and license() for information. |



  •                                                                *
    
  • Warning: this is a prerelease version, and it may be unstable. *
  •                                                                *
    

sage: notebook()
The notebook files are stored in: /rootpool2/local/kirkby/.sage//sage_notebook



/scratch/kirkby/sage-4.1.1.rc0/local/lib/python2.6/site-packages/twisted/persisted/sob.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import os, md5, sys
2009-08-06 00:48:56-0700 [-] Log opened.
2009-08-06 00:48:56-0700 [-] twistd 8.2.0 (/scratch/kirkby/sage-4.1.1.rc0/local/bin/python 2.6.2) starting up.
2009-08-06 00:48:56-0700 [-] reactor class: twisted.internet.selectreactor.SelectReactor.
2009-08-06 00:48:56-0700 [-] twisted.web2.channel.http.HTTPFactory starting on 8000
2009-08-06 00:48:56-0700 [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x3e00328>
/scratch/kirkby/sage-4.1.1.rc0/local/bin/sage-native-execute: xdg-open: not found

Component: user interface

Author: William Stein

Reviewer: Mike Hansen

Merged: sage-4.2.1.alpha0

Issue created by migration from https://trac.sagemath.org/ticket/6676

@sagetrac-drkirkby sagetrac-drkirkby mannequin added this to the sage-4.2.1 milestone Aug 6, 2009
@sagetrac-flawrence
Copy link
Mannequin

sagetrac-flawrence mannequin commented Sep 15, 2009

comment:1

This appears to be a duplicate of #6555

@williamstein
Copy link
Contributor

comment:2

This fixes the problem:

http://wstein.org/home/wstein/patches/twisted-8.2.0.p1.spkg

@mwhansen
Copy link
Contributor

mwhansen commented Nov 7, 2009

Author: William Stein

@mwhansen
Copy link
Contributor

mwhansen commented Nov 7, 2009

Reviewer: Mike Hansen

@mwhansen
Copy link
Contributor

mwhansen commented Nov 7, 2009

comment:3

Looks good to me. I also added the .patch files for the two new changes. The merged spkg can be found at http://sage.math.washington.edu/home/mhansen/twisted-8.2.0.p1.spkg

@mwhansen
Copy link
Contributor

mwhansen commented Nov 7, 2009

Merged: sage-4.2.1.alpha0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants