[gazebo-1] process has died

roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch...
logging to /home/mark/.ros/log/ed3f78ba-447b-11e8-9ffd-d4bed9d3a2e0/roslaunch-mark-7464.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
xacro: Traditional processing is deprecated. Switch to --inorder processing!
To check for compatibility of your document, use option --check-order.
For more infos, see http://wiki.ros.org/xacro#Processing_Order
xacro.py is deprecated; please use xacro instead
started roslaunch server http://<IP_ADDRESS>:40127/
SUMMARY
PARAMETERS

/robot_description: <?xml version="1....
/rosdistro: kinetic
/rosversion: 1.12.12
/use_sim_time: True

NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
spawn_urdf (gazebo_ros/spawn_model)
ROS_MASTER_URI=http://<IP_ADDRESS>:11311
process[gazebo-1]: started with pid [7486]
process[gazebo_gui-2]: started with pid [7491]
process[spawn_urdf-3]: started with pid [7496]
[gazebo-1] process has died [pid 7486, exit code 255, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode /home/mark/catkin_ws/src/turtlebot3_simulations/turtlebot3_gazebo/worlds/empty.world __name:=gazebo __log:=/home/mark/.ros/log/ed3f78ba-447b-11e8-9ffd-d4bed9d3a2e0/gazebo-1.log].
log file: /home/mark/.ros/log/ed3f78ba-447b-11e8-9ffd-d4bed9d3a2e0/gazebo-1.log*
[gazebo_gui-2] process has finished cleanly
log file: /home/mark/.ros/log/ed3f78ba-447b-11e8-9ffd-d4bed9d3a2e0/gazebo_gui-2*.log
^C[spawn_urdf-3] killing on exit
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/gazebo_ros/spawn_model", line 313, in
sm.callSpawnService()
File "/opt/ros/kinetic/lib/gazebo_ros/spawn_model", line 271, in callSpawnService
initial_pose, self.reference_frame, self.gazebo_namespace)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/gazebo_ros/gazebo_interface.py", line 28, in spawn_urdf_model_client
rospy.wait_for_service(gazebo_namespace+'/spawn_urdf_model')
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 159, in wait_for_service
raise ROSInterruptException("rospy shutdown")
rospy.exceptions.ROSInterruptException: rospy shutdown
shutting down processing monitor...
... shutting down processing monitor complete
done
How can I solve this problem？

Hi :)
Thank you for your inquiry.
Would you tell me your development environments such as OS, PC, graphic driver?
It will be more help me to comment your issue.

OS: Ubuntu16.04LTS
ros: kinetic
graphic driver :NVIDIA GT530

Thanks a lot your kind comment. I attached additional questions below.

Could you open gazebo standalone?
$ gazebo

Did you install gazebo-ros package?
$ sudo apt-get install ros-kinetic-gazebo-ros

Have you downloaded turtlebot3 meta package? and catkin_make it? It is necessary to execute turtlebot3_simulation.
$ git clone https://github.com/ROBOTIS-GIT/turtlebot3

yeah I can run gazebo and insert turtlemodel by myself , and I have run teleop in rviz and control the bot moving.

I have restart my computer ,and it just turns out right .
Don't know why , is it possible a RAM problem?

Because i don't have all information about your PC, I can't figure it out in your case.
But,in my experiences, after update or upgrade Ubuntu, it needs to reboot PC.
If you have any other questions, please feel comfortable to open issue.
Thanks

Thank you for your help :grinning:

Same issue roslaunch turtlebot3_gazebo turtlebot3_house.launch
... logging to /home/todd/.ros/log/5da6bf72-ed0a-11e9-a84d-e0d55ea7841f/roslaunch-avdev-17564.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
xacro: in-order processing became default in ROS Melodic. You can drop the option.
started roslaunch server http://avdev:33575/
SUMMARY
PARAMETERS

/gazebo/enable_ros_network: True
/robot_description: <?xml version="1....
/rosdistro: melodic
/rosversion: 1.14.3
/use_sim_time: True

NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
spawn_urdf (gazebo_ros/spawn_model)
ROS_MASTER_URI=http://localhost:11311
process[gazebo-1]: started with pid [17582]
process[gazebo_gui-2]: started with pid [17587]
process[spawn_urdf-3]: started with pid [17592]
[ INFO] [1570898050.832474907]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1570898050.833518520]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[gazebo-1] process has died [pid 17582, exit code 255, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /home/todd/catkin_ws/src/turtlebot3_simulations/turtlebot3_gazebo/worlds/turtlebot3_house.world __name:=gazebo __log:=/home/todd/.ros/log/5da6bf72-ed0a-11e9-a84d-e0d55ea7841f/gazebo-1.log].
log file: /home/todd/.ros/log/5da6bf72-ed0a-11e9-a84d-e0d55ea7841f/gazebo-1*.log
[Err] [REST.cc:205] Error in REST request
libcurl: (51) SSL: no alternative certificate subject name matches target host name 'api.ignitionfuel.org'
Running
OS: Ubuntu18
ros: Melodic
Can not use $gazebo to launch.
but
roslaunch turtlebot3_gazebo turtlebot3_house.launch
launches gazebo but no turtle bot

@TNAV1
Would you test below ?
$ export GAZEBO_PLUGIN_PATH=$GAZEBO_PLUGIN_PATH:${turtlebot3_gazebo_plugin path}/build
$ export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:${turtlebot3_gazebo_model path}/models
${turtlebot3_gazebo_plugin_path} should be the actual path to the plugin and model folders, such as $HOME/catkin_ws/src/turtlebot3_simulations/turtlebot3_gazebo
Test above and let me know if it still doesn't work,
Ryan

@rjshim
Thanks this worked and RVIZ now shows Turtlebot!

@TNAV1
Write at the bottom of ~/.bashrc file, then you won't need to type them every time.
I will close this issue.
Ryan

Any suggestions for how to get
$ roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch
to work so that I can control Waffle with the keyboard?  Does it need similar path definitions?

@TNAV1
You won't need to do extra work to use it. Just follow our eManual about teleop and let me know if it doesn't work.

Following the directions at 8.2.1
http://emanual.robotis.com/docs/en/platform/turtlebot3/teleoperation/#ps3-joystick
Works!: The problem was that I was in RViz not the terminal window when trying to control waffle.

@TNAV1
Great. Let us know if you have any other questions. Ryan

i have a problem.can you help me?[ERROR] [1571900114.497066179]: An exception was thrown: open: No such file or directory
[turtlebot3_lds-2] process has died [pid 4269, exit code 255, cmd /home/pi/catkin_ws/devel/lib/hls_lfcd_lds_driver/hlds_laser_publisher __name:=turtlebot3_lds __log:=/home/pi/.ros/log/a1568d96-f62a-11e9-a737-b827eb2c7ad7/turtlebot3_lds-2.log].
log file: /home/pi/.ros/log/a1568d96-f62a-11e9-a737-b827eb2c7ad7/turtlebot3_lds-2*.log

funny002@funny002-VirtualBox:~/catkin_ws$ roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch
... logging to /home/funny002/.ros/log/fe7bdfd8-8a2d-11eb-874f-080027d2acdd/roslaunch-funny002-VirtualBox-9559.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://localhost:35729/
SUMMARY
PARAMETERS

/robot_description: <?xml version="1....
/rosdistro: kinetic
/rosversion: 1.12.17
/use_sim_time: True

NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
spawn_urdf (gazebo_ros/spawn_model)
ROS_MASTER_URI=http://localhost:11311
process[gazebo-1]: started with pid [9579]
process[gazebo_gui-2]: started with pid [9582]
process[spawn_urdf-3]: started with pid [9588]
[ INFO] [1616322904.723671498]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1616322904.725531323]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1616322904.750762682]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1616322904.755656333]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[ INFO] [1616322905.503774204]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1616322905.514152610]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1616322905.653661615]: Physics dynamic reconfigure ready.
[ INFO] [1616322906.044021909, 0.026000000]: Camera Plugin: Using the 'robotNamespace' param: '/'
[ INFO] [1616322906.054625434, 0.026000000]: Camera Plugin (ns = /)  <tf_prefix_>, set to ""
[ INFO] [1616322906.398555457, 0.026000000]: Laser Plugin: Using the 'robotNamespace' param: '/'
[ INFO] [1616322906.399030887, 0.026000000]: Starting Laser Plugin (ns = /)
[ INFO] [1616322906.406030504, 0.026000000]: Laser Plugin (ns = /)  <tf_prefix_>, set to ""
[ INFO] [1616322906.425332911, 0.026000000]: Physics dynamic reconfigure ready.
[ INFO] [1616322906.505513897, 0.026000000]: Starting plugin DiffDrive(ns = //)
[ INFO] [1616322906.505688680, 0.026000000]: DiffDrive(ns = //):  = na
[ INFO] [1616322906.507377393, 0.026000000]: DiffDrive(ns = //): <tf_prefix> =
[ INFO] [1616322906.510159360, 0.026000000]: DiffDrive(ns = //): Advertise joint_states
[ INFO] [1616322906.511209749, 0.026000000]: DiffDrive(ns = //): Try to subscribe to cmd_vel
[ INFO] [1616322906.516450936, 0.026000000]: DiffDrive(ns = //): Subscribe to cmd_vel
[ INFO] [1616322906.519370599, 0.026000000]: DiffDrive(ns = //): Advertise odom on odom
Segmentation fault (core dumped)
[gazebo-1] process has died [pid 9579, exit code 139, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode /home/funny002/catkin_ws/src/turtlebot3_simulations/turtlebot3_gazebo/worlds/empty.world __name:=gazebo __log:=/home/funny002/.ros/log/fe7bdfd8-8a2d-11eb-874f-080027d2acdd/gazebo-1.log].
log file: /home/funny002/.ros/log/fe7bdfd8-8a2d-11eb-874f-080027d2acdd/gazebo-1*.log
[spawn_urdf-3] process has finished cleanly
log file: /home/funny002/.ros/log/fe7bdfd8-8a2d-11eb-874f-080027d2acdd/spawn_urdf-3*.log
I am a ROS newbie.  trying to open a gazebo with any turtlebot and empty map. However, i only success to launch gazebo only. Can someone help me?
I am using windows 10  vbox OS-ubuntu 16.04 - 4 processor  128mb video memory Enable 3D Acceleration. Graphic Card: NVIDIA GeForce GTX 1050 Ti

@tasashi0805
Hi, thank you for your inquiry.
Please submit a new ticket as your issue seem to be irrelevant to the original one.


Current image representation uses more space than neccesary

The current image representation doesn't account for the fact that CBQN doesn't store arrays as unsigned int, it stores them as signed, so the current representations use 2x more space than anticipated.
but also, it isn't perfect anyways since if you have a format that conserves 1 bit for alpha and 8 for red then the alpha will still use 8 bits.
A simple solution that i will implement is to just always use binary arrays and have a converter to floats and back for when you want to operate on the image representations...
I don't like how this overcomplicates it though, i wish there was a way to store RGBA seperated neatly

my plan from a year ago isn't great. I'll think of something better.


Access "currentTarget" from events

I have a form with multiple multiselect backed by the same JS ViewModel.
When the @Close event triggers, I have no idea which one triggered it.
I've already read #458 and I understand that's a solution, but it doesn't look really smart.
I believe it would be much better to just have $event as a parameter to that we can write our callback function like this:
onClose: function (value, id, event) {
      // Access your HTML element via event.currentTarget
      // If you included jQuery, you can do: $(event.currentTarget)
    }

Of course this would be great also for all the other events!

Although I still suggest using the ID for picking up which dropdown emitted the event I do understand that sometimes the actual DOM event might be useful.
Will consider that in the near future. Thanks! :)


Fix for FAILED TO SEND AUTHENTICATION TO SERVER, no mechanism available error

The current version of libmemcached has a bug that results in the following pylibmc error:
MemcachedError: error 40 from memcached_get: FAILED TO SEND AUTHENTICATION TO SERVER, no mechanism available -> libmemcached/sasl.cc:238

which affects quite a lot of people, many of whom switch to python-binary-memcached.
Now this is a libmemcached problem. Unfortunately, libmemcached does not seem to be maintained any longer. For this reason I forked the libmemcached library here, fixed this bug, and added instructions on how to make sure pylibmc uses the fixed library. It is however unlikely that the fixed libmemcached will make into Ubuntu any time soon.
This is where pylibmc comes in. I noticed that as of 1.6.0 you ship a wheel file that contains libmemcached.so. Is it possible to release future versions of pylibmc with the patched libmemcached.so?

Hey, sorry for the late reply!
Heroku managed to get Canonical to fix the bug, so the latest version of libmemcached (1.0.18-4) is now fixed and available in Ubuntu's repositories. Could you release an updated version that contains the fixed libmemached? Thanks a lot!

@lericson is there anything blocking repackaging version 1.6.0 or releasing a newly packaged 1.6.1?

I’m pretty sure PyPI doesn’t allow replacing released files

Ok, then I guess it will have to be a version bump. Do you want a PR for a version bump?

@lericson Any update on this? It would be nice to have a pylibmc release with a libmemcached version that actually works for everybody.

So wait, sorry for coming back to this late, but libmemcached is basically abandoned?

By the way, your homemade "release" is not properly done. It needs to be autotoolized. I have painstakingly done this on the manywheel build now.

libmemcached has no active development but it is maintained by Canonical (the makers of Ubuntu). They fixed the bug and released version 1.0.18-4 at the request of Heroku, which has a lot of customers using pylibmc.
My homemade "release"? I don't have one. I have been using pylibmc 1.5.2 with the Ubuntu shipped libmemcached until now.

This https://github.com/memcachier/libmemcached/releases

Ah, sorry, this repo does not work and is archived. I tried that bug fix before Canonical fixed it upstream and released it for all the Ubuntu versions. So the fixed libmemcached now ships with Ubuntu.

Yeah I got that, the problem is that to fix this for manylinux, I need to build the fixed version. It's turning out to be a lot more difficult than I'd like.

... build on CentOS in Docker, that is. Like building legos with five foot pincers.

I am sorry, I don't know much about that. I assumed you would just do the same you did to build the 1.6.0 wheel with this new release. How is it different to build 1.0.18-4 in comparison to 1.0.18-3?

1.0.18 is an actual release and so has ben libtoolized properly. I’m actually not sure what changed, right now it’s failing to run bison on libmemcached/csl/scanner.l.

On 15 Aug 2019, at 15:06, Sascha<EMAIL_ADDRESS>wrote:
I am sorry, I don't know much about that. I assumed you would just do the same you did to build the 1.6.0 wheel with this new release. How is it different to build 1.0.18-4 in comparison to 1.0.18-3?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/lericson/pylibmc/issues/246?email_source=notifications&email_token=AAALONO4BX4PFMJIJMQHXM3QEVIEPA5CNFSM4GLKZQUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4LX7HI#issuecomment-521633693, or mute the thread https://github.com/notifications/unsubscribe-auth/AAALONKAAHMKHN4C3455YP3QEVIEPANCNFSM4GLKZQUA.

This is now fixed, thanks for your time!

Thanks a ton!

i got this error with pylibmc==1.6.1
pylibmc.Error: error 40 from memcached_set: (0x9fb000) FAILED TO SEND AUTHENTICATION TO SERVER, no mechanism available,  host: <IP_ADDRESS>:11211 -> libmemcached/sasl.cc:239

i got this error with pylibmc==1.6.1
pylibmc.Error: error 40 from memcached_set: (0x9fb000) FAILED TO SEND AUTHENTICATION TO SERVER, no mechanism available, host: <IP_ADDRESS>:11211 -> libmemcached/sasl.cc:239

I also have the error with 1.6.1, switching back to 1.5.2 solved it for me now...

If you're still experiencing this issue, try installing pylibmc without the binary:
pip install pylibmc==1.6.1 --no-binary=:all:
It will build pylibmc with the libmemcached version you have installed instead (make sure it's 1.0.18-4 with dpkg -l | grep libmemcached-dev).


[InvalidArgumentException] Unknown formatter "jobTitle"

I'm getting an unknown formatter issue when calling Faker\Factory::create('en_GB')->jobTitle, despite all my other formatters on the same instance of the factory working fine.
UPDATE: By the way, I'm running it under Laravel 5.1 with PHP 7.

Are you using the latest version? It's only available on master, not
v1.5.0.
On Mon, Apr 4, 2016, 16:37 beningreenjam<EMAIL_ADDRESS>wrote:

I'm getting an unknown formatter issue when calling
Faker\Factory::create('en_GB')->jobTitle, despite all my other formatters
on the same instance of the factory working fine.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/fzaninotto/Faker/issues/873

The same issue with Faker\Factory::create('pl_PL')->vat and Faker\Factory::create('pl_PL')->secondaryAddress.
Occurs on 1.4 and 1.5.

Ah yes, v1.5.
That'll be why then.

OK, closing the issue then.


"Commit" and "Help" keymaps show as <unmapped> in the hint bar

Description
Seems to be a part of #914 that was missed: "commit" and "help" show as <unmapped> in the hint bar.
Neovim version
NVIM v0.10.0-dev-1742+g17f3a3ae31
Build type: RelWithDebInfo
LuaJIT 2.1.1700008891
(The issue is also present when using the latest Neovim stable release, i.e. v0.9.4)
Operating system and version
Arch Linux
Steps to reproduce
I don't use any custom Neogit keymaps, and I have not disabled the hint bar, so I assume this happens to anyone that does the same. So in this case, to reproduce, simply open Neogit when in a Git repo, and observe the "Hint:" bar.
Otherwise, using the minimal config:

Download minimal.lua to a temporary directory
git init inside that directory
Run nvim --clean -nu minimal.lua
Open Neogit (:Neogit), and observe the "Hint:" bar.

Expected behavior
The hint bar should show the correct keymaps for "commit" and "help, i.e. "c" and "?" respectively.
Actual behavior
The --clean makes it look terrible, but the issue is clear:

Minimal config
-- I did not need to make any changes to this file.

-- NOTE: See the end of this file if you are reporting an issue, etc. Ignore all the "scary" functions up top, those are
-- used for setup and other operations.
local M = {}

local base_root_path = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h") .. "/.min"
function M.root(path)
  return base_root_path .. "/" .. (path or "")
end

function M.load_plugin(plugin_name, plugin_url)
  local package_root = M.root("plugins/")
  local install_destination = package_root .. plugin_name
  vim.opt.runtimepath:append(install_destination)

  if not vim.loop.fs_stat(package_root) then
    vim.fn.mkdir(package_root, "p")
  end

  if not vim.loop.fs_stat(install_destination) then
    print(string.format("> Downloading plugin '%s' to '%s'", plugin_name, install_destination))
    vim.fn.system({
      "git",
      "clone",
      "--depth=1",
      plugin_url,
      install_destination,
    })
    if vim.v.shell_error > 0 then
      error(string.format("> Failed to clone plugin: '%s' in '%s'!", plugin_name, install_destination),
        vim.log.levels.ERROR)
    end
  end
end

---@alias PluginName string The plugin name, will be used as part of the git clone destination
---@alias PluginUrl string The git url at which a plugin is located, can be a path. See https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols for details
---@alias MinPlugins table<PluginName, PluginUrl>

---Do the initial setup. Downloads plugins, ensures the minimal init does not pollute the filesystem by keeping
---everything self contained to the CWD of the minimal init file. Run prior to running tests, reproducing issues, etc.
---@param plugins? table<PluginName, PluginUrl>
function M.setup(plugins)
  vim.opt.packpath = {}                      -- Empty the package path so we use only the plugins specified
  vim.opt.runtimepath:append(M.root(".min")) -- Ensure the runtime detects the root min dir

  -- Install required plugins
  if plugins ~= nil then
    for plugin_name, plugin_url in pairs(plugins) do
      M.load_plugin(plugin_name, plugin_url)
    end
  end

  vim.env.XDG_CONFIG_HOME = M.root("xdg/config")
  vim.env.XDG_DATA_HOME = M.root("xdg/data")
  vim.env.XDG_STATE_HOME = M.root("xdg/state")
  vim.env.XDG_CACHE_HOME = M.root("xdg/cache")

  -- NOTE: Cleanup the xdg cache on exit so new runs of the minimal init doesn't share any previous state, e.g. shada
  vim.api.nvim_create_autocmd("VimLeave", {
    callback = function()
      vim.fn.system({
        "rm",
        "-r",
        "-f",
        M.root("xdg")
      })
    end
  })
end

-- NOTE: If you have additional plugins you need to install to reproduce your issue, include them in the plugins
-- table within the setup call below.
M.setup({
  plenary = "https://github.com/nvim-lua/plenary.nvim.git",
  telescope = "https://github.com/nvim-telescope/telescope.nvim",
  diffview = "https://github.com/sindrets/diffview.nvim",
  neogit = "https://github.com/NeogitOrg/neogit"
})
-- WARN: Do all plugin setup, test runs, reproductions, etc. AFTER calling setup with a list of plugins!
-- Basically, do all that stuff AFTER this line.
require("neogit").setup({}) -- For instance, setup Neogit

Also sidenote, I had to run with --clean otherwise I got errors on startup, coming from some plugin config scripts I have in ~/.config/nvim/after. The provided minimal.lua doesn't appear to be preventing those from running.

Thanks for the report :)


Missing Celery Install

Firstly, thanks for doing this. I think it's a cool thing to have.
I did a fresh install on a new app, but noticed the following error:
2021-04-15T19:24:14.440303+00:00 heroku[web.1]: Starting process with command `flower --port=6172`
2021-04-15T19:24:17.572890+00:00 app[web.1]: Traceback (most recent call last):
2021-04-15T19:24:17.572915+00:00 app[web.1]: File "/app/.heroku/python/bin/flower", line 5, in <module>
2021-04-15T19:24:17.573152+00:00 app[web.1]: from flower.__main__ import main
2021-04-15T19:24:17.573182+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flower/__main__.py", line 4, in <module>
2021-04-15T19:24:17.573496+00:00 app[web.1]: from flower.command import FlowerCommand
2021-04-15T19:24:17.573525+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flower/command.py", line 17, in <module>
2021-04-15T19:24:17.573872+00:00 app[web.1]: from celery.bin.base import Command
2021-04-15T19:24:17.574033+00:00 app[web.1]: ImportError: cannot import name 'Command' from 'celery.bin.base' (/app/.heroku/python/lib/python3.9/site-packages/celery/bin/base.py)
2021-04-15T19:24:17.662565+00:00 heroku[web.1]: Process exited with status 1
2021-04-15T19:24:17.789032+00:00 heroku[web.1]: State changed from starting to crashed

I'm pretty sure that celery needs to be in requirements.txt?

Thanks for letting me know. 😄


Update entrypoint.py

tested with self hosted runner and with github runners, works.
see: https://github.com/openapi-generators/openapitools-generator-action/issues/21
related: https://github.com/actions/runner/issues/2411

Awesome, thanks for fixing this!


chore: Add Conventional Commits

Proposed Changes

Add Conventional Commits

LGTM.
However you might want to enforce it?
https://gist.github.com/qoomon/5dfcdf8eec66a051ecd85625518cfd13

Just to provide some feedback, I'm testing this action to be implemented: https://github.com/marketplace/actions/semantic-pull-request
That might help even further with the PR's


parser.results is an empty list

When I feed my parser a valid statement it does not fail but it also doesn't put the results in parser.results.
I looked through nearly.js and the problem seems to be that it cant find data with t.rule.name that matches start in the Parser.prototype.finish function. Somewhere along the way its not finishing all the postprocessing would be my best guess.
I've been using the latest version of nearly plus nearly-moo and moo for tokenizing.
Attached are the files I've been working with.
grammar.zip
Interestingly enough if you remove simple_block_one_line from grammar.ne and redirect main to something else the grammar should work.
On another note there have been cases where my parser refuses to run particular postprocessing funcs.
If you add a func to defname in grammar.ne it shouldn't run. Maybe the two problems are related.

If results is empty, that’s not a bug in Nearley—it means it couldn’t parse your input! Check your grammar and your input: you’ll have a mistake somewhere. :-)

As far as I can tell my program returns an empty list when the parser is fed a newline character at the end of a string.
Is this a bug that's going to be addressed or should I get used to dropping any trailing newline characters? Are there any other states that you know of that will return an empty list instead of a syntax error?

Again, this is not a bug. parser.results will be empty if there's no way to parse the text, with or without syntax errors. That usually means an unexpected end of input.
Do you think this should lead to an exception? I'm not sure.
I see a couple sneaky issues in the grammar you provided:

varname -> ... | ... {% %} - the postprocessor here only works when the option on the right of | is matched. This allows to specify different postprocessors for different variations of the same thing. To apply the same postprocessor, wrap the whole thing in (... | ...) and then do d = d[0] or something like that to unwrap.
 I'm not sure why is that. If you feed sigh\n\n everything works. Additionally, rule simple_block_one_line has a required newline at the end. Therefore, with a single \n the simple_block_one_line rule doesn't apply and there's no other way to parse the input. But there's no syntax error, it's just that no rules match the input.

Thanks for providing the example! I wish everyone would do that.

Wanted to second this. I agree with Tim and @deltaidea that it's not quite a nearley bug, but nevertheless thanks for providing enough details for us to take a look. :-)
By the way, postprocessor issues are usually unrelated to does-it-parse issues, unless you are using the reject feature.

I'll open a PR and work on the docs for a bit.

If you're working on the docs, you might want to start by documenting lexers! See #248 and Tim's work there for a starting point.

Thanks for the help.
I think I saw the multiple post processing funcs attached to one statement then subsequently forgot about it. Maybe if this was a documented feature on the front page or more examples used it I wouldn't have made this mistake.
I will definitely take another look at my custom tokenizer to see if any strangeness is going on.

I'm going to close this for now. Let us know if you have any other issues! :-)


Added support for configurable java action method name

Fixed issue https://github.com/apache/incubator-openwhisk/issues/2590 by doing:
Implement support for fully qualified method names
Added test cases for fully qualified method names
Improved documentation on Java based actions

@misl FYI

Carlos I would merge this from the command line.


Add New Language: Visual J++

Description
Provide a description of the programming language.

Hi, Can you please assign this to me?

@ericspring08 Done


Sudden "failed to resolve pypi dependencies" on WSL2

Checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example
https://github.com/nerfstudio-project/nerfstudio/blob/main/pixi.toml
The specific WSL2 instructions: https://gist.github.com/SharkWipf/0a3fc1be3ea88b0c9640db6ce15b44b9
Issue description
As of presumably the latest version(s), and specifically (so far) only under WSL2, Pixi fails to resolve pypi dependencies.
This issue has been noted by several people trying to install Nerfstudio under WSL2 via Pixi the past ~day, while it was fine previously.
~/src/nerfstudio$ pixi run -v --color never post-install | cat -
 INFO pixi::environment: verifying prefix location is unchanged, with prefix file: /home/user/src/nerfstudio/.pixi/envs/default/conda-meta/pixi_env_prefix
 INFO pixi::lock_file::outdated: the pypi dependencies of environment 'default' for platform linux-64 are out of date because source tree hash for nerfstudio does not match the hash in the lock-file
 INFO pixi::lock_file::resolve::uv_resolution_context: uv keyring provider is disabled
 INFO pixi::environment: Creating prefix file at: /home/user/src/nerfstudio/.pixi/envs/default/conda-meta/pixi_env_prefix
 INFO pixi::environment: No update needed for the prefix file.
 INFO pixi::environment: Checking if history file exists: /home/user/src/nerfstudio/.pixi/envs/default/conda-meta/history
 INFO pixi::lock_file::update: updated conda packages in the 'default' prefix in 89ms 803us 2ns
 INFO resolve_pypi{group=default platform=linux-64}: pixi::lock_file::resolve::pypi: the following python packages are assumed to be installed by conda: wheel 0.43.0, networkx 3.3, brotli 1.1.0, pysocks 1.7.1, torch 2.2.2, certifi 2024.2.2, pip 24.0, setuptools 69.5.1, mpmath 1.3.0, sympy 1.12, idna 3.7, pyarrow 15.0.2, urllib3 2.2.1, charset-normalizer 3.3.2, jinja2 3.1.4, gmpy2 2.1.5, pillow 10.3.0, numpy 1.26.4, pyyaml 6.0.1, requests 2.31.0, markupsafe 2.1.5, torchvision 0.17.2, filelock 3.14.0, typing-extensions 4.11.0
  ⠙ default:linux-64     [00:00:00] resolving fire==0.6.0                                       × failed to solve the pypi requirements of 'default' 'linux-64'
  ├─▶ failed to resolve pypi dependencies
  ├─▶ Failed to download and build fire==0.6.0
  ├─▶ Failed to build: fire==0.6.0
  ├─▶ Failed to install requirements from build-system.requires (install)
  ├─▶ Failed to prepare distributions
  ├─▶ Failed to fetch wheel: setuptools==69.5.1
  ├─▶ Failed to extract archive
  ╰─▶ Unsupported archive type: setuptools

Both the ~/.pixi folder and the git repo with the pixi.toml file exist on the native Linux filesystem, not on the mapped Windows filesystem, so that shouldn't be the issue.
Removing the ~/.pixi and ~/src/nerfstudio/.pixi folders and starting fresh did not help.
(Edit: Installing via pip or conda directly does not have this issue, it's seems to be specific to Pixi specifically)
Note: I have not yet reproduced this myself yet as I am not near my WSL2 machine, but since multiple users have reported it I figured it was worth opening an issue over now.
I will hopefully be reproducing and debugging the issue myself somewhere in the coming week. I should also be able to test any suggestions then.
Expected behavior
(Same freshly installed Pixi and Nerfstudio version, on native Alma 9 instead of WSL2)
(0) sebastiaan@almavm:~/src/nerfstudio $ pixi run post-install
✨ Pixi task (make-third_party-dir): ls third_party || mkdir third_party
Hierarchical-Localization

✨ Pixi task (clone-hloc): ls Hierarchical-Localization || git clone --recursive https://github.com/cvg/Hierarchical-Localization/
Dockerfile  LICENSE  README.md  datasets  demo.ipynb  doc  hloc  hloc.egg-info  pairs  pipeline_Aachen.ipynb  pipeline_InLoc.ipynb  pipeline_SfM.ipynb  requirements.txt  setup.py  third_party

✨ Pixi task (hloc-install): python -m pip install -e .
Obtaining file:///home/sebastiaan/src/nerfstudio/third_party/Hierarchical-Localization
  Preparing metadata (setup.py) ... done
Collecting lightglue@ git+https://github.com/cvg/LightGlue (from hloc==1.5)

Just wanted to mention I noticed this same error signature with an imageio-ffmpeg pypi dependency in our CI pipeline. For us, however, this is a sporadic failure.
Here is the signature
   INFO resolve_pypi{group=default platform=osx-arm64}:get_or_build_wheel_metadata{dist=imageio-ffmpeg==0.5.1}:build_metadata{dist=imageio-ffmpeg==0.5.1}:setup_build{version_id="imageio-ffmpeg==0.5.1" subdirectory=None}: uv_virtualenv::bare: Ignoring empty directory
   INFO solve:solve_tracked: pubgrub::internal::partial_solution: add_decision: root @ 0a0.dev0
   INFO solve:solve_tracked: pubgrub::internal::partial_solution: add_decision: setuptools @ 71.0.4
    × failed to solve the pypi requirements of 'default' 'osx-arm64'
    ├─▶ Failed to build: `imageio-ffmpeg==0.5.1`
    ├─▶ Failed to install requirements from build-system.requires (install)
    ├─▶ Failed to prepare distributions
    ├─▶ Failed to fetch wheel: setuptools==71.0.4
    ├─▶ Failed to extract archive
    ╰─▶ Unsupported archive type: setuptools

As mentioned, it's non-deterministic. When it does pass, it seems to be using the 'cuda' group rather than the 'default' group. Here is an example of the logs from when it passes
   INFO resolve_pypi{group=cuda platform=osx-arm64}:get_or_build_wheel_metadata{dist=imageio-ffmpeg==0.5.1}:build_metadata{dist=imageio-ffmpeg==0.5.1}:setup_build{version_id="imageio-ffmpeg==0.5.1" subdirectory=None}: uv_virtualenv::bare: Ignoring empty directory

Not sure what's going on here.
What seemed to fix this problem for us was to just add imageio-ffmpeg as a dependency rather than using a transitive pypi dependency, but it would still be nice to know what the problem is.
I was not able to reproduce locally on my mac, I just have the github runner logs, but I can share the toml that sporadically fails as well as the toml that seems to be robust:
FAILURE TOML
#:schema https://raw.githubusercontent.com/prefix-dev/pixi/main/schema/schema.json
[project]
name = "research"
channels = ["conda-forge", "pytorch"]
platforms = ["linux-64", "osx-arm64"]

[dependencies]
ax-platform = "=0.3.6"                                        # https://github.com/ray-project/ray/issues/45720
equinox = ">=0.11.4,<0.12"
gymnasium = ">=0.28,<0.29"
jax = ">=0.4.26,<0.5.0"
loguru = ">=0.7.0,<0.8.0"
mlflow-skinny = ">=2.12.1,<2.13"
optax = ">=0.2.2,<0.3"
plum-dispatch = ">=2.4.1,<2.5"
py-spy = ">=0.3.14,<0.4.0"
pygame = ">=2.5,<2.6"
pyright = ">=1.1.358,<1.2"
pytest = ">=8.0,<9.0"
pytest-cov = ">=5.0.0,<5.1"
pytest-skip-slow = ">=0.0.5,<0.1"
pytorch = { version = ">=2.3.0,<2.4.0", channel = "pytorch" }
ray-client = ">=2.31,<2.32"
ray-default = ">=2.31,<2.32"                                  # Needed to run ray server on cluster
ray-tune = ">=2.31,<2.32"
tqdm = ">=4.66.2,<4.67"
jax-dataclasses = ">=1.6.1,<1.7"

[feature.cuda]
# CUDA not really supported on osx-arm64 but we have to pretend
# so that Pixi can install things correctly.
platforms = ["linux-64", "osx-arm64"]
channels = ["nvidia"]
system-requirements = { cuda = "12" }

[feature.cuda.target.linux-64.dependencies]
# jaxlib requires a newer version than what is available in nvidia channel
cudnn = { version = "*", channel = "conda-forge" }
jaxlib = { version = ">=0.4.23,<0.5.0", build = "*cuda12*" }
pytorch-cuda = { version = "=12.1", channel = "pytorch" }

[feature.cuda.target.osx-arm64.dependencies]
jaxlib = ">=0.4.23,<0.5.0"

[host-dependencies]
python = ">=3.11,<3.12"

[pypi-dependencies]
craftax = "==1.4.1"
crafter = "~=1.8.3"
research = { path = "./", editable = true }
gymnax = "==0.0.8"
minigrid = "~=2.3.1"
xminigrid = ">=0.7,<0.8"
rlax = ">=0.1.6,<0.1.7"
flashbax = ">=0.1.2,<0.1.3"

[environments]
cuda = ["cuda"]

PASSING TOML
#:schema https://raw.githubusercontent.com/prefix-dev/pixi/main/schema/schema.json
[project]
name = "research"
channels = ["conda-forge", "pytorch"]
platforms = ["linux-64", "osx-arm64"]

[dependencies]
ax-platform = "=0.3.6"                                        # https://github.com/ray-project/ray/issues/45720
equinox = ">=0.11.4,<0.12"
gymnasium = ">=0.28,<0.29"
imageio-ffmpeg = ">=0.5.1,<0.6"
jax = ">=0.4.26,<0.5.0"
jax-dataclasses = ">=1.6.1,<1.7"
loguru = ">=0.7.0,<0.8.0"
mlflow-skinny = ">=2.12.1,<2.13"
optax = ">=0.2.2,<0.3"
plum-dispatch = ">=2.4.1,<2.5"
py-spy = ">=0.3.14,<0.4.0"
pygame = ">=2.5,<2.6"
pyright = ">=1.1.358,<1.2"
pytest = ">=8.0,<9.0"
pytest-cov = ">=5.0.0,<5.1"
pytest-skip-slow = ">=0.0.5,<0.1"
pytorch = { version = ">=2.3.0,<2.4.0", channel = "pytorch" }
ray-client = ">=2.31,<2.32"
ray-default = ">=2.31,<2.32"                                  # Needed to run ray server on cluster
ray-tune = ">=2.31,<2.32"
tqdm = ">=4.66.2,<4.67"

[feature.cuda]
# CUDA not really supported on osx-arm64 but we have to pretend
# so that Pixi can install things correctly.
platforms = ["linux-64", "osx-arm64"]
channels = ["nvidia"]
system-requirements = { cuda = "12" }

[feature.cuda.target.linux-64.dependencies]
# jaxlib requires a newer version than what is available in nvidia channel
cudnn = { version = "*", channel = "conda-forge" }
jaxlib = { version = ">=0.4.23,<0.5.0", build = "*cuda12*" }
pytorch-cuda = { version = "=12.1", channel = "pytorch" }

[feature.cuda.target.osx-arm64.dependencies]
jaxlib = ">=0.4.23,<0.5.0"

[host-dependencies]
python = ">=3.11,<3.12"

[pypi-dependencies]
craftax = "==1.4.1"
crafter = "~=1.8.3"
research = { path = "./", editable = true }
gymnax = "==0.0.8"
minigrid = "~=2.3.1"
xminigrid = ">=0.7,<0.8"
rlax = ">=0.1.6,<0.1.7"
flashbax = ">=0.1.2,<0.1.3"

[environments]
cuda = ["cuda"]

Pinging @tdejager for pypi expertise.

same here - on osx apple silicon https://github.com/prefix-dev/pixi/issues/1686 reproducible for a list of packages

Sorry I briefly looked into this, I think this is happening somewhere in the uv code. I suspect it's getting an archive without extension when building a source dist, but couldn't figure out why.
I'll have a closer look tomorrow, @SharkWipf do you know if the failure are sporadic for you and your users as well?

Due to several unlucky circumstances I haven't gotten around to testing it myself yet, I'll try to get to it soon.
I haven't seen any new reports of the issue, but I also modified the guide to warn of this issue and push for the non-Pixi install method until it's figured out. On top of that, the native Windows Nerfstudio docs got updated to handle more edge cases, so I imagine less people are trying and thus running into the issue atm.

Oh thats too bad, because its a great use-case for pixi I think :) Lets see if we can fix it!

same here - on osx apple silicon #1810 reproducible for a list of packages
even for rather simple dependency graphs:
[dependencies]

python = "3.11"
pip = ">=24.2"

[pypi-dependencies]
dbt-core = "~=1.8.5"

I can't reproduce on apple silicon :(, could you maybe attach the lock file as well?

My current hunch is that both of your enviroments lock setuptools as a conda package, this overrides the uv solve even for the sdist build (it seems, even though it's using a python venv for this). And that this somehow causes issues.

same here - on osx apple silicon #1810 reproducible for a list of packages
even for rather simple dependency graphs:
[dependencies]

python = "3.11"
pip = ">=24.2"

[pypi-dependencies]
dbt-core = "~=1.8.5"

I can't reproduce on apple silicon :(, could you maybe attach the lock file as well?

Very strange - I tried it again today morning - and I can no longer reproduce these problems

Could be a spurious issue with the registry

My current hunch is that both of your enviroments lock setuptools as a conda package, this overrides the uv solve even for the sdist build (it seems, even though it's using a python venv for this). And that this somehow causes issues.

Sounds plausible, we did have to pin setuptools to <70 for a while (maybe still).

The nerfstudio example reproduces on my PopOS linux-64:
nerfstudio on  main is 📦 v1.1.3
❯ pixi i
  ⠴ default:linux-64     [00:00:00] resolving fire==0.6.0                         × failed to solve the pypi requirements of 'default' 'linux-64'
  ├─▶ failed to resolve pypi dependencies
  ├─▶ Failed to download and build `fire==0.6.0`
  ├─▶ Failed to build: `fire==0.6.0`
  ├─▶ Failed to install requirements from build-system.requires (install)
  ├─▶ Failed to prepare distributions
  ├─▶ Failed to fetch wheel: setuptools==69.5.1
  ├─▶ Failed to extract archive
  ╰─▶ Unsupported archive type: setuptools

Yeah we verified this on wsl2 as well, the strange thing being if you add fire directly as a dependency it does seem to work. So the fact that is being installed from an editable, seems to have something to do with it.
Also, I've looked in the uv codebase and can find the error, but not any usage of it.

The issue is coming from this line: https://github.com/astral-sh/uv/blob/0.2.18/crates/uv-extract/src/stream.rs#L261
The archive function is used in multiple places but it's gone in the latest version of uv so I propose to update the uv version and see if that fixes it.

Hi,
I just wanted to confirm that this is not a WSL2 issue, I am getting the same on native Linux Ubuntu 22.04 very consistently. Not intermitently at all, but it is true that the first time I attempted it it failed blaming pycollada==0.8, and the rest (more than ten attempts across several hours) has been fire==0.6.0. Let me know if there's anything specific I can test or help with.
$ PIXI_CACHE_DIR=/<path>/.cache/rattler pixi run post-install
  ⠉ default:linux-64     [00:00:02] resolving fire==0.6.0
  × failed to solve the pypi requirements of 'default' 'linux-64'
  ├─▶ failed to resolve pypi dependencies
  ├─▶ Failed to download and build `fire==0.6.0`
  ├─▶ Failed to build: `fire==0.6.0`
  ├─▶ Failed to install requirements from build-system.requires (install)
  ├─▶ Failed to prepare distributions
  ├─▶ Failed to fetch wheel: setuptools==69.5.1
  ├─▶ Failed to extract archive
  ╰─▶ Unsupported archive type: setuptools

https://github.com/prefix-dev/pixi/issues/1917 is probably related

I've made a PR that I think will resolve this issue: https://github.com/prefix-dev/pixi/pull/1969 we should test this after it lands in main. Also #1909 was added giving us a bit more control on the wheel building side of things.

Okay so I think that previous referenced PR solved it and I'm adding a linux only test to keep verifying this: https://github.com/prefix-dev/pixi/pull/1996, it was failing on linux consistently for a lot of users so I hope this test avoids this from happening

Downstream test has been added to our CI for linux.


Multi diff editor doesn't resize

open multi diff editor
resize the window of vscode
:bug: the editor doesn't resize
h-scroll once, the editor is resized/relayouted

/duplicate #197941


New Team Photos, Members and Job Titles and Applications Section

Alex, Rafa = New Photo
Javi, Francesc = New Photos & Job Title
Applications Section

supersede by https://github.com/src-d/landing/pull/223


WSL2: Process cannot access the file because it is being used by another process

Environment
Windows build number: 10.0.21277.1000
Your Distribution version: Ubuntu-20.04
Whether the issue is on WSL 2 and/or WSL 1: WSL2

Steps to reproduce
After upgrading processor in system, WSL2 no longer starts with the error "The process cannot access the file because it is being used by another process." I have ensured that virtualization is enabled and the WSL Windows Features are there.
WSL logs:
Logs will be in Win+F Feedback per instructions.
C:\Users\marius>wmic diskdrive get Availability,Capabilities,CapabilityDescriptions,DeviceID,InterfaceType,MediaLoaded,MediaType,Model,Name,Partitions
Availability  Capabilities  CapabilityDescriptions                 DeviceID            InterfaceType  MediaLoaded  MediaType              Model                                  Name                Partitions
              {3, 4}        {"Random Access", "Supports Writing"}  \\.\PHYSICALDRIVE2  SCSI           TRUE         Fixed hard disk media  NVMe Samsung SSD 970 SCSI Disk Device  \\.\PHYSICALDRIVE2  1
              {3, 4}        {"Random Access", "Supports Writing"}  \\.\PHYSICALDRIVE0  IDE            TRUE         Fixed hard disk media  WDC WD4005FZBX-00K5WB0                 \\.\PHYSICALDRIVE0  1
              {3, 4}        {"Random Access", "Supports Writing"}  \\.\PHYSICALDRIVE1  SCSI           TRUE         Fixed hard disk media  NVMe Samsung SSD 970 SCSI Disk Device  \\.\PHYSICALDRIVE1  3

Expected behavior
WSL2 Starts up.
Actual behavior
WSL2 does not start.

feedback link: https://aka.ms/AAarxss

feedback link: https://aka.ms/AAarxss

Same error, and https://github.com/microsoft/WSL/issues/5092#issuecomment-615545141 saves me.

Same error, and https://github.com/microsoft/WSL/issues/5092#issuecomment-615545141 saves me.

Been half a year with no response from Microsoft.  You should all be ashamed of yourselves. No way to debug or find more information since results are just random s**t people did with no rhyme or reason

I've been fighting this issue for months and nothing has been working, so I switched back to WSL 1. Very frustrating.
Today I found out that if I kill every non essential process with task manager, it works. What I find frustrating is: There is no way to tell which file can't be accessed, and which process is using this "file"
All the "fixes" are just random solutions by random people running random commands that happened to work for them. Is there a sane and civilized way to figure out what resource is being used and how to release it, or are developers on Microsoft's platforms just satisfied with random trial and error to solve their problems?

Today I found out that if I kill every non essential process with task manager, it works. What I find frustrating is: There is no way to tell which file can't be accessed, and which process is using this "file"

It's the IIS Worker Process. Still, I have to kill it on every rebuild :(

Try to check if you had accidently mounted virtual disk to the window system. Check disk management and if you see virtual disk ,just detach it from the system.

Try starting LxssManager service:

Set it to run on boot.
It gives same error when LxssManager is set to manual and is stopped

I have set LxssManager to start automatically, and I have tried restarting the service every time I encounter this issue.  It does not work consistently.
I have also tried restarting vmcompute, which does not work consistently either.
Restarting my laptop works about 90% of the time, but not all of the time.
Can we find a root cause for this issue?  I use WSL extensively for work.  The alternative at this point would be to exchange my Windows PC for a Mac; something I would really rather not do!

As a side note, it appears that if you have the virtual drive saved to a location that syncs using OneDrive, if OneDrive starts the sync then you have to kill OneDrive before being able to access WSL.

I have set LxssManager to start automatically, and I have tried restarting the service every time I encounter this issue. It does not work consistently.
I have also tried restarting vmcompute, which does not work consistently either.
Restarting my laptop works about 90% of the time, but not all of the time.
Can we find a root cause for this issue? I use WSL extensively for work. The alternative at this point would be to exchange my Windows PC for a Mac; something I would really rather not do!

Have you tried to install WSL Preview from Windows Store and see if that works better?

Try to check if you had accidently mounted virtual disk to the window system. Check disk management and if you see virtual disk ,just detach it from the system.

Kindly provide the steps and possibly screenshots on how to go about this thanks.

This worked magic!  NB: Don't Shutdown since it did not work for me. Instead, Restart!

This worked magic!  NB: Don't Shutdown since it did not work for me. Instead, Restart!

This worked well for me. Thanks

This worked magic!  NB: Don't Shutdown since it did not work for me. Instead, Restart!

Yes it works after restart. Thanks

I used https://github.com/pxlrbt/move-wsl  to move ubuntu to E:\wsl,  then there was E:\wsl\ext4.vhdx.
I issued wsl --list  --verbose  and could find ubuntu but its state was "stop".
When I issued wsl, a window flashed out and I can not get into ubuntu.
Then I try  wsl --unregister Ubuntu
Now wsl --list  shows nothing, but E:\wsl\ext4.vhdx is  still there.
wsl --import Ubuntu E:\wsl   E:\wsl\ext4.vhdx shows:

The process cannot access the file because it is being used by another process.

This does not work: netsh winsock reset and restart the computer

Please report the issue in that move-wsl repository.

The VHDX that WSL2 uses is being locked by another application. It should be located at:
C:\Users\[user]\AppData\Local\Packages\[distro]\LocalState\[distroPackageName]
Use an application like the Sysinternals handle utility to search for lock handles on VHDX files:
(note: run this in an elevated terminal)
Lachlan@Sekhmet:~$ handle vhdx

Nthandle v4.22 - Handle viewer
Copyright (C) 1997-2019 Mark Russinovich
Sysinternals - www.sysinternals.com

bztransmit64.exe   pid: 18772  type: File           4DC: C:\Users\Lachlan\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\ext4.vhdx

In my case, it was Backblaze trying to back it up, so I added VHDX to the list of excluded file extensions in Backblaze.

Not work for me.

The process cannot access the file because it is being used by another process.
Error code: Wsl/Service/CreateInstance/0x80070020

Try to check if you had accidently mounted virtual disk to the window system. Check disk management and if you see virtual disk ,just detach it from the system.

Thanks a lot, this worked for me ❤

This worked magic!  NB: Don't Shutdown since it did not work for me. Instead, Restart!

Fixed it for me too. Thank you. 👍

wsl --import Ubuntu E:\wsl E:\wsl\ext4.vhdx shows:

The process cannot access the file because it is being used by another process.

You cannot do that.
When you use --import you are going to create a file called ext4.vhdx in the mentioned directory (E:\wsl), and what you are doing is this:

Calling import using a source file that will collide with the new file because they have the same name and will be in the same directory;

Just rename E:\wsl\ext4.vhdx to E:\wsl\ext4-source.vhdx for example, and do the same, like:
PS C:\Users\default> mv E:\wsl\ext4.vhdx E:\wsl\ext4-source.vhdx
PS C:\Users\default> wsl --import Ubuntu E:\wsl E:\wsl\ext4-source.vhdx

Same error, and #5092 (comment) saves me.

Worked also without the restart.

How To solve errors in moving or mounting WSL2 distro (docker-desktop in my case)

"WSL2: Process cannot access the file because it is being used by another process"  *
Can't mount ext4 partition (error 0x80070020 - the file is being used by another process) *
Error code: Wsl/Service/AttachDisk/WSL_E_ELEVATION_NEEDED_TO_MOUNT_DISK *

Make sure in the windows disk partition manager the ext4.vhdx in unmounted (might appear as "disk2")

in cmd shutdown wsl: wsl --shutdown

check all the wsl distros are stopped : D:\Docker\wsl\distro>wsl -l -v
 NAME                   STATE           VERSION
* Ubuntu                 Stopped         2
  docker-desktop-data    Stopped         2
  docker-desktop         Stopped         2

Terminate docker-desktop-data `wsl --terminate docker-desktop-data'

Unregister the old ext4.vhdx: wsl --unregister docker-desktop-data ext4.vhdx

Copy the ext4.vhdx to the new drive for example d:/docker/wsl/distro

change dir and go to the new location of the vhdx file

mount the distro in the new location: 'wsl --mount ext4.vhdx'

import it using: wsl --import-in-place docker-desktop-data ext4.vhdx

Restart the wsl in cmd

Restart Docker desktop in windows

check all the distros are back online:
PS D:\Docker\wsl\distro> wsl -l -v
  NAME                   STATE           VERSION
* Ubuntu                 Running         2
 docker-desktop-data    Running         2
  docker-desktop         Running         2

I used https://github.com/pxlrbt/move-wsl to move ubuntu to E:\wsl, then there was E:\wsl\ext4.vhdx. I issued wsl --list --verbose and could find ubuntu but its state was "stop". When I issued wsl, a window flashed out and I can not get into ubuntu.
Then I try wsl --unregister Ubuntu
Now wsl --list shows nothing, but E:\wsl\ext4.vhdx is still there.
wsl --import Ubuntu E:\wsl E:\wsl\ext4.vhdx shows:

The process cannot access the file because it is being used by another process.

This does not work: netsh winsock reset and restart the computer
I had this error  : "The process cannot access the file because it is being used by another process. Error code: Wsl/0x80070020" because I was moving my wsl2 from c: to d: with the "wsl --import" command.

Try to run (win + r) "diskmgmt.msc" in windows to see the disk manager. I had the same problem and windows had automatically mount my ext4.vhdx, it was listed as a unidentified virtual drive of 256G, just right click on it and select 'Unmount disk' or 'detach' not sure.
After that the "wsl --import" worked for me.


String variable formatting is unsound

String formatting checks (if check is true) for spaces (ASCII 0x20), but not for other special characters, some of which lead to even worse results:
>>> from vcd import VCDWriter
>>> writer = VCDWriter(open("foo.vcd", "wt"))
>>> var = writer.register_var(scope="", name="test", var_type="string")
>>> writer.change(var,0,"a\nb")
>>> writer.close()

As far as I know, the grammar accepted for string values is not documented, but this mailing list post indicates that spaces "and such" may be escaped as hex or octal escapes, and this function in gtkwave indicates that the complete list of characters implied in "and such" would be \x20, \r, \n, \t, and of course \\.
>>> writer = VCDWriter(open("foo.vcd", "wt"))
>>> var = writer.register_var(scope="", name="test", var_type="string")
>>> writer.change(var,0,r"a\x09b\x20c")
>>> writer.close()

At least, pyvcd should check for more than just spaces when emitting strings. However, I would strongly prefer if it actually escaped the string appropriately, since it should not be the responsibility of downstream projects to hunt down such obscure, barely documented detail.
Let me know if you'd like me to implement this.

Thanks for this issue report @whitequark. And thanks for bravely digging into the GTKWave code.
I agree that pyvcd should encode string values. I believe this could/should happen in StringVariable.format_value(). I think we can do the required encoding with str.translate().
I'd be happy to have you take on this change.

Can you do a release? I'd like to remove some hacks from nMigen related to string formatting.


Want to add wikipedia features to this project.

Is your feature request related to a problem? Please describe.
No it's not related to the problem, it is just the addition of the new feature.
Describe the solution you'd like
Wikipedia features will help the users to search about various things they want like google search.
Describe alternatives you've considered
I will use the Wikipedia library for this.

@rupal121 We already have an approved PR for this: #683


[ci:component:github.com/gardener/logging:v0.44.0->v0.45.0]

Release Notes:
Published docker images for Logging are now multi-arch ready. They support `linux/amd64` and `linux/arm64`.

Upgrade the `Telegraf` version from 1.23.4 to 1.24.2

/close


catch community editions.

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:konstruktoid/docker-bench-security.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842358792048
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


Update values.py

<!--- ***** Template: Fingerprint *****

**Car**
2018 Elantra GT Sport

**Route**

3f3b34eca77d1332

What is your dongle id?
Also was wondering if these cars can steer to zero, can you change the minSteerSpeed to 0?

What is your dongle id?
Also was wondering if these cars can steer to zero, can you change the minSteerSpeed to 0?

My dongle ID is 3f3b34eca77d1332. I'm rifkers in the discord. Changed minSteerSpeed in my openpilot branch. Still testing it :)

@neverbread good to merge? Any issues?

Yep, good to merge! No issues.
On Tue, Jan 30, 2024 at 10:31 PM Shane Smiskol @.***>
wrote:

@neverbread https://github.com/neverbread good to merge? Any issues?
—
Reply to this email directly, view it on GitHub
https://github.com/commaai/openpilot/pull/30732#issuecomment-1918318540,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEVZ2TVYIQ7JDIAWV2EAOPTYRG3JVAVCNFSM6AAAAABAVU5UZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJYGMYTQNJUGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Rename YOLO mode

YOLO or yaml only online mode is not an intuitive name or acronym which leads to confusion when people see the feature and may have an impact on adoption. Since the name change would be breaking we should consider renaming YOLO mode before 1.0 is released.

any ideas on what a better name would be

If we're cool with being basic, I think just "online" would work


ARuntimeMeshActor Tick issue

Super::BeginPlay();
This code have to add in "void ARuntimeMeshActor::BeginPlay()" Function.
After, we can use Tick!!

Pr #111 was merged

Closing as this is for an outdated version of the plugin that's no longer supported.
If you experience this or any other issues in the current version, feel free to report again!
Thanks!


Release process needs to include global version changes

Same as mentioned in https://github.com/kubernetes/heapster/pull/1808#issuecomment-329606672 - when the main heapster version is changed and packages are built, the version needs to be changed in all places it is used - not just the Makefile.
Also ref: https://github.com/kubernetes/heapster/pull/1795 https://github.com/kubernetes/heapster/pull/1753 https://github.com/kubernetes/heapster/pull/1912

Closing since https://github.com/kubernetes/heapster/ is deprecated, doesn't matter anymore.


FCM give success but Notification is not received by device.

I am using FIREBASE CLOUD MESSAGING service with my ionic product and phonegap-plugin-push cordova plugin to get push notification from PHP BACK END.
When i am trying to get push notification then php end is getting result with success as below.
Sample Push Data Payload
{"multicast_id":8853634389214913500,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1495614850271706%39688dd8f9fd7ecd"}]}
cordova push notification plugin version :1.9.4
Platform and Version: Ionic V1
Ionic CLI version : 2.1.13
Cordova version :  cordova --6.4.0
Android platform for cordova :6.0.0
(Android) What device vendor i have tested : Samsung , HUWAWEI, Xiaomi etc.
Sample Code that illustrates the problem
IONIC PART:
```
//Push Notification
		if (window.cordova) {
				if(!localStorage.getItem('device_token')){
					var apkId = 0;
					var iosId = 0;
					var options = {
						android: {
							senderID: MY FCM SENDER ID ,
                                                             icon: "alert",
                                                              },
						ios: {
							alert: "true",
							badge: "true",
							sound: "true"
						},
						windows: {}
					};

					//localStorage.getItem('gcmRegId')
					// initialize
					$cordovaPushV5.initialize(options).then(function () {
						// start listening for new notifications
						$cordovaPushV5.onNotification();
						// start listening for errors
						$cordovaPushV5.onError();

						// register to get registrationId
						$cordovaPushV5.register().then(function (data) {
							//alert("GCM"+data);
							// if Android device.
							if (ionic.Platform.isAndroid()) {
								apkId = data;
							}
							// if ios device.
							if (ionic.Platform.isIOS()) {
								iosId = data;
							}
							// Updating member details with apkId or iosId
							var pushParams={'app_token':Config.appToken,
							  'device_uiu_token':device.uuid,
							  'apk_token':apkId,
							  'ios_token':iosId
							}
							$http.post(Config.apiUrl+"member/save_token", pushParams)
							.success(function(data){
								if(data.status==200){
									localStorage.setItem("device_token", device.uuid);

								}/* else{
									alert("Sorry!Error occurs!");
								} */
							});
						})
						// Updating end.
					});

					// triggered every time notification received
					$rootScope.$on('$cordovaPushV5:notificationReceived', function (event, data) {
						 alert("recieved"+JSON.stringify(data));
						// data.message,
						// data.title,
						// data.count,
						// data.sound,
						// data.image,
						// data.additionalData
					});

					// triggered every time error occurs
					$rootScope.$on('$cordovaPushV5:errorOcurred', function (event, e) {
						 alert('push ERROR'+e.message);
						// e.message
					});
					// push notification end

 PHP PART:
       ```
$push_title = $this->input->post('push_title');
        $push_msg = $this->input->post('push_msg');
        $members = $this->members_model->get_members();
        $apk_tokens = array();
        $ios_tokens = array();
        foreach ($members as $member) {
            if ($member['apk_token']!= 0 || $member['apk_token']!= "") {
               array_push($apk_tokens,$member['apk_token']);
            }
            if ($member['ios_token'] != 0 || $member['ios_token'] != "") {
                array_push($ios_tokens,$member['ios_token']);
            }
        }
        //Sending the push notification using GCM.
        $msg = array(
            'message'   =>$push_msg,
            'title'     =>  $push_title,
            'vibrate'   => 1,
            'sound'     => 1,
            'largeIcon' => 'large_icon',
            'smallIcon' => 'small_icon',
        );

        $fields = array
        (
            'registration_ids'  => $apk_tokens,
            'data'          => $msg,
            'priority'=> 'high'
        );

        $headers = array
        (
            'Authorization: MY FCM SERVER KEY',
            'Content-Type: application/json'
        );

        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, 'https://fcm.googleapis.com/fcm/send');
        curl_setopt($ch, CURLOPT_POST, true );
        curl_setopt($ch, CURLOPT_HTTPHEADER, $headers );
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true );
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false );
        curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode( $fields ) );
        $result = curl_exec($ch );
        curl_close( $ch );
	echo $result;

Thanks in advance!

If you're using or want to use FCM with this plugin, you should be using version 2.0-rc3 (latest RC version of the 2.0 branch as I write this). 1.x does NOT support Firebase correctly.
Also, regarding your use of $cordovaPushV5, please read my comment here and in the comments that follow. I strongly suggest you update to the new ionic-native plugin, or use the raw API we provide directly.
If you can still reproduce this after migrating to the 2.0 version of phonegap-plugin-push and upgrading from $cordovaPushV5 to something more up-to-date, feel free to re-open this issue or create a new one.


Error: Assertion Failed: A component or helper named "in-element" could not be found

Thanks for your assistance the other day - I've managed to get in-element working now - so that was much appreciated.
I'm using the polyfil on on a change I'm making to the ember-cli-photoswipe  addon.
One issue I've encountered is that while the polyfill works fine in the dummy application provided with the addon; when I try to use the updated version of photoswipe in a real application the polyfill is installed but is not found.  I get the error message:
Error: Assertion Failed: A component or helper named "in-element" could not be found.
If I manually install the polyfill on the real world application then photoswipe works.
I don't understand why this is as I have the polyfill in the dependencies section of the package.json.
https://github.com/MrChriZ/ember-cli-photoswipe/tree/useInElement
Am I missing something obvious?

Hm, no, nothing obvious... should work, as it does for the mentioned addons that already use this. Strange, no explanation for this ATM. Which version of Ember CLI are you using (in the consuming app)?

No difference.  Will see if I can produce a demo project

I've created a demo project - or two effectively:
A very basic addon which includes the in-element polyfill as a dependency
https://github.com/MrChriZ/ember-inelement-test
A very basic application which imports the above addon and does not have the polyfill as a dependency:
https://github.com/MrChriZ/ember-inelement-test-consumer
The consumer application fails to launch.  Installing the polyfill resolves the problem.

Thank you @MrChriZ! Will investigate...

Thanks.  I may have still done something silly.  I'm still rather new to the ember addon area!

@MrChriZ My apologies for letting this wait so long, I lost track of it somehow...
I checkout your reproduction repo and found the issue: in the addon you directly expose the template to the consuming app through the app/ folder. But the usual setup for addons, and I believe the blueprint should have generated it in that way, is to have the template in addon/ and explicitly set it as layout on the component, like here: https://github.com/kaliber5/ember-sticky-element/blob/master/addon/components/sticky-element.js#L7 You then also need to move ember-cli-htmlbars to dependencies.
With those changes it should work, as I quickly confirmed with your test addon. It seems the AST transform that this addons adds will not run on the addon's templates when being put in app/ directly. Not sure why, and if this should be considered a bug of Ember CLI or whatever. But at least nothing I can change as part of this addon, AFAIK!


v5: Parameter Exception from NPoco.ParameterHelper.ProcessParam

I'm getting parameter exception with any SQL with a parameter. It's coming from NPoco.ParameterHelper.ProcessParam. I can't take a look now to offer more help, but I'll try to if no one else gets a chance tomorrow morning.
This is true whether I use
 var db = new Database(conn, DatabaseType.SqlServer2012, SqlClientFactory.Instance);

or
 var db = new SqlServerDatabase(conn, null);

return await Db.FirstOrDefaultAsync<Employee>("WHERE Uid = @0 ", uid);

{"Specified argument was out of the range of valid values.
(Parameter 'Parameter '@0' specified but only 0 parameters supplied (in `WHERE Uid = @0 `)')"}

Named parameters:
{"Parameter '@uid' specified but none of the passed arguments have a property with this name (in 'SELECT * FROM Employees WHERE Uid = @uid')"}

So, apparently I have some code somewhere that's causing this. Which is very strange since I am not sure there's anything I could do.
I'll test some more and close once I find the issue - in case it helps anyone else.

So, apparently I have some code somewhere that's causing this. Which is very strange since I am not sure there's anything I could do.
I'll test some more and close once I find the issue - in case it helps anyone else.

There is no bug on your part, I ran into the same issue (I already reported it here: https://github.com/schotime/NPoco/issues/616), also, this has already been closed.
Now, we just have to wait for it to be pushed over the repository, in the meantime, you can execute it like this:
(await Db.FetchAsync("WHERE Uid = @0 ", uid)).FirstOrDefault();
Greetings

So, apparently I have some code somewhere that's causing this. Which is very strange since I am not sure there's anything I could do.
I'll test some more and close once I find the issue - in case it helps anyone else.

There is no bug on your part, I ran into the same issue (I already reported it here: #616), also, this has already been closed.
Now, we just have to wait for it to be pushed over the repository, in the meantime, you can execute it like this:
(await Db.FetchAsync("WHERE Uid = @0 ", uid)).FirstOrDefault();
Greetings

BTW, it has already been posted on the repository, update your package and it should work (working on my environment right now)

Yep!. Thanks!


bubblewrap (bwrap) builds with non-zero uid while docker runner runs with uid 0.

The bubblewrap runner builds with uid of the user, but the docker runner builds with uid=0.
That causes a problem for anything that behaves differently in those cases.  It can be illustrated with wolfi-dev/os/datadog-agent.yaml at f635663eae72d624c .
This package

with bwrap tries to use sudo to become root and fails to build (sudo is not present)
with docker runner works , other than in my environment it will not build at all due to #1254

The merged PR introduces parity between Bubblewrap and Docker. This can be closed :)


Add request update actions

Description
Add an action to update request status and pin&cav ratings.
Motivation
Testing Guidelines
Release Checklist

[ ] This code has unit tests
[ ] I have a plan to verify that these changes are working as expected after deploy
[ ] I have a plan for how to revert, rollback, or disable these changes if things are not working as expected

Security Checklist
This PR creates, modifies, or deletes:

[ ] API routes: API routes, parameters, or user authorization
[ ] Authentication: Authentication mechanism
[ ] Credentials: Server side credentials, or secrets in configuration / source code
[ ] Cryptography: Encryption, hashing, certificates, signatures, random numbers, etc.
[ ] User data: personal information handling, logs, error messages, etc.

Additional Notes

@btuerker - The timeline should be in to the development branch. Lets resolve these conflicts.


TypeError: c.validate is not a function

TypeError: c.validate is not a function

Hi,
Are you sure you've loaded all scripts (in the correct order) in your html?
<!-- jQuery scripts -->
<script src="path/to/jquery.min.js"></script>
<script src="path/to/jquery.validate.min.js"></script>

<!-- Angular scripts -->
<script src="path/to/angular.min.js"></script>
<script src="path/to/angular-validate.min.js"></script>

I am using grunt to concat and make a single dependency.

Can you make sure Grunt concats the files in the correct order? It's important that the jquery files are loaded before angular.

yup sure I will do that and update here the same. Thanks for the support :+1:


DOC: Add download link for executed .ipynb file

See discussion in #745.

Looks good to me. Continuing the discussion from the issue: I don't think target=_blank would be needed if we already have download, because it is used for opening links in a different tab.
If you decide to document a button or link for downloading notebooks as a feature as well (and thereby close the mentioned issue) I would also suggest mentioning about how downloads of this manner will not work on cross-origin links, e.g., on PR builds on readthedocs because the URL would not be the same as that of the stable documentation. The reason is that it is a security measure in modern browsers (the origin of which was discussed in this Bugzilla report: a cross-origin download link could lead to users downloading an unverified file of the same name hosted on a different server with malicious intent.

If you decide to document a button or link for downloading notebooks as a feature as well (and thereby close the mentioned issue)

What do you mean by "document"?
I'm suggesting here to add links to the docs, are you talking about some additional documentation?

I would also suggest mentioning about how downloads of this manner will not work on cross-origin links, e.g., on PR builds on readthedocs because the URL would not be the same as that of the stable documentation.

But isn't the .ipynb file always in the same domain as the HTML? It's right next to it, in the same directory, isn't it?
The download link also works on the PR build on RTD: https://nbsphinx--751.org.readthedocs.build/en/751/

What do you mean by "document"?
I'm suggesting here to add links to the docs, are you talking about some additional documentation?

Yes, if you decide to add some additional documentation for how others can use this feature, that is

But isn't the .ipynb file always in the same domain as the HTML? It's right next to it, in the same directory, isn't it?

The download link also works on the PR build on RTD: https://nbsphinx--751.org.readthedocs.build/en/751/

That's strange. It does not work on the PR build where I had added it myself. Maybe it is due to the extra target="_blank" attribute (your method contains just the download attribute)

In your case, it downloads the notebook from the PR build itself, but our build leads us to a different link (it downloads the notebook from docs.pybamm.org instead). So the point about cross-origin links remains valid.

Yeah, but that's definitely not a workflow that I would recommend.
You are linking to the latest downloads, and those links will likely become invalid over time.
I would recommend to link to the notebooks of the exact same version as the doc build.
This should be easy, because those notebooks are created by nbsphinx anyway.
No need to worry about cross-origin links.

That sounds like a good idea to prevent potential link rot. Thank you for the recommendation!


✨ Feat (UI): Implement Granular Consent UI for GDPR Compliance 🍪

Title: Implement Granular Consent UI for GDPR Compliance
Description
The current AMP-ready Jekyll theme includes services that utilize cookies to store user data. To ensure compliance with the General Data Protection Regulation (GDPR), we need to implement a granular consent UI that allows users to control their cookies on a per-purpose basis.
Problem
The theme does not currently provide users with a way to opt in or out of specific cookie purposes, which could result in non-compliance with GDPR requirements.
Proposed Solution
We propose implementing a Consent UI that includes the following features:

[x] Granular Consent: Users should be able to consent to or reject individual cookie purposes separately.
[ ] Clear and Transparent Information: Users should be provided with clear and concise information about each cookie purpose before giving their consent.
[ ] Easy to Access: The Consent UI should be easily accessible and visible to users.
[ ] AMP Compatibility: The Consent UI must be implemented in a way that maintains AMP validity.

Possible Implementations
One possible implementation could involve using a third-party consent management platform (CMP) that is AMP-compatible. CMPs provide a range of features out-of-the-box, including granular consent options, data collection, and reporting.
Another approach could be to develop a custom Consent UI using AMP elements. This would require more development effort but could provide greater control over the UI's design and functionality.
Benefits
Implementing a granular Consent UI will provide the following benefits:

GDPR Compliance: Ensure that the theme complies with GDPR requirements for cookie consent.
User Privacy Protection: Give users control over their personal data and how it is used.
Improved User Experience: Empower users to make informed decisions about their cookie preferences.

Timeline
This feature should be prioritized and completed within the next sprint.
Assignee
To be assigned after discussion and review of proposed implementations.
Additional Notes

We should consider using a CMP that is lightweight and does not impact page performance.
The Consent UI should be designed to be user-friendly and easy to understand.
We should provide documentation and guidance to users on how to use the Consent UI.

Development of a custom Consent UI using AMP elements
Objectives

Create a user-friendly and compliant Consent UI using AMP elements.
Ensure compliance with industry regulations and best practices.
Provide a seamless and transparent user experience.

Tasks
Phase 1: Design and Development

[ ] Design the Consent UI using AMP elements, considering accessibility and responsiveness.
[x] Develop the UI using AMP's HTML and JavaScript components.
[x] Implement the necessary AMP state management and event handling.
[x] Ensure the UI is visually appealing and aligns with the brand guidelines.

Phase 2: Integration and Testing

[x] Integrate the Consent UI into the existing website or application.
[ ] Conduct thorough testing to verify functionality, performance, and accessibility.
[ ] Perform user acceptance testing to gather feedback and validate the UI.

Phase 3: Deployment and Maintenance

[x] Deploy the Consent UI on the production site.
[ ] Monitor the UI's performance and address any issues promptly.
[ ] Regularly update the UI to maintain compliance and enhance user experience.

Additional Tasks

[ ] Legal Compliance: Review and align the Consent UI with applicable laws and regulations.
[ ] Transparency: Provide clear and concise information to users about the purpose and use of their data.
[x] Granularity: Allow users to specify granular consent preferences for different purposes and vendors.
[x] Revocability: Enable users to easily revoke their consent at any time.
[ ] Accessibility: Ensure the Consent UI is accessible to users with disabilities.
[ ] Vendor Management: Integrate with vendor consent management platforms to streamline consent collection and management.

To collect cookie consent on AMP pages, you need to use the <amp-consent> element and the data-block-on-consent or data-block-on-consent-purposes attribute. Here's a step-by-step guide on how to set it up:

Add the <amp-consent> element to your AMP pages.
Use the data-block-on-consent attribute to block all elements that require consent, or use the data-block-on-consent-purposes attribute with a comma-separated list of consent purposes to set the categories to be prioritized.
To retrieve the consent string on AMP, third-party vendors can use context.initialConsentValue.
Since AMP does not allow the loading of iframes from the same domain, uploading the cookie notice file on the same domain as your AMP page will result in the cookie notice not being displayed. Therefore, host the HTML file on a different domain or subdomain (e.g., main domain is www.yourdomain.com, but you host the file on amp.yourdomain.com). This approach also works if you redirect from a subdomain to your main domain.
The <amp-consent> element needs to be served via HTTPS.

For a step-by-step guide (complete with sample codes, a demo, and WordPress tips) and more information on how to block cookies before user consent on Accelerated Mobile Pages, read the guide on integrating iubenda Privacy Controls and Cookie Solution with AMP[1].
Citations:
[1] https://www.iubenda.com/en/help/3182-cookie-consent-amp-pages
[2] https://amp.dev/documentation/components/amp-consent
[3] https://onetrustprivacy.my.site.com/cpcustomers/s/article/UUID-94cf9b13-1998-d989-a5e0-d01a73a2e0a7?language=en_US
[4] https://wordpress.org/support/topic/google-amp-compatibility-5/
[5] https://www.iubenda.com/en/help/22135-cookie-solution-amp-wordpress

[amp-consent] Fine grain, client-side consent · Issue #26735 · ampproject/amphtml
amp-consent: let developers show existing consent choices on reprompt · Issue #33530 · ampproject/amphtml
Update Consent is not working in Granular Consent · Issue #34517 · ampproject/amphtml

ConsentManager CMP
To configure amp-consent with ConsentManager CMP, follow these steps:
Step-by-Step Configuration

Add AMP Consent Script:
Include the amp-consent script in the  section of your AMP page:

Add Meta Tag for Consent Blocking:
Add a meta tag to specify which AMP components should be blocked until consent is given:
<meta name="amp-consent-blocking" content="amp-ad">

Configure Consent Layer:
Add the amp-consent element to the  section of your AMP page. Use the configuration provided by ConsentManager CMP:
<amp-consent id="ConsentManager" layout="nodisplay" type="ConsentManager">

    <button on="tap:ConsentManager.prompt()" role="button">Manage privacy settings</button>

</amp-consent>

Blocking Ads and Analytics:
To block ads or analytics codes until consent is given, add the data-block-on-consent attribute to the relevant AMP elements:
<amp-ad data-block-on-consent type="doubleclick" width="300" height="250" layout="responsive"></amp-ad>
<amp-analytics data-block-on-consent type="googleanalytics"></amp-analytics>

Example Configuration
Here's a complete example of how your AMP page might look with the amp-consent and ConsentManager CMP integration:
<!doctype html>

  <meta charset="utf-8">
  <title>AMP Consent Example</title>
  <link rel="canonical" href="self.html">
  <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">

  <meta name="amp-consent-blocking" content="amp-ad">

  <amp-consent id="ConsentManager" layout="nodisplay" type="ConsentManager">

      <button on="tap:ConsentManager.prompt()" role="button">Manage privacy settings</button>

  </amp-consent>

  <amp-ad data-block-on-consent type="doubleclick" width="300" height="250" layout="responsive"></amp-ad>
  <amp-analytics data-block-on-consent type="googleanalytics"></amp-analytics>

For more detailed instructions and examples, you can refer to the AMP example ConsentManager documentation. This should help you get started with integrating ConsentManager CMP on your AMP pages.

Ensuring Compliance with data-npa-on-unknown-consent
The data-npa-on-unknown-consent attribute is used in AMP pages to handle situations where the user's consent status is unknown. This attribute ensures that non-personalized ads (NPAs) are served when the user's consent status is not explicitly known. This is particularly important for complying with privacy regulations and maintaining ad revenue. Here's how it works and when you might need to include it:
Purpose and Usage

Non-Personalized Ads (NPAs): NPAs are ads that are not based on a user's past behavior. Instead, they use contextual information, such as the content of the current site or app, and coarse geo-targeting (e.g., city-level) based on the user's current location. NPAs do not use cookies or mobile ad identifiers for ad targeting, but they may still use them for frequency capping and aggregated ad reporting.

Handling Unknown Consent Status: When the user's consent status is unknown (e.g., if the user dismisses the consent prompt), the data-npa-on-unknown-consent attribute ensures that NPAs are served instead of personalized ads. This helps in complying with privacy regulations that require non-personalized ads to be served when user consent is not explicitly given.

Regulatory Compliance: This attribute is essential for complying with privacy regulations such as the GDPR and CCPA, which mandate that user consent must be obtained before serving personalized ads. By serving NPAs when consent status is unknown, publishers can avoid potential legal issues.

When to Include

Consent Status Unknown: If the user dismisses the consent prompt or if the consent status cannot be determined, this attribute ensures that non-personalized ads are served instead of personalized ads.
Regulatory Compliance: To comply with privacy regulations that require non-personalized ads to be served when user consent is not explicitly given.
Fallback Mechanism: As a fallback mechanism to ensure that ads are still served even when the consent status is unclear, preventing a complete loss of ad revenue.

Example
Here's an example of how to include the data-npa-on-unknown-consent attribute in your AMP ad tags:
<amp-consent layout="nodisplay" id="consent-element">

    <button on="tap:consent-element.accept">Accept</button>
    <button on="tap:consent-element.reject">Reject</button>
    <button on="tap:consent-element.dismiss">Dismiss</button>

</amp-consent>

<amp-ad
  width="300"
  height="250"
  type="doubleclick"
  data-slot="/1234567/example"
  data-block-on-consent
  data-npa-on-unknown-consent="true">
</amp-ad>

In this example, the amp-ad tag includes the data-npa-on-unknown-consent="true" attribute, ensuring that non-personalized ads are served if the user's consent status is unknown.
For more detailed information, you can refer to the Google AdMob Help and Google AdSense Help pages.


Cleanup 1.5/1.6+ version detection

Removing the init-time version detection and using build tags to differentiate
between 1.5 and 1.6 (like the other versions).

LGTM


Side panels implementation for Dragablz

Just leave it here for the version 1.2, for ex. regarding to waht we descussed earlier.

Wrong project  :) , just having a clean-up

Should I open the same in Dragablz projects?

plz


Enable unused variables warning

@tedbauer I'm enabling stricter checks for the project. The build system throws a few unused variable warnings now. Can you build this branch and change any intentional unused variables to _?

Ok, I believe I've just changed all the unused variables to "_". There are also a lot of non-exhaustive pattern matching, would you like me to fix that?

Yeah, might as well. You can just add cases saying failwith "Not yet implemented".


docs(expenses): clarify instructions

Made clarification to the 3rd task in the instructions.

Thanks for this!


Notification not appearing

Hi
I have managed to get the library up and running and have successfully subscribed client side.
However, when performing a test and pushing a new notification, a  success error is printed however no notification appears on the desktop.
[v] Message sent successfully for subscription https://fcm.googleapis.com/fcm/send/f1azG0YpefY:APA91bEgPUCksrDdHc3vpd8JZUsiLnf6sphqgw8TdyPVyTMaviZGvBY76RPJ2zFmMFpvhxoL3hvbvMSJ_O8Ct5nqKmDYozsZh-IU-gm2DWqeTVRRgW9k6Hq58vxnYi75RehmdXbEr_yb.
I have double checked my public and private keys and also the end point.  All seem correct.
below is the code, much of it take from the readme.md:  private key has been removed
$auth = [
    'VAPID' => [
        'subject' =><EMAIL_ADDRESS>        'publicKey' => 'BBFwt4l1ZvIoCkH2Cp9DSQKGN6MUQ5mFXrT3OLKNsoqSTweloz87hZtIA64Zgx2zROgxPWN1l61q8ezM0QkD2Dg',
        'privateKey' => '',
    ],
];

$notifications = [
    [
        'subscription' => Subscription::create([
            'endpoint' => 'https://fcm.googleapis.com/fcm/send/f1azG0YpefY:APA91bEgPUCksrDdHc3vpd8JZUsiLnf6sphqgw8TdyPVyTMaviZGvBY76RPJ2zFmMFpvhxoL3hvbvMSJ_O8Ct5nqKmDYozsZh-IU-gm2DWqeTVRRgW9k6Hq58vxnYi75RehmdXbEr_yb', // Chrome
            'contentEncoding' => 'aesgcm',
            'publicKey' => 'BBFwt4l1ZvIoCkH2Cp9DSQKGN6MUQ5mFXrT3OLKNsoqSTweloz87hZtIA64Zgx2zROgxPWN1l61q8ezM0QkD2Dg',
            'privateKey' => '',
        ]),
        'payload' => '{"msg":"Hello World!"}' // optional (defaults null),
    ],
];

$webPush = new WebPush($auth);

// send multiple notifications with payload
foreach ($notifications as $notification) {
    $webPush->queueNotification(
        $notification['subscription'],
        $notification['payload'] // optional (defaults null)
    );
}

/**
 * Check sent results
 * @var MessageSentReport $report
 */
foreach ($webPush->flush() as $report) {
    $endpoint = $report->getRequest()->getUri()->__toString();

    if ($report->isSuccess()) {
        echo "[v] Message sent successfully for subscription {$endpoint}.";
    } else {
        echo "[x] Message failed to sent for subscription {$endpoint}: {$report->getReason()}";
    }
}

/**
 * send one notification and flush directly
 * @var MessageSentReport $report
 */
$report = $webPush->sendOneNotification(
    $notifications[0]['subscription'],
    $notifications[0]['payload'] // optional (defaults null)
);

When I test the push notification on https://web-push-codelab.glitch.me/ using the same keys the notification appears as expected.
Any help here would be appreciated as I've already spent 2 days on this but not getting far.

I have the same problem! No message is coming from the browser. But returned report says everything is fine.
What was your solution?


Two Program file updated.

Two Program  file updated : i) Java ii) Python

Welcome to Our Coding World.


increasing the rollout timeout from 5m to 10m

We need to increase the rollout timeout from 5m to 10m, after 5m we got this error below:
Ref.: https://github.com/FindHotel/labrador/runs/6674768641?check_suite_focus=true

kubectl rollout status --timeout

I don't think this would fix anything. That deployment failed because the application can't start. It would fail with a 10m timeout as well.

I don't think this would fix anything. That deployment failed because the application can't start. It would fail with a 10m timeout as well.

ok, in that case, let's discard this PR 👍🏻


firefox 45 support

Hi @tvararu - could you please update the accessible-autocomplete version to 1.2.1 and publish a new version?
v1.2.1 has changes to make progressive enhancement work in firefox 45.
Thanks

@revilossor Yes! Sorry, I need some automation around this.

Done! Please use v0.2.1.
Opened https://github.com/alphagov/openregister-location-picker/issues/8.

thank you


[Feature-11530] add state history for process instance

Purpose of the pull request
#11530
This pr just contains backend part, waiting another pr for ui and doc.
Brief change log
add state history and desc for workflow instance, like:
[{
	"time": "2022-08-31 16:05:45",
	"state": "RUNNING_EXECUTION",
	"desc": "init running"
}, {
	"time": "2022-08-31 16:05:45",
	"state": "RUNNING_EXECUTION",
	"desc": "start a new process"
}, {
	"time": "2022-08-31 16:05:55",
	"state": "READY_PAUSE",
	"desc": "pause a processby ui"
}, {
	"time": "2022-08-31 16:06:46",
	"state": "PAUSE",
	"desc": "update by workflow executor"
}, {
	"time": "2022-08-31 16:07:00",
	"state": "RUNNING_EXECUTION",
	"desc": "recover suspended process"
}, {
	"time": "2022-08-31 16:07:09",
	"state": "READY_STOP",
	"desc": "stop a processby ui"
}, {
	"time": "2022-08-31 16:07:09",
	"state": "STOP",
	"desc": "update by workflow executor"
}, {
	"time": "2022-08-31 16:07:17",
	"state": "RUNNING_EXECUTION",
	"desc": "recover suspended process"
}, {
	"time": "2022-08-31 16:08:17",
	"state": "SUCCESS",
	"desc": "update by workflow executor"
}]

Verify this pull request

This change added tests and can be verified as follows:

Manually verified the change by testing locally.

Codecov Report

Merging #11757 (bdaa017) into dev (277f137) will decrease coverage by 0.06%.
The diff coverage is 31.66%.

@@             Coverage Diff              @@
##                dev   #11757      +/-   ##
============================================
- Coverage     39.64%   39.58%   -0.07%
+ Complexity     4694     4688       -6
============================================
  Files          1013     1014       +1
  Lines         37928    37918      -10
  Branches       4241     4238       -3
============================================
- Hits          15038    15011      -27
- Misses        21281    21302      +21
+ Partials       1609     1605       -4

Impacted Files
Coverage Δ

...cheduler/api/service/impl/ExecutorServiceImpl.java
37.91% <0.00%> (ø)

.../apache/dolphinscheduler/dao/DaoConfiguration.java
100.00% <ø> (ø)

...e/dolphinscheduler/dao/entity/ProcessInstance.java
0.00% <0.00%> (ø)

...server/master/runner/MasterSchedulerBootstrap.java
0.00% <0.00%> (ø)

...er/server/master/runner/task/SubTaskProcessor.java
48.18% <0.00%> (ø)

.../server/master/runner/WorkflowExecuteRunnable.java
7.99% <14.28%> (+0.10%)
:arrow_up:

...er/dao/repository/impl/ProcessInstanceDaoImpl.java
25.00% <25.00%> (ø)

...nscheduler/service/process/ProcessServiceImpl.java
31.67% <61.90%> (-0.12%)
:arrow_down:

...r/api/service/impl/ProcessInstanceServiceImpl.java
60.85% <100.00%> (ø)

...r/server/master/runner/task/BaseTaskProcessor.java
15.75% <100.00%> (+0.30%)
:arrow_up:

... and 19 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add semantics label support

Each widget should have a support to pass a semantics label for the same. For that automationId can be used as this will be primarily used for A/B Testing.
This ticket is useful for https://github.com/EnsembleUI/ensemble/issues/1180

please add a description of what you did


VSCode cannot build .NET Framework Unit Tests

Problem: .NET Framework Unit Test projects created in VS2017 can be successfully built and run in the IDE. But when the same project is opened in VSCode, attempt to run the tests fails while building. At the same time msbuild can successfully build the project.
Repro steps (on Windows):

Prepare a machine with both VS2017 and VSCode with C# OmniSharp extension.
Unzip UT_NET461_VS2017.zip to c:\tests\UT_NET461_VS2017
Open " Developer Command Prompt for VS 2017"
cd /d c:\tests\UT_NET461_VS2017
msbuild /t:restore
msbuild /t:rebuild /p:DebugType=portable
code . (launches VSCODE which opens the UT project)
Click on UnitTest1.cs to open it in the text editor
Click on "Run Test" above TestMethod1
Observe errors as in picture below:

----- Running test method "UT_NET461_VS2017.UnitTest1.TestMethod1" -----
Microsoft (R) Build Engine version 15.8.169+g1ccb72aefa for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
UnitTest1.cs(2,17): error CS0234: The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [c:\tests\UT_NET461_VS2017\UT_NET461_VS2017.csproj]
UnitTest1.cs(6,6): error CS0246: The type or namespace name 'TestClassAttribute' could not be found (are you missing a using directive or an assembly reference?) [c:\tests\UT_NET461_VS2017\UT_NET461_VS2017.csproj]
UnitTest1.cs(6,6): error CS0246: The type or namespace name 'TestClass' could not be found (are you missing a using directive or an assembly reference?) [c:\tests\UT_NET461_VS2017\UT_NET461_VS2017.csproj]
UnitTest1.cs(9,10): error CS0246: The type or namespace name 'TestMethodAttribute' could not be found (are you missing a using directive or an assembly reference?) [c:\tests\UT_NET461_VS2017\UT_NET461_VS2017.csproj]
UnitTest1.cs(9,10): error CS0246: The type or namespace name 'TestMethod' could not be found (are you missing a using directive or an assembly reference?) [c:\tests\UT_NET461_VS2017\UT_NET461_VS2017.csproj]
Build FAILED.
UnitTest1.cs(2,17): error CS0234: The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [c:\tests\UT_NET461_VS2017\UT_NET461_VS2017.csproj]
UnitTest1.cs(6,6): error CS0246: The type or namespace name 'TestClassAttribute' could not be found (are you missing a using directive or an assembly reference?) [c:\tests\UT_NET461_VS2017\UT_NET461_VS2017.csproj]
UnitTest1.cs(6,6): error CS0246: The type or namespace name 'TestClass' could not be found (are you missing a using directive or an assembly reference?) [c:\tests\UT_NET461_VS2017\UT_NET461_VS2017.csproj]
UnitTest1.cs(9,10): error CS0246: The type or namespace name 'TestMethodAttribute' could not be found (are you missing a using directive or an assembly reference?) [c:\tests\UT_NET461_VS2017\UT_NET461_VS2017.csproj]
UnitTest1.cs(9,10): error CS0246: The type or namespace name 'TestMethod' could not be found (are you missing a using directive or an assembly reference?) [c:\tests\UT_NET461_VS2017\UT_NET461_VS2017.csproj]
0 Warning(s)
5 Error(s)
Time Elapsed 00:00:01.37
----- Test Execution Summary -----
Total tests: 0. Passed: 0. Failed: 0. Skipped: 0

It might be better to open this in omnisharp-vscode.

cc @rchande

@dmgonch OmniSharp uses dotnet build/dotnet vstest to run unit tests. I get the same set of errors you mentioned if I simply dotnet build UT_NET461_VS2017.csproj. I suspect that if you convert this project to an SDK-style project that can build/test using dotnet that it will also work in OmniSharp.

@rchande : doesn't this strike you though as a rather inconsistent user experience: on one hand OmniSharp.exe can successfully load the project using MSBuild it located and provide just fine any code navigation requests. On the other hand when building/running tests in the project the extension always assumes that it deals with an SDK-style project?


Fix indexing bug in FpsCounter

Closes #554
Depends on #555
Fixes indexing bug in FpsCounter.

Rebased after merge of base branch. This makes the change set introduced here more obvious and tightly focused.


Knative installation script not found

following the instructions to install knative for pywren: https://github.com/pywren/pywren-ibm-cloud/blob/master/docs/knative.md
the installation script link is broken.
@JosepSampe can you update the link? it is even better to commit the script into the repository ;)

Fixed. The script was updated to install Knative 0.15.0 and istio 1.5.4. @omerb01  Yep, it is better to have the script here. I will add it ;)

@JosepSampe thanks a lot :)


Select either ApJ or ApJL in parameters.py

Also need to add something to output file name

Done in commit ef7452a