Update 'Header' according to figma.

Overview
We need to update the ' Header' design according to figma.
Action Items

[ ] Compare and update Figma design to current Header component.
[ ] Use our Material-UI best practices.
[ ] Ensure that it works properly at all breakpoints. (It does not currently.)

Resources/Instructions
https://www.figma.com/file/EFoSuj1b9G4aZ7bN8OX8tf/CivicTechIndex---Master-Design-File?node-id=3765%3A15528

@chalimar -Please finalize the and update the Header design

@DrIffathsultana Every issue should be created with the 3 headers. Please edit this issue accordingly.
Overview
Action Items
Resources

@DrIffathsultana Every issue should be created with the 3 headers. Please edit this issue accordingly.
Overview
Action Items
Resources

Done.

The design has been created, need to review with Dev and Product.

Just realized that the MD and SM version of the nav do not have a button for the Search Projects. Can this be added either on the top of all of the dropdown categories or below it?
I will update the Figma components to match what the Dev team decides for best placement. Thank you!

I have started and it looks pretty close. Looks like some finalization needs to take place with the figma before I'll create a PR.

@maxskewes will add the "Search Projects" in the MD, and SM screens below the link "Radical Collaboration" (UX will not need to update the screens.)

This is almost up to figma standards. I have a few questions for the dev team at the next meeting regarding the existing code. Will update progress afterwards and should have a PR shortly thereafter.

During discussion today, we found that header in resting state can be found in blank page. Also confirmed that @maxskewes will rewrite the code to include dropdowns and submit the PR when ready.

Have not addressed aligning the dropdowns yet- will do by Sunday. Tonight I have a few issues to relate to the design team and will reflect in code for this issue.

Max is going to bold the category parent link and add link to Radical Collaboration


Processing warnings before post-process of needs builder

I've just identified the following bug/issue in the needs builder:

We configure the values of a needs option using a dynamic function (:custom_option: [[get_the_value()]]).
It's worth noting that the custom_option value can also be manually specified.
Consequently, we verify the custom_option value through a registered warnings function.
Upon inspecting Sphinx-Needs 2.0.0, I observed the addition of a post-processing step, allowing, for instance, the invocation of dynamic functions.
However, an issue arises when using dynamic functions because the validation or invocation of warnings occurs before post-processing. As a result, the value [[get_the_value()]] gets passed into the warning function.

My suggestion would be to move the following line:
app.connect("build-finished", process_warnings) after processing build_needumls_pumls or debug.process_timing
https://github.com/useblocks/sphinx-needs/blob/master/sphinx_needs/needs.py#L245-L249`
@danwos As discussed here the issue

the validation or invocation of warnings occurs before post-processing.

Heya @malsabbagh-mhp, perhaps you can clarify with more information, or a minimal reprocuble example, but I do not believe this to be the case:
I believe you are refering to the post-processing here: https://github.com/useblocks/sphinx-needs/blob/73b961e29583bc0ac8892ef9c4e2bfb75f7f46bb/sphinx_needs/builder.py#L55-L56
This is called at the end of the build step, before the build-finished is emitted: https://github.com/sphinx-doc/sphinx/blob/5e9550c78e3421dd7dcab037021d996841178f67/sphinx/application.py#L339-L352
you can see this, if you add print statements at the start of process_warnings and NeedsBuilder.finish, then run the needs builder:
...
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
***** post-processing needs data
Needs successfully exported
***** process_warnings

Checking sphinx-needs warnings
...

Hi @chrisjsewell,
Thank you for your response. I've been working with a custom builder that extends the Builder class and overrides the following functions: write, write_doc, get_target_uri, finish, get_outdated_docs, prepare_writing, and write_doc_serialized.
When I execute the sphinx-build command with my custom builder, I encounter the following logs:
*****
checking consistency... done
dumping object inventory... done

Checking sphinx-needs warnings
*****
Needs successfully exported
build succeeded.

From what I gather:

When using the needs builder, the finish function is executed before processing warnings, which aligns with expectations.
However, when utilizing a custom builder, the registered build_needs_json function is invoked after process_warning, resulting in the value [[get_the_value()]] being passed into the warning function without prior processing.

@malsabbagh-mhp ah if you are writing your own builder (which bypasses the sphinx write phase like the NeedsBuilder) then you also need to specifically call post_process_needs_data(self.app)
Note, as it says in the function docstring, the function is idempotent, so you can call it as many times as you want and it will only process the needs once.
We have previously discussed, that ideallypost_process_needs_data would be added as a  Sphinx event, that always runs in-between the read and write phase, and then you would not have to add it manually.
However, currently this event does not exist.

@chrisjsewell thanks for your reply.
In my conf.py, I've configured needs_build_json to True, and Sphinx-needs automatically sets up the call to build_needs_json upon completion of the build process. You can refer to this link.
Given this setup, my expectation is that Sphinx-needs would trigger build_needs_json to generate the needs.json file before processing any warnings.
Therefore I am not sure, why should I call post_process_needs_data(self.app)?
Could you please explain it, why are you generating the needs.json after processing the warnings?
Many thanks for your time!
Br,
Mohamed.

any update on this?

Therefore I am not sure, why should I call post_process_needs_data(self.app)?

Because if your custom builder is intending to use the needs data in anyway, if post_process_needs_data(self.app) is not called before you start the "write phase" then the needs data will be wrong (because it will not be post-processed)

Could you please explain it, why are you generating the needs.json after processing the warnings?

It really doesn't which way round they are: the post-processing of needs is intended to run before both of them; build_needs_json is intended simply to write the existing data to disk

Solved by adding post_process_needs_data(self.app) to the finish(self) function. Thanks!


Ignore 502s in horizon-cmp

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[ ] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[ ] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[ ] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

What
Ignore 502s in horizon-cmp
Why
Cause they happen sometimes, and it currently panics.
Known limitations
[TODO or N/A]

Shouldn’t we retry instead of ignoring the error?

@2opremio Yeah, you're right we should retry


Non-US vaccination data is missing

Describe the bug
Non-US countries have lost "Percent of population fully vaccinated" data.
Link to microCOVID scenario

Example scenario from UK

To Reproduce
Steps to reproduce the behavior:

Load microCOVID calculator and enter a non-US entry in the country field.
Unfold 'Details'
Look at 'Percent of population fully vaccinated' field
Observe that 'no data available' appears

Expected behavior
Numeric percentage appears
Is this a regression?
I believe it started happening a few days ago; will add a comment with what I've found digging in on this so far.
Additional context / screenshots
Add any other context about the problem here, including any screenshots.

One of microCOVID's data sources, the JHU global vaccine data CSV, was archived on 2022-09-21, probably related to the 'U.S. & Global Vaccine Data Change' section of https://github.com/CSSEGISandData/COVID-19/issues/6082
Similar data appears here - perhaps it could be used.
Related:

Vaccination has a very limited effect on risk of spread regardless in our model, so this is probably not a big effect on results for folks.
I only noticed this while poking around https://github.com/CSSEGISandData/COVID-19/issues/6082 and https://github.com/CSSEGISandData/COVID-19/issues/6099 to understand the impact to microCOVID after seeing a news article about it.
update_prevalence.py silently ignores 404s from fetched data and treats the result as an empty data file, which appears to be what happened here.
There's no alerting that happens when update_prevalence.py fails, so even if we did fail aggressively when we hit the 404, it'd result in general prevalence being dropped and probably wouldn't be noticed, as it's hard to notice the dog that didn't bark.
We don't have a model for the decaying effect of booster doses.
I am suspicious that we may have outdated implicit assumptions around the vaccine data we do receive.


Exception while upgrading current release version with --pre-release Always --version-lock Major

If I want to upgrade my current stable branch with all release nuget package to latest nuget package (pre release), I will get below exception.
dotnet-outdated --upgrade --pre-release Always  --version-lock Major
Analyzing dependencies...Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'value')
at System.String.StartsWith(String value, StringComparison comparisonType)
at NuGet.Versioning.FloatRange.Satisfies(NuGetVersion version)
at NuGet.Versioning.VersionRange.IsBetter(NuGetVersion current, NuGetVersion considering)
at NuGet.Versioning.VersionRange.FindBestMatch(IEnumerable1 versions)    at DotNetOutdated.Core.Services.NuGetPackageResolutionService.ResolvePackageVersions(String packageName, NuGetVersion referencedVersion, IEnumerable1 sources, VersionRange currentVersionRange, VersionLock versionLock, PrereleaseReporting prerelease, NuGetFramework targetFrameworkName, String projectFilePath, Boolean isDevelopmentDependency, Int32 olderThanDays, Boolean ignoreFailedSources) in /home/runner/work/dotnet-outdated/dotnet-outdated/src/DotNetOutdated.Core/Services/NuGetPackageResolutionService.cs:line 60
at DotNetOutdated.Program.AddOutdatedDependencyIfNeeded(Project project, TargetFramework targetFramework, Dependency dependency, ConcurrentBag1 outdatedDependencies) in /home/runner/work/dotnet-outdated/dotnet-outdated/src/DotNetOutdated/Program.cs:line 483    at DotNetOutdated.Program.AddOutdatedFrameworkIfNeeded(TargetFramework targetFramework, Project project, ConcurrentBag1 outdatedFrameworks, IConsole console) in /home/runner/work/dotnet-outdated/dotnet-outdated/src/DotNetOutdated/Program.cs:line 470
at DotNetOutdated.Program.AddOutdatedProjectsIfNeeded(Project project, ConcurrentBag1 outdatedProjects, IConsole console) in /home/runner/work/dotnet-outdated/dotnet-outdated/src/DotNetOutdated/Program.cs:line 439    at DotNetOutdated.Program.AnalyzeDependencies(List1 projects, IConsole console) in /home/runner/work/dotnet-outdated/dotnet-outdated/src/DotNetOutdated/Program.cs:line 407
at DotNetOutdated.Program.OnExecute(CommandLineApplication app, IConsole console) in /home/runner/work/dotnet-outdated/dotnet-outdated/src/DotNetOutdated/Program.cs:line 187
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.InvokeAsync(MethodInfo method, Object instance, Object[] arguments)
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext context, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at DotNetOutdated.Program.Main(String[] args) in /home/runner/work/dotnet-outdated/dotnet-outdated/src/DotNetOutdated/Program.cs:line 129
[1]    39660 abort      dotnet-outdated --upgrade --pre-release Always --include "ecs." --include

I have the same issue. Apparently, upgrading to the latest nuget.* packages (6.4.0) solves the issue. If that is true, I'll open a PR


Change default namespace

To avoid conflicts with CLR Stream object, this PR changes default namespace to "GetStream" like in oficial packages.
Client code sample:

