Arlo Q camera not working after update to 0.72.0b2 using the new Arlo Component

Home Assistant release with the issue:
0.72.0b2
Last working Home Assistant release (if known):
0.71
Operating environment (Hass.io/Docker/Windows/etc.):
Hassbian
Component/platform:
Arlo Camera
Description of problem:
Unable to prepare setup for platform camera.arlo: Could not setup all dependencies.
20:56 setup.py (ERROR)
Unable to setup dependencies of camera.arlo. Setup failed for dependencies: arlo
20:56 setup.py (ERROR)
Unable to prepare setup for platform sensor.arlo: Could not setup all dependencies.
20:56 setup.py (ERROR)
Unable to setup dependencies of sensor.arlo. Setup failed for dependencies: arlo
20:56 setup.py (ERROR)
Setup failed for arlo: Component failed to initialize.
20:56 setup.py (ERROR)

I'm seeing the same issues in 0.72. I've disabled the integration.

If you run pop freeze what's is the pyarlo version installed?

Updated to latest 0.72 and worked fine to me. Please let me know if you are still hitting any issues.

Cameras and sensors work fine for me here as well.

@CookieMonster87 it seems to be something environmental on your configuration. This pip freeze does not seem to be the environment your HASS is using.  If you just create a new environment (for test only) does it work?

Did reinstall hassbian completely now and did not change/upgrade anything like python to 3.6. So its 3.5 now like on a standard hassbian install. Did only copy my yaml config files. Still same error.
If I go back to Home Assistant 0.71 it works. Is it som yaml config
yaml config is like this.  and works without any issues on 0.71. Must I force a pyarlo version update? how do I do that on Hassbian?
arlo:
username: "myemail"
password: !secret password
camera:

platform: arlo
ffmpeg_arguments: '-pred 1 -q:v 2'

pip freeze MarkupSafe==1.0 multidict==4.3.1 promise==2.1 psutil==5.4.6 py-vapid==1.4.0 pyarlo==0.1.7 PyBluez==0.22 pycparser==2.18 PyDispatcher==2.0.5 pyharmony==1.0.20 PyJWT==1.6.0 python-dateutil==2.7.3 python-nest==4.0.2 python-openzwave==0.4.3 python-pushover==0.3 pyTibber==0.4.1 pytz==2018.4 pywebpush==1.6.0 PyYAML==3.12 requests==2.18.4 Rx==1.6.1 six==1.11.0 sleekxmpp==1.3.3 SQLAlchemy==1.2.8 sseclient-py==1.7 teslajsonpy==0.0.23 typing==3.6.4 ua-parser==0.8.0 urllib3==1.22 user-agents==1.1.0 voluptuous==0.11.1 voluptuous-serialize==1.0.0 xmltodict==0.11.0 yarl==1.2.6 aiohttp==3.3.2 aiohttp-cors==0.7.0 asn1crypto==0.24.0 astral==1.6.1 async-timeout==3.0.0 attrs==18.1.0 bt-proximity==0.1.2 certifi==2018.4.16 cffi==1.11.5 chardet==3.0.4 cryptography==2.2.2 distro==1.3.0 googlemaps==2.5.1 gql==0.1.0 graphql-core==2.0 ha-ffmpeg==1.9 home-assistant-frontend==20180622.1 homeassistant==0.72.0 http-ece==1.0.5 idna==2.6 idna-ssl==1.0.1 Jinja2==2.10 MarkupSafe==1.0 multidict==4.3.1 promise==2.1 psutil==5.4.6 py-vapid==1.4.0 pyarlo==0.1.7 PyBluez==0.22 pycparser==2.18 PyDispatcher==2.0.5 pyharmony==1.0.20 PyJWT==1.6.0 python-dateutil==2.7.3 python-nest==4.0.2 python-openzwave==0.4.3 python-pushover==0.3 pyTibber==0.4.1 pytz==2018.4 pywebpush==1.6.0 PyYAML==3.12 requests==2.18.4 Rx==1.6.1 six==1.11.0 sleekxmpp==1.3.3 SQLAlchemy==1.2.8 sseclient-py==1.7 teslajsonpy==0.0.23 typing==3.6.4 ua-parser==0.8.0 urllib3==1.22 user-agents==1.1.0 voluptuous==0.11.1 voluptuous-serialize==1.0.0 xmltodict==0.11.0 yarl==1.2.6

I find my Baby Arlo fails now as well saying the configuration is broken.
2018-06-25 11:00:46 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of sensor.arlo. Setup failed for dependencies: arlo
2018-06-25 11:00:54 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.arlo: Could not setup all dependencies.
2018-06-25 11:00:54 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of camera.arlo. Setup failed for dependencies: arlo
2018-06-25 11:00:54 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform camera.arlo: Could not setup all dependencies.```

```# pip freeze
aiohttp==3.3.2
aiohttp-cors==0.7.0
asn1crypto==0.24.0
astral==1.6.1
async-timeout==3.0.0
attrs==18.1.0
boto3==1.7.40
botocore==1.10.40
bt-proximity==0.1.2
certifi==2018.4.16
cffi==1.11.5
chardet==3.0.4
colorlog==3.1.4
cookies==2.2.1
cryptography==2.2.2
distro==1.3.0
docutils==0.14
ecdsa==0.13
enum-compat==0.0.2
envs==1.2.6
fastdotcom==0.0.3
future==0.16.0
gTTS-token==1.1.1
ha-ffmpeg==1.9
holidays==0.9.5
home-assistant-frontend==20180622.1
homeassistant==0.72.0
http-ece==1.0.5
idna==2.6
idna-ssl==1.0.1
Jinja2==2.10
jmespath==0.9.3
jsonrpc-async==0.6
jsonrpc-base==1.0
jsonrpc-websocket==0.6
libnacl==1.6.1
libsoundtouch==0.7.2
MarkupSafe==1.0
multidict==4.3.1
mutagen==1.40.0
mysqlclient==1.3.12
netdisco==1.4.1
netifaces==0.10.7
numpy==1.14.3
paho-mqtt==1.3.1
Pillow==5.1.0
pkg-resources==0.0.0
protobuf==3.6.0
pushbullet.py==0.11.0
py-vapid==1.4.0
pyarlo==0.1.7
PyBluez==0.22
PyChromecast==2.1.0
pycparser==2.18
pycryptodome==3.3.1
PyDispatcher==2.0.5
pyHik==0.1.8
PyJWT==1.6.0
PyMySQL==0.8.1
python-dateutil==2.7.3
python-forecastio==1.4.0
python-jose-cryptodome==1.3.2
python-magic==0.4.15
python-openzwave==0.4.3
pytz==2018.4
pywebpush==1.6.0
PyYAML==3.12
requests==2.18.4
responses==0.9.0
roombapy==1.3.1
s3transfer==0.1.13
samsungctl==0.7.1
six==1.11.0
SQLAlchemy==1.2.8
sseclient-py==1.7
transmissionrpc==0.11
typing==3.6.4
ua-parser==0.8.0
urllib3==1.22
user-agents==1.1.0
voluptuous==0.11.1
voluptuous-serialize==1.0.0
wakeonlan==1.0.0
warrant==0.6.1
websocket-client==0.48.0
xmltodict==0.11.0
yarl==1.2.6
zeroconf==0.20.0```

doing some investigation for me, hass is install 0.1.7...... writing some basic python it returns nothing but if I upgrade to the new version... https://github.com/tchellomello/python-arlo/releases/tag/0.1.8. it works.
Lets bump the version in hass?

Is this maybe an issue for the "stand alone" Arlo Q, Q plus and baby etc that does not use a a base station?
I had to go back to 0.71 where this was working (sensors did not) but the camera and picture from it was and without all the errors in the log.

I was trying to use the component for the first time together with Arlo that has the base station and I received the same errror message. I’m also on 0.72

Still same issue on 0.73. Any plans to fix this mess soon? Or is it possible to force this component back to like it was on 0.71 before the "Upgrade" where is was actually working for Arlo Q etc.

No News on this one? I have the same issue on 0.74

@tchellomello
Is a fix being worked on? Can also still confirm same issue on 0.74

@CookieMonster87  I'm unable to reproduce the same issue on 0.74. It is working fine for me.
On 0.74, you should see the pyarlo==0.1.9. Is that the one you are seeing?
 root@my:/usr/src/app# python -m homeassistant --version
0.74.0
root@my:/usr/src/app# pip freeze | grep pyarlo
pyarlo==0.1.9

All Arlo integrations are being loaded fine in my environment. Can you enable the debug version so then we can see why dependencies are broken?
mmello

Yes pyarlo is 0.1.9
How do I activate debug version? I have tried to reinstall hassbian and also the latest versions of hass.io three times on a new sd card. Still same error so dont think this is an installation issue.

@CookieMonster87 I'm having the same issue as you except with the Arlo base station. To enable debug mode edit your configuration.yaml file and throw logger: https://www.home-assistant.io/components/logger/ in there. Here are the results of mine wonder if you're seeing the same thing:
`2018-08-02 21:57:59 INFO (MainThread) [homeassistant.loader] Loaded camera.arlo from homeassistant.components.camera.arlo
2018-08-02 21:57:59 INFO (MainThread) [homeassistant.loader] Loaded arlo from homeassistant.components.arlo
2018-08-02 21:57:59 INFO (MainThread) [homeassistant.loader] Loaded alarm_control_panel.arlo from homeassistant.components.alarm_control_panel.arlo
2018-08-02 21:58:01 INFO (MainThread) [homeassistant.setup] Setting up arlo
2018-08-02 21:58:01 DEBUG (SyncWorker_1) [pyarlo] Creating Arlo session
2018-08-02 21:58:01 DEBUG (SyncWorker_1) [pyarlo] Params: {'email'<EMAIL_ADDRESS>'password': '2Aq@n5biy1tR6D'}
2018-08-02 21:58:01 DEBUG (SyncWorker_1) [pyarlo] Headers: {'Content-Type': 'application/json', 'Authorization': None}
2018-08-02 21:58:01 DEBUG (SyncWorker_1) [pyarlo] Querying https://arlo.netgear.com/hmsweb/login/v2 on attempt: 0/3
2018-08-02 21:58:02 DEBUG (SyncWorker_1) [pyarlo] Params: {'email'<EMAIL_ADDRESS>'password': 'mypassword'}
2018-08-02 21:58:02 DEBUG (SyncWorker_1) [pyarlo] Headers: {'Content-Type': 'application/json', 'Authorization': 'longauthorizationcode'}
2018-08-02 21:58:02 DEBUG (SyncWorker_1) [pyarlo] Querying https://arlo.netgear.com/hmsweb/users/devices on attempt: 0/3
2018-08-02 21:58:02 INFO (MainThread) [homeassistant.setup] Setup of domain arlo took 1.2 seconds.
2018-08-02 21:58:02 ERROR (MainThread) [homeassistant.setup] Setup failed for arlo: Component failed to initialize.

