This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author krichter
Recipients docs@python, krichter
Date 2015-01-06.00:05:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420502722.34.0.451688646321.issue23174@psf.upfronthosting.co.za>
In-reply-to
Content
`shelve.open(tempfile.mkstemp()[1])` fails with error "anydbm.error: db type could not be determined" which is not explainable with the docs. Traceback is

    Traceback (most recent call last):
      File "./cudaminer_param_checker.py", line 720, in <module>
        plac.call(cudaminer_param_checker)
      File "/usr/local/lib/python2.7/dist-packages/plac_core.py", line 309, in call
        cmd, result = parser_from(obj).consume(arglist)
      File "/usr/local/lib/python2.7/dist-packages/plac_core.py", line 195, in consume
        return cmd, self.func(*(args + varargs + extraopts), **kwargs)
      File "./cudaminer_param_checker.py", line 715, in cudaminer_param_checker
        visualize_cudaminer_param_checker_results_wxpython_gui()
      File "./cudaminer_param_checker.py", line 365, in visualize_cudaminer_param_checker_results_wxpython_gui
        frame = CudaminerParamChecker(None, )
      File "./cudaminer_param_checker.py", line 378, in __init__
        self.generator = CudaminerParamCheckerGenerator()
      File "./cudaminer_param_checker.py", line 160, in __init__
        self.result_dict= shelve.open(storage_file_path) 
      File "/usr/lib/python2.7/shelve.py", line 239, in open
        return DbfilenameShelf(filename, flag, protocol, writeback)
      File "/usr/lib/python2.7/shelve.py", line 223, in __init__
        Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
      File "/usr/lib/python2.7/anydbm.py", line 82, in open
        raise error, "db type could not be determined"
    anydbm.error: db type could not be determined
History
Date User Action Args
2015-01-06 00:05:22krichtersetrecipients: + krichter, docs@python
2015-01-06 00:05:22krichtersetmessageid: <1420502722.34.0.451688646321.issue23174@psf.upfronthosting.co.za>
2015-01-06 00:05:22krichterlinkissue23174 messages
2015-01-06 00:05:22krichtercreate