Missing Reset options

Description
I don't see any Reset options in the menu and I see it mentioned in the readme. How would I check which version am I on? Perhaps (since I am on nixos) the packaged version is way to old or something.
Neovim version
NVIM v0.10.0-dev-f92bda1
Build type: Release
LuaJIT 2.1.0-beta3
Operating system and version
NixOs 23.05.1194.b6c73c5fe53 (Stoat)
Steps to reproduce
Install neogit using nix
Run vim and :Neogit
There is no Reset option in the menu
I tried using x in the recent commits and it yields Discard some_git_commit_hash Y(yes) N(no)
If you hit Y it also does nothing
Expected behavior
Have the option to reset to some commit hash and some other options already present in magit.
Actual behavior
No option for reset
Minimal config
-- 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

Upper case X to reset :)

Sorry, forgot to mention I tried that one too :) Must be something on my end since I don't see anybody complaining about this.

Ah, ok. I added the reset popup a while back, but I don't know how the whole nix ecosystem works with neovim plugins. Mind making sure you're up-to-date?

Ok, managed to bump it and I can see reset options now :) Thanks so much for making this, I was missing magit so much coming from emacs.


Logstash not generating index

On the docker configuration when i launch the logstash container it doesnt create an index in kibana.
Ignoring the 'pipelines.yml' file because modules or command line options are specified.
No persistent UUID file found. Generating new UUID.

do you manage to resolve the issue? Just try my luck because I face same issue


Attempt to fix terminal emulator problem in macOS

This is referenced in #31

Will need your recommendations in this, keeping this a draft atm. Thank you for helping.


Meet an error when using CellPLM

Hi, I tried to install CellPLM based on conda. However, here is one problem:
When runnning:
12 import rapids_singlecell as rsc  # For faster evaluation, we recommend the installation of rapids_singlecell.
 cannot import name 'cusparse' from 'cupyx'

Any ideas will be appreciated. Thanks a lot.

I meet the same problem.


Crash when yarn's version plugin is installed

Original issue: https://github.com/tophat/monodeploy/issues/477 by @jeffrson

Describe the bug
yarn monodeploy is crashing, when yarn's version plugin is installed.
To reproduce
yarn plugin import version yarn monodeploy --dry-run
Expected behavior
No crash - should work

OS: [e.g. Ubuntu 20.04, Mac OSX 10.14]: Win10, Debian11
Monodeploy Version: [e.g. 1.0] 2.8.20
Node Version: [e.g. 12.16.1] 17.7.2

The version plugin is now built-in as of Yarn 4 so this is not a problem.


KNOX-2056 - Adding Service Definitions management into Admin UI

What changes were proposed in this pull request?
The following features are implemented with this PR:

listing existing service definitions in admin UI (using pagination since Knox comes with 65 service definitions OOTB)
end-users can remove a service definition
end-users can update a service definition

How was this patch tested?
Tested locally:
Listing:

Updating:

Deleting:

Nice work, @smolnar82!
I like the paging that you added.
Also, not having to do the restart and topology touch to get rewrite rule changes to take effect is HUGE!

Thanks!

I did see an exception thrown on update of a service definition related to URI not being a file schema or something like that.

There was a nasty bug in org.apache.knox.gateway.service.admin.TopologiesResource which I fixed in a separate commit in this PR.

I'd suggest a follow up JIRA for adding new Service Definition either from scratch with a template to get started or at least a copy from existing like we have for Topologies.

See https://issues.apache.org/jira/browse/KNOX-2068


Bug: MINGW64 currently causing error when listing java Versions

Bug report

the endpoint https://api.sdkman.io/2/candidates/java/MINGW64/versions/list?installed= is currently broken
content is
MethodInvocationException: Exception calling "DownloadString" with "1" argument(s): "The remote server returned an error: (500) Internal Server Error."

note that other platforms work
This prevents downloading Windows native versions of Java
Replacing MINGW64 with Darwin in the url works
Also this url used to work until recently.
Also downloading versions still works. E.g. this url is still valid  https://api.sdkman.io/2/broker/download/java/17.0.7-ms/MINGW64
To reproduce
run sdk ls java when the platform is set to MINGW64
System info

OS = Windows 10
I am downloading directly from the url

Can you confirm that you are on the latest client versions?

I am hitting the url direcly - I have a custom client. Used to work until recently.

Yep, platform inference has changed drastically. Consider upgrading to the latest client and let me know if you still experience the issue.

Ah got it. The api is the same but the new platform is windowsx64
From https://github.com/sdkman/sdkman-candidates/blob/21b43ab1b6d61ae23765ca02e3cd26b40538cb8d/app/utils/Platform.scala#L15


Atom compile errors aren't as helpful as Terminal output

I was investigating a syntax error:

but I couldnt find any useful messages in here:

but when I look at the compiler output in my Terminal, the error is a lot more useful:
File "/Users/chet/Code/Reason/cube/src/tutorial.re", line 106, characters 11-15:
Error: 19: <UNKNOWN SYNTAX ERROR>

its complaining that type is a reserved word... it would be great to see these errors in the editor.

I wonder if it's possible to let type be used in JSX as you did. @jordwalke ?


fix 1.27.0

wow i added a zero to the method and it fixed it yw caeden ur my oomfie

Hi I absolutely hate to be that guy, but is there a way to access this build?


Add support for background events

Add support for receiving events in the background. These changes are from: https://github.com/Vydia/react-native-background-upload/pull/207/files

 Get rn-bg-upload fork to the patched version


Updating repositories failed when ran xmake.

I want to add a vcpkg package in my project.
I coded like this:add_requires("vcpkg::bdwgc")
When I ran xmake:
checking for mingw directory ... F:\MinGW\mingw64
updating repositories .. error: Updating 748a683..a9e031a
ke-mirror/build-artifacts

branch            main       -> FETCH_HEAD
error: Your local changes to the following files would be overwritten by merge:
.github/workflows/windows.yml
packages/b/benchmark/1.5.5/manifest.txt
packages/b/boost/1.77.0/manifest.txt
packages/f/fmt/8.0.1/manifest.txt
packages/f/freetype/2.11.0/manifest.txt
packages/g/glslang/1.2.189+1/manifest.txt
packages/h/hdf5/1.12.1/manifest.txt
packages/i/imgui/v1.83/manifest.txt
packages/i/imgui/v1.85/manifest.txt
packages/l/libffi/3.4.2/manifest.txt
packages/l/libiconv/1.16/manifest.txt
packages/l/libsdl_image/2.0.5/manifest.txt
packages/l/libvorbis/1.3.7/manifest.txt
packages/l/libxml2/2.9.12/manifest.txt
packages/n/nasm/2.15.05/manifest.txt
packages/o/openssl/1.1.1l/manifest.txt
packages/p/pcre/8.45/manifest.txt
packages/p/python/3.9.6/manifest.txt
packages/s/suitesparse/v5.10.1/manifest.txt
Please commit your changes or stash them before you merge.
Aborting

notes:

xmake version: xmake v2.6.3+HEAD.e2bbeb1b0
os: windows x64
target platform: mingw-x64

I tried to update the xmake, but It didn't work.

try rm ~/.xmake/repositories/xmake-repo or git reset it

try rm ~/.xmake/repositories/xmake-repo or git reset it


IKeyboard.IsKeyPressed(Key key) needs an scancode overload and to implement scancodes

Summary of feature
Currently, you have to convert a scancode to the key in order to use this function. Scancodes are important when a specific key place becomes relevant instead of the actual character. Especially when it comes to international keyboards. German keyboards have y and z flipped which if you had something bound to y you'd have a misplaced keybind.
Comments
Its super common for scancode support.
Does this have a proposal?
No

Agree, I think this is one of the things that has been explicitly addressed in the 3.0 input proposal

Summary of feature
Currently, you have to convert a scancode to the key in order to use this function. Scancodes are important when a specific key place becomes relevant instead of the actual character. Especially when it comes to international keyboards. German keyboards have y and z flipped which if you had something bound to y you'd have a misplaced keybind.
Comments
Its super common for scancode support.
Does this have a proposal?
No

The behaviour of both input backends is to be keyboard-layout-agnostic (whether that be a good or a bad thing depends on the use-case), it should already be the case that the keys that are passed should be """scancodes""" as in they do not change position depending on the user's layout, if they do, then that's probably a bug and would be inconsistent with the intended behaviour of the key press and release events

@dotnet/silk-dotnet do we have any intention to address this in 2.X? This has already been addressed in 3.0.

We could implement this like so:

In the GLFW backend, we can easily use glfwGetKeyScancode()
SDL will be more complicated as it has no such function. SdlKeyboard.IsKeyPressed(Key key) is implemented as a List<Key> _keysDown, with the list updated every time the keydown/keyup event occurs. We could do the same for scancodes, or maybe more appropiately turn this list into a list of scancodes and update the SdlKeyboard code like so:

public bool IsKeyPressed(Key key) => _keysDown.Contains(key);
public bool IsScancodePressed(int scancode) => _scancodesDown.Any(x => _keyMap.TryGetValue(x, out var skey) && key == skey);

Do we reckon anyone's going to implement that before 3.0 comes along though

Do we reckon anyone's going to implement that before 3.0 comes along though

I could give it a shot, seems like a very simple change. Are there any projects that use input and use IsKeyPressed to test this with? Mainly to make sure it's behavior doesn't change

I think there's an InputTest project in the lab

There is, but it does not use IsKeyPressed lol
We can use some of the test projects from TrippyGL, the SimpleShader3D one uses IsKeyPressed

sounds good

I've opened PR #1254 for this.
@Perksey @tilkinsc @Beyley Quick opinion question; which one do you prefer?

Adding a fully separate function: IKeyboard.IsScancodePressed(int scancode)
Or adding an overload: IKeyboard.IsKeyPressed(int scancode)

An argument for the latter might be that the IKeyboard key events report keys and scancodes together:
bool IsKeyPressed(Key key);
event Action<IKeyboard, Key, int>? KeyDown;
event Action<IKeyboard, Key, int>? KeyUp;

I prefer IsScancodePressed to not bring more meaning to Key as its truly a separate thing

I've opened PR #1254 for this.
@Perksey @tilkinsc @Beyley Quick opinion question; which one do you prefer?

Adding a fully separate function: IKeyboard.IsScancodePressed(int scancode)
Or adding an overload: IKeyboard.IsKeyPressed(int scancode)

