Large action table may cause 500 error for home page

2022/02/08 11:26:51 .../web/feed/profile.go:22:RetrieveFeeds() [E] GetFeeds: Find: Error 1038: Out of sort memory, consider increasing server sort buffer size
2022/02/08 11:26:51 router: completed GET / for <IP_ADDRESS>:0, 500 Internal Server Error in 87.5ms @ web/home.go:26(web.Home)

And related to:

https://github.com/go-gitea/gitea/issues/17506

I think we have two choices:

Split action table according years. i.e. action will contains this year, action-2021 will contain last year actions.
Create an action_stats table to save history(over 1 year) actions as statistics information and delete real actions from action table.

For postgresql, mssql and mysql we could use partitioned tables this would still allow to select data from action table as we do right now and when date provided it would select only from partitions needed. I usually create also an background task that checks periodically if date is close enough and creates new partition for future records. This way we could easily create also table partitioned not only by year but also for month if needed.
PostgreSQL: https://www.postgresql.org/docs/14/ddl-partitioning.html
MySQL: https://dev.mysql.com/doc/refman/5.7/en/partitioning-management.html
MSSQL: https://docs.microsoft.com/en-us/sql/relational-databases/partitions/create-partitioned-tables-and-indexes?view=sql-server-ver15
As for sqlite we could probably create multiple tables and have view with union select of tables for last year

I have enough DBA knowledge and I know how action table works, so I can handle this problem easily (actually, I just deleted most data in my table).
However, some users do not know how to handle it (like #17504). So the question is:

should we document about this problem and tell users how to handle it
or should we delete old data periodically.

I agree that partitioning can be done transparently to gitea. Like creating partitioned table manually, moving data from unpartitioned table and than adding crontab job to create partitions

But documentation for this could be nice to have

The indices have been re-designed. Close this one.


Tutorial packages should be included in the MR Feature Tool

All Unity tutorial packages such should be made available for download in the MR Feature Tool.
For example, The Beginner HL2 tutorial 4. Positioning Objects In The Scene includes the following files for download,

MRTK.HoloLens2.Unity.Tutorials.Assets.GettingStarted.2.4.0.unitypackage)

Other tutorials require other packages to be downloaded.
Unity package files required for all of mixed reality tutorial series can be found in this repo:https://github.com/microsoft/MixedRealityLearning

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 24d36428-004c-e29f-ac5a-602bcbabdb25
Version Independent ID: 01015fb5-d01b-c738-6671-9a0ca9af000e
Content: Initializing your project and deploying your first application - Mixed Reality
Content Source: mixed-reality-docs/mr-dev-docs/develop/unity/tutorials/mr-learning-base-02.md
Product: mixed-reality
Technology: mr-dev
GitHub Login: @jessemcculloch
Microsoft Alias: jemccull

After discussing with Sean Ong and David Kline, including the tutorial packages in the MR Feature Tool is not recommended since it would make the files immutable.


dev-cmd/bump-formula-pr: fix for undetectable version

Currently, brew bump-formula-pr errors out without a proper message
when --version isn't specified and the formula's version cannot be parsed
from the URL. We fix this by returning early from check_new_version when the
detected version is Version::NULL.
See https://github.com/Homebrew/homebrew-core/pull/93497#issuecomment-1017968277 for context.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Review period will end on 2022-01-24 at 00:26:16 UTC.

Review period skipped due to critical label.

Shouldn't it be possible to use both --version and --url? The current documentation says (emphasis mine):

brew bump-formula-pr --strict foo with one of the following:

With both accepted, --version could be used when inferring the version from the URL is tricky. Or just using the URL for the SHA256 computation and take the version from the --version option.

Shouldn't it be possible to use both --version and --url? The current documentation says (emphasis mine):

It is possible to use --version and --url together, and that's exactly what must be done in the case of formulae like logtalk, where the version can't be parsed from the URL. I think the contributing guide doesn't intend to convey that only those combinations are possible; perhaps it can be worded better.

My only question would be whether it would be a good idea to add a message explaining why --version is needed here.

It might indeed be confusing to someone who's used bump-formula-pr with --url alone, so I've modified the error message to provide context.

Just needs a rebase after #12769

Thanks @nandahkrishna!


HEAD requests aka .exist?

It would be nice if couchrest supported an .exist?() call for documents
This could be done using a head request.
The ETag will contain the _rev if it does exist.

You can accomplish this using a CouchRest#head request or using CouchRest Model. Closing for the time being.


Ruby auth add user creds

Closes #4

@anthmgoogle @vsubramani. PTAL

Looks great. Just one small comment on the JSON parsing.
On Mar 6, 2015 5:02 PM, "Tim Emiola"<EMAIL_ADDRESS>wrote:

@anthmgoogle https://github.com/anthmgoogle @vsubramani
https://github.com/vsubramani. PTAL
—
Reply to this email directly or view it on GitHub
https://github.com/google/google-auth-library-ruby/pull/13#issuecomment-77663780
.


Remove direct dependency on ml-commons related jars

Description
Following dependencies are coming from ml-commons and need to be removed from build.gradle, otherwise it causes jarhell errors:

reflections
javassist
common-utils

Issues Resolved
https://github.com/opensearch-project/neural-search/issues/148
Check List

[X] All tests pass
[X] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Change is not required, everything works after fix is done on knn side


Select-all shortcut (CMD-a) is not working on Mac

[x] I am on the latest Cerebro.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name:  MacOS Monterey 12.6
Cerebro.app version:  0.9
Relevant information from devtools (See above how to open it):

Issue

The CMD-a shortcut to select all text is not working in the Cerebro window. If this is not a bug it would be a very useful addition.

Hi @borondics, We are working to implement this 🙌
This will be released in the next version
Thanks for your feedback 😉


better handling if users cancel file dlgs

Don't error out if users cancel a file dlg, just do "nothing"

@jsalant22 What caused the change in the test result values?

@jsalant22 What caused the change in the test result values?

@myoung301 The interference tab was using PowerAtRx instead of normal EMI Margin.


"Redmine Configuration" not kept

Hi,
Apparently Redmine does not save the checkbox options in the "Redmine Configuration" menu. By this, I mean that I've selected "Automatically initialize Git repositories for new projects?" and pressed "Apply", but my choice was not kept. On the other hand, as a test I've removed the check in "Directory and URL structure for Redmine-managed repositories" and now I cannot set it back anymore :S
Could you please help me?
Thanks a lot!
Cheers,
Rob

On the other hand, as a test I've removed the check in "Directory and URL structure for Redmine-managed repositories"

What do you mean? By the way you can check the log file in <redmine root dir>/log/git_hosting.log it should contains some hints about what's going on.