Thanks for the PR but unfortunately, this is unfeasible or not a direction we would want to go. I would suggest creating an alias for your use-case via using.

Another option as fully qualified name. Example: https://github.com/GetStream/stream-net/pull/42/files#diff-29ed5e62c29ae0522825a13f3fd9a18ce24622f07808fd69cf12f726009119e3R16

I see,  @ferhatelmas. Thank you! :)


As an employee, I require a report detailing all countries within a particular region, ordered by population size from largest to smallest. The report should include the top 10 countries from each region.

Country Report
A country report requires the following columns:
Code.
Name.
Continent.
Region.
Population.
Capital.


Add transit stops as a feature

Prioritized because it's been requested by Philadelphia stakeholders

Any thoughts or progress on this? I tried adding bus stops via the supplemental csv pattern, but the stops don't have a date associated with them, which I think breaks the functionality. I think we could use the standardize_point_data.py script if we are able to skip the date aspect. I just don't know what that would break down the line.

#318 should have unlocked this! @nsteins  - I know this is a blast from the past but if you're interested in contributing here, let me no.  I'm going to close this as it's city-specific and we might need a fresh request to reopen.


Our  SPIR-V doesn't match glslangValidator's

There's some difference in the way we compile GLSL to SPIR-V.  Our SSA Ids don't match theirs.  For debugging it would be helpful if they were identical.

Fixed by deaa691


cirq.plot_density_matrix outputs buggy plots and doesn't scale with number of qubits.

Description of the issue
cirq.plot_density_matrix is buggy and output's random plots (tested in a colab) and would also doesn't scale well with number of qubits.
My guess is that this due to the magic numbers hardcoded in the code, which should be changed and computed on the fly based on the size of the density matrix.
https://github.com/quantumlib/Cirq/blob/09a4667e3d1768fc2f1934b18ae52e5b13ecd378/cirq-core/cirq/vis/density_matrix.py#L39
How to reproduce the issue
import cirq
cirq.plot_density_matrix(cirq.testing.random_density_matrix(dim=4, random_state = 12345))

Cirq version
0.14.0.dev20220105215702
cc @AnimeshSinha1309

It does look like some sort of abstract art, though :)

@dabacon Updated the title to better reflect what's happening :P

I have no idea how all the multiply operations were written as divide, I had made the mistake but I remember that things were working last I checked. Anyways, fixed this, please lemme know if stuff is working now. Not sure if adding a test here would help, maybe I can add that radius of any circle should not be more than 1 and same with with length of any line.


Screenshot library doesn't work with wxPython 4.0.7 on Python 2 on Linux

On a Virtual Box with Linux Mint Debian edition (and also reported on Ubuntu 18.04), Python 2.7.13, wxPython 4.0.7.post2.
Using Screenshot library works fine with PyGTK but causes segmentation fault when using wxPython.
$ python -m robot.libraries.Screenshot example.jpg pygtk
Using 'gtk' to take screenshot.
Taking test screenshot to 'example.jpg'.
Success!
$ python -m robot.libraries.Screenshot example.jpg wxpython
Using 'wx' to take screenshot.
Taking test screenshot to 'example.jpg'.
Segmentation fault
$

This problem have the side effect of making RIDE blocked, even if the import is using other than wxPython screenshot_module. RIDE #2070

Can you investigate where the problem occurs? Has wxPython API changed?

I will investigate.

@pekkaklarck Seems that when using Screenshot library with wxPython and Python 2.7 on Linux, users must install the GTK2 version of wxPython, including for the fix on my PR.
I have posted on wxPython group this.

Thanks for debugging @HelioGuilherme66! Luckily the needed changes were really small. Some comments/questions below:

Could you take a look at my comment to the PR about only creating the app reference when needed?

Does this only occur with Python 2.7, not with Python 3?

If certain wxPython versions don't work, that should be mentioned in the library documentation when talking about using wxPython in general. Could you add such a note if needed?

I have tried creating the App in the _wx_screenshot function, and it did not solve the problem.
This only occurs with Python 2.7.
If the PR is merged, then no need for documentation notes.

As I commented the PR, I'm still somewhat worried about the global wx.App reference but I guess that's not a big issue because it's only created if wx can be imported in the first place.

The fix for this issue caused #3798 and the fix was reverted in RF 4.1. It's unlikely there are many users who use wxPython on Python 2 anymore (I couldn't even install it there), so even if reverting the fix would introduce this bug again it shouldn't affect too many users.


Bug: Can't download from e-hentai or exhentai

Bug report
Environment (please complete the following information):

Description
Data

OS
Windows 7

Python version
3.5.2

Pip version
18.1

Manga-py version
1.5.4

URL
listed in Additional context

Additional context
When trying to download manga from exhentai.org or e-hentai.org in most cases appears error saying Error processing file: vol_000 with no additional info.

example url that throw this error (i just randomly picked mangas and 8 out of 10 have this problem):
https://exhentai.org/g/1362834/11c07e7453/
https://e-hentai.org/g/1409158/365af0df77/
https://exhentai.org/g/1114716/6de11cbd01/
Example of url that works fine:
https://e-hentai.org/g/1409123/ed8557bd9c/
https://e-hentai.org/g/1409027/efc480a08f/

https://e-hentai.org/g/1409158/365af0df77/

Oh. You have strange tastes :-)
I fixed it. Today will be an update.

https://exhentai.org/g/1114716/6de11cbd01/

in progress now

Oof, i really didnt saw what was inside that first gallery, as i said i was picking random galleries (Second is closer to what i wanted to download).
BTW i ran pip install --upgrade manga-py, but error was still there, wasn't this update already uploaded to pypi?

Not. There was no release yet. Expect the next hour.

Bug is still there

Please, try remove this file:
C:\Users\<username>\AppData\Roaming\.PyMangaDownloader

now i cant login back to exhentai, when im entering correct login/passwird pair it requies me to login again, if i enter wrong password it just shows "wrong password" message, it started happpening after i deleted .PyMangaDownloader folder, currently this folder is empty

Hmmm....
I will check it. Give thanks.
Probably, I was mistaken somewhere :-(

I need a little more time for this problem.
Thank you for your patience

Ohhh.... Try now, please

Oof

Oh! I know what the problem is.
Try to enable vpn for your PC
I mean not a proxy in the browser, but for the whole system (for example openvpn)
Or you can use proxy for manga-py:
https://www.free-proxy-list.net/
You will need a proxy with https
anonymous or elite type
gl =)

О! Я знаю в чем проблема.
Попробуйте включить vpn для вашего ПК
Я имею в виду не прокси в браузере, но для всей системы (например openvpn)
Или используйте прокси для manga-py:
https://www.free-proxy-list.net/
Вам нужен https прокси

I will need your help a little later.

OOf, is there any way i can view full error log instead of "Error processing file..."

Yes. I'll do a test version with debug output this weekend. I need you to install it.
Please wait a bit

So...
Please, try download here:
https://github.com/yuru-yuri/manga-dl/archive/stable_1.x.zip
Unzip, go to unzipped files.
And rut it (in your command line):
python manga.py https://exhentai.org/g/1362834/11c07e7453/

You should see the new directory "manga-py-debug"
Please pack this and attach to your next answer.
You can do the same with other url addresses.
Debugging works for both sites.

THis version you sent can't download anything at all

And folder manga-py-debug wasn't crerated

Hmmmmm
This is really strange
Ok. Please, contact me with discord: https://discord.gg/zjuG9PF

I get an error !!! Hooray! 😄

Please, check new version

Hey. Do you still have problems?

Yep, i'have just cloned this repository and tried to run python manga.py https://exhentai.org/g/1403504/ff38b6352a/ and got same error as before

It is sad :-(
Have you tried using docker?

Nope, should i try it?

Yes if possible
Read here:
https://habr.com/ru/post/358774/#basic - Russian manual
https://docs.docker.com/toolbox/toolbox_install_windows/ - "Docker on Windows Toolbox"

Oof, site is permanently closed now, so there is no longer a point in this issue

Anyway. I'm currently working on version 2.0 (not as fast as I would like, but someday it will be ready)
I hope you will have no problems with her if the panda ever returns.
Sorry I could not solve your problem at the moment.

Yes. Site down now. Forever
https://knowyourmeme.com/memes/sites/exhentai-sadpanda#fn6

Here we go again...

Please, try with option --debug

yeah, it works now, thanks!


yaml-lint failure on pipenv install step

https://github.com/opensearch-project/opensearch-build/actions/runs/9487703240/job/26145880300?pr=4765
Run python -m pip install --upgrade pipenv wheel
Collecting pipenv
  Downloading pipenv-2024.0.1-py3-none-any.whl.metadata (19 kB)
Collecting wheel
  Downloading wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB)
Collecting certifi (from pipenv)
  Downloading certifi-2024.6.2-py3-none-any.whl.metadata (2.2 kB)
Collecting setuptools>=67 (from pipenv)
  Downloading setuptools-70.0.0-py3-none-any.whl.metadata (5.9 kB)
Collecting virtualenv>=20.24.2 (from pipenv)
  Downloading virtualenv-20.26.2-py3-none-any.whl.metadata (4.4 kB)
Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
  Downloading distlib-0.3.8-py2.py3-none-any.whl.metadata (5.1 kB)
Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
  Downloading filelock-3.15.0-py3-none-any.whl.metadata (2.8 kB)
Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
  Downloading platformdirs-4.2.2-py3-none-any.whl.metadata (11 kB)