arlo
arlo`

So mine looks like it logs in successfully gets an authorization token then bombs out.

Still not working for me. How can I provide better logs for troubleshooting?

Possible to revert this component to the old version like it was on 0.71 that was working?
We are many with the same error so this is not just a environment issue. the component was broken for many of us after 0.71.
https://community.home-assistant.io/t/error-while-setting-up-arlo-q/31019/14

I Give up. Sold the Arlo and did buy a Nest instead so I get a component that is working without issues for Home Assistant.

I have to warn you, the Nest Cam streaming is not available on HA. Only snapshot.

I debugged the arlo component today with 0.78.0.dev0.
In order for the arlo components to show up, you need to ensure that the user id you use to authenticate with Arlo has a base station shared and the 'Allow Access Rights' feature enabled. Without it, the pyarlo lib does not return a base station and the component returns False during setup.
I had a created a user homeassistant to share the Arlo access with minimal rights, but that apparently does not work.

@tdiekmann Do you have Arlo with base station or Arlo Q (standalone camera)? Thanks

@foxys0, I have the Arlo Pro cameras with base station.

@tdiekmann This issue is about Arlo Q, rights management unfortunately will not help.

So mine looks like it logs in successfully gets an authorization token then bombs out.

Same here :(
2018-09-08 19:26:16 DEBUG (SyncWorker_12) [pyarlo] Querying https://arlo.netgear.com/hmsweb/users/devices on attempt: 0/3
2018-09-08 19:26:16 INFO (MainThread) [homeassistant.setup] Setup of domain arlo took 2.0 seconds.
2018-09-08 19:26:16 ERROR (MainThread) [homeassistant.setup] Setup failed for arlo: Component failed to initialize.

@foxys0 that may very well be the case. I don't have a Arlo Q to test this with. When I debugged the code, I found that it makes the assumption that there is a base station returned in the PyArlo object. That assumption did not hold true unless the base station information was shared with the user accessing the API, i.e. the returned structure was empty.
Hope this helps you in debugging the Arlo Q case.

I've sent a pull request #16529 to fix it, it works on my side.

@Megachip @fosselius can you upgrade to 0.78 and see if it is working for you?

Working fine, including last video.
But would it possible to remove Battery Level on VMC3040S? The device didn't have a battery so it didn't provide a value for that parameter.
Not sure about Signal Strength ... the q models supports wifi, but mine are all connected via ethernet.

Is this still an issue you are experiencing? Can you please try upgrading to the latest version of Home Assistant (0.90) and report back if this is still a problem? Thanks!

Just got an Arlo Q today and get this issue:
2020-02-06 14:10:00 ERROR (MainThread) [homeassistant.setup] Setup failed for arlo: Integration failed to initialize.
I'm in 0.105.1


fix(github): Disable internal HTTP Client cache when hitting Github

This should resolve sporadic 404 when looking up repositories while creating webhooks
See https://github.com/openshiftio/openshift.io/issues/4696

Ike Plugins (test-keeper)
Thank you @gastaldi for this contribution!

It appears that no tests have been added or updated in this PR.
Automated tests give us confidence in shipping reliable software. Please add some as part of this change.
If you are an admin or the reviewer of this PR and you are sure that no test is needed then you can use the command /ok-without-tests as a comment to make the status green.
For more information please head over to official documentation. You can find there how to configure the plugin.

Hey @gastaldi! It seems you tried to trigger /ok-without-tests command, but this will not have any effect due to insufficient permission. You have to be admin or requested reviewer or pull request approver, but not pull request creator for this command to take an effect.

/ok-without-tests


Add column filter to include adding unique ID

Based on the work mentioned here https://github.com/HXLStandard/libhxl-python/issues/197#issuecomment-438671669 it would be great to add a unique ID with an option to select which columns define uniqueness. Eg #date+week,#adm2,#indicator+category

We can probably simplify this a bit, because the Deduplicate rows filter already lets you reduce the dataset to unique rows based a user-selected set of columns that define uniqueness.
Or did you want the ability to add ideas to potentially-duplicate rows?


Docile/Lexicon Light Version

This is just some personal ideas.
I only requirement for a documentation package are:

it should be quite easy to use and not distract too much from the actual coding while still be easy to adjust output settings.

I do not need many output formats but one which does the job.

Looking at julia I saw that markdown is probably the best things to go with and MkDocs does quite a fine job to produce custom adjustable web pages. (maybe sometimes a julia things will be available like that)
Point: I still would like to dedicate some time into documentation before moving on to other julia coding things. I would like to work on a stripped down DocileLite version.

Only ever output format: markdown  (so no need to think about dispatching for possible future other formats.

No support for fancy meta. As you said somewhere a couple of days ago: markdown allows doing this in the docstrings. On the otherhand I like some of the docile ideas like

@doc+
functions
grouped doctrings
etc.
include something like this: https://github.com/MichaelHatherly/Docile.jl/issues/72
maybe some other features

cleanup more code for easier maintanablility in the future

Integrate Lexicon/DocileLite into one Package (can still leave it as separate modules if needed.

I could do that probably by my own but would prefer to do it under you supervision: you know best what would make sense and also I learn always small things.
Also I would prefer if such project would be hosted together with your other full fledged version. BTW: maybe creating a Julia documentation pkg organisation would make sense.
[Edit: quoting macro syntax.]

Only ever output format: markdown (so no need to think about dispatching for possible future other formats.

Currently Docile defaults to markdown and Lexicon's save function works out what format you want by the file extension, so I'm not sure users have to worry about output format much at all.

No support for fancy meta.

meta isn't a huge part of Docile's internals, so I doubt stripping it out would do much to reduce complexity by a noticeable amount.

cleanup more code for easier maintanablility in the future

Fair enough, further PRs are welcome where you find things worth improving.

Integrate Lexicon/DocileLite into one Package (can still leave it as separate modules if needed.

This isn't going to happen until package precompilation is in mainline julia. Originally the packages where combined, but loading times were too long and so were split.

thanks for your helpful feedback.


tagutil: set meta.broken

Motivation for this change
ZHF: #144627
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Adjusting the compiler flags should help to make the build pass:
  prePatch = ''
    substituteInPlace CMakeLists.txt \
      --replace "-o aslr" ""
  '';

Adjusting the compiler flags should help to make the build pass:

Thx!


updated alpine to 3.16 and added icu-data-full

Updated to alpine version 3.16 and added icu-data-full. icu-libs, which is installed as a dependency by one of the packages, installs only icu-data-en

alpine update is ok - but why is "icu-data-full" needed and "en" not enough? Is it needed for nodejs runtime to display non-us-ascii strings or what is the reason for it?
Just trying to understand why image size should be increased...

Good question, I added icu-data-full as a defensive measure. In my understanding the separation of the data to -en and -full is a relatively recent development. I did that to my own Alpine images after some weird errors, and I saw Microsoft do the same on the Dotnet SDK Alpine images.
That said, good point on the image size. If you feel it is not needed, then I can update the PR to be only the 3.16 update.


Add field aliasing support

http://graphql.org/learn/queries/#aliases

A ✨ Ruby option:
artist do
  for_sale_artworks > artworks(for_sale: true)
  not_for_sale_artworks > artworks(for_sale: false)
end

But may be too magical 😊

I was going to suggest a method called alias, but apparently that's a keyword in Ruby.

does @alloy solution still applies? My client throws
Field 'for_sale_artworks' doesn't exist on type 'Artist'

@mbajur I don't believe this has ever been implemented. PRs are welcomed.


feat(router): migrate routing ecosystem (v2)

combines #452 and #453, since the library APIs are in sync as of v2. updates react-router, history, and redux-simple-router to new APIs and wires everything together.
the instantiated history object is the point of contact between router and store

sync with react-router in main.js (useBasename is baked in to useRouterHistory HOC)
pass instantiated history to configureStore.js, subscribe redux-simple-router middleware
configure middleware to replay actions in __DEBUG__ mode (for devtools support)

let me know if you have any questions :)

Awesome, thank you so much @justingreenberg! I'm on the return leg of my trip so finally have a chance to get to all of your PR's.

After some really wonky merge conflicts I finally got this pushed up, thank you for your help as always @justingreenberg!


running into issues running Revit Toolkit in Revit 2025

I am getting the following exception when I try to boot up Revit 2025

I am using Revit Toolkit 2025.0.3. I made sure to update my Revit Lookup to the latest to avoid plugin conflicts. I am also only using ExternalCommand and ExternalApplication base classes.
Any ideas what might be causing this?

@ksobon please try to run DependenciesReport or AssembliesReport and share the report here
https://github.com/jeremytammik/RevitLookup/issues/269#issuecomment-2323309590

DependenciesReport-2024-10-22.txt

There are no compatibility issues, can you describe in detail where and in what sequence you get the error, when running the plugin or when Revit is shutting down. I understand that everything happens in ExternalApplication ?


MS Edge no longer recording canvas

I thought this used to work in Edge. But I am now receiving an error that the media source is unavailable.
From the console...
`HTML1300: Navigation occurred.
webpage-recording.html
HTML1527: DOCTYPE expected. Consider adding a valid HTML5 doctype: "".
webpage-recording.html (1,1)
DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
webgl
Current window: www.webrtc-experiment.com/RecordRTC/Canvas-Recording/webpage-recording.html
This appears to be Edge
gumadapter.js (31,9)
get-user-media error [object MediaStreamError]
webpage-recording.html (226,9)
"get-user-media error"
{
[functions]: ,
proto: { },
constraintName: null,
message: null,
name: "SourceUnavailableError"
}
started recording canvas stream.
RecordRTC.js (53,13)
Using recorderType: CanvasRecorder
RecordRTC.js (963,9)
Recorder state changed: recording
RecordRTC.js (662,17)
Initialized recorderType: CanvasRecorder for output-type: canvas
RecordRTC.js (93,13)
Stopped recording canvas stream.
RecordRTC.js (119,13)
122/122 frames remaining
...
RecordRTC.js (2961,17)
Generating WebM
RecordRTC.js (2973,13)
Recorder state changed: stopped
RecordRTC.js (662,17)
`

Microsoft Edge do not support video-tracks recording yet. WhammyRecorder also not supported out of webp.
In the moment, you can record merely (only) audio tracks (microphone):

https://github.com/muaz-khan/RecordRTC/blob/master/simple-demos/edge-audio-recording.html

recorder = RecordRTC(microphone, {
    type: 'audio',
    recorderType: StereoAudioRecorder, // this line is required for MS-Edge
    // sampleRate: 44100,
    numberOfAudioChannels: 1,
    // bufferSize: 16384
});


Fix Interface Attribute Typo

Describe your changes:
Fixes the below issue
  Property 'includeOwners' does not exist on type 'ConfigClass'. Did you mean 'includeOwner'?ts(2551)

Type of change:

[x] Bug fix
[ ] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

my bad, didn't have json schemas updated on local


Issues found with Pixhawk 3 Pro

While building a Quad (with @MaEtUgR & @ChristophTobler ) we encountered the following issues with Pixhawk 3 Pro on current master:

Oneshot does not work (by setting PWM_RATE to 0), using Hobbywing XRotor 35A Micro 3-6S BLHeli ESC's. Symptoms: when changing the rate to 0 and rebooting, there is no pwm output anymore. Needs further investigations. Is this supposed to work with an IO? @davids5 @kd0aij
The FMU DEBUG port outputs garbage values when only the battery power source is connected. By attaching USB it works (using the same baudrate). Is this a GND problem?
motors turn when rebooting (in disarmed state). This only happened once, and we did not try to reproduce. @davids5 does the board have the same problem as pixracer (https://github.com/PX4/Firmware/issues/7123)?
The board has 2 power connectors. If power is connected to Power 1, QGC correctly shows the battery level, but the board cannot be armed (An error pops up that no power is connected), I traced it to this condition, system_power is published from adc.cpp. When connecting to Power 2, arming works, but QGC does not show the battery level. @davids5 can you look into it please? Preferably everything should work when connecting to Power 1.

FYI @jperin @klopezal

Thanks for reporting! A few comments :

What pins are you using on the DEBUG port? It should be TX, RX and GND. GND must be common between all your devices : your USB-to-Serial converter needs the same reference in order to measure correct voltage differences.

The architecture on FMUv4pro has changed, powering from servo rail is not possible anymore (without an external wiring). Two power bricks are available and a dedicated IC constantly checks for valid power supplies. They are prioritized in the following order : Brick 1 -> Brick 2 -> USB. Commander should use this instead of servo rail check and change its logic : we should allow flying with Brick 1, Brick 2 and Brick 1+2, right?

I think that ideally we should be capable of telling the user which port is being used (imagine you are flying with two power modules and one starts failing, this could be unnoticed but potentially really bad). We should also manage the case where the user is using two different batteries and display voltage of the battery currently in use (or both). What do you think?

@bkueng,
I need a few more details.

What version HW?
RE:The FMU DEBUG port outputs garbage
What do you have connected to the debug port? Dronecode, or just FTDI cable?
RE:Motors turn when...
What all was connected and on what pins.
What was the SYS_AUTOSTART value

I think the 2 (n) Brick management needs to be added to the code base.

What pins are you using on the DEBUG port? It should be TX, RX and GND. GND must be common between all your devices : your USB-to-Serial converter needs the same reference in order to measure correct voltage differences.

Yes I use these. The thing is that it works if I connect USB power. Is the GND from the DEBUG port not connected to GND of the battery source?
Power detection: I agree we need to support both (n) bricks, with correct failover behavior. But for now I'm just after a quick solution so that at least one of the ports can be used consistently.
@davids5
It's V4PRO, the setup is documented here: https://dev.px4.io/en/airframes_multicopter/dji_flamewheel_450.html, SYS_AUTOSTART=4011.
I'm using a standard FTDI cable.

@bkueng HW wize there is V1.0, V1.2, V1.2 with HW mods, V1.3. When was the board received?

V1.3

@klopezal Was a unit and cables shipped to me?

Yes!

A solution for 4., until we have support for N bricks, is here: #7442

N Bricks is now supported in #7219.

Closing.


Add NetBox version information in App.custom_choices() docstring

Add NetBox version dependency information in App.custom_choices() docstring.
Reference: https://netbox.readthedocs.io/en/stable/release-notes/version-2.10/#rest-api-changes

Looks good, thanks!


Import active posts and votes to genesis #535,#536

reward pool, posts and votes import
prepare to set correct ram_payer #562
simplify insertion (remove unused and duplicated stuff)
simplify balances insertion

needs to be updated to support new message structure, WIP


2-Look for an existing Symfony4 API solution

This kicks in if #3 fails. Otherwise, this is completed with the #3.

Solved in #3.


Page parameter in api doesn't work

https://nyaa.pantsu.cat/api/search?page=1&limit=1 and https://nyaa.pantsu.cat/api/search?page=2&limit=1 are the same and they shouldn't be.

https://nyaa.pantsu.cat/api/search/p/1?xxxx instead of ?page=1

Added the ?page=xx parameter in api v1.1.0 ;)


ERROR: Error: Invalid response received from PTC login

I always seem to get this error it seems that its almost always for 3 accounts no matter the amount of accounts. This error will repeat 3 times and then work but leave out 3 random accounts when assigning names.
Failed to initialize client... ERROR: Error: Invalid response received from PTC login
    at Error (native)
    at Request.self.request [as _callback] (F:\Ray\Downloads\PoGoMap\ptc-acc-gen\node_modules\pogobuf\pogobuf\pogobuf.ptclogin.js:108:28)
    at Request.self.callback (F:\Ray\Downloads\PoGoMap\ptc-acc-gen\node_modules\request\request.js:187:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (F:\Ray\Downloads\PoGoMap\ptc-acc-gen\node_modules\request\request.js:1044:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (F:\Ray\Downloads\PoGoMap\ptc-acc-gen\node_modules\request\request.js:965:12)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:975:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

This is a pogoplayer issue, but try doing npm update just to make sure you have the latest pogobuf.

pogoplayer issue pls https://github.com/MRokas/PogoPlayer

@FrostTheFox according to this discussion here https://github.com/cyraxx/pogobuf/issues/97 it was a username/pass issue. When using this script I chose to use a randomly generated password. I tried to manually login and discovered that the pass dumped in the accounts.csv file was incorrect. I was able to change the pass using the forgot password link within the game app and then was able to login.
Is there any sort of info or any way I can run the script in a debug or other mode to help provide you with the information you need to track down the bug?

Same issue for me. Some accounts doesn't have the right password in accounts.csv.


.loc behavior for scalar values

Assuming a simple DataFrame kdf = ks.DataFrame({'A': [1,2,3]}), running kdf.loc[1] results in the following exception:
SparkPandasNotImplementedError: Cannot use a scalar value for row selection with Spark. You are trying to use pandas function .loc[..., ...], use spark function select, where
However, kdf.loc[1:1] behaves the same as in pandas and returns the wanted column but as a DataFrame while .loc[1] would return a Series.
The LocIndexer docs state the following:
Allowed inputs are:
    - A single label, e.g. ``5`` or ``'a'``, (note that ``5`` is
      interpreted as a *label* of the index, and **never** as an
      integer position along the index) for column selection.

Can someone point out the rationale behind this behavior? My only guess would be that the exception tries to keep users from using the label as an integer position, which is not even the point of .loc but rather .iloc, right?

The notion of order in Spark's DataFrame doesn't exist. If we read a DataFrame from the disk, we perform some transformations and then we save it. We won't find the same order as the first.
I think this due to the fact that Spark divides the output into chunks.

What you say is true for regular Spark DataFrames. However, Koalas stores pandas indices as a dedicated __index_level_n__ column. Given an example DataFrame kdf = ks.DataFrame({'A': list('abc')}), it is for example easily possible to get the second column (containing b) using kdf._sdf.where(F.col('__index_level_0__') == 1). This what the .loc method is made for. I'm aware that getting the same row with .iloc[1] is not feasible with PySpark for the reasons you've explained.

Here is the previous discussion: https://github.com/databricks/koalas/pull/324#discussion_r283658407
If we want to strictly follow pandas' behavior, we need to count the matched row to change the return value if the matched row is only one or not.
I was not sure whether we want to run the extra count job for this.
Also I was not sure what the return value should be, Koalas DataFrame/Series or pandas' ones for the case?
The implementation itself should be easy if we want anyway.

We can certainly add scalar addressing, but I want to hear from more users first, because it is easily an antipattern when using spark:
[process_group(df.loc[x]) for x in ...]


How to calculate FLOPs(G)  and  Param(M) in the code?

I used the ptflops library to calculate FLOPs and Param, but the FLOPs values differ significantly from the paper. So how do I calculate the FLOPs(G)  and  Param(M) in the code?

We calculate the FLOPs manually. You could consider using thop package for calculation.


update ci workflows to run weekly

I have very similar PRs open for all repos, maybe we can discuss questions here and after we have agreed on all the changes I will update the other PRs?

All the PRs will add the schedule run on the repos for the checks and update the name of the created jira tasks. On some reposI have added some special changes.


Add libmpcdec6 to ubuntu-precise; resolves travis-ci/apt-package-whit…

…elist#1931
Packages: libao-dev, libao4

Sorry, but we do not accept PRs without tests.


Add e2e tests

This would include calling singleSpa.registerApplication, singleSpa.start, etc

Resolved in #33


allsky_discordsend do not send images with overlay datas

I've Activated the discord send module.
It works fine and send images at the setted interval.
BUT, when I create images with the legacy overlay datas manager, the final image contains the overlays datas and when I activate the module manager, the image is sent raw, without any overlay datas.
To Reproduce
Steps to reproduce the behaviour:

Activate the Discord send module and configure it to be able to send daytime and nighttime images to a discord channel
Activate the legacy overlay datas manager, setup a legacy data and wait for an image sent to the discord channel, the overlay datas are visible
Switch to the module overlay data manager, put some overlay text in the overlay editor, save it and wait for an image sent to the discord channel, the overlay datas aren't visible

Expected behaviour
The overlayed image is sent to the channel when the module overlay manager is used
Screenshots
With the legacy overlay manager :

With the module overlay manager :

Allsky Information:

OS: Bookworm, 64bits lite up to date
Allsky Version: v2023.05.01_04
Pi model: RaspBerry Pi 5 4GB
Camera: Zwo ASI678MC

Sensors
BME280 on I2C Address 0x77
Additional context
N/A

I took a look at the allsky_discordsend.py file and I saw this :

could it be the part of the problem ?
Thus, I thought that the modules are arranged In the module manager, i put the "discord send" module right after the "overlay datas fields on the image" module as seen in the screenshot below :

But it has no effects

This was a deliberate decision by me as I wanted the clean images in Discord.
I'll add an option to send either the clan image or the annotated image
Cheers
Alex

Code all done, I am testing it on my pi just to make sure that the end of night discord sends still work. Once i am happy I will merge the code.
If you want to try it before hand its in the 163- branch
Alex

Hi alex!
Well done!

Thanks for your reactivity!
Le mar. 17 sept. 2024 à 22:08, Alex @.***> a écrit :

Code all done, I am testing it on my pi just to make sure that the end of
night discord sends still work. Once i am happy I will merge the code.
If you want to try it before hand its in the 163- branch
Alex
—
Reply to this email directly, view it on GitHub
https://github.com/AllskyTeam/allsky-modules/issues/163#issuecomment-2356809277,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXEOBW3NLBGP2LKQAUMISGTZXCD3BAVCNFSM6AAAAABOKD6TVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJWHAYDSMRXG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

This work overnight for my setup so have merged the change into master. If you reinstall the discord module there is an option against day and night to either send the annotated or unannotated image.


Update grpc-netty to 1.65.1

About this PR
📦 Updates io.grpc:grpc-netty from 1.62.2 to 1.65.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.grpc", artifactId = "grpc-netty" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.grpc", artifactId = "grpc-netty" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #2928.


Hotfix 69

This will resolve issue #69

This looks great!
My only suggestion is that Mime.class could possibly be placed in a separate file.


Add OpenSea Conduit contract labels for more chains

Duplicate public/dapp-contract-list/1/0x1E0049783F008A0085193E00003D00cd54003c71.json for mainnet BSC, Polygon, Arbitrum One, Optimism, and Avalanche.
ps: I guess we could have sth like a colorful Discord role for contributors, it's about contributor relationship maintenance, we've had gitpoap which is cool though.

Thank you for the contribution! I also like your idea of having a Discord role for GitHub contributors. Once I integrate something like Vulcan to verify wallet address, this could probably be done by checking for GitPOAPs in the verified wallet. But it'll probably take a while before I can prioritise that.


add article on stabilizer circuit simulation

Fixes #108 .
I decided not to include extended stabilizer circuit simulation. It is different enough that it warrants a separate page, if we want it. In fact there is already a nice page on it here: https://qiskit.org/ecosystem/aer/tutorials/6_extended_stabilizer_tutorial.html

Note that the notebooks ends with a deprecation warning - is there a way to remove it?
DeprecationWarning: ``qiskit_aer.primitives.estimator.Estimator.__init__()``'s argument ``approximation`` is deprecated as of qiskit-aer 0.13. It will be removed no earlier than 3 months after the release date. approximation=True will be default in the future.

Note that the notebooks ends with a deprecation warning - is there a way to remove it? DeprecationWarning:qiskit_aer.primitives.estimator.Estimator.init()'s argument approximationis deprecated as of qiskit-aer 0.13. It will be removed no earlier than 3 months after the release date. approximation=True will be default in the future.

Unfortunately, no. @ikkoham mentioned he plans to fix this in the next bug fix release of Aer.

@javabster I've addressed your comments


Klover "unknow error"

Hi,
i'm trying to connect klover but login process terminate with this error:
"Unkown error, please double check configuration.".
I have tried py-agua-iot 0.0.8 and 0.0.9.
See message error below

Duplicate to #53


Yarn Importer error with Unity (v2019.4.8f1)

When installing the package version 1.2.6 on Unity 2019.4.8f1 Personal, the below console error appears relating to the YarnImportEditor script.
YarnImporterEditor.OnInspectorGUI must call ApplyRevertGUI to avoid unexpected behaviour. UnityEditor.Experimental.AssetImporters.AssetImporterEditor:OnDisable()
YarnImporterEditor:OnDisable() (at Assets/YarnSpinner/Editor/YarnImporterEditor.cs:48)

I'm on Unity 2019.4.8f1 and I imported the 1.2.6 package... and I'm not seeing this error? You might need to provide more information to reproduce this bug.

Don't know if anyone has checked this, but I got the same issue.
The problem seems to be with Yarn files being saved directly in the Unity project. If I save the Yarn file outside of the Unity project and then import it by drag & drop, then I don't get that issue and the Yarn file is correctly imported.
So I think the solution is just don't save inside Unity project.
Not sure if this is covered elsewhere. Sorry if it is.

I'm not currently seeing this issue in the develop, and this issue appears to not be blocking the workflow (it's just creating an annoying error in the console). As such, I'll close this here; if it reappears in 2.0, please re-open the issue! Thanks for filing this bug!


Update CI to use Boost 1.78.0

There were no new changes required (at least on the config I tested, let's see what CI says).

bors merge


Update typing system to allow for collections of DATE/DATETIME

Today, a DATE[] or DATETIME{}, or even an aggregate ARRAY on a DATE or DATETIME column is not allowed. There is no real reason why at all.

Fixed issues #203 and #204 in here as well.


add unit tests

fix #25

@mkim219  could you please approve your running workflows so that I can run your CI?


Introduce field status to error if server is post-removal

A proposed solution to make https://github.com/ansible/tower-cli/issues/719 just a little less bad
tower-cli job_template create --name="Hello World Debug" --description="debug statement" --inventory=localhost --credential=user2 --project="Ansible Examples" --playbook=debug.yml -v
*** DETAILS: The inventory field is given as a name; looking it up. ***********
*** DETAILS: Getting the record. **********************************************
GET https://localhost:8043/api/v2/inventories/
Params: [('name', 'localhost')]

*** DETAILS: The credential field is given as a name; looking it up. **********
*** DETAILS: Getting the record. **********************************************
GET https://localhost:8043/api/v2/credentials/
Params: [('name', 'user2')]

*** DETAILS: The project field is given as a name; looking it up. *************
*** DETAILS: Getting the record. **********************************************
GET https://localhost:8043/api/v2/projects/
Params: [('name', 'Ansible Examples')]

*** DETAILS: Checking for an existing record. *********************************
GET https://localhost:8043/api/v2/job_templates/
Params: [('name', u'Hello World Debug')]

*** DETAILS: Writing the record. **********************************************
POST https://localhost:8043/api/v2/job_templates/
Data: {'job_type': u'run', 'playbook': u'debug.yml', 'description': u'debug statement', 'inventory': 2, 'credential': 2, 'name': u'Hello World Debug', 'project': 8}

Due to field error, attempting to delete created item.
DELETE /job_templates/15/
DELETE https://localhost:8043/api/v2/job_templates/15/

Error: The provided fields credential vault_credential were removed in an AWX or Tower release and failed to take effect here.

tower-cli job_template modify 17 --credential=1
Error: The provided fields credential vault_credential were removed in an AWX or Tower release and failed to take effect here.

tower-cli job_template create
Usage: tower-cli job_template create [OPTIONS]

  Create a job template.

  Fields in the resource's --identity tuple are used for a lookup; if a
  match is found, then no-op (unless --force-on-exists is set) but do not
  fail (unless --fail-on-found is set).

Field Options:
  -n, --name TEXT                 [REQUIRED] The name field.
  -d, --description TEXT          The description field.
  --job-type [run|check]          The job_type field.
  -i, --inventory INVENTORY       The inventory field.
  --project PROJECT               [REQUIRED] The project field.
  --playbook TEXT                 [REQUIRED] The playbook field.
  --credential CREDENTIAL         [DEPRECATED] The credential field.
  --vault-credential CREDENTIAL   [DEPRECATED] The vault_credential field.
  --forks INTEGER                 The forks field.
  --limit TEXT                    The limit field.
  --verbosity [default|verbose|more_verbose|debug|connection|winrm]
                                  The verbosity field.
  -e, --extra-vars VARIABLES      Extra variables used by Ansible in YAML or
                                  key=value format. Use @ to get YAML from a
                                  file.
  --job-tags TEXT                 The job_tags field.
  --custom-virtualenv TEXT        The custom_virtualenv field.
  --force-handlers BOOLEAN        The force_handlers field.
  --skip-tags TEXT                The skip_tags field.
  --start-at-task TEXT            The start_at_task field.
  --timeout INTEGER               The amount of time (in seconds) to run
                                  before the task is canceled.
  --use-fact-cache BOOLEAN        If enabled, Tower will act as an Ansible
                                  Fact Cache Plugin; persisting facts at the
                                  end of a playbook run to the database and
                                  caching facts for use by Ansible.
  --host-config-key TEXT          Allow Provisioning Callbacks using this host
                                  config key
  --ask-diff-mode-on-launch BOOLEAN
                                  Ask diff mode on launch.
  --ask-variables-on-launch BOOLEAN
                                  Prompt user for extra_vars on launch.
  --ask-limit-on-launch BOOLEAN   Prompt user for host limits on launch.
  --ask-tags-on-launch BOOLEAN    Prompt user for job tags on launch.
  --ask-skip-tags-on-launch BOOLEAN
                                  Prompt user for tags to skip on launch.
  --ask-job-type-on-launch BOOLEAN
                                  Prompt user for job type on launch.
  --ask-verbosity-on-launch BOOLEAN
                                  Prompt user for verbosity on launch.
  --ask-inventory-on-launch BOOLEAN
                                  Prompt user for inventory on launch.
  --ask-credential-on-launch BOOLEAN
                                  Prompt user for machine credential on
                                  launch.
  --survey-enabled BOOLEAN        Prompt user for job type on launch.
  --become-enabled BOOLEAN        The become_enabled field.
  --diff-mode BOOLEAN             If enabled, textual changes made to any
                                  templated files on the host are shown in the
                                  standard output.
  --allow-simultaneous BOOLEAN    The allow_simultaneous field.
  --survey-spec VARIABLES         On write commands, perform extra POST to the
                                  survey_spec endpoint.

Local Options:
  --fail-on-found    If used, return an error if a matching record already
                     exists.  [default: False]
  --force-on-exists  If used, if a match is found on unique fields, other
                     fields will be updated to the provided values. If False,
                     a match causes the request to be a no-op.  [default:
                     False]

Global Options:
  --use-token                     Turn on Tower's token-based authentication.
                                  No longer supported in Tower 3.3 and above.
  --certificate TEXT              Path to a custom certificate file that will
                                  be used throughout the command. Overwritten
                                  by --insecure flag if set.
  --insecure                      Turn off insecure connection warnings. Set
                                  config verify_ssl to make this permanent.
  --description-on                Show description in human-formatted output.
  -v, --verbose                   Show information about requests being made.
  -f, --format [human|json|yaml|id]
                                  Output format. The "human" format is
                                  intended for humans reading output on the
                                  CLI; the "json" and "yaml" formats provide
                                  more data, and "id" echos the object id
                                  only.
  -p, --tower-password TEXT       Password to use to authenticate to Ansible
                                  Tower. This will take precedence over a
                                  password provided to `tower config`, if any.
                                  If value is ASK you will be prompted for the
                                  password
  -u, --tower-username TEXT       Username to use to authenticate to Ansible
                                  Tower. This will take precedence over a
                                  username provided to `tower config`, if any.
  -t, --tower-oauth-token TEXT    OAuth2 token to use to authenticate to
                                  Ansible Tower. This will take precedence
                                  over a token provided to `tower config`, if
                                  any.
  -h, --tower-host TEXT           The location of the Ansible Tower host.
                                  HTTPS is assumed as the protocol unless
                                  "http://" is explicitly provided. This will
                                  take precedence over a host provided to
                                  `tower config`, if any.

Other Options:
  --help  Show this message and exit.

Coverage decreased (-0.04%) to 64.356% when pulling b2ea052fe9b57083f9141d37d770d896fa231eca on AlanCoding:deprecated_credential_fields into 8a020e8062121dcc0205fa464c52ff7e4689b8f4 on ansible:master.


UserId is not present in AogRequest

Is there a reason why the userId property is never deserialized? I was hoping to use the userId from a payload to index data that may come from different users of the action.
Or maybe I'm missing something from actions on google and we should not use userIds at all
Regards

Doh, never mind: https://developers.google.com/actions/identity/user-info

My understanding from the link you provided is that it's only not available if obtained from the AppRequest, which seems to be a separate object, however Javadoc (https://actions-on-google.github.io/actions-on-google-java/) specifically advertises it available via other means, [i.e. that is bypassing ActionRequest.getAppRequest().getUser().getId()] such as ActionRequest.getUser() for example.  I still clearly see an inconsistency between the contents of the incoming request and what's available via the Java API, as detailed in https://stackoverflow.com/questions/54871395/how-to-obtain-a-user-id-and-oauth-access-token-in-dialogflow so it should be reopen IMHO.


Please add link in the About (for this repo)

https://yaymalaga.github.io/magink-dapp/

The link in the README now points to my deployed frontend -> https://github.com/yaymalaga/magink-dapp/commit/098a77b832e280936a2842fd1c3ba025ab705292

For completeness, add the link to the About section. Just like the issue says. You want users to easily run the front end.


Can't Ctrl+drag to Exit

ib generates IBActions as follows: - (IBAction)someMethodName:(id) sender;, but Interface Builder's Exit expects it to be - (IBAction)someMethodName:(UIStoryBoard *) sender; in order it to be draggable to Exit.
I ended up editing stubs.h manually, but it would be nice to have it done by ib gem.

@ivdma
Can you check if - (IBAction)someMethodName:(UIStoryBoard *) storyBoard; also work?
If so, we can check for parameter name.

@yury
Yes, storyBoard parameter works too.

Please test this new feature!  Available in 0.8.0.  Thanks, @yury!

Hey there,
Three things:

You have a little typo: it should be UIStoryboard not UIStoryBoard (source).

I noticed the above because Xcode was giving me an error, but even after I fixed it I still had to change the type to UIStoryboardSegue in order to hook up the exit button! I'm confused because others seem to not have run into these problems. Suggestions?

Am I right to say that this is a totally new feature? It doesn't seem like you do parameter name checking anywhere else, but I'm not confident about that.

To be clear to anyone else coming here to solve this problem: in order to get ib to give a UIStoryboard type you have to use the keyword storyboard or story_board as a parameter name in your method definition like so:
def exit_method_name(storyboard)
end

and that will produce
-(IBAction) unwind_to_list:(UIStoryBoard *) storyboard;


DRAFT: Persistence generation for AWS - pure pieces

Pure parts of persistence generation for AWS

@rajamony - Unlike Gitlab, "DRAFT" prefix in the PR title doesn't mark the PR as draft.  There's a "convert to draft" link on the right.

Please update the PR description using our PR template. https://github.com/finos/legend-engine/blob/master/.github/PULL_REQUEST_TEMPLATE.md

This PR is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

This PR was closed because it has been inactive for 35 days. Please re-open if this PR is still relevant.


Multiple post exclamation marks (variable!!!) do not occure any compile error

A post exclamation mark is used for explicit declaration of non-nullable type.
However, when the post exclamation mark being used over twice, there not be any compile error.
I can't sure it whether bug or spec. If it's a bug, hope to be fixed.
const nullable: number | null = null;
console.log(
    "No errors",
    nullable!,
    nullable!!,
    nullable!!!,
    nullable!!!!
);

x! basically means x as Exclude<typeof x, null | undefined>.  So nullable!! is just (nullable!)! and there's no reason for that to be an error.


sumbit assignment1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Added SQL code
What did you learn from the changes you have made?
Basic SQL coding
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
No
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
No
How were these changes tested?
Run the code in SQLite
A reference to a related issue in your repository (if applicable)
Checklist

[X ] I can confirm that my changes are working as intended

Hi, I have just submitted my assignment 1 for SQL. Can you please let me know if it has been successfully submitted? Thanks!

Hi. You have unfortunately made a pull request to the wrong repo. You shouldn't be making a pull request to uoft-dsi/sql, but rather your own forked sql repo. Please see further instructions on your onboarding Assignment Submission Guide.

Hi,
Thanks for letting me know!
I also made a pull request on my own repo.
Could you please check if you can see it?
Thanks,
Colin(Lin)
CODE, POTATO @.***>于2024年12月16日 周一03:33写道：

Hi. You have unfortunately made a pull request to the wrong repo. You
shouldn't be making a pull request to uoft-dsi/sql, but rather your own
forked sql repo. Please see further instructions on your onboarding Assignment
Submission Guide
https://github.com/UofT-DSI/onboarding/blob/main/onboarding_documents/submissions.md
.
—
Reply to this email directly, view it on GitHub
https://github.com/UofT-DSI/sql/pull/157#issuecomment-2544020023, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BNBJSDU245PRVNQKARJGSV32FXKPTAVCNFSM6AAAAABTUYECC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBUGAZDAMBSGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


podman commit: implement --iidfile

Placeholder: podman build includes a --iidfile=file option; podman commit should as well.

@sujil02 PTAL

Fixed with PR #5539


Update mariadb version for ppcle64 to 10.2.36

Previous version is no longer available at
http://yum.mariadb.org/10.2/centos/7/ppc64le/rpms/.  This change is
necessary to build successfully.

cc: @amitsadaphule

Thanks @rschlussel and @wenleix!


Not working without fragments or bottom bar

Currently the main activity should have a bottom bar

Thank you for your feedback, @zeoowl-dev. Currently this library is in ALPHA therefore we are constantly trying to improve the performance.


Missing null check

https://github.com/ValkyrienWarfare/Valkyrien-Warfare-Revamped/blob/8778e9d45f16c1f60e8149ab6cbdbabbdebc1278/src/main/java/valkyrienwarfare/api/block/ethercompressor/TileEntityEtherCompressor.java#L104
PhysicsObject physObj = ValkyrienWarfareMod.physicsManager.getObjectManagingPos(world, pos).wrapping;
This needs to have a null check, or that method needs to never return null

That code has since been deleted in the control-system-revamp branch.


Improve module templates documentation

Add some documentation on the tradeoff involved when declaring a namespace in a class-module or function-module.
Extend the documentation on correctly importing such a module.
Fixes #785

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: DanielRose sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


As a user who is concerned about privacy, I want to be able to transfer encrypted data

so that i can share my data in its encrypted form

#93

Refer to issue #115


Variant calling on RNA-seq data using GATK4

Hello there,
thank you for developing and maintaining a great pipeline!
I'm now testing a variant call option on an RNA-seq dataset. Although I have 3 replicates, for this testing I just use 1 of them. Hope this didn't cause the issue.
I've also tried WGS and WES, but didn't hit the below issue using 1.1.6a.
Version info

bcbio version (bcbio_nextgen.py --version): 1.1.6a and 1.2.0
GATK (4.1.3 for 1.1.6a and 4.1.6 for 1.2.0)
OS name and version: CentOS 7
Runs on a cluster using slurm. I get a single node using srun, and runs in a local mode.

To Reproduce

Exact bcbio command you have used: bcbio_nextgen.py ../config/rnaseq_var_test.yml -n 18
Your sample configuration file:

details:

analysis: RNA-seq
genome_build: hg38
description: hs4k_p1
files:

/path/to/read_1.fastq.gz
/path/to/read_2.fastq.gz
metadata:
batch: batch1
condition: hs4k_1
algorithm:
aligner: star
spikein_fasta: /path/to/ercc/ERCC92.fa
strandedness: firststrand
variantcaller: gatk-haplotype
expression_caller: salmon
upload:
dir: ../final`