I mean that I've unchecked the corresponding case, just to see if my change was kept. The removal was indeed kept, but now I cannot check it anymore -- or better, I can check it, but when I click on apply, the check is not there anymore...
I've skipped the log because it showed nothing "useful", here's the content of git_hosting.log when I'm in the "Redmine configuration" tab, and I press "apply" after having checked the two aforementioned cases:
2015-03-31 07:28:56 +0200 [INFO] Flush Settings Cache !
2015-03-31 07:28:56 +0200 [INFO] Accessing gitolite-admin.git at '/tmp/redmine_git_hosting/git/gitolite-admin.git'
2015-03-31 07:28:56 +0200 [INFO] Settings cache flushed!
2015-03-31 07:28:56 +0200 [INFO] Testing if Redmine user 'redmine' can sudo to Gitolite user 'git'...
2015-03-31 07:28:56 +0200 [INFO] OK!
2015-03-31 07:28:56 +0200 [INFO] Unset Git global parameter : multimailhook.smtpuser
2015-03-31 07:28:56 +0200 [INFO] Unset Git global parameter : multimailhook.smtppass
2015-03-31 07:28:56 +0200 [INFO] Installing Redmine Gitolite mirroring SSH keys ...
2015-03-31 07:28:56 +0200 [INFO] Done !
However, I've just seen that production.log shows something more interesting:
ActionController::RoutingError (No route matches [GET] "/plugin_assets/redmine_bootstrap_kit/javascripts/jquery_tag_it.js"):
actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in call'   actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in call'
railties (4.2.1) lib/rails/rack/logger.rb:38:in call_app'   railties (4.2.1) lib/rails/rack/logger.rb:20:in block in call'
activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in block in tagged'   activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in tagged'
activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in tagged'   railties (4.2.1) lib/rails/rack/logger.rb:20:in call'
actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in call'   rack (1.6.0) lib/rack/methodoverride.rb:22:in call'
rack (1.6.0) lib/rack/runtime.rb:18:in call'   activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in call'
actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in call'   rack (1.6.0) lib/rack/sendfile.rb:113:in call'
railties (4.2.1) lib/rails/engine.rb:518:in call'   railties (4.2.1) lib/rails/application.rb:164:in call'
railties (4.2.1) lib/rails/railtie.rb:194:in public_send'   railties (4.2.1) lib/rails/railtie.rb:194:in method_missing'
puma (2.11.1) lib/puma/configuration.rb:82:in call'   puma (2.11.1) lib/puma/server.rb:507:in handle_request'
puma (2.11.1) lib/puma/server.rb:375:in process_client'   puma (2.11.1) lib/puma/server.rb:262:in block in run'
puma (2.11.1) lib/puma/thread_pool.rb:104:in call'   puma (2.11.1) lib/puma/thread_pool.rb:104:in block in spawn_thread'
I'll investigate a bit the issue by installing different plugin versions and I'll let you know.
Thanks for your answer!
Rob

Ok, I've updated git_hosting (getting the v1.0.x branch, in sync with devel), and I've taken the devel version of boostrap (no way to make the v0.2.x version work).
Not it seems to work.
A few minor problems though:

in "Config test", I have (warning sign) git_hosting_post_receive.rb (hook left untouched)
when I create a new project and I push some stuff to a repository, I still see nothing in the repository view unless I manually issue a
bundle exec rake redmine_git_hosting:fetch_changesets RAILS_ENV=production
as written in your troubleshooting page.
For the rest is seems to work fine!
Have a nice day!
Rob


test: add test case with external server

Codecov Report
Base: 81.97% // Head: 81.81% // Decreases project coverage by -0.15% :warning:

Coverage data is based on head (8733e24) compared to base (9e79d75).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   81.97%   81.81%   -0.16%
==========================================
  Files          10       10
  Lines         638      638
==========================================
- Hits          523      522       -1
- Misses        115      116       +1

Impacted Files
Coverage Δ