Downloading pipenv-2024.0.1-py3-none-any.whl (3.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 92.0 MB/s eta 0:00:00
Downloading wheel-0.43.0-py3-none-any.whl (65 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.8/65.8 kB 20.0 MB/s eta 0:00:00
Downloading setuptools-70.0.0-py3-none-any.whl (863 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 863.4/863.4 kB 87.3 MB/s eta 0:00:00
Downloading virtualenv-20.26.2-py3-none-any.whl (3.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.9/3.9 MB 71.8 MB/s eta 0:00:00
Downloading certifi-2024.6.2-py3-none-any.whl (164 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.4/164.4 kB 43.7 MB/s eta 0:00:00
Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 kB 75.2 MB/s eta 0:00:00
Downloading filelock-3.15.0-py3-none-any.whl (15 kB)
Downloading platformdirs-4.2.2-py3-none-any.whl (18 kB)
Installing collected packages: distlib, wheel, setuptools, platformdirs, filelock, certifi, virtualenv, pipenv
  Attempting uninstall: setuptools
    Found existing installation: setuptools 58.1.0
    Uninstalling setuptools-58.1.0:
      Successfully uninstalled setuptools-58.1.0
Successfully installed certifi-2024.6.2 distlib-0.3.8 filelock-3.15.0 pipenv-2024.0.1 platformdirs-4.2.2 setuptools-70.0.0 virtualenv-20.26.2 wheel-0.43.0
Creating a virtualenv for this project...
Pipfile: /home/runner/work/opensearch-build/opensearch-build/Pipfile
Using /opt/hostedtoolcache/Python/3.9.19/x64/bin/python3.9 (3.9.19) to create virtualenv...
TypeError: object.__init__() takes exactly one argument (the instance to initialize)

Failed creating virtual environment
[pipenv.exceptions.VirtualenvCreationException]: Exception ignored in: <function BaseFileLock.__del__ at 0x7f743e116ee0>
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/filelock/_api.py", line 365, in __del__
    self.release(force=True)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/virtualenv/util/lock.py", line 34, in release
    with self.thread_safe:
AttributeError: '_CountedFileLock' object has no attribute 'thread_safe'

Failed to create virtual environment.
Error: Process completed with exit code 1.

Thanks.

Need to switch back to older version such as 3.9.12.

Later might need to switch to other versions such as ubuntu-latest is changing.
See: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
And: https://github.com/actions/runner-images


nodenv org discussions

thoughts on a communication channel? I quickly opened a gitter.im room https://gitter.im/nodenv since I figured that would be a lower barrier of entry than a slack group.
also reset the waffle board with the new org: https://waffle.io/nodenv/nodenv  The waffle board so far has all the repos that are currently in the org and is a nice way to see all of the issues/prs across the org on one board. It doesn't change anything with github, so no one is forced to use it. Personally, I like being able to see all the repos' issues and prs in one place.

A slack group would probably be preferable to me as I'm already using that for work so easier to have it open and pay attention during the day, might actually manage to get back to being more involved with this as I've just been too busy to get anywhere near of late.
Go with whatever works for the most people though.

I've never used slack, so I can't comment on it. We do use gitter.im over in @caskroom though, so I'm familiar with the interface and usually have the native app open.

I'm a fan of slack but I'm also not likely to be an active contributor.

Does slack have the ability for people to join without an invite yet? Last I checked, an invite was needed to join a slack team. If that has changed, I'd be fine with slack over gitter. Otherwise, I think gitter works better as a team channel since anyone can join without an invite and begin participating.


[RFR] [OSF-7994] Fix loss of binding for contributor adder in registration editor.

Cache contributor adder to avoid loss of binding when navigating between
pages of registration editor.
Added some lodash cause, why not more lodash.

Purpose
Fix loss of binding for contributor adder in registration editor.
Changes
Update packages.json Added some lodash
Update website/static/js/registrationUtils.js Added facility to cache some extensions instead of recreating them. For instance osf-author-import loses it's binding when recreated.
Side effects
None
Ticket
OSF-7994

@alexschiller Did you want to look at this any further? Or should I throw it back into the the general CR pool?

@TomBaxter It can go back in the queue, no other comments 👍


App Hosting build breaks when adding GenKit

I have a nextjs app running on the app hosting
It builds and everything is fine
But when I use firebase init to add GenKit, and push the changes, the next build fails

@dorraba  I suggest opening an issue through official Firebase support channels https://firebase.google.com/support
Alternatively, you can search through Firebase Tools GH to see if there is any issue matching yours https://github.com/firebase/firebase-tools


Separate crate for macros

Suggestion
So I was digging around on MSDN to leverage Memory Mapped Files for a project I need them in - all is well and I've managed to get something working now which is great.
What isn't as great is missing some of the utility macros. LOWORD and HIWORD being the first examples I encountered early on due to a fair few calls requiring split upper and lower 32 bit integers.
I already saw #921 and #2273 which state these macros have no place here, and that there is maybe a future for a macro crate there. I'd mostly like to formalize the request for them, along with opening discussion on how this would be best approached and implemented.
The first questions to come to mind are

Should it be part of an existing workspace, or a new one?
If it were added to an existing workspace as a separate crate, where would the maintenance burden lie?
If it has to be a new repo, would it have to be opened by a community member, or should it live within the microsoft org?

Based on the previous interactions surrounding the topic of Windows SDK macros, I'd assume the work would in large part be a community effort, something I'd even be willing to contribute to given the chance. But for this to be feasible, there would have to be a way for contributors to help work on this. Could someone from the SDK maintenance team start working on compiling a list of the macros that don't have manual implementations here? Worst case, we'd get an auto-generated list of macros for which the community would have to filter out the ones actually relevant in Rust code.
Assuming this idea gets some favor and a macros crate does get added over time, it might even be interesting to move (some) existing macros there that were only added in order to accommodate working with the win32 APIs - as a way to get the rest of the crate back to just the metadata described code.

I can probably find a home for this, but deciding on the list of macros is probably the biggest challenge. I'm not aware of any official list of popular macros. Another option would be to begin collecting that list and at least in some cases simply documenting Rust alternative code snippets on the repo or here: https://kennykerr.ca/rust-getting-started/where-are-the-macros.html

We could just start with a list of macros in general and start implementing them in order of asked here, then the easier ones, and see what the responses and requests are.
Adding snippets and samples to the getting started guide is a great idea, I'll make a modest start on the aforementioned DWORD macros in a PR. Would it be better to make new files for that, or is that specific file going to grow bigger for now?

Also consider that the majority of Win32 macros exist mainly to make working with C++ easier. It may not make sense to suck down an entire crate where a (value >> 16 & 0xffff) as _ may do.
I'd be more inclined to back an effort that involves writing a cookbook/docs of common idiomatic replacements.

It needn't be an either/or situation. Starting with a cookbook sounds useful on its own. The popular recipes can later be spun out into a crate if there's sufficient need.

Oh I absolutely agree, hence ordering by requested ones first. Itcs also why I'm happy to make a start on this.
I assume these macros also handle some platform-specifics for developers that'd be nice regardless of the language. Situations like reading UTF-16 BE/LE, arch specific instructions, etc. would definitely be a thing to watch out for and regardless of how these utilitues are provided, it'd be best to include these subtleties as closely mirrored to the C++ macros as possible

Closing as there's no work for the windows-rs project at the moment, but feel free to keep the conversation going.

For anyone who came here through searching the web or a duplicate issue, the decision eventually landed on a community-effort repository which is currently a blank slate.
For anyone who would be willing to contribute to a crate for Rust implementations of these header-only definitions, I'd like to point you to the repo linked above. For now it's literally just minwindef.h and nothing else as I can't spend paid hours on this.
Anyone more experienced in setting up proper testing and automation pipelines in CI is more than welcome to just PR in the things needed there. I'll start expanding on weekends and evenings if I can find the time, but some extra hands would be much appreciated.
For the folks that expressed a prior interest, have a ping:
@ryancerium @bibhas2 @roblabla @Razordor @jminer @Samuel-B-D @vpopescu @CrendKing @valarauca @andy-westacott @Axel-Reactor
These are all the people actively involved with issues for the same core problems that I could find in this repository. If any of you have any snippets and handrolled implementations lying around for specific macros/header-only functions, I'd love to add them!


v0.1.0

Can't merge to branch main and also can't pR to that branch. I don't know why.

I am guessing that's because you have had a bad rebase, possibly when you pulled in the changes (which caused conflicts?).


Possible Unhandled Promise Rejection (id: 0): TypeError: Cannot read property 'showShareActionSheetWithOptions' of undefined

Steps to reproduce

const shareOptions = {
title: 'Share via',
message: 'some message',
url: "https://civicchamps.com",
};
console.log("new code")
Share.open(shareOptions)
Getting an error in IOS when trying to share:" Possible Unhandled Promise Rejection (id: 0): TypeError: Cannot read property 'showShareActionSheetWithOptions' of undefined"

Expected behaviour
Can share
Actual behaviour
Getting an error
Environment

React Native version: 0.59.1
React Native platform + platform version: iOS 13

react-native-share
Version: npm version or "master" 1.2.1
Link to repo (highly encouraged)
https://github.com/

Are you using the v1.2.1? We got a lot of changes since v1.2.1, that can fix that.
You can give a look at the complete changelog here: https://github.com/react-native-community/react-native-share/compare/v1.2.1...v3.0.0.
Also, did you tried updating your app to a newer version of react-native? On this case, this can have some benefits since you are going from 0.59.1 to 0.60.


Don't check the remote Clojure-LSP everytime.

Is your feature request related to a problem? Please describe.
The clojure-lsp-plugin checks the Clojure-LSP's version every time. When the network can't be reached, it can't use the clojure-lsp program in the local.
Describe the solution you'd like
Could we add an option in settings, so we could upgrade it manually and don't check it every time. And if we find a clojure-lsp program in the local match the version in clojure-lsp-vserion file when the network can't be reached, we can use the local.

@DavidAlphaFox What about we try to update and if network fail we use the one available? would that be enough for you?

Done! available in 2.6.1


Issue 2/multinode implementation

Pull created by ritka-admin at 2023-01-13T14:50:23Z

Assignee is {'login': None}


Array elements behavior controlling.

Hi,
I have attached Json schema and generated POJO .
fedAPI5.7Jar.-.Unmodified.zip
The json schema has "LineItemTaxes" Object. but when pojo beans are generated it gave it a name as "LineItemTaxis" . in case of duplicate , it should have been either _ . but changing the name is confusing.
LineItemTaxes - is an array defined as "lineItemTaxes": { "type": "array",.......}.
It is translated to
private List lineItemTaxes = new ArrayList();fedAPI5.7Jar.-.Unmodified.zip
)
Each item notation would be better be called "LineItemTax"- instead of "LineItemTaxis".
so , question is can we control this feature ? Can we have any option to enforce using annotation to Json schema / or any arguments during conversion so that it does not sound too bad.

Yeah, let's fix this in the inflector.


Allow custom logger providers

Since both properties of BaseBuilder are protected internal, it is difficult to add custom ILoggerProvider instances to the default LoggerFactory in the connection.
I understand there is an extension method to provide a new instance of LoggerFactory, but in my case, I'd rather keep the LoggerFactory that the connection is using separate from the LoggerFactory that the rest of the app is using. However, I'd like to inject a LoggerProvider (i.e. Serilog) so the behavior of the logging can be managed via configuration.
I think the easiest solution would be an additional extension method in Xeeny.Extensions.Loggers.BaseBuilderExtenions.
        public static TBuilder WithCustomLoggerProvider<TBuilder>(this TBuilder builder, ILoggerProvider provider)
            where TBuilder : BaseBuilder
        {
            builder.LoggerFactory.AddProvider(provider);
            return builder;
        }

Noted, will add it asap.


Configuration/Automated Setup

We have now received our shipment of Turtlebot4 robots, and found that setup can be quite time consuming. What we apply right now to our robots:
Step 1: Raspbery PI

Connect to TurtleBot4 Wi-Fi
log in via ssh<EMAIL_ADDRESS>pw: turtlebot4) and execute

export BOTID=4 # example for robot no 4
install.py standard ${BOTID} # change ROS_DOMAIN_ID for services
echo export ROS_DOMAIN_ID=${BOTID} >> .bashrc # change ROS_DOMAIN_ID for shell env
echo uwbot-${BOTID} | sudo tee /etc/hostname # change hostname
sed -i "s/rmw_cyclonedds_cpp/rmw_fastrtps_cpp/" .bashrc # change middleware (also applied to services?)
echo -e \\n | sudo wifi.sh -s turtlebot -p SOMEPW -r CA # join Wi-Fi

Step 2: Base

Put base in setup mode
Joint Wi-Fi Create-XXXX
Use browser to modify:

ROS_DOMAIN_ID
RMW implementation - fastdds
set safety override full
set hostname
Wi-Fi

Step 3: Install packages

Connect to raspberry pi over ssh through our Wi-Fi
Install missing middleware packages: sudo apt install ros-galactic-rmw-fastrtps-cpp
Shut down robot
Start robot again

Step 4: Test

ros2 topic echo /scan
ros2 topic echo /battery_state

This is quite a lengthy process. Realistically this takes 0.5h to 1h per robot. We will not automate it right now (tried) because we are half done already, but here are some things which would simplify the process, in order of importance

Webserver of the Create3 is very slow. Likely because the CPU of the base seems to be satured quite often (ping >5seconds). Either improve this, add a suitable (HTTP) configuration API or some other way to configure the base.
Create3 configuration is not always successfully applied and the base does not join the Wi-Fi (may be user error)
Rebooting the robot takes very long
Install fast-dds packages by default
When the Wi-Fi credentials have been entered wrong on the raspberry pi there is no easy recovery.

I have been working on a script that makes setting the ROS_DOMAIN_ID and RMW_IMPLEMENTATION much easier. You can test out the updated install.py and new ros_config.sh scripts from here. The ros_config.sh script sends the ROS_DOMAIN_ID and RMW to the Create3 with a curl command, so the Create 3 doesn't need to be placed in AP mode. It also reinstalls the turtlebot4 job with the updated settings and applies the changes to .bashrc.

I haven't personally seen the Create 3 webserver be that slow but if you can get some logs it would be good to make an issue on iRobots github. I think it may also be possible to forward the webserver through the RPi so that we don't have to place the robot in AP mode. I will check with iRobot.

How long is "very long" for rebooting? The Create 3 might be struggling to connect to WiFi if its several minutes. I am trying to get the TTB4 to work with just WiFi on the RPi (#26) but it is still a WIP.

I will be releasing a 0.1.3 image soon that will have fastrtps installed by default, along with the previously mentioned scripts.

The WiFi script has a confirmation prompt already so I think that user error should be fairly minimal here. You can always connect an Ethernet cable and SSH in through that. See https://turtlebot.github.io/turtlebot4-user-manual/troubleshooting/faq.html#access-the-rpi-over-ethernet.

Thanks. I think the suggestions address the issues. We'll keep testing.


[BUG]What label does a new node need, in order to run harvester pod?

Describe the bug

Harvester pod is CrashLoopBackOff, describe show following error.
FailedScheduling  6m57s (x2 over 6m58s)  default-scheduler  0/1 nodes are available: 1 node(s) didn't match pod affinity/anti-affinity, 1 node(s) didn't satisfy existing pods anti-affinity rules.
What kind of label I need to add into node?
To Reproduce
Steps to reproduce the behavior:

Add a new node into harvester cluster

Expected behavior

Support bundle

Environment:

Harvester ISO version: harvester1.0
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):Baremetal

Additional context

From the message it's the pod anti-affinity rules that blocked the scheduling. The podAntiAffinity of Harvester deployment prevents running multiple Harvester pods on the same node.
    podAntiAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
      - labelSelector:
          matchExpressions:
          - key: app.kubernetes.io/name
            operator: In
            values:
            - harvester
          - key: app.kubernetes.io/component
            operator: In
            values:
            - apiserver
          - key: app.kubernetes.io/version
            operator: In
            values:
            - 0.1.x
        topologyKey: kubernetes.io/hostname

Can you provide a support bundle?

Thanks for the hint. It is solved


[TEVA-3859] Publishers manage settings

Jira ticket URL
https://dfedigital.atlassian.net/browse/TEVA-3859

All good for:

school

TRUST

LA


gherkin-python: Sync the release process with tag-expressions-python

Summary
Sync the release process with tag-expressions-python
Details

rsync the default.mk from .templates
Include default.mk in the Makefile
Update setup.py

Change to use double quotes (") instead of single quotes (') to
enable the use of the update-version make rule
Change the download_url the publish make rule uploads the release
archive to pypi (which was not done earlier for the gherkin-python
releases).
Add (a short) long_description and platforms so that the PKG-INFO
in the created distribution does not have any entries with the value
UNKNOWN

Commit the MANIFEST (which was updated when testing to create the
source distribution locally).

Motivation and Context
How Has This Been Tested?
Locally tested update-version and python2 setup.py sdist (the latter is the first have of the publish make rule).
Types of changes

[X] Bug fix in the release process for gherkin-python (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

[ ] The change has been ported to Java.
[ ] The change has been ported to Ruby.
[ ] The change has been ported to JavaScript.
[ ] The change has been ported to Go.
[ ] The change has been ported to .NET.
[ ] I've added tests for my code.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have updated the CHANGELOG accordingly.

@aslakhellesoy I recon that cukebot needs to be added as a maintainer of https://pypi.org/project/gherkin-official/ (as it is for https://pypi.org/project/cucumber-tag-expressions/)

Thanks @brasmusson !

I've made cukebot an owner of gherkin-official.

Version 18.1.0 is out! https://pypi.org/project/gherkin-official/#history
@jenisys in case you want to update behave to use this.


"ReactHotLoader" occurrences in published package

At the end of each file in the package version from npm a larger definition regarding the ReactHotLoader is contained.
When I include this package I have 20 instances of that including the path C:\Users\LWTech Gaming\Code Projects\react-console-emulator\src in my bundle.
Probably this is a configuration error in webpack step?

Whoops, this does indeed appear to be an error, as that should not be going downstream. I'll look into fixing this ASAP - if you know the fix and want to hurry it along, do by all means share!

Thx for looking into it!
For now I patched it out which saved 10KB in the minified bundle ;)
I had a look at the config before I opened the issue, but I couldn't directly see what's wrong as I didn't fully understand the publishing workflow.
You already have the HotLoader only in the Production plugins, so I would have assumed that should work properly.

Fixed in v5.0.1. Thanks for flagging!

Thx, perfect!

Btw. using the plugin for https://github.com/Sebobo/Shel.Neos.Terminal. Works really well :)

Wow, this looks super awesome! Thanks for using my little tool for this! 😊


Source Control View

Issue Type: Feature Request
I really dislike the new Source Control view.  I liked that the edits were put down on the bottom and not in line with the repos.  Putting it inline makes it messy.  And now, the branch name hides the repo name.  So if I have a branch named the same for two repos, I have no idea which repo it is without having to expand the window size until the repo name is reavealed.  Also, I liked seeing how many changes are in a repo.  It brought attention to that repo without all this clutter.   needless to say, I liked the old way before you started messing with it.
VS Code version: Code 1.48.0 (db40434f562994116e5b21c24015a2e40b2504e6, 2020-08-13T07:50:42.600Z)
OS version: Windows_NT x64 10.0.17763
Remote OS version: Linux x64 4.4.0-148-generic

See #104151 which you can already try out in Insiders.

This was tackled with https://github.com/microsoft/vscode/issues/104151


NaN ValueError encountered during sampling

Hi Konstantinos,
Thank you very much for open source deepmedic! We like it a lot!
During training, we came across an error

I worked around it using an early return.

Do you think this is a correct way to fix it ? Do you have any suggestions ?
Thank you!

Hi Jing-He,
I have run into exactly this problem myself under some settings.
Sampled coordinates should end up None only if the segmentation map (manual) is empty. This is expected, and the calling function should take care of this case. And not sample, nor call this function sample_coords_of_segments, which threw you the error. This is fine, no problem. Error should not happen.
But, I have noticed that this problem/error happens sometimes (not always, random) when I am training with affine-augmentation:
In the trainConfig, the following line is for affine augmentation:
augm_img_prms_tr = {'affine': { 'prob': 0.0, 'max_rot_xyz': (45., 45., 45.), 'max_scaling': 0.1, 'interp_order_imgs': 1 } }
When prob = 0.0, no augm happens. When it's larger than 0, augm with rotation and scaling is done. When I do this, sometimes (random), it can happen.
I am assuming that the rotation/scaling can do something unexpected to some cases.
I still have not identified completely the problem in my settings (when augmentation is done).
But, that being said, I have bypassed it exactly as you have. For now. Until I diagnose and solve it better.
The only problem is: When you do that, you are effectively training on less samples than you would expect (less training iterations).
If it is not happening too often, that's fine. Check your training logs for the message you through in the if statement. If it's not too often, that's fine. It's exactly how I bypass it too for now.
Out of curiosity, it would help me diagnose the problem if we can identify what in your setttings are causing it...

Have you also turned on this affine-augmentation? (by setting the prob > 0) ?
Do you have subjects in your training set that have manual-segmentation empty for some classes?
If you want, it could help me a lot if you could email me the training-config that you used when the error was thrown. Perhaps even the training-logs of the session.
<EMAIL_ADDRESS>

On master, after push of 6a3314c to master with v0.8.2


Machine/Host Name is being saved but not recognized on re-enter

v0.19.2
Steps:

Create a DO or Amazon host
Re-enter Add Host
Click on Create

Results:
When you enter, you will notice that the host name is saved from previous Add.  Also when you click on Create it gives the "name" is required error.  Even if you fill out everything, it still thinks there is nothing in the name field until you go into that field and do something.
Expected:
I don't think we should save the previous name of the host.  But if we do, it should recognize that there is text in there.

Fixed in https://github.com/rancherio/ui/pull/153

v0.20.1
Verified fixed - host name is no longer saved.


New-BcContainer runs into error: "hcsshim::ImportLayer failed in Win32: The system cannot find the path specified."

Screenshots

Additional context

does it happen all the time?
Yes

did it use to work?
Yes
(I was on holidays for 3 weeks, before that it worked all successfully, now my containers are not getting created anymore - I have no single clue why.. :-( )

Edit:
My colleague which successfully created a new container 2 days ago tested it now, and he also gets the same error.
BcContainerHelper version: 6.0.20-preview1214
Docker Version: 26.1.0

Hi
I had the same issue on run al pipeline yesterday, once I remove the license it’s working, I am not sure it’s related to license issue

Same issue here...
It worked fine on Monday...

same issue here
Last successfully image creation on our build system was Monday 13:00Z (with de localization) and fails since Monday 15:00Z (with base localization)
New-BcContainer Splat: {"shortcuts":"None","restart":"on-failure","includeTestToolkit":true,"containerName":"navserver-44627","includeTestLibrariesOnly":true,"Credential":{"UserName":"admin","Password":{"Length":9}},"doNotCheckHealth":true,"doNotExportObjectsToText":true,"additionalParameters":["-e HttpSite=n","-v  C:\\a\\1:C:\\a\\1","-v  C:\\a\\_temp:C:\\a\\_temp"],"accept_eula":true,"accept_insiderEULA":true,"artifactUrl":"https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/sandbox/24.3.21374.21827/base","alwaysPull":false,"accept_outdated":true,"auth":"NavUserPassword","imageName":"***/bc","licenseFile":null,"updateHosts":true}

2024-07-17T11:35:14.6560883Z BcContainerHelper is version 6.0.19
2024-07-17T11:35:14.6570700Z BcContainerHelper is running as administrator
2024-07-17T11:35:15.3084286Z HyperV is Enabled
2024-07-17T11:35:15.3108677Z Host is Microsoft Windows Server 2022 Datacenter Azure Edition - 10.0.20348.2582
2024-07-17T11:35:15.3117856Z UsePsSession is False
2024-07-17T11:35:15.3140928Z UsePwshForBc24 is True
2024-07-17T11:35:15.3149662Z UseWinRmSession is allow
2024-07-17T11:35:15.3181873Z UseSslForWinRmSession is True
2024-07-17T11:35:15.4468124Z Docker Client Version is 27.0.3
2024-07-17T11:35:15.4477748Z Docker Server Version is 27.0.3
2024-07-17T11:35:15.7228707Z Removing Desktop shortcuts
2024-07-17T11:35:16.1215153Z Fetching all docker images
2024-07-17T11:35:16.1873212Z Fetching all docker volumes
2024-07-17T11:35:16.2515455Z ArtifactUrl and ImageName specified
2024-07-17T11:35:16.7229324Z Building multitenant image ***/bc:sandbox-24.3.21374.21827-base-mt based on mcr.microsoft.com/businesscentral:ltsc2022 with https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/sandbox/24.3.21374.21827/base
2024-07-17T11:35:16.7239168Z Pulling latest image mcr.microsoft.com/businesscentral:ltsc2022
2024-07-17T11:35:16.9797763Z ltsc2022: Pulling from businesscentral
2024-07-17T11:35:16.9867446Z Digest: sha256:c3f4032b6b82ae3c5bcb0a2d15e7d24ba53097f3e7a9c8266163a591fb9ace39
2024-07-17T11:35:16.9878079Z Status: Image is up to date for mcr.microsoft.com/businesscentral:ltsc2022
2024-07-17T11:35:16.9949482Z mcr.microsoft.com/businesscentral:ltsc2022
2024-07-17T11:35:17.0815697Z Generic Tag: <IP_ADDRESS>
2024-07-17T11:35:17.1911477Z Container OS Version: 10.0.20348.2529 (ltsc2022)
2024-07-17T11:35:17.1921991Z Host OS Version: 10.0.20348.2582 (ltsc2022)
2024-07-17T11:35:17.1954580Z WARNING: Container and host OS build is 20348 or above, defaulting to process isolation. If you encounter issues, you could try to install HyperV.
2024-07-17T11:35:17.1963490Z Using process isolation
2024-07-17T11:35:17.2046260Z Files in c:\bcartifacts.cache\puzbqazs.43b\my:
2024-07-17T11:35:17.2090991Z Copying Platform Artifacts
2024-07-17T11:35:17.2146837Z c:\bcartifacts.cache\sandbox\24.3.21374.21827\platform
2024-07-17T11:35:50.1534074Z Copying Database
2024-07-17T11:36:06.6559302Z Copying Licensefile
2024-07-17T11:36:06.8032175Z c:\bcartifacts.cache\puzbqazs.43b
2024-07-17T11:36:25.3751979Z Sending build context to Docker daemon  2.284GB
2024-07-17T11:36:26.3804130Z
2024-07-17T11:36:26.3804814Z Step 1/6 : FROM mcr.microsoft.com/businesscentral:ltsc2022
2024-07-17T11:36:26.3805659Z  ---> 44a20f8c96b0
2024-07-17T11:36:26.3806420Z Step 2/6 : ENV DatabaseServer=localhost DatabaseInstance=SQLEXPRESS DatabaseName=CRONUS IsBcSandbox=Y artifactUrl=https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/sandbox/24.3.21374.21827/base filesOnly=False
2024-07-17T11:36:27.5052724Z  ---> Running in c76c2fcb9bd9
2024-07-17T11:36:29.4320351Z  ---> Removed intermediate container c76c2fcb9bd9
2024-07-17T11:36:29.4320904Z  ---> 7b455b851df8
2024-07-17T11:36:29.4321249Z Step 3/6 : COPY my /run/
2024-07-17T11:36:30.3047737Z  ---> 38e8c02ab71d
2024-07-17T11:36:30.3058755Z Step 4/6 : COPY NAVDVD /NAVDVD/
2024-07-17T11:37:49.1734183Z  ---> f1df83e91688
2024-07-17T11:37:49.1749839Z Step 5/6 : RUN \Run\start.ps1 -installOnly -multitenant -includeTestToolkit -includeTestLibrariesOnly
2024-07-17T11:37:49.4964466Z  ---> Running in 8b4f9d0a7ebc
2024-07-17T11:38:57.8842039Z c:\run\my folder doesn't exist, creating it
2024-07-17T11:39:07.2799137Z Using DVD installer from C:\Run\240
2024-07-17T11:39:07.8131296Z Installing Business Central: multitenant=True, installOnly=True, filesOnly=False, includeTestToolkit=True, includeTestLibrariesOnly=True, includeTestFrameworkOnly=False, includePerformanceToolkit=False, appArtifactPath=, platformArtifactPath=, databasePath=, licenseFilePath=, rebootContainer=False
2024-07-17T11:39:07.8368224Z Installing from DVD
2024-07-17T11:39:07.9993763Z Starting Local SQL Server
2024-07-17T11:39:28.1842957Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to
2024-07-17T11:39:28.1848781Z start...
2024-07-17T11:39:30.2372886Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to
2024-07-17T11:39:30.2385420Z start...
2024-07-17T11:39:32.3504948Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to
2024-07-17T11:39:32.3518435Z start...
2024-07-17T11:39:34.4574504Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to
2024-07-17T11:39:34.4584509Z start...
2024-07-17T11:39:36.5442352Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to
2024-07-17T11:39:36.5454428Z start...
2024-07-17T11:39:38.6400961Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to
2024-07-17T11:39:38.6409468Z start...
2024-07-17T11:39:40.7514254Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to
2024-07-17T11:39:40.7530479Z start...
2024-07-17T11:39:42.8195573Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to
2024-07-17T11:39:42.8205892Z start...
2024-07-17T11:39:43.6163210Z Starting Internet Information Server
2024-07-17T11:39:44.3007030Z Copying Service Tier Files
2024-07-17T11:39:44.3286072Z C:\NAVDVD\ServiceTier\Program Files
2024-07-17T11:39:49.6870273Z C:\NAVDVD\ServiceTier\System64Folder
2024-07-17T11:39:50.3003416Z Copying Web Client Files
2024-07-17T11:39:50.3015709Z C:\NAVDVD\WebClient\Microsoft Dynamics NAV
2024-07-17T11:39:56.0363638Z Copying ModernDev Files
2024-07-17T11:39:56.0375180Z C:\NAVDVD
2024-07-17T11:39:56.0597861Z C:\NAVDVD\ModernDev\program files\Microsoft Dynamics NAV
2024-07-17T11:39:57.6946088Z Copying additional files
2024-07-17T11:39:57.6960060Z Copying ConfigurationPackages
2024-07-17T11:39:57.6970349Z C:\NAVDVD\ConfigurationPackages
2024-07-17T11:39:57.7265316Z Copying Test Assemblies
2024-07-17T11:39:57.7273328Z C:\NAVDVD\Test Assemblies
2024-07-17T11:39:57.7808198Z Copying Applications
2024-07-17T11:39:57.7816870Z C:\NAVDVD\Applications
2024-07-17T11:40:02.0050254Z Copying dependencies
2024-07-17T11:40:02.1179235Z Importing PowerShell Modules
2024-07-17T11:40:20.4186143Z Restoring CRONUS Demo Database
2024-07-17T11:40:53.2219419Z Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
2024-07-17T11:40:55.9348871Z Exporting Application to CRONUS
2024-07-17T11:41:22.7586898Z Removing Application from tenant
2024-07-17T11:41:27.3246209Z Modifying Business Central Service Tier Config File for Docker
2024-07-17T11:41:27.4560535Z Creating Business Central Service Tier
2024-07-17T11:41:27.6293938Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2024-07-17T11:41:28.0726870Z C:\Applications\TestFramework\TestLibraries\permissions mock\Microsoft_Permissions Mock.app
2024-07-17T11:41:28.0744866Z C:\Applications\TestFramework\TestRunner\Microsoft_Test Runner.app
2024-07-17T11:41:28.0754400Z C:\Applications\TestFramework\TestLibraries\any\Microsoft_Any.app
2024-07-17T11:41:28.0765449Z C:\Applications\TestFramework\TestLibraries\assert\Microsoft_Library Assert.app
2024-07-17T11:41:28.0775651Z C:\Applications\TestFramework\TestLibraries\permissions mock\Microsoft_Permissions Mock.app
2024-07-17T11:41:28.0787872Z C:\Applications\TestFramework\TestLibraries\variable storage\Microsoft_Library Variable Storage.app
2024-07-17T11:41:28.0801598Z C:\Applications\System Application\Test\Microsoft_System Application Test Library.app
2024-07-17T11:41:28.0813421Z C:\Applications\BusinessFoundation\Test\Microsoft_Business Foundation Test Libraries.app
2024-07-17T11:41:28.0819998Z C:\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app
2024-07-17T11:41:28.0831896Z Starting Business Central Service Tier
2024-07-17T11:42:18.7118905Z Importing CRONUS license file
2024-07-17T11:42:25.7615401Z Copying Database on localhost\SQLEXPRESS from tenant to default
2024-07-17T11:42:25.7648187Z Taking database tenant offline
2024-07-17T11:42:26.5843447Z Copying database files
2024-07-17T11:42:28.7407378Z Attaching files as new Database default
2024-07-17T11:42:32.0411932Z Putting database tenant back online
2024-07-17T11:42:32.2039239Z Mounting tenant database
2024-07-17T11:42:32.2238701Z Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
2024-07-17T11:46:33.1794368Z Sync'ing Tenant
2024-07-17T11:46:38.3313713Z Tenant is Operational
2024-07-17T11:46:41.6937909Z Skipping Permissions Mock as it is already installed
2024-07-17T11:46:43.8672618Z Skipping Test Runner as it is already installed
2024-07-17T11:46:46.2124751Z Publishing C:\Applications\TestFramework\TestLibraries\any\Microsoft_Any.app
2024-07-17T11:46:49.9730890Z Synchronizing Any
2024-07-17T11:46:52.7690087Z Installing Any
2024-07-17T11:47:32.4278759Z Publishing C:\Applications\TestFramework\TestLibraries\assert\Microsoft_Library Assert.app
2024-07-17T11:47:34.5828563Z Synchronizing Library Assert
2024-07-17T11:47:37.1207061Z Installing Library Assert
2024-07-17T11:47:40.5519965Z Skipping Permissions Mock as it is already installed
2024-07-17T11:47:42.6880703Z Publishing C:\Applications\TestFramework\TestLibraries\variable storage\Microsoft_Library Variable Storage.app
2024-07-17T11:47:44.1949925Z Synchronizing Library Variable Storage
2024-07-17T11:47:47.3655354Z Installing Library Variable Storage
2024-07-17T11:47:51.4074668Z Publishing C:\Applications\System Application\Test\Microsoft_System Application Test Library.app
2024-07-17T11:49:05.7820802Z Synchronizing System Application Test Library
2024-07-17T11:49:09.1252080Z Installing System Application Test Library
2024-07-17T11:49:15.0806186Z Publishing C:\Applications\BusinessFoundation\Test\Microsoft_Business Foundation Test Libraries.app
2024-07-17T11:49:16.3897249Z Synchronizing Business Foundation Test Libraries
2024-07-17T11:49:18.8131376Z Installing Business Foundation Test Libraries
2024-07-17T11:49:22.7902354Z Publishing C:\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app
2024-07-17T11:49:53.2926588Z Synchronizing Tests-TestLibraries
2024-07-17T11:49:57.3424391Z Installing Tests-TestLibraries
2024-07-17T11:50:02.3617196Z Stopping Business Central Service Tier
2024-07-17T11:50:02.7814633Z Installation took 655 seconds
2024-07-17T11:50:02.7863783Z Installation complete
2024-07-17T11:52:20.8538192Z New-Bcimage Telemetry Correlation Id: 551657dd-aac2-410d-93b6-a7bbcf36b0c0
2024-07-17T11:52:21.2595112Z New-BcContainer Telemetry Correlation Id: 74490154-0f20-4d77-babe-e0333732f65d
2024-07-17T11:52:21.3825023Z DockerDo : re-exec error: exit status 1: output: hcsshim::ImportLayer failed in Win32: The system cannot find the path
2024-07-17T11:52:21.3825507Z specified. (0x3)
2024-07-17T11:52:21.3830893Z ExitCode: 1
2024-07-17T11:52:21.3831857Z Commandline: docker build --isolation=process --memory 8G --no-cache --tag
2024-07-17T11:52:21.3832757Z ***/bc:sandbox-24.3.21374.21827-base-mt c:\bcartifacts.cache\puzbqazs.43b
2024-07-17T11:52:21.3833605Z At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.19\ContainerHandling\New-NavImage.ps1:711 char:27
2024-07-17T11:52:21.3834577Z + ...       if (!(DockerDo -command build -parameters @("--isolation=$isola ...
2024-07-17T11:52:21.3835637Z +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-07-17T11:52:21.3836310Z     + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
2024-07-17T11:52:21.3836860Z     + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DockerDo
2024-07-17T11:52:21.3837321Z

I tried it with PowerShell 7.
Seems to work fine.

Setting host.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is bc24-ses
PublicDnsName is bc24-ses
WARNING: Container starts with TimeZone = Mitteleurop├ñische Zeit, which is not recognized in the list of TimeZones.
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 1F26216AF188269EDD54568E689DF8593D9EC635
DNS identity bc24-ses
Modifying Service Tier Config File with Instance Specific Settings
Modifying Service Tier Config File with settings from environment variable
Setting EnableTaskScheduler to False
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Create the application pool BC
Create website: NavWebApplicationContainer without SSL
Update configuration: navsettings.json
Done Configuring Web Client
Enabling Financials User Experience
Using license file 'c:\run\my\license.bclicense'
Import License
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating kuma as SQL User and add to sysadmin
Creating SUPER user
Assign Premium plan for KUMA
Enable PSRemoting and setup user for winrm
Creating self-signed certificate for winrm
Container IP Address: <IP_ADDRESS>
Container Hostname  : bc24-ses
Container Dns Name  : bc24-ses
Web Client          : http://bc24-ses/BC/?tenant=default
Dev. Server         : http://bc24-ses
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting bc24-ses to <IP_ADDRESS> in host hosts file
Setting bc24-ses-default to <IP_ADDRESS> in host hosts file
Setting bc24-ses-default to <IP_ADDRESS> in container hosts file

Files:
http://bc24-ses:8080/ALLanguage.vsix
Container Total Physical Memory is 8.5Gb
Container Free Physical Memory is 4.0Gb
Initialization took 112 seconds
Ready for connections!
Reading CustomSettings.config from bc24-ses
Creating Desktop Shortcuts for bc24-ses
Skipping app 'C:\Applications.DE\Microsoft_Permissions Mock_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Test Runner_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Any_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Library Assert_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Permissions Mock_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Library Variable Storage_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_System Application Test Library_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Business Foundation Test Libraries_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-TestLibraries_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications\System Application\Test\Microsoft_System Application Test.app' as it is already installed
Skipping app 'C:\Applications\BusinessFoundation\Test\Microsoft_Business Foundation Tests.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Bank_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Cash Flow_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Cost Accounting_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-CRM integration_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Data Exchange_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Dimension_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-ERM_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Fixed Asset_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-General Journal_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Graph_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Integration_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Invoicing_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Job_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Local_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Marketing_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Misc_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Monitor Sensitive Fields_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Permissions_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Physical Inventory_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Prepayment_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Rapid Start_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Report_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Resource_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Reverse_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-SCM_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-SMB_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Upgrade_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-User_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-VAT_24.3.21374.21951.app' as it is already installed
Skipping app 'C:\Applications.DE\Microsoft_Tests-Workflow_24.3.21374.21951.app' as it is already installed
TestToolkit successfully imported
Cleanup old dotnet core assemblies
Container bc24-ses successfully created
Use:
Get-BcContainerEventLog -containerName bc24-ses to retrieve a snapshot of the event log from the container
Get-BcContainerDebugInfo -containerName bc24-ses to get debug information about the container
Enter-BcContainer -containerName bc24-ses to open a PowerShell prompt inside the container
Remove-BcContainer -containerName bc24-ses to remove the container again
docker logs bc24-ses to retrieve information about URL's again

@someC0d3r - it could be caused by your docker file system.
When I see problems like this, I typically clean up the docker file system using https://freddysblog.com/2018/12/11/clean-up-after-yourself-docker-your-mom-isnt-here/ - and then retry.

I've found this because of this problem in our builds.
Without a license but I could not remove the image (or I did not find the way for ALOps).
Any other ideas? :/

For me setting "cacheImage" to false in "Run-ALPipeline" solved the problem. It's a workaround, not a fix but it works for now.

@someC0d3r - looking at the output, I can see
Container OS Version: 10.0.20348.2529 (ltsc2022)
Host OS Version: 10.0.22631.3296 (23H2)
Host OS is from March.
Please try to install all updates to the host OS and see whether this makes a difference.

This is mine:

Container OS Version: 10.0.20348.2529 (ltsc2022)
Host OS Version: 10.0.20348.2582 (ltsc2022)

Should they be exact the same? or is it enough, if its close enough?

I noticed this issue was due to space limitations on the C drive. While running several different version builds, the free space dropped below 5 GB, causing the program to fail in creating the image. We recently increased the build machine's C drive from 128 GB to 256 GB, and now everything is working fine.

@valsansilviu - of the people responding on this issue, the reason for their problems seems to be different things, but all related to creating a local image. I don't know the reason for the problem you encounter.
Typically the hcsshim::ImportLayer error is related to faulty file system on the host or a version number mismatch - not something I can do anything about.
We have just released the latest version of the generic image on the July update of Windows Server Container, so @m3koenig  will have a container version which is the same as the host version - maybe this makes things better.

ohh it worked! Thanks!
it was the update of the server?

@m3koenig - it really shouldn't be like that, but unfortunately, Windows Containers are very picky wrt versions.

Thanks! Good to know, that this also could be a Problem with a behavior like this :)

Only for documentation reasons and when someone else had that problem: here its again!

Container OS Version: 10.0.20348.2582 (ltsc2022)
Host OS Version: 10.0.20348.2655 (ltsc2022)

When I want to create a New-BcImage.
I will wait.


Feat: sidenav redesign with import and export

closes #381
closes #334
Combining these two stories since they touch related code and merging them together while also trying to sign previous commits since we are now post ui-> monorepo was getting messy.
I can attempt to split them up if needed, but it will likely just cause more delays and complications getting future PRs approved.
This should reset the UI and make future PRs easy and normal.

sidenav-demo.webm


fix/empty-name-folder: Removes leading / or "//" anywhere else in new path

What kind of change does this PR introduce?
Bug fix - addresses #4633
What is the current behavior?
Calling
storage.from(bucketName).upload('/file-name.ext', aFile)

or
storage.from(bucketName).upload('folder//file-name.ext', aFile)

creates a folder with no name. This new nameless folder cannot be deleted.
What is the new behavior?
Cleans up upload path by removing any leading / or // anywhere in the path
Additional context
Alternatively, this could be a regex test that throws an error when // or leading / is detected

:tada: This PR is included in version 1.5.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Timeline.instantSync is not shown in DevTools

Steps to Reproduce
Hi thanks for the framework! I have some Timeline.instantSync(...) to report some events, and I also want to see some events reported in other libraries/the flutter framework. However, in DevTools's Performance panel, I cannot see it. I can only see spans created by Timeline.startSync.

Execute flutter run on the code sample
...
...

Expected results:
see above
Actual results:
see above

Code sample

n/a

Logs

n/a

n/a

latest stable

@fzyzcjy
I suggest you to open this issue in devtools dedicated repo: https://github.com/flutter/devtools/issues.
Closing from here. If you get directed here again, write in comments and I'll reopen it.

OK thanks


Link in Questions block available to clicked in all row width

Hey @NikitaCG , I would like to work on this bug. Also, it would be more helpful if you could provide a screenshot the the actual bug since I am not able to find any such active links in the Questions page

Hello @HirenDhadhal! You can see this bug in Storybook https://preview.gravity-ui.com/page-constructor/?path=/story/blocks-questions--default

Thanks for the clarity. Will start working on it


Update to the last nalgebra API.

This fails on the nightlies due to an ICE on the tests. Should be mergeable anyway.
.


Update exercism.io into exercism.org in Template Strings concept

I found a slightly outdated reference while going through the concept exercises.

Thanks! I think Erik also wanted to do some scripting at some point to fix all the old links.

Those weren't real links, they probably wouldn't have be flagged.
Before doing the PR I did a global search for "exercism.io" and these were the only hits (actually one more, but that one is still active), so it should be fine :)


RDkit error

Hi,
Thanks for sharing your work.
I got this error after fixing issue #2.
  File "/home/leona/anaconda3/envs/chemprop/lib/python3.8/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/home/leona/anaconda3/envs/chemprop/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
    return list(map(*args))
  File "/home/leona/anaconda3/envs/chemprop/lib/python3.8/site-packages/molevol-0.0.1-py3.8.egg/MolEvol/local_search/local_searcher_explain.py", line 114, in local_for_one_molecule
    subgraph_smiles = extract_selected_subgraph_for_gcn(smiles, selected_atoms)
  File "/home/leona/anaconda3/envs/chemprop/lib/python3.8/site-packages/molevol-0.0.1-py3.8.egg/MolEvol/common/fingerprint.py", line 163, in extract_selected_subgraph_for_gcn
    minimum_smiles, _ = extract_subgraph(smiles, selected_atoms)
  File "/home/leona/github.sec.samsung.net/multiobj-rationale/multiobj_rationale/fuseprop/chemutils.py", line 259, in extract_subgraph
    subgraph = Chem.MolToSmiles(subgraph, kekuleSmiles=True)
rdkit.Chem.rdchem.AtomKekulizeException: Aromatic bonds on non aromatic atom 10

I think this is related to the rdkit version. Which version did you used?
Bests regards,
Hwidong

We used Rdkit 2020.03.4. Will upload a Conda env requirement soon. Thanks!

Thanks for your prompt reply! The error doesn't appear with rdkit version you mentioned.


Feature Request: Keep search bar open while editing

Right now, if you click in the edit panel, the search bar closes. It would be nice if the search bar would remain open while editing, or at least for it to remember the last thing you searched for. I often search around for matches to do some minor edits and move on to the next match, but I have to re-open the search and type my pattern again.

and keep the highlight effects too.

every time I have to reopen the search and type my pattern again.
I hope for a solution as it is terribly annoying.

Search bar will now remember the last searched phrase. closing as fixed for 1.6.

Hi @abose,

Search bar will now remember the last searched phrase

It doesn't help when I want to:

Copy phrase from opening file and paste it as phrase to find
Copy another phrase from opening file and paste it as phrase to replace

Phrase to find is discarded when you copy another phrase.
So I appreciate if search bar is kept open, or Brackets remember last entered phrase, not searched phrase.

Just commenting to say that I would also like the search bar to stay open until I manually close it.


If there're files renamed and staged, invalid files are "open"ed by the action

How to reproduce?

Do git rename

$ git rename foo bar

Open ddu with the source git_status
Call the "open" item action.

What'll be happend?
"foo => bar" will be opened.
What I expect
"bar" is opened.

mistake:
~"foo => bar" will be opened.~
"foo -> bar" will be opened.

@kyoh86 Could you try #2?

@kuuote thanks, it will fix!


Error with KDE: Dolphin won't run properly as root.

Before a recent crouton update, I was able to use Dolphin just fine. But after this update, none of the graphical user interface parts of Dolphin show up. I just see a grey window. While this is happening, this is being spammed in the terminal:
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id:  0x6a0007a
How do I fix this?

What linux release / flavour do you have?

Ubuntu 14.04.

What's the output of croutonversion?  Why are you running dolphin as root?

The output is:
(trusty)aj@localhost:~$ croutonversion
crouton: version 1-20150604154515~master:91b3e350
release: trusty
architecture: amd64
xmethod: xorg
targets: kde
host: version 6946.55.0 (Official Build) stable-channel swanky
kernel: Linux localhost 3.10.18 #1 SMP Tue May 26 18:03:35 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Also, I need to run Dolphin as root because I decided the best place to put some of my games was in a ~/games/ that I created and I need to run Dolphin as root in order to transfer files from my ~/Downloads/ folder to ~/games/. Yes, I realize the risk of running stuff as root.
Also, my chroot is located on an external hard drive, in case that helps.

@ajshell1,

I need to run Dolphin as root in order to transfer files from my ~/Downloads/ folder to ~/games/.

If they are both owned by your user id, I don't see why you have to have root perms to copy/move them while in the chroot, are you sure it's necessary?

It turns out that the ~/games/ folder was owned by "root" rather than by me. I fixed this with sudo chown -R, but I still can't run dolphin as root correctly. I just don't like the idea that there is a bug in my system, so I'd really appreciate somebody telling me how to fix this.

@ajshell1 Here is your answer:
http://www.iwillfolo.com/quick-fix-one-kdes-common-xorg-errors-x-error-baddrawable/
Please donate the computer or games to your local cat shelter. Thanks!

Please donate the computer or games to your local cat shelter. Thanks!

I don't what this is about, but I approve.


Setup Travis CI & GCP project on fork

I have forked this repository to start contributing some fixes, mainly updating PHP, and have run into a few problems. Without a passing build I am hesitant to submit any PRs to address issues. Could someone please help me get my fork working correctly so I can contribute to this project?

The value for TAG is unclear, define TAG in this context.
Also set TAG to a version name you want to use for e2e testing.

PHP 7.1.x is no longer found on this PHP downloads page and should be removed from check-versions/tests/VersionTest.php. I first thought it was the reason why I was getting the following error message, but realized it's happening for another reason—which I'm not exactly clear on yet.
Step #1: Time: 4.48 seconds, Memory: 10.00MB
Step #1:
Step #1: There were 2 failures:
Step #1:
Step #1: 1) VersionTest::testPHP71Version
Step #1: Failed to detect the current php71 version
Step #1:
Step #1: /workspace/tests/VersionTest.php:58
Step #1:
Step #1: 2) VersionTest::testPHP72Version
Step #1: Failed to detect the current php72 version
Step #1:
Step #1: /workspace/tests/VersionTest.php:69
Step #1:
Step #1: FAILURES!
Step #1: Tests: 2, Assertions: 0, Failures: 2.
Finished Step #1
ERROR
ERROR: build step 1 "gcr.io/[secure]/php-test-runner:travis-695561465" failed: step exited with non-zero status: 1
--------------------------------------------------------------------------------
The command "scripts/check_versions.sh" exited with 1.

I'm a big fan of GAE, which I recommend to clients and use for many PHP & Node projects. However, without some updates to these PHP containers for flex I am starting to consider other options like GKE or custom images. I'd much rather use the default images though. This project is starting to appear abandoned and not safe for production workloads. I am more than happy to contribute time and energy to this project but would need a little help with the initial setup of the CI/CD pipeline.

@tmatsuo, @chingor13, @donmccasland who is responsible for this repository now?

Same here :) it's starting to be a security risk now @tmatsuo, @chingor13, @donmccasland, @tmatsuo, @deustis, @bendory, @nkubala Also it seems since this message @donmccasland has fixed alot but why is there no release yet? And where can we help?

Hey folks, just getting back from vacation.  I finished work on 7.3 and I will be able to release it tomorrow.
I can review #510 and merge it.
We need to deprecate 7.1 since it is no longer being updated, but we will need to announce the deprecation to customers.

That’s great! Thank you very much for the update. Is there a way to test it before the release?

That's awesome! @donmccasland is there something we can do to help implementing php 7.4 (per pull request)? if so glad to do this. So we can speed up the release time :+1:

@donmccasland any update here on tagging the new version for PHP 7.3?

@donmccasland I tried to deploy the 7.3 image to a staging App Engine flex environment with the php runtime and it says it only supports 7.2. Does someone need to update something on the GCP side to allow us to use this image now?

Let me check into this.
On Fri, Aug 14, 2020 at 10:16 PM Derek Herman<EMAIL_ADDRESS>wrote:

@donmccasland https://github.com/donmccasland I tried to deploy the 7.3
image to a staging App Engine flex environment with the php runtime and it
says it only supports 7.2. Does someone need to update something on the GCP
side to allow us to use this image now?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/php-docker/issues/511#issuecomment-674351121,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF76URAVU6N4EVX7RSUL7LSAYK3XANCNFSM4NWU3XRQ
.

Thank you @donmccasland

@donmccasland any updates on when 7.3 will be supported on App Engine flex with the php runtime?

or 7.4 :/

Looks like it's supported on App Engine now, which is great. However, it would be nice to get the latest version 7.3.23 deployed to the image though, it's currently 7.3.19. @donmccasland can we do a build and deploy for the latest stable version of PHP 7.3? In reality I'd actually love to get this setup in a fork to create PRs and help move things forward. Cheers!

I'm trying to do the same thing that @derekherman was trying to do before.
How exactly are we supposed to verify or test any changes we make? I cannot build the images for myself because I do not have access to the gcp-php-packages bucket.
Is there any documentation about this? I'd like to try deploying a 7.4 image, it looks like someone had that functionality merged, but there is currently a typo within the Dockerfile.

I've been struggling with this some, but I was able to use the TRAVIS.md to get started.
The first issue I discovered is that the travis build was failing because gcloud had not been properly authorized.
I found an example from another gcp project for a different runtime. So I was able to fix that issue.
The next problem comes from the fact that anything older than 7.3 is no longer supported.
The check_versions phpunit test script VersionTest.php scrapes the php.net/downloads page and tries to match those unsupported versions and fails.  Currently the downloads page has the latest versions for 7.3, 7.4 and 8.0
Another issue related to this unit test, is that it looks for artifacts/packages for versions using apt-cache madison.  These are packages that appear to be built by @tmatsuo. (gcp-php71, gcp-php72, gcp-php73, etc) If you use apt-cache search, then you can functionally accomplish the same test, as it just confirms that the packages are available. If you wanted to create packages for 7.4 and 8.0 and add them as tests, then you need to build them first.
That's the part I'm trying to work out now.  I've been able to follow the instructions in package-builder/README.md, but it takes over an hour to build, and it fails. (trying to build 8.0.3)  I've updated the apt packages to include onigumura and valgrind.  I saw a few errors about certain functionality being disabled, mostly related to various image processing libraries: OpenSlide, pango, imagequant, and a few others.  I'm not sure if some of these are new, usually disabled, or provided via extensions.
I've never built php before and don't know if there are security issues with any of them, or if they're too intensive for an App Engine environment.
There are a handful of environment variables that you need to set or specify when running some of the scripts.  Most of them use cloud build to run, including the ones used by travis, but you can execute them locally if you have gcloud installed and configured to use the same service account you'd create if you follow the suggestions in TRAVIS.md


Could not fetch manifest, connection timed out

Description
Check out the CONTRIBUTING.md file for some considerations before submitting a
new issue.
Steps to reproduce
I see this repeated over and over in the logs for the background worker.

Expected behavior: no errors are reported
Actual behavior:

[catalog] Could not fetch manifest for 'thing1' with tag '1': Net::OpenTimeout: connection timed out.
Net::OpenTimeout: connection timed out.
[catalog] Could not fetch manifest for 'thing1' with tag '2': Net::OpenTimeout: connection timed out.
OpenSSL::SSL::SSLError: could not stablish connection: SSL error.
[catalog] Could not fetch manifest for 'thing1' with tag '3': OpenSSL::SSL::SSLError: could not stablish connection: SSL error.
Net::OpenTimeout: connection timed out.

I tried putting to debug log level, but it doesn't appear to provide any additional information
Deployment information
Deployment method: Kubernetes deployment without nginx. 3 pod deployments - registry, web, background
Configuration:
bash-4.3# portusctl exec rake portus:info
Failed to create bus connection: No such file or directory
[Mailer config] Host:     portus.test.lan
[Mailer config] Protocol: https://
Evaluated configuration:
---
email:
  from<EMAIL_ADDRESS>  name: Portus
  reply_to<EMAIL_ADDRESS>  smtp:
    enabled: false
    address: smtp.example.com
    port: 587
    user_name<EMAIL_ADDRESS>    password: "****"
    domain: example.com
gravatar:
  enabled: true
delete:
  enabled: false
ldap:
  enabled: false
  hostname: ldap_hostname
  port: 389
  method: plain
  encryption:
    method: ''
    options:
      ca_file: ''
      ssl_version: TLSv1_2
  base: ''
  filter: ''
  uid: uid
  authentication:
    enabled: false
    bind_dn: ''
    password: "****"
  guess_email:
    enabled: false
    attr: ''
oauth:
  google_oauth2:
    enabled: false
    id: ''
    secret: ''
    domain: ''
    options:
      hd: ''
  open_id:
    enabled: false
    identifier: ''
    domain: ''
  github:
    enabled: false
    client_id: ''
    client_secret: ''
    organization: ''
    team: ''
    domain: ''
  gitlab:
    enabled: false
    application_id: ''
    secret: ''
    group: ''
    domain: ''
    server: ''
  bitbucket:
    enabled: false
    key: ''
    secret: ''
    domain: ''
    options:
      team: ''
first_user_admin:
  enabled: true
signup:
  enabled: true
check_ssl_usage:
  enabled: true
registry:
  jwt_expiration_time:
    value: 5
  catalog_page:
    value: 100
  timeout:
    value: 2
  read_timeout:
    value: 120
machine_fqdn:
  value: registry.<REDACTED>
display_name:
  enabled: false
user_permission:
  change_visibility:
    enabled: true
  create_team:
    enabled: true
  manage_team:
    enabled: true
  create_namespace:
    enabled: true
  manage_namespace:
    enabled: true
security:
  clair:
    server: ''
    health_port: 6061
    timeout: 900
  zypper:
    server: ''
  dummy:
    server: ''
anonymous_browsing:
  enabled: false
background:
  registry:
    enabled: true
  sync:
    enabled: true
    strategy: update

Portus version: 2.3.3@edd5b8201e4f9e3127053dc5b1231ae4b16a3ba7

Currently I'm also having this issue. Did you solve this problem?


[Event Request]Application “Tests-Workflow”, 134180 "WF Demo Purch. Order Approvals"

[Event Request]Application “Tests-Workflow”, 134180 "WF Demo Purch. Order Approvals"
Could you please insert the OnTestInitialize Event at the beginning of Initialize procedure:

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Smart crop not working on V3

After updated to V3 I noticed that the smart crop is not working anymore.
Using the same image on V2 it works fine.
This is the error message I get from cloudwatch:
[ERROR]	2018-10-03T15:36:21.533Z	14155d40-c722-11e8-8e9c-0989d2d55e75	Future exception was never retrieved: Traceback (most recent call last): File "/var/task/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/var/task/thumbor/transformer.py", line 152, in smart_detect yield self.do_smart_detection() File "/var/task/tornado/gen.py", line 1099, in run value = future.result() File "/var/task/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "/var/task/tornado/gen.py", line 1113, in run yielded = self.gen.send(value) File "/var/task/thumbor/transformer.py", line 180, in do_smart_detection detectors[0](self.context, index=0, detectors=detectors).detect(self.after_smart_detect) File "/var/task/thumbor_rekognition/__init__.py", line 25, in detect raw_bytes = self.read_jpeg_bytes() File "/var/task/thumbor_rekognition/__init__.py", line 45, in read_jpeg_bytes self.context.modules.engine.image.save(bio, 'JPEG') File "/var/task/PIL/Image.py", line 1935, in save save_handler(self, fp, filename) File "/var/task/PIL/JpegImagePlugin.py", line 622, in _save raise IOError("cannot write mode %s as JPEG" % im.mode) IOError: cannot write mode RGBA as JPEG

Hello,
Can you follow the instructions here to enable default thumbor detector as compared to Amazon Rekognition. Let us know if this resolves the issue.
To build your lambda zip, you can see instructions here

I have same error message.
today i setup from here.
https://docs.aws.amazon.com/ja_jp/solutions/latest/serverless-image-handler/deployment.html
PNG image have same error message.
convert url pattern like this.
https://domain/300x300/smart/file-path/filename1.png
error message@cloudwatch
[ERROR]	2018-10-26T04:08:26.426Z	c7080d76-d8d4-11e8-9c9a-55cd450760d8	Future exception was never retrieved: Traceback (most recent call last): File "/var/task/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/var/task/thumbor/transformer.py", line 152, in smart_detect yield self.do_smart_detection() File "/var/task/tornado/gen.py", line 1099, in run value = future.result() File "/var/task/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "/var/task/tornado/gen.py", line 1113, in run yielded = self.gen.send(value) File "/var/task/thumbor/transformer.py", line 180, in do_smart_detection detectors[0](self.context, index=0, detectors=detectors).detect(self.after_smart_detect) File "/var/task/thumbor_rekognition/__init__.py", line 25, in detect raw_bytes = self.read_jpeg_bytes() File "/var/task/thumbor_rekognition/__init__.py", line 45, in read_jpeg_bytes self.context.modules.engine.image.save(bio, 'JPEG') File "/var/task/PIL/Image.py", line 1935, in save save_handler(self, fp, filename) File "/var/task/PIL/JpegImagePlugin.py", line 622, in _save raise IOError("cannot write mode %s as JPEG" % im.mode) IOError: cannot write mode RGBA as JPEG
JPEG image is no error.
convert url pattern
https://domain/300x300/smart/file-path/filename2.jpeg
Is it image type problem ?!

same problem here

Just hit this trying the new version out. Breaking /smart and requiring a custom build to get it working is very confusing. It's also documented as supported in the official docs

@gsingh04 do you happen to know if smart cropping works with the standard deploy in v3.1?

Hi,
I encountered the same problem with all my "Smart Cropped" Images.
I fixed the problem by temporarly using  OpenCV instead of Amazon Rekognition.
Amazon Recognition definitely crashed with error :
[ERROR]	2018-11-20T13:28:14.395Z	21b16c25-ecc8-11e8-8659-6d593bc5ae98	Future exception was never retrieved: Traceback (most recent call last): File "/var/task/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/var/task/thumbor/transformer.py", line 152, in smart_detect yield self.do_smart_detection() File "/var/task/tornado/gen.py", line 1099, in run va
[ERROR]	2018-11-20T13:28:14.395Z	21b16c25-ecc8-11e8-8659-6d593bc5ae98	Future exception was never retrieved: Traceback (most recent call last):
File "/var/task/tornado/gen.py", line 1107, in run
yielded = self.gen.throw(*exc_info)
File "/var/task/thumbor/transformer.py", line 152, in smart_detect
yield self.do_smart_detection()
File "/var/task/tornado/gen.py", line 1099, in run
value = future.result()
File "/var/task/tornado/concurrent.py", line 260, in result
raise_exc_info(self._exc_info)
File "/var/task/tornado/gen.py", line 1113, in run
yielded = self.gen.send(value)
File "/var/task/thumbor/transformer.py", line 180, in do_smart_detection
detectors[0](self.context, index=0, detectors=detectors).detect(self.after_smart_detect)
File "/var/task/thumbor_rekognition/init.py", line 25, in detect
raw_bytes = self.read_jpeg_bytes()
File "/var/task/thumbor_rekognition/init.py", line 45, in read_jpeg_bytes
self.context.modules.engine.image.save(bio, 'JPEG')
File "/var/task/PIL/Image.py", line 1935, in save
save_handler(self, fp, filename)
File "/var/task/PIL/JpegImagePlugin.py", line 622, in _save
raise IOError("cannot write mode %s as JPEG" % im.mode)
IOError: cannot write mode RGBA as JPEG

Running into the same error message, but only for some of my images.
Just switched the thumbor_rekognition with the thumbor.detectors.face_detector and everything works out now!
Regards
Simon

It appears that this issue is caused by python pillow erroring when converting a transparent png to a jpeg. The error "cannot write mode RGBA as JPEG" is generated because there is no way to map the png transparent channel to on a jpeg. The python pillow package used to generate a warning, but only recently changed it to an error. Thumbor_rekognition is using this library as part of its facial detection.

Hi @gustavoserafim. Thanks for bringing this issue to our attention. We're currently updating the solution to v.4 and have added this issue to our backlog. Stay tuned!

@hayesry I have submitted a pull request to https://github.com/yu-liang-kono/thumbor_rekognition/pull/3 that will fix this issue.

@rmaglio Thanks for the note!


Add encoding on parsing CSV file

These changes support custom encoding.
I'm creating this PR because I needed local encoding(SJIS). I would be grateful for your help.

That's a great addition. Thank you! Let me add that to the README and fix travis-ci configuration.