eclipse-cyclonedds / eclipse-cyclonedds/cyclonedds-python

CYCLONEDDS_HOME using relative path fails

Open
#308 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
110
Forks
68
Avg merge
1h 8m
Merged PRs (30d)
1

Description

In case someone else runs into this:
When using

export CYCLONEDDS_HOME=~/cyclone_dds

installation failed. Changing into absolute path fixed it.

Tracking down by printing dir in good_directory exposes the issue:

     dir = directory.resolve()
+    print("dir=",dir)
     if not dir.exists():
         return

showing

dir= /media/erwin/ubuntu_extra/dev/roger/cyclonedds-python/~/cyclonedds/install

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the good_directory function shown in the report and trace how CYCLONEDDS_HOME is turned into the installation path. Reproduce the failure with the relative ~/cyclone_dds value, then verify that installation resolves the path correctly without changing to an absolute path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.