lib/src/lib.dart
78.94% <0.00%> (-5.27%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

I think testing with an external server does not really make sense here, at least for the CI pipeline. So I will just close this PR. Maybe this could be revisited later for some kind of interoperability test.


Support towhee login/logout

Signed-off-by: shiyu22<EMAIL_ADDRESS>

Codecov Report

Merging #613 (3be3c1a) into main (b3f13ea) will decrease coverage by 0.65%.
The diff coverage is 22.66%.

@@            Coverage Diff             @@
##             main     #613      +/-   ##
==========================================
- Coverage   70.79%   70.14%   -0.66%
==========================================
  Files         148      153       +5
  Lines        5695     6016     +321
  Branches      845      887      +42
==========================================
+ Hits         4032     4220     +188
- Misses       1418     1536     +118
- Partials      245      260      +15

Impacted Files
Coverage Δ

towhee/command/cmdline.py
0.00% <0.00%> (ø)

towhee/command/develop.py
80.00% <0.00%> (-2.23%)
:arrow_down:

towhee/command/user.py
0.00% <0.00%> (ø)

towhee/utils/hub_utils.py
54.03% <26.53%> (-16.49%)
:arrow_down:

towhee/utils/hub_file_utils.py
87.50% <87.50%> (ø)

towhee/dag/operator_repr.py
97.43% <0.00%> (-2.57%)
:arrow_down:

towhee/__init__.py
93.54% <0.00%> (-2.17%)
:arrow_down:

towhee/pipelines/image_embedding_pipeline.py
66.66% <0.00%> (ø)

towhee/pipelines/__init__.py
100.00% <0.00%> (ø)

towhee/pipelines/base.py
75.00% <0.00%> (ø)

... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b3f13ea...3be3c1a. Read the comment docs.

/lgtm
/approve


About giving exp

I have PCs already made and wanted to remake their character sheets with proper point tracking. So I made new character sheets and purchased everything like it should be buying everything. The problem comes when I changed the Total XP to the amount they should currently have. The available still stayed at 0 which it was at after spending all my starting xp. If what you say is true after updating the total it should change the available. I refreshed the character sheet and tried F5. It still didn't change.
This is why I was wondering if there was a specific way to add xp to a character to where it registers in green in the log? Because simply deleting the total and entering some more doesn't work.
Edit:
This is a reposting of a previous issue with more clarification since I couldn't figure out how to reopen that one that was closed by wrycu.

Answered in issue #1581


How to get initial quantity on hand?

When fetching sold items, it not returning sold quantity of item.

It won't you'll either need to access the report service or do a combo of adding up bills/expenses/vendor credits and invoices/sales receipts/credit memos on your own database

@jayshri123 If you are trying to get initial quantity, the /Item API endpoint will have a field called: "QtyOnHand" that will provide the quantity. However, for sold items, challgren is right, you will need to use report service to get it, or adding items up. QuickBooks Online API is still in progress, and not all the features are implemented. I think this is a good feature, if you can post it here: https://intuitdevelopergroup.uservoice.com/forums/182764-intuit-developer-group/filters/top our Project managers will take a look.
Again, @challgren  thanks for your good response.


Relist LMS Utilities

In response to:
https://github.com/TurboWarp/extensions/issues/703
https://github.com/TurboWarp/extensions/issues/719
As well as dozens of comments asking where it went in various places.
I took this down for a reason but it's not worth having it down if we keep getting comments about it.
It needs to be renamed, and needs a new thumbnail. Suggestions open.
👍 and 👎 are particularly important here.

Current name suggestions:

Lily Makes Utilities
Lots of Miscellaneous Stuff
Levy Utilities

Lily's Miscellaneous Utilities would be a good name

Lily's Miscellaneous Utilities would be a good name

I'll add it to the list

figure out a name and i'll merge it

I decided on the name, I don't have a single clue as to what thumbnail I should give this so I might leave this up to the lovely volunteers of https://github.com/TurboWarp/extensions/issues/90.

Lily's Toolbox, I like it lol


[feature] integrate zeknox GPU-acceleration library into gnark

Description
This PR aims to integrate zeknox GPU-acceleration library into gnark. Specifically, this PR targets the GPU (NVIDIA CUDA) acceleration of groth16 backend over BN254. In addition, this PR adds a new example consisting of proving/verifying a batch of secp256r1 (P256) signatures. Our benchmarking shows 1.54-1.57X speedup of the CPU+GPU execution (with zeknox) compared to the default CPU-only execution.
In summary, we did the following addition:

accelerated groth16 over BN254 with zeknox under backend/groth16/bn254/zeknox folder.
timing in backend/groth16/bn254/prove.go printed in debug mode.
a code example of proving/verifying a batch of secp256r1 (P256) signatures under examples/p256.
instructions in README.md on how to run gnark with zeknox.

Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

How has this been tested?
We wrote new tests under backend/groth16/bn254/zeknox and examples/p256. In addition, we also run tests under backend/groth16/bn254.

[x] Benchmark A

We ran the P256 example to prove/verify a batch of 10 secp256r1 keys. The steps to run:
cd examples
go build -tags zeknox
./examples

[x] Platform A: on Google Cloud Platform g2-standard-32 instance with 32 vCPU (cores) of Intel Xeon type, one NVIDIA L4 GPU, and 128 GB RAM.
[x] Platform B: on a x86-64 AMD Ryzen 9 5950X CPU with 16 cores (32 threads), one NVIDIA RTX 4080 GPU, and 128 GB RAM.

Results
The times below represent the proving time (in milliseconds) for 10 secp256r1 keys.

Platform
CPU-only
CPU+GPU (zeknox)
Speedup

Platform A
5840.96 ms
3792.48 ms
1.54 X

Platform B
4066.95 ms
2588.51 ms
1.57 X

Checklist:

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I did not modify files generated from templates
[x] golangci-lint does not output errors locally
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

@ivokub need your help and review!

@ivokub need your help and review!

On it. Would it be possible to allow adding commits directly to the branch for easier review?

@ivokub need your help and review!

On it. Would it be possible to allow adding commits directly to the branch for easier review?

Sure, I've add grant you push permission in https://github.com/okx/gnark/invitations
Let me delete those examples to keep the PR clean

I'm not able to create a proof for now, in the debug logs I see the last action is:
14:05:05 DBG Bs.MultiExp done MSMG2 5 took=0.86421 acceleration=zeknox backend=groth16 curve=bn254 nbConstraints=6

I guess it is probably some deadlock somewhere. Have you been able to run end-to-end prover?

Yeah, compile by yourself should work. Compile BN254 MSM G2 takes ~5mins on our device. expect a long compile time

Use this script https://github.com/okx/zeknox/blob/main/native/build-release-msm-bn254.sh

Indeed I got it working and the speedup is similar to the one claimed in the PR (1.6x). I also had to build libblst.
But now it seems that there is an issue with the proof, I get invalid proof:
panic: points in the proof are not in the correct subgroup

I could try looking into it, but it would probably take a bit time to compare the computed values against CPU execution - would it be possible to try out with another GPU and see if you hit the same problem?


Windows support

This:

Disables color output, since escape sequences do not work on Windows.
Change find_executable to consider files with .exe, e.g. git.exe for git.

I cherry-picked some of the changes, implemented some a bit dfferent and integrated shutil.which like osrf_pycommon to get rid of the custom find_executable implementation. Thanks!


4-bit quantization export for cogagent?

feature request  / 功能建议
would it be possible to export a 4-bit quantized cogagent model for inference?
motivation / 动机
it is very time consuming to download the full-precision model shards and load the causal LM model from them.

@zRzRzRzRzRzRzR, any pointers on that?

it is ok,but we do not provide a 4 bit model yet

will keep it open, in case you do in the future!

will close, @zRzRzRzRzRzRzR.
I pushed a 4-bit quantized version of cogagent VQA to the hub.

@DiTo97 is there any procedure to export a fine-tuned cogagent model in 4-bit, as you did?
TNX!

hi @crux82,
huggingface/transformers#26037 is where 4-bit serialization was made possible in the library.
you should see examples there on how to do it for any huggingface-compatible model (like cogVLM or cogagent)

@DiTo97 Thank you!!


Import as much data as possible from facebook

Currently the only data from facebook added is first and last name. There is an issue with the facebook api not returning the requested fields for all users. The only fields I could guaranteed get during development of the facebook login system were first and last name. This is most likely due to app permissions, though we should have email permissions and mine wasn't being returned via the API calls.

This issue is no longer applicable as facebook auth has been moved to a PR.


Pex fails to resolve any custom install package

Any of our custom packages fails to resolve. Pypi package seem to work fine. These are package that are installed in the same virtualenv as pex. Specifying a git repo that pip can use doesn't work either.
$ python
Python 2.7.3 (default, Jun  3 2013, 16:24:48)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mypackage
>>>   # WORKS FINE
$ pex mypackage
Could not satisfy all requirements for mypackage:
    mypackage
$ pex git+https://mygit/ml/mypackage.git
Traceback (most recent call last):
...
pex.resolvable.InvalidRequirement: Unknown requirement type: git+https://mygit/ml/mypackage.git

@mathieulongtin unless mypackage is distributed on pypi, you would need to point pex to the actual source code for your custom python module (e.g. the directory containing its setup.py). pex does not interact with installed packages - but rather resolves them via pypi indexes, pip-like find-links or directly from a package dir.
example of pex'ing a local source dir:
[illuminati requests-2.8.1]$ ls
HISTORY.rst       MANIFEST.in       PKG-INFO          requests          requirements.txt  setup.py
LICENSE           NOTICE            README.rst        requests.egg-info setup.cfg         test_requests.py
[illuminati requests-2.8.1]$ pex . -o /tmp/requests.pex
[illuminati requests-2.8.1]$ /tmp/requests.pex
Python 2.7.10 (default, Dec 16 2015, 14:09:45)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import requests
>>> requests.__file__
'/Users/kwilson/.pex/install/requests-2.8.1-py2.py3-none-any.whl.1c5a361b4c60f18ed7c52565ebd718df59f2d5d4/requests-2.8.1-py2.py3-none-any.whl/requests/__init__.py'

note that we also do not currently support the git+https:// format but there is #93 outstanding for that feature if you find it useful to implement - PR's welcome!


Update DevOps terraform

What is being addressed
Update our devops folder:

More recent AzureRM provider
Access storage account with login instead of key (redundant step)
Remove porter container as it's not used

/test

/test-extended


customize row view

Hello!
Is it possible to customize view for every Item?
For example, I need not only checkbox on the left, but two more checkboxes on the right side.
Best regards,
Roman.

Yes, this has been discussed a lot both here and on the groups page. This is best achieved with a plugin - take a look at src/misc.js.
Best regards,
Ivan


x-csrf-token does not exist

Calling the scan_docker_image.py to verify an image, following error appears (s. below).
self.token, self.csrf_token, self.cookie = self.get_auth_token()
results in
return self._store[key.lower()][1]
KeyError: 'x-csrf-token'
Does it mean, the blackduck server response doesn't contain this header? What can be the reason - failed authentication?
_Traceback (most recent call last):
File "/home/vsts/work/1/s/pipelines/blackduck/scan_docker_image_layers.py", line 538, in
sys.exit(main())
File "/home/vsts/work/1/s/pipelines/blackduck/scan_docker_image_layers.py", line 528, in main
scan_container_image(args.imagespec)
File "/home/vsts/work/1/s/pipelines/blackduck/scan_docker_image_layers.py", line 413, in scan_container_image
hub = HubInstance()
File "/home/vsts/.local/lib/python3.8/site-packages/blackduck/HubRestApi.py", line 157, in init
self.token, self.csrf_token, self.cookie = self.get_auth_token()
File "/home/vsts/.local/lib/python3.8/site-packages/blackduck/Core.py", line 35, in get_auth_token
csrf_token = response.headers['X-CSRF-TOKEN']
File "/usr/lib/python3/dist-packages/requests/structures.py", line 52, in getitem
return self.store[key.lower()][1]
KeyError: 'x-csrf-token'

Seeing the same ussye

hub = HubInstance()
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/site-packages/blackduck/HubRestApi.py", line 155, in init
self.token, self.csrf_token, self.cookie = self.get_auth_token()
File "/usr/local/lib/python3.6/site-packages/blackduck/Core.py", line 35, in get_auth_token
csrf_token = response.headers['X-CSRF-TOKEN']
File "/usr/local/lib/python3.6/site-packages/requests/structures.py", line 54, in getitem
return self._store[key.lower()][1]
KeyError: 'x-csrf-token'

i believe you might have added a '/' at the end of the url in .restconfig.json , please remove the '/' and try again

Indeed: the removal of the trailing slash did the trick Thank you!

In my case below steps worked
$ apt remove python3-pip
$ apt install python3-pip
$ pip3 install pyOpenSSL --upgrade
$ pip3 install blackduck


Update comment for updated Default Automatic Refresh interval.

@PinpointTownes noticed that the comment wasn't updated for the new refresh interval; fixing that issue.

Hi @polita, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Polita Paulus). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