An argument for the latter might be that the IKeyboard key events report keys and scancodes together:
bool IsKeyPressed(Key key);
event Action<IKeyboard, Key, int>? KeyDown;
event Action<IKeyboard, Key, int>? KeyUp;

i much prefer the separate function route, cleaner to understand

IsScancodePressed

Yes but you don't press a scancode, or at least I don't. I don't know what you have on your keyboard, but my keyboard has keys! I'm not even sure what a physical scancode would look like :P

Like this

That’s a funny looking keyboard you have there ;)

I mean surely you've seen dvorak and other keyboard layouts :)

#1254 has been merged


Webpack 4 support

I'm trying out Webpack 4 beta, and with this plugin, it throws the following error:
[path]/node_modules/tapable/lib/Tapable.js:63
                throw new Error(`Plugin could not be registered at '${name}'. Hook was not found.\n` +
                ^

Error: Plugin could not be registered at 'html-webpack-plugin-before-html-processing'. Hook was not found.
BREAKING CHANGE: There need to exist a hook at 'this.hooks'. To create a compatiblity layer for this hook, hook into 'this._pluginCompat'.
    at Compilation.plugin ([path]/node_modules/tapable/lib/Tapable.js:63:9)
    at Compilation.deprecated [as plugin] (internal/util.js:47:15)
    at [path]/node_modules/inline-manifest-webpack-plugin/index.js:13:21
    at SyncHook.eval [as call] (eval at create ([path]/node_modules/tapable/lib/HookCodeFactory.js:17:12), <anonymous>:17:1)
    at SyncHook.lazyCompileHook [as _call] ([path]/node_modules/tapable/lib/Hook.js:35:21)
    at Compiler.newCompilation ([path]/node_modules/webpack/lib/Compiler.js:400:26)
    at hooks.beforeCompile.callAsync.err ([path]/node_modules/webpack/lib/Compiler.js:432:29)
    at AsyncSeriesHook.eval [as callAsync] (eval at create ([path]/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:6:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] ([path]/node_modules/tapable/lib/Hook.js:35:21)
    at Compiler.compile ([path]/node_modules/webpack/lib/Compiler.js:427:28)
    at readRecords.err ([path]/node_modules/webpack/lib/Compiler.js:217:11)
    at Compiler.readRecords ([path]/node_modules/webpack/lib/Compiler.js:324:11)
    at hooks.run.callAsync.err ([path]/node_modules/webpack/lib/Compiler.js:214:10)
    at AsyncSeriesHook.eval [as callAsync] (eval at create ([path]/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:6:1)
...

Use the latest Webpack and Html-webpack-plugin version. Though there's another issue with this.
It's similar to this https://github.com/numical/script-ext-html-webpack-plugin/issues/41

A fork support webpack 4 is here: https://github.com/almothafar/webpack-inline-manifest-plugin
it is webpack-inline-manifest-plugin

updated!!! please use the v4 of this plugin, sorry for update so late..


Delete useless files

What is the purpose of the change
EngineConn-Core defines the the abstractions and interfaces of the EngineConn core functions.
The Engine Service in Linkis 0.x is refactored, EngineConn will handle the engine connection
and session management.
Related issues/PRs
Related issues: #590
Related pr:#591
Brief change log

Define the core abstraction and interfaces of the EngineConn Factory;
Define the core abstraction and interfaces of Executor Manager.

Checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] I have explained the need for this PR and the problem it solves
[ ] I have explained the changes or the new features added to this PR
[ ] I have added tests corresponding to this change
[ ] I have updated the documentation to reflect this change
[ ] I have verified that this change is backward compatible (If not, please discuss on the Linkis mailing list first)
[ ] If this is a code change: I have written unit tests to fully verify the new behavior.

Hello, thank you for your contribution, your git commit account is not associated with github, this will cause your contribution will not be recorded.
你好，谢谢你的贡献，你的git commit账号没有和github进行关联，这个会导致你的贡献不会被记录，你可以加我微信好友peaceAyton。


OpenSSL detection fails if OpenSSL is available, but OpenSSL.crypto is missing.

in the case that someone has installed OpenSSL without including the crypto module, our OpenSSL detection now detects OpenSSL, but fails when trying to use it. this wouldn't happen in the case of using pip, but could be possible if someone's customized their install (say to remove C extensions in a case like Google App Engine).
@dhermes will surely get a chuckle out of this one. :smile:

Oh joy!


Mercedes me - install failed

**Home Assistant release (hass --version):0.63.0
**Python release (python3 --version):Python 3.6.0
**Component/platform:mercedes me
**Description of problem:Component install failed
Log with mercedesme:
2018-02-11 21:50:13 INFO (MainThread) [homeassistant.loader] Loaded mercedesme from homeassistant.components.mercedesme
2018-02-11 21:50:18 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of mercedesmejsonpy==0.1.2
2018-02-11 21:50:56 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package mercedesmejsonpy==0.1.2: Command "/srv/homeassistant/homeassistant_venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6j6_hhus/lxml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-oyqtx2nu-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/homeassistant_venv/include/site/python3.6/lxml" failed with error code 1 in /tmp/pip-build-6j6_hhus/lxml/
2018-02-11 21:50:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518382256.746473, level=ERROR, message=Unable to install package mercedesmejsonpy==0.1.2: Command "/srv/homeassistant/homeassistant_venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6j6_hhus/lxml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-oyqtx2nu-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/homeassistant_venv/include/site/python3.6/lxml" failed with error code 1 in /tmp/pip-build-6j6_hhus/lxml/, exception=, source=util/package.py>
2018-02-11 21:50:56 ERROR (MainThread) [homeassistant.requirements] Not initializing mercedesme because could not install requirement mercedesmejsonpy==0.1.2
2018-02-11 21:50:56 ERROR (MainThread) [homeassistant.setup] Setup failed for mercedesme: Could not install all requirements.
2018-02-11 21:50:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518382256.7712722, level=ERROR, message=Not initializing mercedesme because could not install requirement mercedesmejsonpy==0.1.2, exception=, source=requirements.py>
2018-02-11 21:50:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518382256.7775927, level=ERROR, message=Setup failed for mercedesme: Could not install all requirements., exception=, source=setup.py>
 - [mercedesme](https://home-assistant.io/components/mercedesme/)
 - [mercedesme](https://home-assistant.io/components/mercedesme/)

could you please give me some details about your environment?
the used library has two requirements.
lxml>=4.1.0
requests>=2.18.4
requests should be part of HA also. So I assume that the lxml library can't be installed on your system.

pip freeze in my AIO script installation

requests==2.18.4
no lxml
Dependencies are solved during component instalation, aren't they?

(homeassistant_venv) homeassistant@raspberrypi3:/home/pi$ pip freeze
aiohttp==2.3.10
aiohttp-cors==0.6.0
astral==1.5
async-timeout==2.0.0
Babel==2.5.1
certifi==2018.1.18
chardet==3.0.4
colorlog==3.1.2
Cython==0.24.1
distro==1.2.0
docopt==0.6.2
enum-compat==0.0.2
Flask==0.10.1
Flask-Babel==0.9
Flask-SocketIO==2.9.2
Flask-Themes==0.1.3
Flask-WTF==0.9.5
fuzzywuzzy==0.16.0
gevent==1.1.1
gevent-socketio==0.3.6
gevent-websocket==0.10.1
google-api-python-client==1.6.4
greenlet==0.4.12
gTTS-token==1.1.1
holidays==0.9.3
home-assistant-frontend==20180209.0
homeassistant==0.63.0
httplib2==0.10.3
idna==2.6
idna-ssl==1.0.0
itsdangerous==0.24
Jinja2==2.10
jsonrpc-async==0.6
jsonrpc-base==1.0
jsonrpc-websocket==0.5
libopenzwave==0.3.3
librouteros==1.0.5
MarkupSafe==1.0
multidict==4.1.0
mutagen==1.40.0
netdisco==1.2.4
netifaces==0.10.6
numpy==1.14.0
oauth2client==4.0.0
openzwave==0.3.3
paho-mqtt==1.3.1
protobuf==3.5.1
psutil==5.4.3
pushbullet.py==0.11.0
pyasn1==0.3.7
pyasn1-modules==0.1.4
PyChromecast==1.0.3
PyDispatcher==2.0.5
pyfttt==0.3
pyozwman==0.3.3
pyozwweb==0.3.3
python-dateutil==2.6.1
python-engineio==1.7.0
python-magic==0.4.13
python-nmap==0.6.1
python-socketio==1.8.1
pytz==2018.3
PyYAML==3.12
requests==2.18.4
rsa==3.4.2
six==1.11.0
speaklater==1.3
speedtest-cli==1.0.7
SQLAlchemy==1.2.2
thingspeak==0.4.1
typing==3.6.4
ua-parser==0.7.3
uritemplate==3.0.0
urllib3==1.22
urwid==1.3.1
user-agents==1.1.0
voluptuous==0.10.5
wakeonlan==1.0.0
WebOb==1.7.3
websocket-client==0.44.0
Werkzeug==0.12.2
WTForms==1.0.5
yahooweather==0.10
yarl==1.1.0
youtube-dl==2018.1.21
zeroconf==0.19.1

Thx, please share information of the used Raspberry OS.
could you try to install the lxml requirements and then try again.
sudo apt-get install libxml2-dev libxslt-dev python-dev
If this works, I'll update the docs. Thx

Because I am running HA in virtualen so pip install lxml solved missing lxml, now i am running lxml==4.1.1
Now I have different problem:
2018-02-12 12:01:25 INFO (MainThread) [homeassistant.loader] Loaded mercedesme from homeassistant.components.mercedesme
2018-02-12 12:01:33 INFO (SyncWorker_11) [homeassistant.util.package] Attempting install of mercedesmejsonpy==0.1.2
2018-02-12 12:01:52 INFO (MainThread) [homeassistant.setup] Setting up mercedesme
2018-02-12 12:01:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: service=load_platform.binary_sensor, platform=mercedesme, discovered=>
2018-02-12 12:01:55 INFO (MainThread) [homeassistant.setup] Setup of domain mercedesme took 3.5 seconds.
2018-02-12 12:01:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=mercedesme>
2018-02-12 12:01:55 INFO (MainThread) [homeassistant.loader] Loaded binary_sensor.mercedesme from homeassistant.components.binary_sensor.mercedesme
2018-02-12 12:01:55 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.mercedesme
2018-02-12 12:01:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: service=load_platform.sensor, platform=mercedesme, discovered=>
2018-02-12 12:01:56 INFO (MainThread) [homeassistant.loader] Loaded sensor.mercedesme from homeassistant.components.sensor.mercedesme
2018-02-12 12:01:56 ERROR (MainThread) [homeassistant.components.sensor] mercedesme: Error on device update!
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/sensor/mercedesme.py", line 54, in update
2018-02-12 12:01:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518433316.2807324, level=ERROR, message=mercedesme: Error on device update!, exception=Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/sensor/mercedesme.py", line 54, in update
, source=components/sensor/mercedesme.py>
2018-02-12 12:02:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: service=load_platform.device_tracker, platform=mercedesme, discovered=>
2018-02-12 12:02:07 INFO (MainThread) [homeassistant.loader] Loaded device_tracker.mercedesme from homeassistant.components.device_tracker.mercedesme
2018-02-12 12:02:10 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform mercedesme
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 31, in setup_scanner
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 43, in __init__
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 53, in update_info
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/mercedesmejsonpy/controller.py", line 62, in get_location
2018-02-12 12:02:11 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518433330.3057864, level=ERROR, message=Error setting up platform mercedesme, exception=Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 31, in setup_scanner
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 43, in __init__
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 53, in update_info
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/mercedesmejsonpy/controller.py", line 62, in get_location
, source=components/device_tracker/mercedesme.py>
2018-02-12 12:02:56 INFO (SyncWorker_9) [homeassistant.components.mercedesme] Updating Mercedes me component.
2018-02-12 12:04:01 INFO (SyncWorker_15) [homeassistant.components.mercedesme] Updating Mercedes me component.
2018-02-12 12:05:01 INFO (SyncWorker_3) [homeassistant.components.mercedesme] Updating Mercedes me component.
2018-02-12 12:06:03 INFO (SyncWorker_17) [homeassistant.components.mercedesme] Updating Mercedes me component.

I am running Raspbian GNU/Linux 9 (stretch) on Rpi3

Do you have the location service enabled in the mercedesme app or mercedesme portal?
In which country is your car registered?
Are you interessted in a deeper analysis? If yes, send me a short message to github12320 (at) nulsch (dot) de.

I have added a note to the documentation and created a PR with checks for available features. #12342

**Home Assistant release (hass --version):0.63.1
**Python release (python3 --version):Python 3.6.0
I also have some issues with the mercedes me component, I don't know if it ok to post it on this issues, if not tell me and I will delete the post.
I live in Norway and registered me car yesterday and have been driving for on trip, without getting any data in home assistant. It is a Mercedes E220 2010 modell with Mercedes Me adapter
2018-02-12 21:30:27 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform mercedesme Traceback (most recent call last):   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 169, in async_setup_platform     disc_info)   File "/usr/local/lib/python3.6/asyncio/futures.py", line 331, in __iter__     yield self  # This tells Task to wait for completion.   File "/usr/local/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup     future.result()   File "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result     raise self._exception   File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run     result = self.fn(*self.args, **self.kwargs)   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 31, in setup_scanner     MercedesMEDeviceTracker(hass, config, see, data)   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 43, in __init__     self.update_info()   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 306, in wrapper     result = method(*args, **kwargs)   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 53, in update_info     location = self.data.get_location(device["vin"])   File "/srv/homeassistant/lib/python3.6/site-packages/mercedesmejsonpy/controller.py", line 62, in get_location     return json.loads(location_response.content.decode('utf8'))['data']   File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads     return _default_decoder.decode(s)   File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode     obj, end = self.raw_decode(s, idx=_w(s, 0).end())   File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode     raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) 2018-02-12 21:30:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518467427.7032056, level=ERROR, message=Error setting up platform mercedesme, exception=Traceback (most recent call last):   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 169, in async_setup_platform     disc_info)   File "/usr/local/lib/python3.6/asyncio/futures.py", line 331, in __iter__     yield self  # This tells Task to wait for completion.   File "/usr/local/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup     future.result()   File "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result     raise self._exception   File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run     result = self.fn(*self.args, **self.kwargs)   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 31, in setup_scanner     MercedesMEDeviceTracker(hass, config, see, data)   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 43, in __init__     self.update_info()   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 306, in wrapper     result = method(*args, **kwargs)   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 53, in update_info     location = self.data.get_location(device["vin"])   File "/srv/homeassistant/lib/python3.6/site-packages/mercedesmejsonpy/controller.py", line 62, in get_location     return json.loads(location_response.content.decode('utf8'))['data']   File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads     return _default_decoder.decode(s)   File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode     obj, end = self.raw_decode(s, idx=_w(s, 0).end())   File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode     raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) , source=components/device_tracker/mercedesme.py> 2018-02-12 21:30:31 ERROR (MainThread) [homeassistant.components.sensor] mercedesme: Error on device update! Traceback (most recent call last):   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 197, in _async_add_entity     yield from entity.async_device_update(warning=False)   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update     yield from self.hass.async_add_job(self.update)   File "/usr/local/lib/python3.6/asyncio/futures.py", line 331, in __iter__     yield self  # This tells Task to wait for completion.   File "/usr/local/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup     future.result()   File "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result     raise self._exception   File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run     result = self.fn(*self.args, **self.kwargs)   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/mercedesme.py", line 54, in update     self._state = self._car["latestTrip"]["id"] TypeError: 'NoneType' object is not subscriptable 2018-02-12 21:30:31 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518467431.3834827, level=ERROR, message=mercedesme: Error on device update!, exception=Traceback (most recent call last):   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 197, in _async_add_entity     yield from entity.async_device_update(warning=False)   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update     yield from self.hass.async_add_job(self.update)   File "/usr/local/lib/python3.6/asyncio/futures.py", line 331, in __iter__     yield self  # This tells Task to wait for completion.   File "/usr/local/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup     future.result()   File "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result     raise self._exception   File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run     result = self.fn(*self.args, **self.kwargs)   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/mercedesme.py", line 54, in update     self._state = self._car["latestTrip"]["id"] TypeError: 'NoneType' object is not subscriptable , source=components/sensor/mercedesme.py>

hi, thank for reporting. This should be fixed already and will be part of 0.63.2. The fix is already available in the DEV branch. With the fix we check if certain features are available.

Great!
But is it a problem that a lot of the info from this site is "NULL" or not "SERVICE_NOT_SIGNED"?
I have some information in the app. I am aware with the OBD adapter the data  is limited, but odometer, car location and fuel level should be possible to read out
https://ui.meapp.secure.mercedes-benz.com/api/v1.1/me
{"user":{"ciam":"dasfa","settings":{"vehicleSettings":[{"lastMileNavigation":true,"notifyOnBatteryCharging":false,"notifyOnUnlocked":true,"bluetooth":true,"vin":"fdsfsd","suggestedDestinations":true}],"notifyOnTraffic":false,"trackAppUsage":true,"notifyOnNewsfeed":false},"vehicles":[{"uuid":"sfas-e3cf-asf-950d-sadf","vin":"sfasa","latestTrip":null,"ignitionState":null,"fuelLevelPercent":null,"frontRightDoorLocked":null,"rearRightDoorLocked":null,"rearLeftDoorLocked":null,"frontLeftDoorLocked":null,"fuelLidClosed":null,"frontRightDoorClosed":null,"rearRightDoorClosed":null,"rearLeftDoorClosed":null,"frontLeftDoorClosed":null,"trunkClosed":null,"trunkLocked":null,"frontRightTirePressure":null,"frontLeftTirePressure":null,"rearRightTirePressure":null,"rearLeftTirePressure":null,"frontRightTirePressureKpa":null,"frontLeftTirePressureKpa":null,"rearRightTirePressureKpa":null,"rearLeftTirePressureKpa":null,"warningBackupBattery":null,"warningBrakeFluid":null,"warningBrakeLineWear":null,"warningCoolantLevelLow":null,"warningEngineLight":null,"warningGenerator":null,"warningLowBattery":null,"batteryState":null,"warningStartEngine":null,"warningWashWater":null,"tireWarningPrw":null,"serviceIntervalDays":null,"serviceIntervalDistance":null,"parkingBrakeStatus":null,"fuelRangeKm":null,"electricRangeKm":null,"electricChargePercent":null,"electricChargingStatus":null,"trackingStateHU":null,"model":"E 220 CDI BlueEFFICIENCY Estate","license":"DR42481","year":null,"numberOfDoors":null,"odometerKm":null,"auxiliaryHeater":null,"tirePressureScope":null,"tireWarningLight":null,"lightSwitchPosition":null,"tireMarkerFrontLeft":null,"tireMarkerFrontRight":null,"tireMarkerRearRight":null,"tireMarkerRearLeft":null,"tireWarningRdk":null,"windowStatusFrontLeft":null,"windowStatusFrontRight":null,"windowStatusRearLeft":null,"windowStatusRearRight":null,"tankReserveLamp":null,"rooftopStatus":null,"sunroofStatus":null,"liquidConsumptionReset":null,"liquidConsumptionStart":null,"averageSpeedStart":null,"averageSpeedReset":null,"drivenTimeStart":null,"drivenTimeReset":null,"distanceStart":null,"distanceReset":null,"departureTime":null,"departureTimeUtc":null,"departureTimeSoc":null,"maxRange":null,"departureProfile":null,"precondAtDeparture":null,"distanceZeStart":null,"distanceZeReset":null,"drivenTimeZeStart":null,"drivenTimeZeReset":null,"electricConsumptionStart":null,"electricConsumptionReset":null,"distanceElectricalStart":null,"distanceElectricalReset":null,"precondActive":null,"mbappsEnabled":null,"lastUpdate":0,"lastTheftWarning":null,"availabilities":{"odometerKm":"SERVICE_NOT_SIGNED","fuelLevelPercent":"SERVICE_NOT_SIGNED","frontRightDoorLocked":"SERVICE_NOT_SIGNED","frontLeftDoorLocked":"SERVICE_NOT_SIGNED","rearRightDoorLocked":"SERVICE_NOT_SIGNED","rearLeftDoorLocked":"SERVICE_NOT_SIGNED","locked":"SERVICE_NOT_SIGNED","fuelLidClosed":"SERVICE_NOT_SIGNED","frontRightDoorClosed":"SERVICE_NOT_SIGNED","frontLeftDoorClosed":"SERVICE_NOT_SIGNED","rearRightDoorClosed":"SERVICE_NOT_SIGNED","rearLeftDoorClosed":"SERVICE_NOT_SIGNED","trunkClosed":"SERVICE_NOT_SIGNED","trunkLocked":"SERVICE_NOT_SIGNED","doorsClosed":"SERVICE_NOT_SIGNED","rooftopStatus":"SERVICE_NOT_SIGNED","sunroofStatus":"SERVICE_NOT_SIGNED","frontLeftTirePressureKpa":"SERVICE_NOT_SIGNED","frontRightTirePressureKpa":"SERVICE_NOT_SIGNED","rearLeftTirePressureKpa":"SERVICE_NOT_SIGNED","rearRightTirePressureKpa":"SERVICE_NOT_SIGNED","frontLeftTirePressure":"SERVICE_NOT_SIGNED","frontRightTirePressure":"SERVICE_NOT_SIGNED","rearLeftTirePressure":"SERVICE_NOT_SIGNED","rearRightTirePressure":"SERVICE_NOT_SIGNED","tirePressureScope":"SERVICE_NOT_SIGNED","warningBackupBattery":"SERVICE_NOT_SIGNED","warningBrakeFluid":"SERVICE_NOT_SIGNED","warningBrakeLineWear":"SERVICE_NOT_SIGNED","warningCoolantLevelLow":"SERVICE_NOT_SIGNED","warningEngineLight":"SERVICE_NOT_SIGNED","warningGenerator":"SERVICE_NOT_SIGNED","warningLowBattery":"SERVICE_NOT_SIGNED","batteryState":"SERVICE_NOT_SIGNED","warningStartEngine":"SERVICE_NOT_SIGNED","warningWashWater":"SERVICE_NOT_SIGNED","tireWarningPrw":"SERVICE_NOT_SIGNED","tireWarningLight":"SERVICE_NOT_SIGNED","serviceIntervalDays":"SERVICE_NOT_SIGNED","serviceIntervalDistance":"SERVICE_NOT_SIGNED","parkingBrakeStatus":"SERVICE_NOT_SIGNED","fuelRangeKm":"SERVICE_NOT_SIGNED","electricRangeKm":"SERVICE_NOT_SIGNED","lastTheftWarning":"SERVICE_NOT_SIGNED","lightSwitchPosition":"SERVICE_NOT_SIGNED","tireMarkerFrontLeft":"SERVICE_NOT_SIGNED","tireMarkerFrontRight":"SERVICE_NOT_SIGNED","tireMarkerRearLeft":"SERVICE_NOT_SIGNED","tireMarkerRearRight":"SERVICE_NOT_SIGNED","tireWarningRdk":"SERVICE_NOT_SIGNED","auxiliaryHeater":"NOT_PRESENT","windowStatusFrontLeft":"SERVICE_NOT_SIGNED","windowStatusFrontRight":"SERVICE_NOT_SIGNED","windowStatusRearLeft":"SERVICE_NOT_SIGNED","windowStatusRearRight":"SERVICE_NOT_SIGNED","windowsClosed":"SERVICE_NOT_SIGNED","ignitionState":"SERVICE_NOT_SIGNED","tankReserveLamp":"SERVICE_NOT_SIGNED","latestTrip":"SERVICE_NOT_SIGNED","tireWarningRollup":"SERVICE_NOT_SIGNED","preconditionActive":"NOT_PRESENT","precondActive":"NOT_PRESENT","electricChargePercent":"SERVICE_NOT_SIGNED","electricChargingStatus":"SERVICE_NOT_SIGNED","trackingStateHU":"SERVICE_NOT_SIGNED","liquidConsumptionReset":"NOT_PRESENT","liquidConsumptionStart":"NOT_PRESENT","averageSpeedStart":"NOT_PRESENT","averageSpeedReset":"NOT_PRESENT","drivenTimeStart":"NOT_PRESENT","drivenTimeReset":"NOT_PRESENT","distanceStart":"NOT_PRESENT","distanceReset":"NOT_PRESENT","precondAtDeparture":"NOT_PRESENT","departureTime":"NOT_PRESENT","departureTimeUtc":"SERVICE_NOT_SIGNED","maxRange":"SERVICE_NOT_SIGNED","departureTimeSoc":"SERVICE_NOT_SIGNED","departureProfile":"SERVICE_NOT_SIGNED","distanceZeStart":"NOT_PRESENT","distanceZeReset":"NOT_PRESENT","drivenTimeZeStart":"NOT_PRESENT","drivenTimeZeReset":"NOT_PRESENT","electricConsumptionReset":"NOT_PRESENT","electricConsumptionStart":"NOT_PRESENT","distanceElectricalStart":"NOT_PRESENT","distanceElectricalReset":"NOT_PRESENT","distancePlugInStart":"NOT_PRESENT","distancePlugInReset":"NOT_PRESENT","drivenTimePlugInStart":"NOT_PRESENT","drivenTimePlugInReset":"NOT_PRESENT","overallRangeKm":"SERVICE_NOT_SIGNED","overallRangePercent":"SERVICE_NOT_SIGNED","numberOfDoors":"SERVICE_NOT_SIGNED"},"services":{"REMOTE_DOOR_CONTROL":false,"PREDICTIVE":false,"PARKING":false,"VEHICLE_FINDER":false,"CONCIERGE":false,"REMOTE_AUX_HEAT":false,"LIVE_TRAFFIC":false,"REMOTE_STATUS":false,"DOOR2DOOR":false,"VEHICLE_TRACKER":false,"REMOTE_CHARGING_CONTROL":false},"tireWarningRollup":null,"preconditionActive":null,"doorsClosed":null,"windowsClosed":null,"distancePlugInStart":null,"distancePlugInReset":null,"drivenTimePlugInStart":null,"drivenTimePlugInReset":null,"overallRangeKm":null,"overallRangePercent":null,"locked":null}],"savedLocations":[],"home":null,"work":null},"app":{"remote_configuration":{"cacNumber":"0080097777777","vhaRootUrl":"https://app.secure.mercedes-benz.com/backend/","dealerSearchUrl":"http://dealersearch.mercedes-benz.com/is-bin/intershop.static/WFS/outlet-de-wholesale-consumer-Site/-/de_DE/widget/dealerselector/theme/eMB-MyM-DL/search.html?sku=mb_connect_general&organization=outlet-emb-us&locale=en_US","newsfeedUrl":"https://newsfeed.meapp.secure.mercedes-benz.com/api/v2/newsfeed?locale=en_US"}}}

What app do you use? Looks like the OBD adapter is handled differently.
Could we switch to the Forum?

@Cooper-Dale could you please recheck? Your issue should be solved. The issue from @krsandvik is related to the currently not supported OBD adapter and we try to find a solution in the forum.

it looks much better, now I have nice warnings:
grep for my licence plate
2018-02-15 22:11:48 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729108.887767, level=WARNING, message=The feature fuelLevelPercent is not available for your car CZxxxx, exception=, source=components/sensor/mercedesme.py>
2018-02-15 22:11:49 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729108.9851089, level=WARNING, message=The feature fuelRangeKm is not available for your car CZxxxx, exception=, source=components/sensor/mercedesme.py>
2018-02-15 22:11:49 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729108.9959242, level=WARNING, message=The feature latestTrip is not available for your car CZxxxx, exception=, source=components/sensor/mercedesme.py>
2018-02-15 22:11:49 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729109.0042346, level=WARNING, message=The feature odometerKm is not available for your car CZxxxx, exception=, source=components/sensor/mercedesme.py>
2018-02-15 22:11:49 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729109.0150626, level=WARNING, message=The feature serviceIntervalDays is not available for your car CZxxxx, exception=, source=components/sensor/mercedesme.py>
2018-02-15 22:11:50 WARNING (SyncWorker_10) [homeassistant.components.binary_sensor.mercedesme] The feature doorsClosed is not available for your car CZxxxx
2018-02-15 22:11:50 WARNING (SyncWorker_10) [homeassistant.components.binary_sensor.mercedesme] The feature locked is not available for your car CZxxxx
2018-02-15 22:11:50 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729110.417885, level=WARNING, message=The feature doorsClosed is not available for your car CZxxxx, exception=, source=components/binary_sensor/mercedesme.py>
2018-02-15 22:11:50 WARNING (SyncWorker_10) [homeassistant.components.binary_sensor.mercedesme] The feature tireWarningLight is not available for your car CZxxxx
2018-02-15 22:11:50 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729110.4250634, level=WARNING, message=The feature locked is not available for your car CZxxxx, exception=, source=components/binary_sensor/mercedesme.py>
2018-02-15 22:11:50 WARNING (SyncWorker_10) [homeassistant.components.binary_sensor.mercedesme] The feature windowsClosed is not available for your car CZxxxx
2018-02-15 22:11:50 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729110.4372556, level=WARNING, message=The feature tireWarningLight is not available for your car CZxxxx, exception=, source=components/binary_sensor/mercedesme.py>
2018-02-15 22:11:50 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729110.4498844, level=WARNING, message=The feature windowsClosed is not available for your car CZxxxx, exception=, source=components/binary_sensor/mercedesme.py>

my adapter has not been installed jet, so my Me portal is empty


Fix handling of 'params' argument by droplet_v2_action and image_v2_action

The droplet_v2_action and image_v2_action methods would always override the value of params, even when set by the caller, making methods like rebuild_droplet always fail with the v2 API.  I fixed that.
I also fixed a NameError in edit_domain_record that I noticed.

Thanks, merged and pushed to pypi v.0.3.6


Add test harness

First try: just run tests in node.
Second pass: some sort of in-browser testing?
Include code coverage.
Directory structure:
\src
  \test
    \fixtures
    \spec
    index.ts

Tentative plan:
AVA test runner. (TODO it doesn't support in-browser testing yet?)
NYC code coverage (https://github.com/avajs/ava/blob/master/docs/recipes/code-coverage.md)
Ready for TravisCI and Coveralls
Anything ending in .test.ts is a test file.  They can live anywhere in src/.

Windows testing via AppVeyor.


Adding Level order Traversal for Binary Tree using C, C++ and Python.

Feature to be added : Level order traversal for Binary Tree (using C, C++, Python)
Describe the solution :
Level order traversal is a popular algorithm used to visit and process each node in a binary tree, where nodes at the same level are visited before moving on to the next level. It ensures that nodes are processed in a breadth-first manner, starting from the root node and moving down through each level until all nodes have been visited.
Algorithm flow :

Create an empty queue data structure to store the nodes.
Enqueue the root node of the binary tree into the queue.
Start a loop that continues until the queue becomes empty.
Within the loop, dequeue a node from the front of the queue.
Process the dequeued node (e.g., print its value, perform some operation, etc.).
Enqueue the left child of the dequeued node into the queue if it exists.
Enqueue the right child of the dequeued node into the queue if it exists.
Repeat steps 4-7 until the queue is empty.
The algorithm has completed when all nodes in the binary tree have been processed.

I searched across our algorithms repository but couldn’t find this algorithm and its important Algorithm that we are missing. Please assign me this issue under SSoC23
@Kumar-laxmi Please assign me this issue under SSoC23 as it will be my first open source contribution. Thanks.

@Kumar-laxmi Please assign me this issue for C,C++.
This shall be my first contribution for SSOC

Sorry this has been implemented in all four languages


Running npx macrome build give Not Found - GET https://registry.npmjs.org/macrome

npx macrome watch
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/macrome - Not found
npm ERR! 404
npm ERR! 404  'macrome@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR!      /Users/amit/.npm/_logs/2021-01-25T05_11_28_879Z-debug.log
Install for [ 'macrome@latest' ] failed with code 1

Am I missing something?

Yeah, I haven't published it yet. It should be published in the next two weeks or so though since I've just shifted my full-time focus back to this project as of today.
I took a break from it to focus on shipping iter-tools@7 and @iter-tools/regex which I need to efficiently parse headers, but that is now pretty much ready for 1.0 so I'm currently testing it out with the macrome codebase, after which I'll attempt to build iter-tools with macrome and if all goes well I'll publish macrome.

Yeah, I haven't published it yet. It should be published in the next two weeks or so though since I've just shifted my full-time focus back to this project as of today.
I took a break from it to focus on shipping iter-tools@7 and @iter-tools/regex which I need to efficiently parse headers, but that is now pretty much ready for 1.0 so I'm currently testing it out with the macrome codebase, after which I'll attempt to build iter-tools with macrome and if all goes well I'll publish macrome.

Oh, I didn't know that.  Good to know that the timeline for this is setup.

Oh, I didn't know that.  Good to know that the timeline for this is setup.


Sealog/Seaplay Navigation Time Displayed is always YYYY.0 (i.e. 2023.0)

On Alvin Sealog and Seaplay, and on seaplay.whoi.edu for Jason and Alvin, "Time" within the Navigation box always displays "YYYY.0" with YYYY being the year of the cruise. This has persisted across all cruises I've gone through, back to 2020 at least.

Related to #61. The time field is stored like 2023-07-10T15:23:27.105Z. The solution in #62 was to run parseFloat() on the input and check if it is NaN. But, since the time field begins with a valid float (2023), this check doesn't work.
I think we should move to a different technique than using parseFloat(), such as a regular expression, /^[+-]?(?:\d*\.\d+|\d+\.\d*)$/.
(The root cause of this is that Sealog doesn't use typed data and everything is stored as a string.)


php 7.4 & icu4c

Describe the bug
When trying to run anything with php 7.4 I get this error Library not loaded:  /usr/local/opt/icu4c/lib/libicuio.72.dylib.
I tried reinstalling<EMAIL_ADDRESS>after cleaning up brew first but to no avail. The latest version is linked to icu4c 72 but my installed version is icu4c 73.
PHP versions
7.4
I'm just wondering if I'm doing something incorrectly or that 7.4 is never going to work with icu4c 73 so it's really time to force clients to upgrade their projects to PHP 8+ which is my preferred choice anyway. But this is another good argument.

<EMAIL_ADDRESS>was rebuilt with icu 73.2 in June, 23.
Please update brew and reinstall<EMAIL_ADDRESS>and icu4c.
brew update
brew reinstall icu4c<EMAIL_ADDRESS>


⚠ Fetchers has degraded performance

In 3a9b6f4, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 2454 ms

Resolved: Fetchers performance has improved in 29e1e89.


Unable to run the script

When I open tampermonkey, it shows that chatgpt-exporter is enabled, but I dont see any screen to export the chat.
How do I get the export screen?

Hi, can you update to 2.5.4 first and open F12 - console, then take a screenshot so that I can check the error message.

When I open tampermonkey, it shows that chatgpt-exporter is enabled, but I dont see any screen to export the chat.
How do I get the export screen?

me too, please fix it

@pdsing @tinhthaison please provide the following information:

Browser
OS
Script Version (Open it up and check the version in the script manager)
Error Message (Press F12, go to console, take a screenshot)

thks: Browser: Edge Version 112.0.1722.34 (Official build) (64-bit); OS win 10; Script:https://raw.githubusercontent.com/pionxzh/chatgpt-exporter/master/dist/chatgpt.user.js; Error:

How to export, i can 't see how to export

@tinhthaison thanks

For the script version, you can click on Tampermonkey -> Dashboard

For the error message, I will need the "complete" screenshot. If your screen is not big enough, you can try to copy the text directly. 🙏

I'm also encountering this issue. The full error message I'm encountering is:
Script error in [Greasemonkey script pionxzh/ChatGPT Exporter; version 2.6.1]:
TypeError: GM_getValue is not a function ChatGPT Exporter:18661:19
    <anonymous> user-script:pionxzh/ChatGPT Exporter:18661

Hi @weaversam8 @pdsing @tinhthaison
Please help to verify if 2.6.2 fixed the problem. Thanks.


Translations

Coverage: 88.287%. Remained the same when pulling 3619de1feb376958e184e87fba32ea4db46ab935 on translations into b2768aba21e8b1037966524871f4f1cc446a2b75 on main.


 It adds pdns-go bindings to the vendor directory, that will let us the pdns provider to external-dns. (Issue #363 )

@ffledgling Thanks for your PR!
It would be nice if you could rebase without the vendor commit, so we can review your changes without going to commits one by one.

@njuettner Thanks for taking a look! This PR is in a bit of flux at the moment and I should've marked it as incomplete. I'll be updating this in the upcoming days, the vendoring, external package and a lot of other things have been changing very quickly.
When it's done I'll update either via a comment here or via Slack. Cheers!

I've updated this commit and it now implements the pdns provider fully (for the most part).
Some notes:

It relies on a swagger generated client which is currently under provider/internal/pdns-go. This addition is in a separate commit to make reviewing easier.
Ideally this can be added as an external vendored dependency and managed with glide. But I ran into issues getting glide to work correctly on my end.
Once the code is reviewed and OK'd I can spend more time trying to deal with glide and dependency management to get the dependency moved out of the code and into glide/vendor.

what is the status here ?

@ideahitme This has fallen by the wayside for a bit because some other stuff came up, but I'll try to clean it up and send it in by the second/third week of January.

@ffledgling sure, ping me when it is ready

Merged-in current master which uses dep now.

@linki I noticed, I'll switch over to dep.

While I work on this, here's the binary with the pdns bits built in for those who wish to play around with it - https://pastebin.ffledgling.com/external-dns/ (Please do not sure this in production).

@ideahitme @njuettner I think is ready for review on my end, can you please review? I think I've addressed all prior concerns here.

@ffledgling did you had time to take a look? I think there's only a minor part missing here.

:+1:

Is it possible to include basic auth authentication?

@tuapuikia what do you mean by basic auth authentication? The provider already supports a password protected PDNS API instance. Did you have something else in mind?

@ffledgling the current provider only support x-auth token. But library support basic auth to authenticate api behind proxy.

@tuapuikia Do you mind opening a new issue with examples of what you want?


Not honoring envfile when debugging Python

Issue Type: Bug
I'm trying to run a Python script via the Debugger in VSC, however, it's not honoring my envfile like it used to.
Here's my config:
{
            "name": "Python: Processor Runner",
            "type": "python",
            "request": "launch",
            "module": "src.automation.processor_runner",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}",
            "pythonPath": "${workspaceFolder}/venv/bin/python",
            "envFile": "${workspaceFolder}/envfile"
},

As you can see, there's an envFile specified, and in previous versions of VSC, it would load this correctly into the environment when running the debugger. Now, it does not. Instead, I get errors in my code indicating the environment variables are not found.
If I use the "env" property instead, that works fine, but the file doesn't.
Here's the terminal output:
/Volumes/code/gitlab.engservices///interface-automation/venv/bin/python /Users/ryanw/.vscode/extensions/ms-python.python-2019.9.34911/pythonFiles/ptvsd_launcher.py --default --client --host localhost --port 64960 -m src.automation.processor_runner
Extension version: 2019.9.34911
VS Code version: Code 1.38.0 (3db7e09f3b61f915d03bbfa58e258d6eee843f35, 2019-09-03T21:47:00.464Z)
OS version: Darwin x64 16.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6360U CPU @ 2.00GHz (4 x 2000)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
11, 8, 17

Memory (System)
16.00GB (0.03GB free)

Process Argv
.

Screen Reader
no

VM
0%

Hello @ryanwa 👋 Thank you for reaching out.
Can you try removing the envFile key from your launch config and specify the path to your env file in the python.envFile settings instead (see #7210)?

I am experiencing the same issue and after I removed the setting from my launch config, the environment variables loaded fine.

After reviewing this, I believe this to be a duplicate of #7210, so I'm going to close this one out. It looks like #7210 has a resolution at this point, so I'm excited to try that.


Update dependencies and add namespace for AGP compatibility

Hi,
I have made the following improvements to the repository:
Updated outdated dependencies to their latest stable versions.
Fixed issues with compatibility in the latest Android Gradle Plugin (AGP) by adding the required namespace field to the build.gradle file.
These changes ensure that the project is compatible with the latest versions of Flutter and Android Gradle, improving overall stability and build performance.
If you find these updates helpful and if possible, I would appreciate being mentioned in the list of contributors for this package.
Thank you for maintaining this great project, and I look forward to your feedback!
Best regards,
Hamid jalili

Thank you!


Consider to have a separate log channel for extensions location

There is quite a lot of output when you run with --verbose from:
https://github.com/microsoft/vscode/blob/34cba75c513878d683004561c799dd5cd13f5222/src/vs/workbench/services/extensions/electron-sandbox/nativeExtensionService.ts#L747

Maybe this could go to a dedicated log channel.
//cc @sandy081

I would keep this in the window log, probably having better filter capabilities will help here.


Delete i2c cmd_mux semaphore more cleanly (v4.3 branch) (IDFGH-5061)

See https://github.com/adafruit/esp-idf/pull/1 for more info.

This change fixes an problem we have seen in CircuitPython between i2c_driver_delete() and esp_wifi_start(). It is not a hard crash, but in our case we lose the USB CDC connection, and things stop running: it may be a runaway set of interrupts or some other loop. The usual IDF threads that are running when the issue happens look the same as in the good case.
The essence of the problem is this sequence:
i2c_driver_delete(NULL);   // does nothing
i2c_param_config();
i2c_driver_install();
i2c_driver_delete();   // This is crucial.

esp_netif_init();
esp_event_loop_create_default();
xEventGroupCreateStatic();
esp_event_handler_instance_register();
esp_event_handler_instance_register();
esp_wifi_init();
esp_wifi_set_mode();
esp_wifi_start();

I arrived at this change by divide and conquer, seeing which part of the i2c.c was causing the issue.Unfortunately esp_wifi_start(), which is where the problem seems to occur, is in the closed-source wifi stack.
The critical piece of the original i2c_driver_delete() code is:
xTakeSemaphore();
vSemaphoreDelete;

If the xTakeSemaphore(); is completely removed, or if the xGiveSemaphore() is added, then we don't see the problem. I arrived at adding the xGiveSemaphore() by examining other semaphore cleanup code in the IDF.
I have tried to create a minimal example ESP-IDF. I have one I, but the only differences I see immediately is that the DEBUG traces between the "good" and the "bad" cases. It would be great if someone with access could look inside esp_wifi_start() to see what the actual issue might be.
Other drivers (e.g., SPI, etc.) do not affect esp_wifi_start() in this way. As mentioned, there is more information in https://github.com/adafruit/esp-idf/pull/1 and a longer discussion in https://github.com/adafruit/circuitpython/pull/4387.

Thanks for your contribution.

See https://github.com/espressif/esp-idf/pull/6846#issuecomment-816280296 for more information about the motivation for this PR.

Thanks for your contribution, and sorry for late reply, we have put the changes into our internal review queue, and the PR will be updated once the changes are available on GitHub. Thanks.

Thanks for your contribution again! This PR has been merged into release/v4.3 (commit:2ac59cc8). Could you help to check whether the issue has been fixed.

Thanks for your contribution.


README and DEVELOPMENT

[x] rename README.md to DEVELOPMENT.md
[x] create README.md with project information
[x] add badges (Travis-CI, Sonar, License)

done in #133.

done in #133.


Add how-to-fix-osm link

Perhaps instead of or in addition to the feedback link?
http://www.openstreetmap.org/fixthemap

For now, we can just manually direct people to that link, if they file issues here that are due to OSM problems.


pkg_resources is deprecated

xmldiff currently still uses pkg_resouces in its main.py. That package is deprecated and scheduled to be removed from the Python standard library, being replaced with importlib. xmldiff should probably switch to using importlib.

Done


Does it support external cameras?

Does it support external cameras? Thanks!

Hi @haohighview,
We do not support external  cameras at the moment. There has been no testing done regarding external cameras so far.

Android TV

Hi @haohighview,
would it be possible for you to have a discussion with our team about the use cases that you are working on? During discussion:
We can make a note of use cases that you are working on and can discuss with our team to see if we can bring few more features into product :)

The device our app runs on does not have a built-in camera. After adding an external camera to the device, the app cannot recognize it. Unable to turn on camera.

Hi @haohighview,
In future, we are planning to expose API to support raw media access. The API will help to use any camera for streaming. We will let you know once this feature will be implemented.
We are dependent on https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-with-video-calling?pivots=platform-android. The latest feature https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-raw-media-access?pivots=platform-android will help for streaming any camera feed.

Hi @haohighview,
Please create idea at https://feedback.azure.com/d365community/forum/81ff6d2b-0c25-ec11-b6e6-000d3a4f0858.


tf-state is created for default and custom workspace

Testing with tf-controller v0.13.1, when I specify the workspace I see two tfstate secrets, one for default and one for the workspace I specified (myworkspace):

tfstate-default-myterraform
tfstate-myworkspace-myterraform

The content is different and the default one is something like:
{
  "version": 4,
  "terraform_version": "1.3.1",
  "serial": 0,
  "lineage": "b1ec2e99-a37c-91d0-bc38-5fe5e878f04d",
  "outputs": {},
  "resources": [],
  "check_results": null
}

Is this expected?

Hi @logtheta
You might run into some old bugs. Could you please try new versions like v0.15.1 to see if it still persists?

Thanks @chanwit, same result with v0.15.1, after the log
tf-runner Created and switched to workspace "myworkspace"!

I see the second state created .

Hi @logtheta
Thank you very much to help confirm this. We'll take a look at it shortly.


Add authorization policies for OA4MP

This adds a simple authorization policy templates to the OA4MP issuer, enabling CILogon-based authentication to be used.

Fixes #262

Do we want to start moving toward having Pelican handle things like creating the xrootd and tomcat user along with all the other setup those require.

Nah - that's probably where I draw the line.  All the other setup we do is self-contained within Pelican: adding a user mucks with the system configuration.
Now, it's traditional that an RPM package may create these users.  I could see the pelican-server RPM doing this.


The literal is not assignable to intersection of its compatible type and Partial mapping of generic type

Bug Report
Can't assign a literal to the variable of type which is intersection of the type compatible with a literal and Partial mapping of a type passed as generic.
The workaround is possble and includes spreading of empty object of Partial type.
🔎 Search Terms

not assignable
Partial
Intesection

💻 Code
type R = {
  message: string
}

type O = {
  index: number
}

const f = <U extends O>() =>
{
  // error:
  const r1 : R & Partial<U> = {
    message: "hello"
  }

  // workaround:
  const r : R = {
    message: "hello"
  }
  const u : Partial<U> = {}
  const r2 : R & Partial<U> = {...r, ...u}
}

This is a correct error. You could write this, which is unsound:
type R = { message: string };
type O = { index: number };
const f = <U extends O>(): Partial<U> => {
    // Proposed that this be OK
    const r1: R & Partial<U> = {
        message: "hello"
    };
    return r1;
}
const p = f<{ index: number, message: "world" }>();
const m: "world" = p.message!;

This is a correct error. You could write this, which is unsound:
type R = { message: string };
type O = { index: number };
const f = <U extends O>(): Partial<U> => {
    // Proposed that this be OK
    const r1: R & Partial<U> = {
        message: "hello"
    };
    return r1;
}
const p = f<{ index: number, message: "world" }>();
const m: "world" = p.message!;

Should this work then?
type R = {message: string}
type O = {index: number, message:"world"}

const f = <U extends O>() =>
{
  const r : R & Partial<Omit<U, keyof R>> = {
    message: "hello"
  }
}

Should this work then?
type R = {message: string}
type O = {index: number, message:"world"}

const f = <U extends O>() =>
{
  const r : R & Partial<Omit<U, keyof R>> = {
    message: "hello"
  }
}

There isn't special logic that says that things put through Partial gain new subtyping behaviors, so no

There isn't special logic that says that things put through Partial gain new subtyping behaviors, so no

Ok then. But why then the workaround works?
type R = {
  message: string
}

type O = {
  index: number
}

const f = <U extends O>(): string =>
{
  const r : R = {
    message: "hello"
  }
  const u : Partial<U> = {}
  const r2 : R & Partial<U> = {...r, ...u}
  return r2.message
}

const m = f<{index:number,message:"world"}>()

If message type is narrowed to the type "world" then we can't construct with arbitrary message that comes from r, right?

Ok then. But why then the workaround works?
type R = {
  message: string
}

type O = {
  index: number
}

const f = <U extends O>(): string =>
{
  const r : R = {
    message: "hello"
  }
  const u : Partial<U> = {}
  const r2 : R & Partial<U> = {...r, ...u}
  return r2.message
}

const m = f<{index:number,message:"world"}>()

If message type is narrowed to the type "world" then we can't construct with arbitrary message that comes from r, right?


Ecobee service does not respond to thermostat.set_fan_mode

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.21.2
Python release (python3 --version):
Python 3.4.3
Component/platform:
ecobee
Description of problem:
Call to service thermostat.set_fan_mode has no effect.
Expected:
Fan turns on or back to auto if off is specified
Manual service call from webgui sends valid command to Ecobee API but no change occurs on thermostat.
LOG:
16-06-15 22:28:26 homeassistant.components.http: 192.168.XXX.XXX - - [15/Jun/2016 22:28:26] "POST /api/services/thermostat/set_fan_mode HTTP/1.1" 200 133 0.006153

Those methods are not implemented for the ecobee platform.

Is it possible to note on the ecobee component page that these methods are note currently supported?


NPE in IdDistributor.checkId

I haven't been able to reproduce this, but here's the stack track reported via Crashlytics:
Fatal Exception: java.lang.NullPointerException
Attempt to invoke interface method 'long com.mikepenz.fastadapter.IIdentifyable.getIdentifier()' on a null object reference
 Raw Text
com.mikepenz.fastadapter.utils.IdDistributor.checkId (IdDistributor.java:49)
com.mikepenz.fastadapter.utils.IdDistributor.checkIds (IdDistributor.java:24)
com.mikepenz.fastadapter.adapters.ItemAdapter.set (ItemAdapter.java:250)
com.mikepenz.fastadapter.adapters.ItemAdapter$ItemFilter.publishResults (ItemAdapter.java:523)
android.widget.Filter$ResultsHandler.handleMessage (Filter.java:282)
android.os.Handler.dispatchMessage (Handler.java:102)
android.os.Looper.loop (Looper.java:158)
android.app.ActivityThread.main (ActivityThread.java:7229)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)

It seems like the stack trace would happen if an item in the adapter was null.
But, I'm not sure when/why that'd happen... or, why it'd happen so infrequently (about 3 instances over last 2-3 months of hundreds of users)
I'm using version 2.1.0 of FastAdapter, my code is available at https://github.com/stevesea/Adventuresmith/tree/0.18.0

@stevesea hmmm sounds like some concurrent issue.

@stevesea why you are using an own AtomLong object in your code?

@FabianTerhorst the issue seems to be a concurrent issue caused by the ItemFilter, which is the only description why it would be able to set a "null" list to the adpater

@mikepenz how would you recommend synchronizing access to the FastAdapter? Do I need to only worry about modifications to the FastAdapter's item list, or should applying a filter also be done while holding a lock?

@stevesea I think that's something I should figure out inside the filter code.

I was able to reproduce the problem...  To get things to behave badly, seems like I have to do some filtering, then exit filtering. After that, I sometimes see odd lagginess of my recyclerview when adding new items, and sometimes see the crash.
After playing around with it a bit... I did see that I was doing something probably very weird -- There are times I wanted to retain the filter, but also add more items to the result list (the code would set the FastAdapter's filter to null, add items, then restore the previous filter). Once I changed around my code to prevent the user from causing that to happen, things behaved much better.

@stevesea have you found what could be the cause? I have a hard time reproducing this. Perhaps you can provide a sample to showcase the issue

@mikepenz I'll try tweaking the sample application and see if I can reproduce it there.

awesome. thanks

@stevesea any update?

Apologies for the delay, I've been on vacation. I haven't been able to reproduce the issue with modifications to the sample app yet.
I did some changes to my app that may have improved stability. I pushed the release a couple weeks ago, and the crash hasn't appeared in my Crashlytics reports with the latest release.
I ended up hitting it with a big hammer first... Wrapping all access to my FastAdapters in synchronized blocks changeset
But, there was still at least 1 crash event after those changes made it into a release. After experimenting in my app some more, I saw the odd behavior and crash I mentioned in my last comment in this thread. That made me decide to make this changeset
The interesting lines there are the changes to AdventuresmithActivity.kt around line 350.

@stevesea thank you very much for the detailed report. I think this sounds like the FastAdapter itself is less the problem but more the way how it was used / how the items were defined.
I'll close this for now, and we should keep an eye on this


Ho do I install?

Hi
How do I install this software?
I am doing
~/.software/bitfinex-api-go> go generate

then
~/.software/bitfinex-api-go> go install

and then I get
websocket.go:13:5: cannot find package "github.com/gorilla/websocket" in any of:
        /usr/lib/go/src/github.com/gorilla/websocket (from $GOROOT)
        ($GOPATH not set)

Please ensure you follow the default directory organization (in ~/go the directory) or set a GOPATH environment variable (see: https://golang.org/cmd/go/#hdr-GOPATH_environment_variable).


Print usage when called with no file

Thanks for pointing this out! Addressed in https://github.com/dominictarr/tslide/pull/10


Fix fp8 benchmark on single GPU

What does this PR do?
Santosh noted that I missed a declaration for references when running on single GPU, fixes it
Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Feature request: Generalized eigh

scipy.linalg.eigh supports solutions to the generalized eigenvalue problem (i.e. when b is not None). jax.scipy.linalg.eigh claims to support the same interface, but in practice is NotImplemented. I would find this very useful.
import jax
import numpy as np
import scipy.linalg

n = 5
A = np.random.uniform(size=(n, n))
A = A.T @ A
B = np.random.uniform(size=(n, n)
B = B.T @ B

vals, vecs = scipy.linalg.eigh(A, B)  # works
jax_vals, jax_vecs = jax.scipy.linalg.eigh(A, B)
# NotImplementedError("Only the b=None case of eigh is implemented")

A work-around using eig(solve(B, A)) would be viable (though I'm guessing inefficient), though the inefficiency is compounded by eig not having a GPU support.
I imagine part of this would involve extending this work to cover sygvd, but I don't really know enough of low-level wrapping to make a contribution.

Yes, this would be nice to have. We would also want to figure out the derivative rule (JVP) for generalized eigenvalue problems.

Yes, this would be nice to have. We would also want to figure out the derivative rule (JVP) for generalized eigenvalue problems.

Yes, I think you're correct: adding the primitive is mostly a case of copying the existing eigh primitive and extending it to call sygvd on CPU and GPU. This should be fairly mechanical, although as always we're pretty busy: contributions are definitely welcome.
Figuring out the gradient might be slightly harder, but it isn't necessary for a first PR.

Yes, I think you're correct: adding the primitive is mostly a case of copying the existing eigh primitive and extending it to call sygvd on CPU and GPU. This should be fairly mechanical, although as always we're pretty busy: contributions are definitely welcome.
Figuring out the gradient might be slightly harder, but it isn't necessary for a first PR.

So... having had a stab at the mechanical part of this I realize I'm way out of my depth. I'll try and put together a cpu version modelled after this PR, but it might not be anytime soon.
On the other hand, I had some fun working through the jvp maths and got something that seems to work on the forward pass (at least for real inputs, which is all I'm thinking about initially). I made some notes here and also a gist.
I'm more than happy to test / document the poop out of anything that might arise, or do any general leg-work that doesn't require a good understanding of jax internals.

So... having had a stab at the mechanical part of this I realize I'm way out of my depth. I'll try and put together a cpu version modelled after this PR, but it might not be anytime soon.
On the other hand, I had some fun working through the jvp maths and got something that seems to work on the forward pass (at least for real inputs, which is all I'm thinking about initially). I made some notes here and also a gist.
I'm more than happy to test / document the poop out of anything that might arise, or do any general leg-work that doesn't require a good understanding of jax internals.

It seems the generalized eigh still not implemented until now. I encountered this issue too and figured out a solution for anyone still need it @jakevdp @hawkinsp  :
def generalized_eigh(A, B):
    L = jnp.linalg.cholesky(B)
    L_inv = jnp.linalg.inv(L)
    A_redo = L_inv.dot(A).dot(L_inv.T)
    return jnp.linalg.eigh( A_redo )

It may not be the solution with optimal performance, but it works for both CPU and GPU.

It seems there is a solution that works here https://gist.github.com/jackd/99e012090a56637b8dd8bb037374900e

I would just like to point out that while @scraed 's answer returns correct eigenvalues, the eigenvectors need to be transformed to have them represent the eigenvectors of the original generalized eigenproblem. I.e, try:
def generalized_eigh(A, B):
    L = np.linalg.cholesky(B)
    L_inv = np.linalg.inv(L)
    C = L_inv @ A @ L_inv.T
    eigenvalues, eigenvectors_transformed = np.linalg.eigh(C)
    eigenvectors_original = L_inv.T @ eigenvectors_transformed
    return eigenvalues, eigenvectors_original

@jackbaker1001 is right. I forgot to transform the eigen vectors.


Issue while importing ktrain : module 'tensorflow_core.keras.activations' has no attribute 'swish'

ktrain==0.17.3
Error:
AttributeError                            Traceback (most recent call last)
 in ()
----> 1 import ktrain
/usr/local/lib/python3.6/dist-packages/transformers/activations_tf.py in ()
51     "gelu": tf.keras.layers.Activation(gelu),
52     "relu": tf.keras.activations.relu,
---> 53     "swish": tf.keras.activations.swish,
54     "gelu_new": tf.keras.layers.Activation(gelu_new),
55     "mish": tf.keras.layers.Activation(mish),
AttributeError: module 'tensorflow_core.keras.activations' has no attribute 'swish'

Duplicate of #254.
The latest version of transformers (3.2 just released yesterday) evidently no longer supports TensorFlow 2.1 and below.  I will update the ktrain documentation accordingly in the next released.
You'll need to either downgrade transformers or upgrade tensorflow to 2.2 or 2.3.   Regardless of what you choose, you should also upgrade to the latest version of   ktrain (v0.21.x), as this version can be used with any version of TensorFlow and is no  longer pinned to TensorFlow 2.1 on Python 3.6/3.7 systems.

he latest version of transformers (3.2 just released yesterday) evidently no longer supports TensorFlow 2.1 and below. I will update the ktrain documentation accordingly in the next release.
You'll need to either downgrade transformers to 3.1 or upgrade tensorflow to 2.2 or 2.3.

get the right answer

Hi there, still running into this issue, even with tensorflow==2.3.1 and transformers==3.4.0 and ktrain==0.23.2.

Hi there, still running into this issue, even with tensorflow==2.3.1 and transformers==3.4.0 and ktrain==0.23.2.

https://github.com/amaiya/ktrain/issues/255#issuecomment-719137336
You'll need to either downgrade transformers to 3.1 or upgrade  3.1 ，but you got 3.4,try it again and if you need i will check my pip list and conda env list ,sent to you if it still in my computer

Duplicate of #254.
The latest version of transformers (3.2 just released yesterday) evidently no longer supports TensorFlow 2.1 and below. I will update the ktrain documentation accordingly in the next release.
You'll need to either downgrade transformers to 3.1 or upgrade tensorflow to 2.2 or 2.3. Regardless of what you choose, you should also upgrade to the latest version of ktrain (v0.21.x), as this version can be used with any version of TensorFlow and is no longer pinned to TensorFlow 2.1 on Python 3.6/3.7 systems.

I tried this but I keep getting other error messages depending on the version of transformers that I install:
Version 4.1.1: AttributeError: module 'tensorflow_core.python.keras.api._v2.keras.activations' has no attribute 'swish' (as expected and mentioned in the thread)
Version 3.4.0: ModuleNotFoundError: No module named 'sacremoses' (when I try to pip install sacramoses, it tells me that the requirement is already satisfied)
Version 3.1.0: ImportError: cannot import name 'add_start_docstrings_to_callable' from 'transformers.file_utils' (C:\Users\user\AppData\Roaming\Python\Python37\site-packages\transformers\file_utils.py)
I'm kind of at a loss right now bc I seemingly tried everything...
Any help would be very much appreciated

Duplicate of #254.
The latest version of transformers (3.2 just released yesterday) evidently no longer supports TensorFlow 2.1 and below. I will update the ktrain documentation accordingly in the next release.
You'll need to either downgrade transformers to 3.1 or upgrade tensorflow to 2.2 or 2.3. Regardless of what you choose, you should also upgrade to the latest version of ktrain (v0.21.x), as this version can be used with any version of TensorFlow and is no longer pinned to TensorFlow 2.1 on Python 3.6/3.7 systems.

I tried this but I keep getting other error messages depending on the version of transformers that I install:
Version 4.1.1: AttributeError: module 'tensorflow_core.python.keras.api._v2.keras.activations' has no attribute 'swish' (as expected and mentioned in the thread)
Version 3.4.0: ModuleNotFoundError: No module named 'sacremoses' (when I try to pip install sacramoses, it tells me that the requirement is already satisfied)
Version 3.1.0: ImportError: cannot import name 'add_start_docstrings_to_callable' from 'transformers.file_utils' (C:\Users\user\AppData\Roaming\Python\Python37\site-packages\transformers\file_utils.py)
I'm kind of at a loss right now bc I seemingly tried everything...
Any help would be very much appreciated

If someone other has the same issue upgrade TensorFlow it worked for me


Update Config “general”

Automatically generated by Netlify CMS

👷 Deploy Preview for golden-liger-ebb752 processing.

Name
Link

🔨 Latest commit
211eb5e295628fe9d0500133fe65622680e50738

🔍 Latest deploy log
https://app.netlify.com/sites/golden-liger-ebb752/deploys/64761161c33f7b0007926ff2


Localtunnel is not setting up the requested subdomain from the command 'lt --port 4000 --subdomain xyz'

I have been trying to set the subdomain in localtunnel, but it keeps throwing me different subdomains.
Port number is 4000 and it's running.
The command which I used :  lt --port 4000 --subdomain xyz (I changed subdomain name for the security reason).
Where am I doing wrong?

I'm getting the same, but I figured out that using at least 4 characters for a subdomain works.
I'm using v1.9.1

@mvhirsch   I didn't see the issue was already present :
https://github.com/localtunnel/localtunnel/issues/248

It just happened to me. It was working "fine" ('cause of the extreme slowness) and then it stopped after a 503 error. And now, even though I'm requesting a subdomain, I'm getting one of the random ones, which is unpractical as I would have to whitelist the domain on Google AdSense (which is why I'm using the tunnel, to tweak the surrounding styles before publish) until the script/program crashes unexpectedly (which is also very annoying).
And in this rinse and repeat, I would end with a huge list of whitelisted sites, since Google is too cocky to allow me to delete the unwanted ones.

check the running daemon in your server. Chances are that when you exit the tunnel, the tunnel thread becomes a ZOMBIE daemon .
Step 1:
use   to view all daemon
Step2:
identify the zombie local tunnel thread  (example:   node /usr/local/bin/lt -p 8000 -s urdomain)
Step3:
kill with it's pid < kill -9 [pid]>
Step4:
check with ps aux once again, it must be disappeared
Step5:
request your favourite sub-domain once again . it should be good to go now. if not kindly let me know.

When will this be fixed? Some of us rely on having a consistent URL for having newsletters, and Glitch isn't always reliable.

I solved it this way.
The problem:
Once you make your subdomain request, and then terminate it with Ctrl+c. It will terminate on the terminal but, the task still runs on the background.
I solved it by going to task manager, and terminating all task that involve "HOST".
After that, make your request again for subdomain. i.e, lt --port 3002 --subdomain mysubdomain


Remove scale_preserving_logistic_saturation function

Turns out that scale_preserving_logistic_saturation is equivalent to tanh_saturation where c = 0.

Description
This PR removes scale_preserving_logistic_saturation and it's tests.
Modules affected

[x] MMM
[ ] CLV

Type of change

[ ] New feature / enhancement
[ ] Bug fix
[ ] Documentation
[ ] Maintenance
[x] Other (please specify): Removal

📚 Documentation preview 📚: https://pymc-marketing--585.org.readthedocs.build/en/585/

If its a helpful parameterization, why not leave a wrapper?

If its a helpful parameterization, why not leave a wrapper?

Meeh I'm not sure. Going back to highschool trigonometry I find that this is a well known identity. https://en.wikipedia.org/wiki/Hyperbolic_functions

I believe m * tanh(x/(m * c)) is the best parameterization, I can't see any interpretations of parameters in the other parametrization that offer additional benefits.

I believe m * tanh(x/(m * c)) is the best parameterization, I can't see any interpretations of parameters in the other parametrization that offer additional benefits.

Maybe good in the docstring or something then


I found that the time points of the segmentation file and the video description annotation file are different. Is the caption.txt used during training? And then the segmentation is used for inference?

Yes, the segmentation in the video description annotation file consists of manually annotated relatively complete small plot segments. While during inference, for a new movie where such annotations are not available, we divide it into smaller segments based on the scene detect tools.


propagate paper errors across retries

@songgao who should review this?

@maxtaco could you please take a look? :)

HTTP 301
Location: @patrickxb

(I just won't have much time today or tomorrow :) )

I'll look in a bit.

LGTM

Thanks Patrick


[improve][broker] Change log level to reduce duplicated logs

Motivation
Some vendors' environments do not support reading virtual NIC type. The broker will constantly print the useless warning log, which will increase the storage cost.
The demo logs is as follows:
[pulsar-load-manager-1-1] WARN  org.apache.pulsar.broker.loadbalance.LinuxInfoUtils - [LinuxInfo] Failed to read /sys/class/net/nc1 NIC type, the detail is: /sys/class/net/nc1/type: Not a directory
[pulsar-load-manager-1-1] WARN  org.apache.pulsar.broker.loadbalance.LinuxInfoUtils - [LinuxInfo] Failed to read /sys/class/net/nc1 NIC type, the detail is: /sys/class/net/nc1/type: Not a directory
[pulsar-load-manager-1-1] WARN  org.apache.pulsar.broker.loadbalance.LinuxInfoUtils - [LinuxInfo] Failed to read /sys/class/net/nc1 NIC type, the detail is: /sys/class/net/nc1/type: Not a directory

Modifications

Because this is the judgement of boolean. It's okay to move the log to be debug level.

Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

@mattisonchao Can you explain why this log is printed so many times?

@mattisonchao Can you explain why this log is printed so many times?

Because the broker needs to report the load data constantly and then this judgement method will invoke many times. :)
https://github.com/apache/pulsar/blob/3b3c713192ba43a594090d487289fb4d665d2f4c/pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/LinuxInfoUtils.java#L276

In this case, the file doesn't even seem to exist. Could we avoid the exception in the first place by checking with java.nio.file.Files#isReadable if the file exists and is readable? Does Files.isReadable check work for these special /sys/class/net files?

This method is only used to judge whether the current NIC is physical. IMO, the exception status also means not a valid physical NIC. I think giving it a debug-level log for troubleshooting is enough.
And yes, we can give an extra operation to check if the current file type exists. but for the other exceptions, we still need to not print logs in the warn or error level to avoid annoying logs.

In this case, the file doesn't even seem to exist. Could we avoid the exception in the first place by checking with java.nio.file.Files#isReadable if the file exists and is readable? Does Files.isReadable check work for these special /sys/class/net files?

This method is only used to judge whether the current NIC is physical. IMO, the exception status also means not a valid physical NIC. I think giving it a debug-level log for troubleshooting is enough.
And yes, we can give an extra operation to check if the current file type exists. but for the other exceptions, we still need to not print logs in the warn or error level to avoid annoying logs.
cc @lhotari

I think it's better to avoid exceptions and add a file existence check since we are touching this part of the code.

Applied the comment. cc @lhotari

Codecov Report
Attention: Patch coverage is 22.22222% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 38.29%. Comparing base (bbc6224) to head (40b5957).
Report is 27 commits behind head on master.

Additional details and impacted files

@@              Coverage Diff              @@
##             master   #22147       +/-   ##
=============================================
- Coverage     73.57%   38.29%   -35.28%
+ Complexity    32624    12168    -20456
=============================================
  Files          1877     1737      -140
  Lines        139502   132494     -7008
  Branches      15299    14520      -779
=============================================
- Hits         102638    50743    -51895
- Misses        28908    74984    +46076
+ Partials       7956     6767     -1189

Flag
Coverage Δ

inttests
26.76% <22.22%> (+2.18%)
:arrow_up:

systests
24.21% <22.22%> (-0.12%)
:arrow_down:

unittests
31.83% <22.22%> (-41.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

...ache/pulsar/broker/loadbalance/LinuxInfoUtils.java
36.64% <22.22%> (-19.71%)
:arrow_down:

... and 1441 files with indirect coverage changes


Preview documentation from pull requests

📚 Documentation

Our project can be configured to build and host documentation for every new pull request. Previewing changes during review makes it easier to catch formatting and display issues before they go live. This feature will be very useful for maintaining documentation in the future.

Preview documentation from pull requests
How to configure pull request builds

@tkoyama010 Thanks! Now that SciPy is over and the code base is relatively stablish, I'm keen to start banking the core documentation.
I've figured out the structure of the docs that I'd like to follow, so in the coming weeks I'm going to start to lay down the foundations of the docs.
This is super useful, thanks 😀👍

@bjlittle
Great, I have a few things I'd like to try about creating API documentation, so please mention me when it is ready.

@tkoyama010 I've enabled this now, see https://github.com/bjlittle/geovista/pull/550 as the first PR to auto-build the docs as part of CI 👍

@bjlittle Awesome! Thanks for your work.


Ensure: Each User has and  is in a personal group

As a User, I want a working permission system. Therefore, each user is in his own personal group, which allows rights management for individual users.
Dependencies
Depends on:

#20

Acceptance Criteria

[ ] The personal group is tagged with a label, so that it is communicated, that this is not a 'real' group
[ ] Each user is in his/her personal group. (Attention to already existing users! Migrate DB if necessary)
[ ] If a new user sign up, he/she gets automatically added to his/her personal group.

Hi, whats the status of this issue? I consider it of high importance, because if a user does not have a personal group the borrowing and reservation process will not work. It would have been nice to have this feature for the interim presentation, because in the upcoming deployment of the app (#205) we need to set the borrowing rights to true for all users, otherwise we can not present the mobile version of the app. However when setting it to true by default, we can not show that only users with the correct rights can borrow.
In PR #141 we used this code in the create method of the items controller, to temporarily create a default group, however this code is not pushed to dev and must be inserted manually every item:
unless Group.exists?(name: "Default Group")
    @testGroup = Group.new(name: "Default Group")
    @testGroup.save
end

@testGroup = Group.where(name: "Default Group").first
@testMembership = Membership.new(role: 1, user_id: current_user.id, group: @testGroup)
@testMembership.save
user_memberships = current_user.memberships
user_memberships.push(@testMembership)
current_user.save
item_groups = @item.borrower_groups
item_groups.push(@testGroup)

Is it possible for you to implement this issue before the interim presentation?