Lowrider 4 Calculator feedback/edits/status

Ah, like production code everywhere.

3 Likes

My lr4 build is going to Be massive😅

1 Like

Well smart people I am stuck. Nothing changed on my end about htis stuff last night. You all saw me making changes that last one before I left last night failed to build and now I can;t figure out why. Update build.yml by V1EngineeringInc · Pull Request #553 · V1EngineeringInc/V1EngineeringInc-Docs · GitHub

My google fu says the new ubuntu needs this stuff to be in a virtual environment, that all seems to work mkdocs seems to be there but the build part is not working. Maybe I need to point the last line to the right folder or something??

1 Like

I saw you make changes last night, but all of your pull requests are still open.

Did you intend to merge those in?

ah…nvmd, I see you got to those now :slight_smile:

Seemed to work fine until you told it how to find your DeWalt tool mount…

I’ve had this error previously (can’t remember where…)

Run python -m pip install --upgrade pip
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

My solution at the time, was to follow this from this StackOverflow answer:

use pip 's argument --break-system-packages

otherwise, you need a virtual environment I believe

2 Likes

Why are you trying to update the build.yml file?

Run py -m mkdocs build --clean --strict
  py -m mkdocs build --clean --strict
  shell: /usr/bin/bash -e {0}
/home/runner/work/_temp/68ee3716-221d-4012-91bd-191ecc8388b4.sh: line 1: py: command not found
Error: Process completed with exit code 127.

py: command not found

Should this be python not py?

1 Like

I think he’s trying to fix the error that started from add dewalt link · V1EngineeringInc/V1EngineeringInc-Docs@d347bd6 · GitHub

1 Like

@vicious1

Looks like there was a backend patch applied, or some change.

Your last successful run was on

Current runner version: '2.320.0'
Operating System
  Ubuntu
  22.04.5
  LTS

You first failure says

Current runner version: '2.320.0'
Operating System
  Ubuntu
  24.04.1
  LTS

Likely you may have moved to anew Python version or something like that…I feel like this might be where I ran into it before, but I’m no Python/Linux expert…or maybe it was an OS patch…can’t remember

anyway, here’s the options…

1 Like

Nice Mike, I was about to post something similar.

You can be explicit about the version of Python you use

with the action they have in the example for mkdocs.
actions/setup-python@v5

I’m not sure all the implications though, and what else this could break

Your other option might be to figure out how to specify this:

back to ubuntu 22.04.5

2 Likes

Anonouncement here:

"
Breaking changes
Ubuntu 24.04 is ready to be the default version for the “ubuntu-latest” label in GitHub Actions and Azure DevOps.

Target date
This change will be rolled out over a period of several weeks beginning in September 25th, 2024. We plan to complete the migration by October 30th , 2024.

The motivation for the changes
GitHub Actions and Azure DevOps have supported Ubuntu 24.04 in preview mode since May 2024, and starting from July 2024 Ubuntu 24.04 is generally available for all customers. We have monitored customer feedback to improve the Ubuntu 24.04 image stability and now we are ready to set it as the latest.

"

1 Like

@vicious1 Looks like the correct syntax is to change ubuntu-latest to ubuntu-22.04

Source: runner-images/README.md at main · actions/runner-images · GitHub

4 Likes

Thank you!

funny the dang thing rolls out right in teh middle of getting stuff done, all the actions expired for teh marlin builder last night as well. When it rains it pours.

3 Likes

That worked thank you. Luckily it did I merged it instead for a pull request by accident!

2 Likes

Hey @vicious1, @jamiek, just noticed we could easily add a link to LR4 Calc that opens Jamie’s Strut generator with width (and other params) already populated, for example…

https://vector76.github.io/Web_OpenSCAD_Customizer/strut_plate.html?strut_length=828

6 Likes

Fancy Schmancy… :tada:

3 Likes

Hey @orob, Ryan merged pull request 550. I can’t repro the issue above, is it fixed for you too?

There’s still other rounding/conversion issues, which someone/we’ll get to.

2 Likes

Okay so it looks like metric an imperial work now, right?

I changed inches to round to the nearest 1/8" if you want more precision use metric? Or should I do 1/32nd?

2 Likes