:shipit:


[consoleApp] [Manage] Enabling a readwrite ldap secondary user store via Console Manage shows a slowness in updating the changes

Describe the issue:
Enabling a readwrite ldap secondary user store via Console Manage shows a slowness in updating the changes
How to reproduce:
1.Access https://localhost:9443/console
2.Login as super admin
3.Navigate to Manage > Userstores > New Userstore > Read write ldap
4.Give details and save
5. Go to added userstore edit view > Enable Userstore
6. Update
Observation
UI says update is succesful. Also in the console if we log back and see enable option is not updated it shows as disabled. Observing a slowness in updating the changes
Environment information
Mssql 2019
uniqueid jdbc primary US
IS 5.11.0 beta3
ubuntu 16.04
Chrome Version 85.0.4183.121

This is a known issue in all Userstore operations. These operations are asynchronous tasks due to the Userstores being file based. The backend improvement is tracked here.
As a temporary workaround, a warning notification was added with PR https://github.com/wso2/identity-apps/pull/1307 which will notify users of possible delays in updates.


Searching by non-existent name should not 404

Currently when we run a search with a name specified which does not exist, the server returns a NOT FOUND error. For example,
$ python client_dev.py readgroupsets-search http://localhost:8000 --name=SDF
ERROR:ga4gh.client:404 {"errorCode": 983484777, "message": "ReadGroupSet with name 'SDF' not found"}

This should return an empty set of results. I think readGroupSetGenerator and callSetGenerator are affected by this in backend.py.
@hjellinek, what do the compliance tests expect here?

That's not the error I get for that command on develop:
Traceback (most recent call last):
  File "/Users/dannyc/ga4gh/new/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/dannyc/ga4gh/new/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Users/dannyc/ga4gh/server/ga4gh/frontend.py", line 461, in searchReadGroupSets
    flask.request, app.backend.runSearchReadGroupSets)
  File "/Users/dannyc/ga4gh/server/ga4gh/frontend.py", line 391, in handleFlaskPostRequest
    return handleHttpPost(flaskRequest, endpoint)
  File "/Users/dannyc/ga4gh/server/ga4gh/frontend.py", line 268, in handleHttpPost
    responseStr = endpoint(request.get_data())
  File "/Users/dannyc/ga4gh/server/ga4gh/backend.py", line 681, in runSearchReadGroupSets
    self.readGroupSetsGenerator)
  File "/Users/dannyc/ga4gh/server/ga4gh/backend.py", line 556, in runSearchRequest
    for obj, nextPageToken in objectGenerator(request):
  File "/Users/dannyc/ga4gh/server/ga4gh/backend.py", line 405, in readGroupSetsGenerator
    dataset = self.getDataset(request.datasetId)
  File "/Users/dannyc/ga4gh/server/ga4gh/backend.py", line 271, in getDataset
    raise exceptions.DatasetNotFoundException(id_)
DatasetNotFoundException: The requested dataset 'None' was not found

Isn't our usual MO to return a 404 if any part of the query doesn't exist?  Why would we do things differently here?

Sorry, that command was run against #643 --- I'm really sick of copying and pasting all these IDs so I used that.
For your question, there is a subtle distinction here. If datasetId is set to something that doesn't exist, we should 404, because this is an explicit reference to something that isn't there. For name though, were saying something slightly different: this is a filter on the ReadGroupSets and therefore results in an empty set of results if nothing matches.

Sorry, I just noticed your question for me here.
The test ReadGroupSetsGetByNameIT.testSearchForBogusNameReturnsEmptyList actually does what its name implies": the SearchReadGroupSetsResponse for a nonexistent name is expected to contain an empty readGroupSets list.

Thanks @hjellinek!
+1 from me, then.

Fixed in #658 and #650


Could you provide the adversarial robustness FR model that you have trained?

Thanks.

I download the pretrained models via the provided url in the code, but I found the acc of all the model was about 50%.


how do i run this with laravel?

i try to build it from your repo by cloning it...
do some tweak
b99f3c2 added volume of laravel project one folder above this repo
8d15505 change root to /var/www/laravel/public
78d6ce1 change timezone to Asia/Manila
e5ececc removed COPY index.php
05f40eb deleted index.php
18cd02d change virtual host

So now the Folder Structure is like so
Laravel

Docker

in the docker is where your repo is located...

This has been deprecated in place of andrewmclagan/aphex.
just FYI /var/www is the dir


Fix third party dependency vulnerabilities

Describe the issue:
When running the trivy scan, third party dependency vulnerabilities are reported. Need to fix the vulnerabilities of following libraries.

