Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
  • Sign in / Register
Liberty CLI
Liberty CLI
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • liberty
  • tool
  • Liberty CLILiberty CLI
  • Issues
  • #26

Closed
Open
Opened Feb 28, 2020 by David Seaward@david.seaward
  • Report abuse
  • New issue
Report abuse New issue

Debian build cannot find data folder

Steps to reproduce:

  • Install pipx
  • Run pipx install ldh-client
  • Run liberty --help

What should happen:

  • Help is displayed

What happens instead:

Traceback (most recent call last):
  File "/home/user/.local/bin/liberty", line 5, in <module>
    from liberty import cli
  File "/home/user/.local/pipx/venvs/ldh-client/bin/liberty.py", line 6, in <module>
    from ldh_client.nm_tunnel_setup import nm_tunnel_setup
  File "/home/user/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/ldh_client/__init__.py", line 9, in <module>
    __name__, "../data/default.strict.yaml"
  File "/home/user/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1157, in resource_string
    self, resource_name
  File "/home/user/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1401, in get_resource_string
    return self._get(self._fn(self.module_path, resource_name))
  File "/home/user/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1616, in _get
    with open(path, 'rb') as stream:
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.local/pipx/venvs/ldh-client/lib/python3.7/site-packages/ldh_client/../data/default.strict.yaml'

Additional notes:

A similar problem occurs in the Debian build and needs to be resolved. For now, a workaround has been applied.

/cc @jonas.smedegaard

Edited Mar 04, 2020 by David Seaward
  • Discussion
  • Designs

The one place for your designs

To enable design management, you'll need to meet the requirements. If you need help, reach out to our support team for assistance.

Assignee
Assign to
Unscheduled unicorn
Milestone
Unscheduled unicorn
Assign milestone
Time tracking
None
Due date
None
1
Labels
Ready
Assign labels
  • View project labels
Reference: liberty/tool/client#26