Observed behavior
Error message or bcbio output.
[2020-04-02T07:36Z] 20/04/02 10:36:26 INFO MemoryStore: Block broadcast_1 stored as values in memory (estimated size 43.0 KB, free 23.7 GB)
[2020-04-02T07:36Z] 20/04/02 10:36:26 INFO MemoryStore: Block broadcast_1_piece0 stored as bytes in memory (estimated size 11.0 KB, free 23.7 GB)
[2020-04-02T07:36Z] 20/04/02 10:36:26 INFO BlockManagerInfo: Added broadcast_1_piece0 in memory on localhost:33204 (size: 11.0 KB, free: 23.7 GB)
[2020-04-02T07:36Z] 20/04/02 10:36:26 INFO SparkContext: Created broadcast 1 from broadcast at AbstractBinarySamSource.java:82
[2020-04-02T07:36Z] 20/04/02 10:36:26 INFO MemoryStore: Block broadcast_2 stored as values in memory (estimated size 307.4 KB, free 23.7 GB)
[2020-04-02T07:36Z] 20/04/02 10:36:26 INFO MemoryStore: Block broadcast_2_piece0 stored as bytes in memory (estimated size 25.4 KB, free 23.7 GB)
[2020-04-02T07:36Z] 20/04/02 10:36:26 INFO BlockManagerInfo: Added broadcast_2_piece0 in memory on localhost:33204 (size: 25.4 KB, free: 23.7 GB)
[2020-04-02T07:36Z] 20/04/02 10:36:26 INFO SparkContext: Created broadcast 2 from newAPIHadoopFile at PathSplitSource.java:96
[2020-04-02T07:36Z] 10:36:26.924 INFO  HaplotypeCallerEngine - Tool is in reference confidence mode and the annotation, the following changes will be made to any specified annotations: 'StrandBiasBySample' will be enabled. 'ChromosomeCounts', 'FisherStrand', 'StrandOddsRatio' and 'QualByDepth' annotations have been disabled
[2020-04-02T07:36Z] 20/04/02 10:36:27 INFO MemoryStore: Block broadcast_3 stored as values in memory (estimated size 15.3 MB, free 23.7 GB)
[2020-04-02T07:36Z] 20/04/02 10:36:27 INFO SparkUI: Stopped Spark web UI at http://localhost:4040
[2020-04-02T07:36Z] 20/04/02 10:36:27 INFO MapOutputTrackerMasterEndpoint: MapOutputTrackerMasterEndpoint stopped!
[2020-04-02T07:36Z] 20/04/02 10:36:27 INFO MemoryStore: MemoryStore cleared
[2020-04-02T07:36Z] 20/04/02 10:36:27 INFO BlockManager: BlockManager stopped
[2020-04-02T07:36Z] 20/04/02 10:36:27 INFO BlockManagerMaster: BlockManagerMaster stopped
[2020-04-02T07:36Z] 20/04/02 10:36:27 INFO OutputCommitCoordinator$OutputCommitCoordinatorEndpoint: OutputCommitCoordinator stopped!
[2020-04-02T07:36Z] 20/04/02 10:36:27 INFO SparkContext: Successfully stopped SparkContext
[2020-04-02T07:36Z] 10:36:27.122 INFO  HaplotypeCallerSpark - Shutting down engine
[2020-04-02T07:36Z] [April 2, 2020 10:36:27 AM AST] org.broadinstitute.hellbender.tools.HaplotypeCallerSpark done. Elapsed time: 0.16 minutes.
[2020-04-02T07:36Z] Runtime.totalMemory()=1168113664
[2020-04-02T07:36Z] Exception in thread "main" java.lang.StackOverflowError
[2020-04-02T07:36Z]     at com.esotericsoftware.kryo.util.IdentityObjectIntMap.push(IdentityObjectIntMap.java:225)
[2020-04-02T07:36Z]     at com.esotericsoftware.kryo.util.IdentityObjectIntMap.put(IdentityObjectIntMap.java:161)
[2020-04-02T07:36Z]     at com.esotericsoftware.kryo.util.MapReferenceResolver.addWrittenObject(MapReferenceResolver.java:41)
[2020-04-02T07:36Z]     at com.esotericsoftware.kryo.Kryo.writeReferenceOrNull(Kryo.java:681)
[2020-04-02T07:36Z]     at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:570)
[2020-04-02T07:36Z]     at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80)
[2020-04-02T07:36Z]     at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:505)
[2020-04-02T07:36Z]     at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:575)
[2020-04-02T07:36Z]     at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80)
[2020-04-02T07:36Z]     at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:505)
and so on. Kryo.java:575, ObjectField.java:80, and FieldSerializer.java:505 error repeated.
Expected behavior
I tried to upgrade bcbio_nextgen (and also GATK4), but it returns the same error.
When I changed the command to use a single core, it works.
bcbio_nextgen.py ../config/rnaseq_var_test.yml -n 1
Is this related to GATK spark issue?