[x] com.google.code.gson:gson (callhome-4.5.x_1.0.11.jar)
[x] commons-httpclient:commons-httpclient (commons-httpclient_3.1.0.wso2v6.jar)
[x] org.eclipse.jetty:jetty-http (solr_8.11.1.wso2v4.jar)
[x] org.springframework:spring-core (spring-core-5.3.19.jar)
[x] com.fasterxml.jackson.core:jackson-databind (kubernetes-membership-scheme-1.0.8.jar)
[ ] org.apache.cxf:cxf-core (org.wso2.carbon.identity.sts.passive_5.7.4.jar)

Vulnerability related to commons-httpclient:commons-httpclient is fixed in the forked repo


User Management

Granularity

Single Users or  User per Health Department?

Sign in service

Are we talking about the general user managemt or the user management for the Pilot LHA during the project period?

When User per Health Department: Is data only viewable from the own LHA? - Can local outbreaks for which we use the LHA data just be seen for this region by this LHA? (or can every LHA see the Data from every other Pilot LHA?)

When Single User:
has every user different user-roles/ authorizations? (to limit the viewable data or to have user roles, who can just look and dont change anything)
possible roles: user to edit scenarios/simlations, user to just see no actions, user for epidemiological parameters/ mitigation actions

SP4 can take concrete questions to the LHA

Each LHA will have its own users which are created by the LHA admins on our IdP (Keycloak) page, not ESID. These users are managed only within the same LHA (LHA cannot access users from other LHAs). Each LHA will have specific roles to allow user to use different functions (e.g. create scenario). The role names  so far are the same across LHAs (e.g. lha-user, lha-admin, etc).


The ScanNet dataset

Hello, nice job!
I was sorry to bother you abount scannet dataset. I have noticed the result 68.4 miou in the scannet, Because of the version of scannet, I want to know more about this, which version(v1 or v2) did you use? How much memory needs to be consumed？ And another supporting documents？such as train/val split.
I will very appreciate if you can offer the dataloader of scannet and train_net.py
best wishs to you!

I used the scannet v2 dataset. The one used for their online benchmark. Train/val splits are the usual ones. I am sorry, but I have not implemented this in PyTorch.

ok, I got it. thanks for your reply!
Thank you very much!


[GOBBLIN-1160] No spec delete on gobblin service start

address review comments
improve test cases
code cleaning
Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1160

Description

[x] Here are some details about my PR, including screenshots (if applicable):

store specs in spec store only when compilation passes
fix the race condition between NonScheduledJobRunner and FlowCatalog threads

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
added a few unit tests

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ee7e75a). Click here to learn what that means.
The diff coverage is 0.00%.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee7e75a...d4c5c46. Read the comment docs.


does it support older version of @playwright/test?

@sand4rt
my project is using @playwright/test:1.23.2 across the whole project, wonder if it works compatibly. If not, what is the version required? thanks

Good question, will get back to it  but v1.29.1 works for sure.

Ran the test on v1.23.2 and it works as expected. Doesn't work on your end? Did you run npx playwright install?

@sand4rt  thanks for your prompt updates. I am not able to have it running successfully even for this repo. is there any step instruction to run ct-web-lit specifically? thanks

Did you installed the packages with pnpm install' and ran the tests with pnpm run test`?

@sand4rt  1.23.1 seems like it was not working for me. and realized @sand4rt/experimental-ct-web  is integrated with 1.29.1 automatically.

one more question:
is Playwright going to support lit-element purely? Seems like its entry point is vite for this package

@sand4rt  1.23.1 seems like it was not working for me. and realized @sand4rt/experimental-ct-web  is integrated with 1.29.1 automatically.

What is not working? Do you get any errors?

one more question:
is Playwright going to support lit-element purely? Seems like its entry point is vite for this package

The tests projects are created with Vite however Vite is not required

getting below error:

thanks, btw, is there any workersRollupPlugin related support?

@normanlei0901 you need at least version 1.28.0 of @playwright/test. Could you retry it with v1.0.2?

thanks, btw, is there any workersRollupPlugin related support?

Not exactly sure what workersRollupPlugin is? Playwright does have support for Vite plugins: https://playwright.dev/docs/test-components#q-how-can-i-use-vite-plugins

thanks, btw, is there any workersRollupPlugin related support?

Not exactly sure what workersRollupPlugin is? Playwright does have support for Vite plugins: https://playwright.dev/docs/test-components#q-how-can-i-use-vite-plugins

I am getting below error while testing the component which is using web workers under the hood. Per my understanding, we might need some related plugin to rollup the web workers with component in order to component test it. Any idea? thanks
[vite:worker-import-meta-url] Could not resolve entry module "src/worker/.worker.js".

Do you have an example Github repo which i can look at?

@normanlei0901 i'm closing this one. Feel free to open a new ticket when needed.

Could you create a separate ticket/feature request for that? Would like to know the reason.


Close collection tab

Prompt user to save before closing it. Quite often I accidentally close the current tab when I was trying to select next tab.

Hey, when you say Prompt user to save, how do you mean? Or do you mean to ask user Are you sure you want to close this window??

Yes. With the option to save and close or just close.
Regards,
Sherlyn Wong
On Fri, 11 Oct 2019, 2:57 pm Samuel<EMAIL_ADDRESS>wrote:

Hey, when you say Prompt user to save, how do you mean? Or do you mean
to ask user Are you sure you want to close this window??
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/imolorhe/altair/issues/973?email_source=notifications&email_token=ALEKFZVJDMHTR55S5QTHIFTQOAPUXA5CNFSM4IZ6P4A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA7BEAI#issuecomment-540938753,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALEKFZTRFT5OPG2FXS2LEZ3QOAPUXANCNFSM4IZ6P4AQ
.

I'm still not clear on this. Is this specific to the tabs that are opened from the collection?

Closing this as I haven't received any response. Also what the issue is here might be related to #999


ETL seems to be rebuilding far too often

Problem
Anecdotally, it seems like the ETL is rebuilding too much, far too often.
Things we could check

[ ] Do we get the same data checksums building on Linux and MacOS
[ ] If we rebuild several hours later, are only steps with new data needing updates

cc @Marigold


Add stderr to scenario output

If a scenario fails on startup or otherwise prints to stderr we can't see the output in the RPC logs
How to test: Write a scenario that has a coding error in it, run the scenario. Before PR there will be no output in the logs, after PR you will see the problem.

Yes 👍


Mock metamask in puppeteer

https://github.com/OasisDEX/metamask-e2e
https://github.com/decentraland/dappeteer

using dappeteer makes jest-puppeteer env crash

using stealth plugin is causing the crash: https://github.com/ventureum/Chainsfr/blob/2e72d156e19755c7e8e71ec4c4771edae0928007/src/tests/e2e/jest-environment-puppeteer/readConfig.js#L57

move plugin .use() setup to global.js solves the issue

installing metamask causing opening up a new tab, which results in all tests failed

incognito does not enable ext by default, need to go to extension page and enable it in incognito manually

Use querySelectorShadowDom to select toggle btn.
now, click ext opening up empty page in cognito

error out on incognito, revert back to non-incognito. Force resetBrowser to clear all storage to mimic incognito mode


cmd/go: go test -json has package output incorrectly attributed to the last test when a test panics

What version of Go are you using (go version)?

$ go version
go version go1.13.3 linux/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/me/.cache/go-build"
GOENV="/home/me/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/me/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/me/example.com/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build644999187=/tmp/go-build -gno-record-gcc-switches"
GOROOT/bin/go version: go version go1.13.3 linux/amd64
GOROOT/bin/go tool compile -V: compile version go1.13.3
uname -sr: Linux 5.3.7-arch1-1-ARCH
/usr/lib/libc.so.6: GNU C Library (GNU libc) stable release version 2.30.

What did you do?
Create a package with a single example_test.go as follows:
package example

import "testing"

func Test_panic(t *testing.T) {
	panic("panic")
}

Run the tests with go test -json.
What did you expect to see?
I expected to see JSON events similar to what is printed for a test failure (except with the panic output). Here is an example:
{"Time":"2019-10-26T16:31:24.490841764+09:00","Action":"run","Package":"example.com","Test":"Test_panic"}
{"Time":"2019-10-26T16:31:24.490999482+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"=== RUN   Test_panic\n"}
{"Time":"2019-10-26T16:31:24.491019239+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"--- FAIL: Test_panic (0.00s)\n"}
{"Time":"2019-10-26T16:31:24.493039733+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"panic: panic [recovered]\n"}
{"Time":"2019-10-26T16:31:24.493074736+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\tpanic: panic\n"}
{"Time":"2019-10-26T16:31:24.493091009+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\n"}
{"Time":"2019-10-26T16:31:24.493105541+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"goroutine 7 [running]:\n"}
{"Time":"2019-10-26T16:31:24.49312058+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"testing.tRunner.func1(0xc00009a100)\n"}
{"Time":"2019-10-26T16:31:24.493138782+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/usr/lib/go/src/testing/testing.go:874 +0x3a3\n"}
{"Time":"2019-10-26T16:31:24.493154221+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"panic(0x50f620, 0x568e00)\n"}
{"Time":"2019-10-26T16:31:24.493169603+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/usr/lib/go/src/runtime/panic.go:679 +0x1b2\n"}
{"Time":"2019-10-26T16:31:24.493181468+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"example%2ecom.Test_panic(0xc00009a100)\n"}
{"Time":"2019-10-26T16:31:24.493193647+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/home/me/example.com/example_test.go:6 +0x39\n"}
{"Time":"2019-10-26T16:31:24.493206542+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"testing.tRunner(0xc00009a100, 0x54e1b0)\n"}
{"Time":"2019-10-26T16:31:24.49322095+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/usr/lib/go/src/testing/testing.go:909 +0xc9\n"}
{"Time":"2019-10-26T16:31:24.493233314+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"created by testing.(*T).Run\n"}
{"Time":"2019-10-26T16:31:24.49324471+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/usr/lib/go/src/testing/testing.go:960 +0x350\n"}
{"Time":"2019-10-26T16:31:24.493309065+09:00","Action":"fail","Package":"example.com","Test":"Test_panic","Elapsed":0.003}
{"Time":"2019-10-26T16:31:24.493459617+09:00","Action":"output","Package":"example.com","Output":"exit status 2\n"}
{"Time":"2019-10-26T16:31:24.493491032+09:00","Action":"output","Package":"example.com","Output":"FAIL\texample.com\t0.004s\n"}
{"Time":"2019-10-26T16:31:24.493509065+09:00","Action":"fail","Package":"example.com","Elapsed":0.004}

In the example above the output
exit status 2
FAIL	example.com	0.004s

related to the package failing is attributed to the package, not the test (i.e. no "Test" key).
There is also a JSON event for the package result:
{"Time":"2019-10-26T16:31:24.493509065+09:00","Action":"fail","Package":"example.com","Elapsed":0.004}

This matches the behavior for when a test fails. For example take the following failing test:
package example

import "testing"

func Test_fail(t *testing.T) {
	t.Fail()
}

Running the above with go test -json results in the following:
{"Time":"2019-10-26T16:43:43.127664589+09:00","Action":"run","Package":"example.com","Test":"Test_fail"}
{"Time":"2019-10-26T16:43:43.12785779+09:00","Action":"output","Package":"example.com","Test":"Test_fail","Output":"=== RUN   Test_fail\n"}
{"Time":"2019-10-26T16:43:43.127884525+09:00","Action":"output","Package":"example.com","Test":"Test_fail","Output":"--- FAIL: Test_fail (0.00s)\n"}
{"Time":"2019-10-26T16:43:43.127899069+09:00","Action":"fail","Package":"example.com","Test":"Test_fail","Elapsed":0}
{"Time":"2019-10-26T16:43:43.127911351+09:00","Action":"output","Package":"example.com","Output":"FAIL\n"}
{"Time":"2019-10-26T16:43:43.127980332+09:00","Action":"output","Package":"example.com","Output":"exit status 1\n"}
{"Time":"2019-10-26T16:43:43.128011943+09:00","Action":"output","Package":"example.com","Output":"FAIL\texample.com\t0.002s\n"}
{"Time":"2019-10-26T16:43:43.128023373+09:00","Action":"fail","Package":"example.com","Elapsed":0.002}

What did you see instead?
The output
exit status 2
FAIL	example.com	0.004s

related to the failure of the package is attributed to the last test and the "fail" action for the package is missing. Here is the output:
{"Time":"2019-10-26T16:48:37.809827062+09:00","Action":"run","Package":"example.com","Test":"Test_panic"}
{"Time":"2019-10-26T16:48:37.809976433+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"=== RUN   Test_panic\n"}
{"Time":"2019-10-26T16:48:37.80999731+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"--- FAIL: Test_panic (0.00s)\n"}
{"Time":"2019-10-26T16:48:37.811997085+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"panic: panic [recovered]\n"}
{"Time":"2019-10-26T16:48:37.812050124+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\tpanic: panic\n"}
{"Time":"2019-10-26T16:48:37.812067897+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\n"}
{"Time":"2019-10-26T16:48:37.812082944+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"goroutine 7 [running]:\n"}
{"Time":"2019-10-26T16:48:37.812103579+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"testing.tRunner.func1(0xc00009a100)\n"}
{"Time":"2019-10-26T16:48:37.812119215+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/usr/lib/go/src/testing/testing.go:874 +0x3a3\n"}
{"Time":"2019-10-26T16:48:37.812133424+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"panic(0x50f620, 0x568e00)\n"}
{"Time":"2019-10-26T16:48:37.812149167+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/usr/lib/go/src/runtime/panic.go:679 +0x1b2\n"}
{"Time":"2019-10-26T16:48:37.812162786+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"example%2ecom.Test_panic(0xc00009a100)\n"}
{"Time":"2019-10-26T16:48:37.812174836+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/home/me/example.com/example_test.go:6 +0x39\n"}
{"Time":"2019-10-26T16:48:37.812187814+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"testing.tRunner(0xc00009a100, 0x54e1b0)\n"}
{"Time":"2019-10-26T16:48:37.812196648+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/usr/lib/go/src/testing/testing.go:909 +0xc9\n"}
{"Time":"2019-10-26T16:48:37.812204452+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"created by testing.(*T).Run\n"}
{"Time":"2019-10-26T16:48:37.812211803+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/usr/lib/go/src/testing/testing.go:960 +0x350\n"}
{"Time":"2019-10-26T16:48:37.812512011+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"exit status 2\n"}
{"Time":"2019-10-26T16:48:37.812546284+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"FAIL\texample.com\t0.004s\n"}
{"Time":"2019-10-26T16:48:37.812577123+09:00","Action":"fail","Package":"example.com","Test":"Test_panic","Elapsed":0.004}

/cc @jayconrod @bcmills

Possibly related to #27764?

And almost certainly to #33419.

This issue appears to be fixed since go1.14.1. I think https://github.com/golang/go/commit/76a6adcf3a1258efad1751559b7364a4cb8ae28b fixed it.
Here is the go test -json . output for the example_test.go (in the first comment) when run with go1.14.1:
{"Time":"2020-05-19T10:14:26.986587778+09:00","Action":"run","Package":"example.com","Test":"Test_panic"}
{"Time":"2020-05-19T10:14:26.986711668+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"=== RUN   Test_panic\n"}
{"Time":"2020-05-19T10:14:26.986727103+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"--- FAIL: Test_panic (0.00s)\n"}
{"Time":"2020-05-19T10:14:26.988913273+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"panic: panic [recovered]\n"}
{"Time":"2020-05-19T10:14:26.988958022+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\tpanic: panic\n"}
{"Time":"2020-05-19T10:14:26.98896551+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\n"}
{"Time":"2020-05-19T10:14:26.988971836+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"goroutine 18 [running]:\n"}
{"Time":"2020-05-19T10:14:26.988980882+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"testing.tRunner.func1.1(0x50ee00, 0x5665c0)\n"}
{"Time":"2020-05-19T10:14:26.988991089+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/usr/lib/go/src/testing/testing.go:941 +0x3d0\n"}
{"Time":"2020-05-19T10:14:26.989001224+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"testing.tRunner.func1(0xc0000d2120)\n"}
{"Time":"2020-05-19T10:14:26.989006155+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/usr/lib/go/src/testing/testing.go:944 +0x3f9\n"}
{"Time":"2020-05-19T10:14:26.989010738+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"panic(0x50ee00, 0x5665c0)\n"}
{"Time":"2020-05-19T10:14:26.989014968+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/usr/lib/go/src/runtime/panic.go:967 +0x166\n"}
{"Time":"2020-05-19T10:14:26.989021457+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"example%2ecom.Test_panic(0xc0000d2120)\n"}
{"Time":"2020-05-19T10:14:26.989026123+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/home/me/example.com/example_test.go:6 +0x39\n"}
{"Time":"2020-05-19T10:14:26.989034311+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"testing.tRunner(0xc0000d2120, 0x549220)\n"}
{"Time":"2020-05-19T10:14:26.989038817+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/usr/lib/go/src/testing/testing.go:992 +0xdc\n"}
{"Time":"2020-05-19T10:14:26.989043454+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"created by testing.(*T).Run\n"}
{"Time":"2020-05-19T10:14:26.989047757+09:00","Action":"output","Package":"example.com","Test":"Test_panic","Output":"\t/usr/lib/go/src/testing/testing.go:1043 +0x357\n"}
{"Time":"2020-05-19T10:14:26.989405403+09:00","Action":"fail","Package":"example.com","Test":"Test_panic","Elapsed":0}
{"Time":"2020-05-19T10:14:26.989425466+09:00","Action":"output","Package":"example.com","Output":"FAIL\texample.com\t0.004s\n"}
{"Time":"2020-05-19T10:14:26.989441567+09:00","Action":"fail","Package":"example.com","Elapsed":0.004}

This matches the expected output. In particular there is a "fail" action for both the test and the package.
I tried go1.14.3 and it also works. Closing.


PyCall hangs after one call with Rails + SciKit Learn

I'm getting the following error the first time that sklearn is imported:
/Users/stephen/.rvm/rubies/ruby-2.6.2/bin/ruby: No such file or directory -- from multiprocessing.semaphore_tracker import main;main(27) (LoadError)

I'm not a python dev, but it seems semaphore has something to do with parallel processing.
When I'm in a rails console, I can run my code without issues (still get the warning). In the web application, it runs once, then it hangs. If I navigate away from the page where it runs, the app is fine. If I come back to the previous page, it crashes entirely. Would love some help!

Please show the code and the conditions for reproducing this error.

Having same problem. In my instance I am using a method in an external python module and this is in a Rails controller. After one call is made, I cannot make another call. The second call will hang.
 require 'pycall'
 PyCall.init('python3')
 PyCall.sys.path.append File.dirname("PATH_TO_MODULE")

 def test_python
   mod = PyCall.import_module('MODULE_NAME')
   val = mod.SOME_MODULE_METHOD()

   render json:
 end

I am also getting an issue with pycall specifically with the ruby-spacy package. I am able to import it and run nlp.read inside the console without issues but during a controller call it hangs and never resolves no issues are displayed at any point
Current Code
require "ruby-spacy"

class Api::V1::Spacy < ApplicationController

  def inbound
    nlp = Spacy::Language.new(Rails.root.join("app/assets/model"))
    doc = nlp.read("Hello world")
    puts doc.ents
    return render json: { doc.ents }
  rescue => e
    puts e
    head :internal_server_error
  end
end

ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [arm64-darwin21]
Rails <IP_ADDRESS>
Python 3.10.1 with shared enabled

I have the same problem when I use https://github.com/yohasebe/ruby-spacy (which is based on PyCall).
It works when I call Spacy::Language.new("en_core_web_sm") in the rails console. When I call it from the server process (puma) or inside a background job (I tried sidekiq and https://github.com/basecamp/solid_queue) the worker just stuck and the only way i found to unstuck it is to kill the process.

I'm having the same issue. My Rails app hangs forever when on eager_load = false. The line of code that is doing it is:
PyCall.sys.path.append('./app/lib/python_helpers')

Its on a initializer.
My app is very simple, and it freezes just by having this line.


Verify that dev setup works on various OS

Description
This PR suggests to add a new workflow that can be manually triggered from the GitHub website. It tries to execute some steps a developer would usually run, and we verify these all give expected results (i.e. do not err).
In order to test this / execute this, I think it first must be merged:

To trigger the workflow_dispatch event, your workflow must be in the default branch.

This workflow runs on Windows, macOS and Ubuntu, and ensures that developers with different OS still can work on GeoStyler.
Related issues or pull requests
This came up for some devs during the latest Codesprint.
Pull request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Dependency updates
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[x] Other (please describe)
[ ] I am unsure (we'll look into it together)

Do you introduce a breaking change?

[ ] Yes
[x] No
[ ] I am unsure (no worries, we'll find out)

Checklist

[x] I understand and agree that the changes in this PR will be licensed under the BSD 2-Clause License
[x] I have followed the guidelines for contributing
[x] The proposed change fits to the content of the code of conduct
[ ] I have added or updated tests and documentation, and the test suite passes (run npm test locally)
[ ] I'm lost; why do I have to check so many boxes? Please help!

Thanks for teh reviews @jansule & @KaiVolland

https://github.com/geostyler/geostyler/actions/runs/2534560377


Issue with unit command on version #3

Without using browser option, or using it in a bad order, it gives an error self is not defined in node context. I suggest to give the user a better message for the problem

It seems a runtime error related to the test itself, not the runner. Regarding the option order, I'll take a look as soon as possible.


buildDockerImage.sh fault - /opt/oracle/install/installDBBinaries.sh: Permission denied

buildDockerImage.sh fault on RUN $INSTALL_DIR/$INSTALL_DB_BINARIES_FILE xx for all 12 versions and ee and se2 editions (at least):

Step 8 : USER oracle
---> Running in a329d3c92697
---> 5761d2f89057
Removing intermediate container a329d3c92697
Step 9 : RUN $INSTALL_DIR/$INSTALL_DB_BINARIES_FILE SE2
---> Running in aba118b0bc2a
/bin/bash: /opt/oracle/install/installDBBinaries.sh: Permission denied
Removing intermediate container aba118b0bc2a
The command '/bin/sh -c $INSTALL_DIR/$INSTALL_DB_BINARIES_FILE SE2' returned a non-zero code: 126
There was an error building the image.

I have try to force permissions just before run but it faults again:

Step 8 : RUN chmod +x $INSTALL_DIR/$INSTALL_DB_BINARIES_FILE
---> Running in c63d5ea52182
---> b7dec0b99ee6
Removing intermediate container c63d5ea52182
Step 9 : USER oracle
---> Running in 8769016e6597
---> 7065ef57f02b
Removing intermediate container 8769016e6597
Step 10 : RUN $INSTALL_DIR/$INSTALL_DB_BINARIES_FILE SE2
---> Running in 8f12ad91da0c
/bin/bash: /opt/oracle/install/installDBBinaries.sh: Permission denied
Removing intermediate container 8f12ad91da0c
The command '/bin/sh -c $INSTALL_DIR/$INSTALL_DB_BINARIES_FILE SE2' returned a non-zero code: 126
There was an error building the image.

At the end, I have comment the previous # USER oracle line in DockerFile and it seems go ahead, but probably with I'll find some issues later by this change... Yes:

The user is root. Oracle Universal Installer cannot continue installation if the user is root.

It works adding read permissions: RUN chmod 550 $INSTALL_DIR/$INSTALL_DB_BINARIES_FILE

What are the other errors? Are they again about UNIX file permissions?

Hi gvenzl!
Yes, I found some other permissions issues, but after some test I have check that they are related with my environment.
I have a docker environment without git, then I downloaded GitHub project in other server and then move to my docker environment, and this seems to be the issue. It can be solved with some changes on dockerfiles similar to my previous comment, but really installDBBinaries.sh works fine in a full docker/git environment.
Sorry for the inconvenience

Thanks for the follow-up @juanyque. It is still strange though. The docker build should set all permissions required automatically. Were they all related to missing read permissions of the files?

Oh!
It's much more estrange... I have installed git on my original environment (it's a Synology NAS with Docker and Git packages), and I have the same permission issues....
It seems work fine on Docker for Mac and CoreOS.


Add command to uninstall unused non-core modules

One of the most common use cases we have that would involve this extension is performing client upgrades.  One of my first steps when doing upgrades for clients is to uninstall any unused extension that's not an out-of-the-box extension.  An incredible number of DNN sites have 5+ extensions on the site that were installed and never put onto a page.  These extensions often cause module installation/upgrade conflicts and DNN upgrade issues.
It would be great to have a command to automatically uninstall all unused, non-core, extensions at once.

Hi Will,
We have discussed the option of adding this in however I dont think it sits well with the overall purpose of PolyDeploy. However this would be a great extension to DNN Prompt.
Steve


Add %N for nat constants

This is in preparation of
https://github.com/math-comp/math-comp/pull/841
This is backward compatible (it only ensures that natural number
constants will kee being interpreted in nat_scope when a number
notation will be added in ring_scope).

Looks reasonable to me since backwards-compatible. Unless @thery objects I think this can be merged whenever convenient.


Clear Text From Single / Multiple Objects

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the Feature You Want
I would like to have a way to clear just the text from a selection of one or more shapes. (There is a similar feature in Visio).
Describe the solution you'd like
In Visio (from memory) this feature is controlled by the Backspace key but any key would be fine, or even just a context menu selection. I suppose if you create the feature, there should be a button for it on the sidebar also.
My ideal implementation would be, (1) Select one or more shapes (2) activate Clear by whatever means (3) All of the text contained in the normally editable area of the shape would be removed. No formatting changes, no style changes, simply removing the text is all.
Describe alternatives you've considered
None that I'm aware of.
Additional context
None.

We'll add Shift+Backspace and Shift+Delete for this in the next release.

Thanks!


Add method to create a virtual desktop

Adds the VirtualDesktop.create() method to allow the creation of a new virtual desktop.
Tested on Windows 10 21H2 (Build 19044) and Win 11 (Build 22000).

Looks good to me, thanks! 👍


add WeightOnlyLinear for low memory inference.

Type of Change
feature
Description
add WeightOnlyLinear for weight-only approach to allow low memory inference.
Expected Behavior & Potential Risk
UT pass
How has this PR been tested?
local test
Dependency Change?
N/A

Pre-ci failed due to random issue, reviewer can skip it.


Update campaign validation logics in KyberDao, add more get functions in KyberStaking

This PR does following changes:

KyberDao: Move all validations to validateCampaignParams when submit new campaign
KyberDao: Avoid incompatible startTimestamp and startEpoch in validateCampaignParams function
KyberDao: Make sure cInPrecision < 2^128 and tInPrecision < 2^128
KyberStaking: Add functions to get all latest + per epoch data for a staker
KyberStaking: Update function name for getting raw staker per epoch data

Close PR, avoid using audit in branch name


Flipbook not working

Expected behaviour
When using flipbook, expect crowd to be able to be able to click between frames and play frames going from one to the other

Current behaviour
Only first frame shows - the buttons below to move between pages of the flip book do not show

Steps to replicate
Additional information

Operating system: Mac and PC
Browser: Chrome

Closing as this has been fixed (@rogerhutchings )


NetBSD: these extattr functions are not in libutil, but libc

extattr_namespace_to_string()
extattr_string_to_namespace()

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit 56fd32966c663fe7e6e1d47484b690e9b0aa30e7 has been approved by alexcrichton

:boom: Test timed out

@bors: retry

:hourglass: Testing commit 56fd32966c663fe7e6e1d47484b690e9b0aa30e7 with merge 9c5e70ae306463a23ec02179ac2c9fe05c3fb44e...


cloudapi: change Organization customization to a string

Make Organization in the Subscription customization a string
instead of an int.
fixes #1582
This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] create a file in news/unreleased directory if this change should be mentioned in the release news
[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

This needs a rebase on main to fix CI