Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post build AppRun script references wrong file path #8095

Open
1 of 3 tasks
kyrubas opened this issue Jan 19, 2025 · 0 comments · May be fixed by #8269
Open
1 of 3 tasks

Post build AppRun script references wrong file path #8095

kyrubas opened this issue Jan 19, 2025 · 0 comments · May be fixed by #8269
Labels
bug Something isn't working

Comments

@kyrubas
Copy link

kyrubas commented Jan 19, 2025

Is there an existing issue for this problem?

  • I have searched the existing issues

OrcaSlicer Version

2.3.0

Operating System (OS)

Linux

OS Version

Pop!_OS 22.04 LTS

Additional system information

No response

Printer

AnkerMake M5

How to reproduce

  1. Update lines 78-79 in BuildLinux.sh to allow for any Ubuntu based OS to build
    From
    https://github.com/SoftFever/OrcaSlicer/blob/2ea2ab08de921cce8dd8400a647f6772a7121a7f/BuildLinux.sh#L81C1-L83
    To
DISTRIBUTION_LIKE=$(awk -F= '/^ID_LIKE=/ {print $2}' /etc/os-release)
# treat any ubuntu based os as debian
if [ "${DISTRIBUTION_LIKE}" == "\"ubuntu debian\"" ]
  1. ./BuildLinux.sh -u
  2. cd build
  3. ./AppRun

Actual results

Results in:

./AppRun: line 9: ./OrcaSlicer/build/bin/orca-slicer: No such file or directory

Expected results

Should launch Orca without further intervention

Project file & Debug log uploads

Fixed by updating line 9 in OrcaSlicer/build/AppRun to
"$DIR/package/bin/orca-slicer"

Checklist of files to include

  • Log file
  • Project file

Anything else?

No response

@kyrubas kyrubas added the bug Something isn't working label Jan 19, 2025
@rubienr rubienr linked a pull request Feb 1, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant