Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • 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
  • #25158

Closed (moved)
(moved)
Open
Created Feb 06, 2018 by Tom Ritter@tom

Don't assume everyone uses your symlink structure.

os.chdir(os.path.join(os.path.dirname(__file__), 'stem'))
		stem_version = subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD'])
		os.chdir('../../')

You should navigate down to stem and then navigate out of it using os.path.dirname(file).

Also you should double check that the stem version is different from depictor, to make sure you captured it correctly.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking