Giter Club home page Giter Club logo

Comments (13)

yashi avatar yashi commented on July 21, 2024 1

Just adding a confirmation that Debian version of python3 3.11.1-3 is also affected. Using 3.10.9-1 works fine.

from colcon-core.

yashi avatar yashi commented on July 21, 2024 1

And on Debian python3.11 3.11.2-2 fixed the issue. (3.11.2-1 had an issue)

from colcon-core.

cottsay avatar cottsay commented on July 21, 2024

I recall having similar issues a few years ago, and the problem was related to parsing elaborate environment variables. Could you please dump your environment (using env) and either post it here or send it to me? Be sure to sanitize any sensitive information before sharing it.

from colcon-core.

notalltim avatar notalltim commented on July 21, 2024

env.txt
env_kitty.txt
Here you go

from colcon-core.

cottsay avatar cottsay commented on July 21, 2024

Shoot, I'm not seeing any problems. I've updated my Fedora 37 machine as well, and I still can't reproduce this behavior.

Can you try posting your command environment script files from build/ament_package/colcon_command_prefix_*?

from colcon-core.

notalltim avatar notalltim commented on July 21, 2024
# generated from colcon_core/shell/template/command_prefix.sh.em

does not generate anything but the comment

from colcon-core.

notalltim avatar notalltim commented on July 21, 2024

weirdly ament_pycodestlye did generate a colcon_command_prefix_setup_py.sh.env here it is

CHROME_DESKTOP=code-url-handler.desktop
COLCON=1
COLORTERM=truecolor
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=gnome
DISPLAY=:0
EDITOR=/usr/bin/nano
GDK_BACKEND=x11
GDMSESSION=gnome
GDM_LANG=en_US.UTF-8
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/code.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=5768
GIT_ASKPASS=/usr/share/code/resources/app/extensions/git/dist/askpass.sh
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_SETUP_DISPLAY=:1
HOME=/home/tgallion
INVOCATION_ID=c5c9ac6e0ea74d0bb4ebacda0e005884
JOURNAL_STREAM=8:29595
LANG=en_US.UTF-8
LOGNAME=tgallion
MANAGERPID=2250
NO_AT_BRIDGE=1
ORIGINAL_XDG_CURRENT_DESKTOP=GNOME
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/bin
POSH_THEME=/home/tgallion/.poshthemes/star.omp.json
PWD=/home/tgallion/ros2_humble/build/ament_pycodestyle
QT_IM_MODULE=ibus
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2343,unix/unix:/tmp/.ICE-unix/2343
SHELL=/usr/bin/fish
SHLVL=2
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SYSTEMD_EXEC_PID=2394
TERM=xterm-256color
TERM_PROGRAM=vscode
TERM_PROGRAM_VERSION=1.74.2
USER=tgallion
USERNAME=tgallion
VSCODE_GIT_ASKPASS_EXTRA_ARGS=--ms-enable-electron-run-as-node
VSCODE_GIT_ASKPASS_MAIN=/usr/share/code/resources/app/extensions/git/dist/askpass-main.js
VSCODE_GIT_ASKPASS_NODE=/usr/share/code/code
VSCODE_GIT_IPC_HANDLE=/run/user/1000/vscode-git-61af660bed.sock
WAYLAND_DISPLAY=wayland-0
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.WXOHX1
XDG_CURRENT_DESKTOP=GNOME
XDG_DATA_DIRS=/home/tgallion/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/home/tgallion/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/home/tgallion/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/home/tgallion/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=gnome
XDG_SESSION_TYPE=wayland
XMODIFIERS=@im=ibus
_=/usr/bin/env
omp_last_status_generation=3
omp_lastcommand=rm -rf build/ install/ log/

from colcon-core.

notalltim avatar notalltim commented on July 21, 2024

don't know why I did not think to try this earlier but the following works for individual packages and builds fine it just fails when building a set of packages

colcon build --symlink-install --packages-up-to ament_lint --cmake-args -DTHIRDPARTY_Asio=ON --no-warn-unused-cli

from colcon-core.

notalltim avatar notalltim commented on July 21, 2024

using the sequential executor seems to fix it so it seems to be related to parallel builds. Also parallel builds with --parallel-workers 1 seem to work

from colcon-core.

cottsay avatar cottsay commented on July 21, 2024

I was finally able to reproduce this. The regression is caused by python3.11-3.11.1-1.fc37. You can dnf downgrade python3.11 for now as a workaround.

from colcon-core.

cottsay avatar cottsay commented on July 21, 2024

I'm now moderately confident that this is python/cpython#100133. It really doesn't look like there is a trivial workaround, so my advice is to avoid Python 3.11.1. The ticket says that we should expect the fix to be part of 3.11.2.

from colcon-core.

cottsay avatar cottsay commented on July 21, 2024

It looks like Python v3.11.2 was released this week.

from colcon-core.

cottsay avatar cottsay commented on July 21, 2024

This Python regression was fixed a while back and I've heard nothing of re-occurrence, so I'm going to close this. Feel free to reopen if you encounter this again.

from colcon-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.