Thanks for reporting, @yfukasawa!
I'm facing a similar issue in one of the RNA-seq variant calling projects.
Running with one thread allowed me to see the underlying issue.
It was similar to
https://gatk.broadinstitute.org/hc/en-us/community/posts/360057963511-HaplotypeCaller-error-Read-is-malformed-read-starts-with-deletion
which is solved here:
https://github.com/broadinstitute/gatk/releases
So I think new 1.2.2 bcbio release, which is coming soon + gatk <IP_ADDRESS> will solve this.
Sergey

@yfukasawa did this still fail with GATK <IP_ADDRESS>? I saw you installed it-- does it also run into this error? Or did you have a different problem with that.

Thank you for swift replies, @naumenko-sa and @roryk.
Unfortunately, yes, bcbio 1.2.0 seems to use GATK <IP_ADDRESS>, and I faced the above error with GATK <IP_ADDRESS>. It looks the error still exists in GATK4 <IP_ADDRESS>.
If I use a single core, haplotypecaller part was finished.
BTW, I found another issue between bcbio 1.2.0 and GATK <IP_ADDRESS>.
From <IP_ADDRESS>, GenotypeGVCF seems to have changed the option a bit, at least "use-new-qual-calculator" does not exist anymore (https://gatk.broadinstitute.org/hc/en-us/articles/360040509751-GenotypeGVCFs).
I found that option in GATK <IP_ADDRESS>, but not in <IP_ADDRESS> and <IP_ADDRESS>.
The error message I saw is below:
[2020-04-02T15:57Z] ***********************************************************************
[2020-04-02T15:57Z] A USER ERROR has occurred: use-new-qual-calculator is not a recognized option
[2020-04-02T15:57Z] ***********************************************************************
Thanks!

Hi @yfukasawa !
bcbio wrapper of GATK has been recently fixed to meet the deprecation of use-new-qual-calculator
https://github.com/bcbio/bcbio-nextgen/commit/188ace3ae6f1cd781464519af8db2eea735a57fb
So it is totally logical that it fails with bcbio 1.2.0 and gatk <IP_ADDRESS>
could you please update bcbio to 1.2.3: bcbio_nextgen.py upgrade -u stable and try again?
S

I'm facing the similar issue when validating RNA-seq variant calling with NA12878 and gatk <IP_ADDRESS>
The current workaround is to use gatk3.8:
tools_off:
- gatk4

Hi @naumenko-sa !
Thank you for following up this. Noted the workaround for gatk <IP_ADDRESS>.
I noticed if we specify the number of process = 1, not haplotypecallerspark but haplotypecaller is called. maybe this is why RNA-seq analysis works with n=1.
I have talked about this with my colleague, and he mentioned spark may require HDFS. our cluster doesn't use HDFS, so if this is a requirement, spark version might suffer from file system issue.
thanks!

Thanks @yfukasawa!
It is indeed a spark issue.

Maybe switching to SPARK version decreased our precision in RNA-seq variant calling?
Testing some more...

Currently RNA-seq variant calling is not working with gatk4 and gatk3.
It works with vardict.
details:
- algorithm:
    aligner: star
    strandedness: unstranded
    variantcaller: vardict
  analysis: RNA-seq
  description: NA12878
  files:
  - /path/gatk4_hg38/input/SRR307898_1.fq.gz
  - /path/gatk4_hg38/input/SRR307898_2.fq.gz
  genome_build: hg38
  metadata:
    batch: bNA12878
resources:
  default:
    cores: 2
    jvm_opts:
    - -Xms750m
    - -Xmx15000m
    memory: 15G
upload:
  dir: ../final

The issue tracked down to pybedtools and fixed there. Waiting for a release of pybedtools to push gatk variant calling for RNA-seq.
https://github.com/bcbio/bcbio-nextgen/issues/3078

RNA-seq variant calling uses gVCF and with threads > 1 HaplotypeCallerSpark switched on an crashed:
turned it off in https://github.com/bcbio/bcbio-nextgen/pull/3214


Automated cherry pick of #8573: qcloud elb cert duplicate fix

Cherry pick of #8573 on release/3.5.
#8573: qcloud elb cert duplicate fix

/lgtm

/approve


Add support for clang-format-12

Available on hirsute image: https://packages.ubuntu.com/search?keywords=clang-format&searchon=names&suite=hirsute&section=all . Looks like clang-format-10 isn't available on hirsute, though.

Closed in #44


ThemeResource throws exception

Describe the bug
When using ThemeResource SystemControlAltMediumLowAcrylicElementMediumBrush, the app crashes.
(Following https://github.com/windows-toolkit/MVVM-Samples/tree/master/samples)
Steps to reproduce the bug
Create new app and add a Border element to MainWindow.xaml using ThemeResource
<Window
    x:Class="Test.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Border Background="{ThemeResource SystemControlAltMediumLowAcrylicElementMediumBrush}" />
</Window>

Expected behaviour
App loads with selected background
Version Info
NuGet package version:
Microsoft.ProjectReunion 0.5.0-prerelease

Windows 10 version
Saw the problem?

Insider Build (19042.867)
Yes

Additional context

Copying the resource from generic.xaml to App.xaml (brush and color):
<Application
    x:Class="Test.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Application.Resources>
        <ResourceDictionary>
            <Color x:Key="SystemAltMediumLowColor">#66000000</Color>
            <SolidColorBrush x:Key="SystemControlAltMediumLowAcrylicElementMediumBrush" Color="{StaticResource SystemAltMediumLowColor}" />
            <ResourceDictionary.MergedDictionaries>
                <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
                <!-- Other merged dictionaries here -->
            </ResourceDictionary.MergedDictionaries>
            <!-- Other app resources here -->
        </ResourceDictionary>
    </Application.Resources>
</Application>

Works fine:
<Window
    x:Class="Test.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Border Background="{ThemeResource SystemControlAltMediumLowAcrylicElementMediumBrush}" />
</Window>

Is this a first chance execption that is handled upstream? (Can you f5 through the execption?)

@StephenLPeters Yep. Think this is same bug as #4496 (the infamous noise asset).

Also the same as #4510, which will be fixed in the upcoming 0.8 preview. That item can be used for further tracking.


Fix CI not triggering on PRs

In #22 The CI does not trigger when pushing commits to the branch. This PR aims to investigate why and then (hopefully) fix the issue.

@Korijn RTR. Turns out we were triggering CI on the wrong branch (master instead of main).

Classic 😄


add a csv / xlsx loader

Currently we're not supporting .csv nor .xlsx
Good way to start getting into this project, feel free to work on it!

Hey, I looked at the issue and I think I could help. could you kindly assign me the issue?

closed in #29


[feat] add FigmaSpec design block

Related: #70

Related: #70

will do 👍

will do 👍

@pocka how would you like to mark it as experimental?
we could add a console.warn or rename the Block component to _Figspec or ExperimentalFigspec, which approach should we take?

@pocka how would you like to mark it as experimental?
we could add a console.warn or rename the Block component to _Figspec or ExperimentalFigspec, which approach should we take?

@hazem3500
I prefer console.warn or ExperimentalFigspec. But no strong opinion, any approach that users easily notice the feature as experimental would be okay 👍

@hazem3500
I prefer console.warn or ExperimentalFigspec. But no strong opinion, any approach that users easily notice the feature as experimental would be okay 👍

@pocka done 👍

@pocka done 👍

Release: v6.0.0-alpha.2

Release: v6.0.0-alpha.2


⚠ Bofrost.at has degraded performance

In 8e45794, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2656 ms

Resolved: Bofrost.at performance has improved in 32651fe after 6 minutes.


[Linux] Error message when Caps Lock key is pressed (debug mode)

I use the real keyboard. The Error message is showed when Caps lock key is pressed.
(No problem with macos.)
Steps to Reproduce

$ git clone https://github.com/google/flutter-desktop-embedding.git
$ cd testbed
$ flutter build linux --debug
$ cd build/linux/debug/bundle
$ ./testbed
click "Test raw keyboard events"
press Caps lock key

flutter: ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════
flutter: The following assertion was thrown during a platform message callback:
flutter: Attempted to send a key down event when no keys are in keysPressed. This state can occur if the key
flutter: event being sent doesn't properly set its modifier flags. This was the event:
flutter: RawKeyDownEvent#67540(logicalKey: LogicalKeyboardKey#0ff30(keyId: "0x1060000ff30", keyLabel: null,
flutter: debugName: "Unknown key code 65328"), physicalKey: PhysicalKeyboardKey#70039(usbHidUsage:
flutter: "0x00070039", debugName: "Caps Lock")) and its data: RawKeyEventDataLinux(keyLabel: null, keyCode:
flutter: 65328, scanCode: 66, unicodeScalarValues: 0, modifiers: 8192, modifiers down: {})
flutter: 'package:flutter/src/services/raw_keyboard.dart':
flutter: Failed assertion: line 599 pos 12: '<optimized out>'
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix the underlying cause.
flutter: In either case, please report this assertion by filing a bug on GitHub:
flutter:   https://github.com/flutter/flutter/issues/new?template=BUG.md
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #2      RawKeyboard._handleKeyEvent (package:flutter/src/services/raw_keyboard.dart:599:12)
flutter: #3      BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:74:49)
flutter: #4      _DefaultBinaryMessenger.handlePlatformMessage (package:flutter/src/services/binding.dart:283:33)
flutter: #5      _invoke3.<anonymous closure> (dart:ui/hooks.dart:280:15)
flutter: #9      _invoke3 (dart:ui/hooks.dart:279:10)
flutter: #10     _dispatchPlatformMessage (dart:ui/hooks.dart:154:5)
flutter: (elided 5 frames from class _AssertionError and dart:async)
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════

flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-10.0.pre.114, on Linux, locale ja_JP.UTF-8)
    • Flutter version 1.21.0-10.0.pre.114 at /opt/flutter
    • Framework revision b2c0970aa7 (23 hours ago), 2020-08-16 06:11:02 -0400
    • Engine revision b300be3df3
    • Dart version 2.10.0 (build 2.10.0-34.0.dev)

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

Hi @HidenoriMatsubayashi
Not able to reproduce this issue on linux on latest master using https://github.com/google/flutter-desktop-embedding.git

flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-10.0.pre.139, on Linux, locale en_US.UTF-8)
    • Flutter version 1.21.0-10.0.pre.139 at /home/taha/Code/flutter
    • Framework revision a51dc3d913 (85 minutes ago), 2020-08-18 02:51:02 -0400
    • Engine revision 0b330467da
    • Dart version 2.10.0 (build 2.10.0-38.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/taha/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /home/taha/Code/sdk
    • Java binary at: /home/taha/Code/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.
[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1
[✓] Android Studio (version 4.0)
    • Android Studio at /home/taha/Code/android-studio
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.48.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.13.2
[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Linux
• No issues found!

I cannot reproduce this issue on latest master channel.
Can you upgrade to master and try again
flutter channel master
flutter upgrade --force
flutter doctor -v

@TahaTesser
I tried again using latest master channel and could reproduce the issue. However, after trying it a few times, I was unable to reproduce it. I'll investigate the details next time I reproduce.
$ flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-10.0.pre.139, on Linux, locale ja_JP.UTF-8)
    • Flutter version 1.21.0-10.0.pre.139 at /opt/flutter
    • Framework revision a51dc3d913 (2 hours ago), 2020-08-18 02:51:02 -0400
    • Engine revision 0b330467da
    • Dart version 2.10.0 (build 2.10.0-38.0.dev)

(snip)

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

(snip)

! Doctor found issues in 2 categories.

The same thing happens on flutter web channel beta 1.20.2.
Pressing Caps lock produces an error.
Javascript error(development tools, console) :
5[Intervention] Slow network is detected. See <URL> for more details. Fallback font will be used while loading: <URL> js_primitives.dart:30 ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════ js_primitives.dart:30 The following assertion was thrown during a platform message callback: js_primitives.dart:30 Assertion failed: file:///D:/flutter/packages/flutter/lib/src/widgets/shortcuts.dart:77:16 js_primitives.dart:30 keys.isNotEmpty js_primitives.dart:30 is not true js_primitives.dart:30  js_primitives.dart:30 When the exception was thrown, this was the stack: js_primitives.dart:30 C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 214:49  throw_ js_primitives.dart:30 C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 24:3    assertFailed js_primitives.dart:30 packages/flutter/src/widgets/shortcuts.dart 77:20                                                                          fromSet js_primitives.dart:30 packages/flutter/src/widgets/shortcuts.dart 181:63                                                                         fromSet js_primitives.dart:30 packages/flutter/src/widgets/shortcuts.dart 309:63                                                                         handleKeypress js_primitives.dart:30 packages/flutter/src/widgets/shortcuts.dart 472:20                                                                         [_handleOnKey] js_primitives.dart:30 packages/flutter/src/widgets/focus_manager.dart 1623:43                                                                    [_handleRawKeyEvent] js_primitives.dart:30 packages/flutter/src/services/raw_keyboard.dart 598:68                                                                     _handleKeyEvent js_primitives.dart:30 C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54            runBody js_primitives.dart:30 C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:12           _async js_primitives.dart:30 packages/flutter/src/services/raw_keyboard.dart 562:34                                                                     [_handleKeyEvent] js_primitives.dart:30 packages/flutter/src/services/platform_channel.dart 76:49                                                                  <fn> js_primitives.dart:30 C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54            runBody js_primitives.dart:30 C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:12           _async js_primitives.dart:30 packages/flutter/src/services/platform_channel.dart 75:57                                                                  <fn> js_primitives.dart:30 packages/flutter/src/services/binding.dart 267:33                                                                          handlePlatformMessage js_primitives.dart:30 C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54            runBody js_primitives.dart:30 C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:12           _async js_primitives.dart:30 packages/flutter/src/services/binding.dart 258:37                                                                          handlePlatformMessage js_primitives.dart:30 C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/window.dart 774:13                         _invoke3 js_primitives.dart:30 C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/window.dart 442:5                          invokeOnPlatformMessage js_primitives.dart:30 C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/keyboard.dart 125:12                       [_handleHtmlEvent] js_primitives.dart:30 C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/keyboard.dart 39:7                         <fn> js_primitives.dart:30 ════════════════════════════════════════════════════════════════════════════════════════════════════
Flutter console itself:
`══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════
The following assertion was thrown during a platform message callback:
Assertion failed: file:///D:/flutter/packages/flutter/lib/src/widgets/shortcuts.dart:77:16
keys.isNotEmpty
is not true
When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart
214:49  throw
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 24:3
assertFailed
packages/flutter/src/widgets/shortcuts.dart 77:20
fromSet
packages/flutter/src/widgets/shortcuts.dart 181:63
fromSet
packages/flutter/src/widgets/shortcuts.dart 309:63
handleKeypress
packages/flutter/src/widgets/shortcuts.dart 472:20
[_handleOnKey]
packages/flutter/src/widgets/focus_manager.dart 1623:43
[_handleRawKeyEvent]
packages/flutter/src/services/raw_keyboard.dart 598:68
_handleKeyEvent
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54
runBody
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:12
_async
packages/flutter/src/services/raw_keyboard.dart 562:34
[_handleKeyEvent]
packages/flutter/src/services/platform_channel.dart 76:49

C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54
runBody
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:12
_async
packages/flutter/src/services/platform_channel.dart 75:57

packages/flutter/src/services/binding.dart 267:33
handlePlatformMessage
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54
runBody
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:12
_async
packages/flutter/src/services/binding.dart 258:37
handlePlatformMessage
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/window.dart 774:13
_invoke3
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/window.dart 442:5
invokeOnPlatformMessage
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/keyboard.dart 125:12
[_handleHtmlEvent]
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/keyboard.dart 39:7

════════════════════════════════════════════════════════════════════════════════════════════════════
`

I just tried again, couldn't reproduce any error message

flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-10.0.pre.87, on Linux, locale en_US.UTF-8)
    • Flutter version 1.22.0-10.0.pre.87 at /home/taha/Code/flutter_master
    • Framework revision 4732a214a7 (2 days ago), 2020-09-04 21:05:02 -0400
    • Engine revision ac8b9c4c52
    • Dart version 2.10.0 (build 2.10.0-86.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/taha/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /home/taha/Code/sdk
    • Java binary at: /home/taha/Code/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 4.0)
    • Android Studio at /home/taha/Code/android-studio
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.48.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.14.1

[✓] Connected device (3 available)
    • Linux (desktop)  • linux      • linux-x64      • Linux
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome
      85.0.4183.83

• No issues found!

given your last message I feel safe to close this issue, if you disagree please write in the comments and I will reopen it.
Thank you

cc @gspencergoog

I can reproduce the issue by using Flutter SDK version 1.22.-0-10.0.pre.309. Therefore, I'll check details later.

I think this was fixed with #69576


Loading Stereo on Jupyter Notebook Error

Hi,
I'm exploring Stereopy with the .h5ad files you have provided in the link here. However, on my Jupyter notebook I get the following error when trying to load stereopy
Below is what I am loading
import os
from os.path import join as jn
import warnings
warnings.filterwarnings('ignore')
import stereo as st

Here is the error
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In [7], line 5
      2 from os.path import join as jn
      3 #import warnings
      4 #warnings.filterwarnings('ignore')
----> 5 import stereo as st

File ~/miniconda3/envs/stereopy/lib/python3.8/site-packages/stereo/__init__.py:10
      8 from . import tools
      9 from . import utils
---> 10 from . import plots as plt
     11 from . import image

File ~/miniconda3/envs/stereopy/lib/python3.8/site-packages/stereo/plots/__init__.py:13
     11 from .marker_genes import marker_genes_text, marker_genes_heatmap
     12 from .plot_collection import PlotCollection
---> 13 from .interact_plot.spatial_cluster import interact_spatial_cluster
     14 from .interact_plot.interactive_scatter import InteractiveScatter
     15 from .interact_plot.poly_selection import PolySelection

File ~/miniconda3/envs/stereopy/lib/python3.8/site-packages/stereo/plots/interact_plot/spatial_cluster.py:8
      1 #!/usr/bin/env python3
      2 # coding: utf-8
      3 """
      4 @author<EMAIL_ADDRESS>      5 @time:2021/09/06
      6 """
----> 8 import holoviews as hv
      9 import hvplot.pandas
     10 import panel as pn

File ~/miniconda3/envs/stereopy/lib/python3.8/site-packages/holoviews/__init__.py:12
      8 __version__ = str(param.version.Version(fpath=__file__, archive_commit="$Format:%h$",
      9                                         reponame="holoviews"))
     11 from . import util                                       # noqa (API import)
---> 12 from .annotators import annotate                         # noqa (API import)
     13 from .core import archive, config                        # noqa (API import)
     14 from .core.boundingregion import BoundingBox             # noqa (API import)

File ~/miniconda3/envs/stereopy/lib/python3.8/site-packages/holoviews/annotators.py:10
      6 from inspect import getmro
      8 import param
---> 10 from panel.pane import PaneBase
     11 from panel.layout import Row, Tabs
     12 from panel.util import param_name

File ~/miniconda3/envs/stereopy/lib/python3.8/site-packages/panel/__init__.py:1
----> 1 from . import layout # noqa
      2 from . import links # noqa
      3 from . import pane # noqa

File ~/miniconda3/envs/stereopy/lib/python3.8/site-packages/panel/layout/__init__.py:1
----> 1 from .accordion import Accordion # noqa
      2 from .base import Column, ListLike, ListPanel, Panel, Row, WidgetBox # noqa
      3 from .card import Card # noqa

File ~/miniconda3/envs/stereopy/lib/python3.8/site-packages/panel/layout/accordion.py:5
      1 import param
      3 from bokeh.models import Column as BkColumn, CustomJS
----> 5 from .base import NamedListPanel
      6 from .card import Card
      9 class Accordion(NamedListPanel):

File ~/miniconda3/envs/stereopy/lib/python3.8/site-packages/panel/layout/base.py:13
     11 from ..io.model import hold
     12 from ..io.state import state
---> 13 from ..reactive import Reactive
     14 from ..util import param_name, param_reprs
     16 _row = namedtuple("row", ["children"])

File ~/miniconda3/envs/stereopy/lib/python3.8/site-packages/panel/reactive.py:25
     22 from param.parameterized import ParameterizedMetaclass
     23 from tornado import gen
---> 25 from .config import config
     26 from .io.model import hold
     27 from .io.notebook import push

File ~/miniconda3/envs/stereopy/lib/python3.8/site-packages/panel/config.py:20
     14 import param
     16 from pyviz_comms import (
     17     JupyterCommManager as _JupyterCommManager, extension as _pyviz_extension
     18 )
---> 20 from .io.notebook import load_notebook
     21 from .io.state import state
     23 __version__ = str(param.version.Version(
     24     fpath=__file__, archive_commit="$Format:%h$", reponame="panel"))

File ~/miniconda3/envs/stereopy/lib/python3.8/site-packages/panel/io/__init__.py:9
      6 import logging
      7 import sys
----> 9 from ..config import config
     11 from .callbacks import PeriodicCallback # noqa
     12 from .embed import embed_state # noqa

ImportError: cannot import name 'config' from partially initialized module 'panel.config' (most likely due to a circular import) (/home/sama0023/miniconda3/envs/stereopy/lib/python3.8/site-packages/panel/config.py)

Is it because the name config is being used somewhere else? (ref here: https://stackoverflow.com/questions/64807163/importerror-cannot-import-name-from-partially-initialized-module-m)
Many thanks for your reply - looking forward to hearing from you soon.
Shani.

Which version of your stereopy, holoviews and panel?
And, I hope you can show your denpendence by running conda list and pip list.

OK, So I figured out the issue. It was multiple things. But yes something to do with the installation.
Long story short, the issue for me at least was with another module named mistune that needed a particular version which was obscured by the errors that came because of maybe the other packages used it.
The version of mistune needed can be installed with
pip install mistune==0.8.4


SnapTube – YouTube Downloader HD Video v<IP_ADDRESS>11710 Final APK

SnapTube – YouTube Downloader HD Video v<IP_ADDRESS>11710 Final APK
SnapTube – YouTube Downloader HD Video APK Cracked is a powerful android APK for video and music downloaders and as well as supports many streaming services including YouTube.
It supports multiple resolutions and can directly convert video files to MP3. It also supports 4shared, WhatsApp, Tiktok, Vevo, Funnyordie, YouTube, Vine, Twitter, Dailymotion, Instagram, Dailytube, Facebook, Metacafe, Animeq, Vimeo, etc.
Download Now

Can i get the code


Throw a friendly error from Aspire if Docker isn't running

This is what a user sees today if they run Aspire and docker isn't running.

Should display a nice, friendly error message. Something like, "Failed to connect to Docker. Ensure that Docker is running."

Is there a different error if Docker isn't installed? Should test that scenario and ensure there is a good error message.

For the lurkers, this is a huge lift to actually fix, so in the meantime we definitely need to make the error message palatable and actually informative. There is a diff error if docker isnt installed.

cc @leslierichardson95

Another idea would be to lean into the dashboard and show it there instead of stopping the application from starting. Container resources would fail and we with the new restart feature, maybe enable restarting the container.

There isn't an API for the host to tell the dashboard to show messages. But since we know if docker is healthy or not before the dashboard is started, the dashboard could have some extra configuration options to display a message on startup.
Configuration to show a message on startup can display in the existing message UI. Today it's used to display telemetry isn't secured, or max telemetry reached. But it can show multiple messages at once.

My proposal for this as a SUPER short term thing for 9 -
instead of "fail" in the terminal, we show
"warn": Microsoft.Extensions.
Hosting failed to start. Please check that your container runtime is started.

And instead of not launching the dashboard, we still launch but anything that relies on a container runtime is listed as "Failed to Start" in the dashboard resource view.
9.1+ we could prob do some tooltips in the dashboard, etc
Thoughts??? @davidfowl @mitchdenny @DamianEdwards @JamesNK

Quick hack-up just now on my machine, this is what it looks like after starting TestShop without Docker running:

OK a bit more chatting with @davidfowl @karolz-ms and @danegsta just now, here's the proposed click-stops to improve this UX:

Aspire.Hosting is updated so that when the dashboard is enabled the app host is not stopped when a container runtime issue is detected (i.e. the image above). This means if Docker is not running, the dashboard will start but all container-based resources (or resources that are configured to wait for container-based resources) will fail to start. The app host console log and the individual resource console logs will contain the container runtime error message.
We should commit to this for 9.0.

DCP is updated (along with any required Aspire.Hosting changes) so that container-based resources can be started from the dashboard after they initially failed to start due to a container runtime issue. Right now this is blocked as DCP doesn't recover if the container runtime wasn't healthy when DCP was started but then becomes healthy later. This means the following flow will succeed:

Start the app host when container runtime is stopped
Dashboard appears and shows all container resources in "Failed to start" state
Container runtime is started by the user
Container resources can be started from the dashboard now that the container runtime is running.

We will attempt to do this for 9.0, but it might slip to 9.1 depending on how the changes in DCP go.*

DCP and Aspire.Hosting are updated so that container-based resources will automatically be started once the container runtime becomes healthy if they initially failed to start due to the container runtime being unhealthy at DCP launch. This means the following flow will succeeed:

Start the app host when container runtime is stopped
Dashboard appears and shows all container resources in "Failed to start" state
Container runtime is started by the user
Container resources will automatically start

This is the "north star" goal for post-9.0

As well as the error message from connecting to Docker, I'd like the logs to display an extra message that we add. Something as simple as "Failed to connect to Docker. Ensure that Docker is running." would make it clear what is wrong and what they need to do.

By the way there was a bug that causes these resource logs to be lost. A fix was just checked in to preserve them.

As well as the error message from connecting to Docker, I'd like the logs to display an extra message that we add. Something as simple as "Failed to connect to Docker. Ensure that Docker is running." would make it clear what is wrong and what they need to do.

We need to handle multiple container runtimes.

I updated the existing message so that it includes a suggestion to check that the container runtime is running and try again.

PR up https://github.com/dotnet/aspire/pull/6135


Can not add new users in Wagtail admin on test

The form seems to never submit, just toggle between account/role tabs.
I suspect this is a bug from the Wagtail 5 upgrade. We have overriden code in the wagtail admin user section, we likely need to update that code with the Wagtail 5 changes to get it working again.

This seems to be an issue with the test db, not the code.
I can not replicate the issue with my local test db or the sandbox db.

Yes, working fine locally for me as well.

Any error in the browser console or server logs?

This bug show up on OTF test site as well, not good.

I have found the cause of the issue:
If the "Show consent checkbox?" is checked in Wagtail admin -> Settings -> Auth Settings  you can not add users in Wagtail admin. On test it is not checked but on OTF live it is.
This is the code:
https://github.com/HyphaApp/hypha/blob/40f78e269516ef6fc99d4e760823a2cc362fe768/hypha/apply/users/forms.py#L70-L86
This class is also used when creating a new users from Wagtail admin `/admin/users/add/´. The consent checkbox is required but is not shown, and should not be shown, when creating users in Wagtail admin. Since it is required but not checked the form fails to submit and you can not create users.
@theskumar Can you try to fix this issue? We want the consent checkbox when a user creates an account (path /register/) but not when admins create users (path /admin/users/add/).

I will hold v5.1.0 until next week so we can get this in.

@theskumar I took a stab at solving this, can you please take a look?

Just reviewed


ZUI Usage for Other than Debugging

Is there a reason you say ZUI is mainly useful for debugging? Performance reasons? I am planning on making a desktop application that will require windows being drawn. I don't see any reason ZUI wouldn't work for that purpose. I'd say give yourself more credit unless I'm missing something!

Performance should be good, if there are issues that can be fixed. My main concerns on building real applications are:

No fancy layouts
No skinning, only hard-coded colors
No advanced elements

I still love the brutally minimal approach of immediate ui and with some effort all of these can be improved upon, but will likely take some time. :)


Program to solve sudoku

Program to solve sudoku

Congratulations for your Open source contribution. Don't forget to follow and add a star on this repo.. Happy hacking


cargo fix with #![warn(rust_2018_idioms)] panics with: thread 'main' panicked at 'text to replace is empty', libcore\option.rs:989:5

I have a project that is panicking when #![warn(rust_2018_idioms)] is specified. cargo check succeeds so I am assuming this is a problem with cargo and not rustc.
Windows 10 x64
cargo 1.29.0-nightly (2cd36b4ed 2018-07-25)
rustc 1.29.0-nightly (866a71325 2018-07-29)

$ RUST_BACKTRACE=1 cargo fix --allow-no-vcs
Checking pathfinder-actix v0.1.0 (file:///C:/projects/test/pathfinder-actix-problem)
thread 'main' panicked at 'text to replace is empty', libcore\option.rs:989:5
stack backtrace:
0: git_reference_type
1: git_reference_type
2: git_reference_type
3: git_reference_type
4: git_reference_type
5: git_reference_type
6: git_reference_type
7: git_reference_type
8: git_reference_type
9: git_worktree_name
10:
11:
12:
13:
14: git_reference_type
15: git_reference_type
16: git_reference_type
17:
18: git_openssl_set_locking
19: BaseThreadInitThunk
20: RtlUserThreadStart
error: Could not compile pathfinder-actix.
To learn more, run the command again with --verbose.

I find it suspicious that the stack trace is hinting at git when there is no repo (in fact I removed my .git directory because of the above trace).
If I remove #![warn(rust_2018_idioms)] it succeeds.  A cargo check also succeeds and a subsequent cargo fix passes.
Project:
pathfinder-actix-problem.zip

Thanks for the report! I've submitted a fix for this in https://github.com/rust-lang-nursery/rustfix/pull/139

Ok the fix has been merged and we'll get this in nightly on the next Cargo update, hopefully happening soon!

Thanks @alexcrichton!