Skip to content

2.8.8-alpha0: doctest failure in dsage/tests/testdoc.py (requires previous dsage setup) #888

@sagetrac-cwitty

Description

@sagetrac-cwitty
File "testdoc.py", line 12:
    age: d = DSage(port=port, ssl=False)
Exception raised:
    Traceback (most recent call last):
      File "/home/cwitty/pre-sage/local/lib/python2.5/doctest.py", line 1212, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_0[5]>", line 1, in <module>
        d = DSage(port=port, ssl=False)###line 12:
    age: d = DSage(port=port, ssl=False)
      File "/home/cwitty/pre-sage/local/lib/python/site-packages/sage/dsage/all.py", line 52, in DSage
        ssl=ssl)
      File "/home/cwitty/pre-sage/local/lib/python/site-packages/sage/dsage/interface/dsage_interface.py", line 392, in __init__
        self.pubkey_str = keys.getPublicKeyString(filename=self.pubkey_file)
      File "/home/cwitty/pre-sage/local/lib/python2.5/site-packages/twisted/conch/ssh/keys.py", line 48, in getPublicKeyString
        lines = open(filename).readlines()
    IOError: [Errno 2] No such file or directory: '/home/cwitty/.sage/dsage/dsage_key.pub'

(The last line is the most interesting.)

Component: doctest coverage

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions