Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #28508
Closed
Open
Issue created Nov 19, 2018 by opara@opara🎄

Stem not checking for 'cached-microdescs.new' correctly

When "contoller.get_microdescriptors()" is called, it checks to see if the file "cached-microdescs" exists before creating a "stem.descriptor.reader.DescriptorReader" object. The problem is that "cached-microdescs" may not exist, but "cached-microdescs.new" does.

A simple fix for this is to modify stem/control.py:1795 (as of commit 73e5bd3e4f5) from:

elif not os.path.exists(cached_descriptor_path):

to:

elif not os.path.exists(cached_descriptor_path) and not os.path.exists(cached_descriptor_path+'.new'):
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking