Updating from a previous version to the latest fails - migrations missing

When updating my Wagtail installation from 1.6.2 to 1.9, I can no longer run migrations - causing the update to fail.
The reason for the failure is that the migrations (like 0003_auto_20150817_1256) are removed in the latest release, which causes problems because my models depend on these migrations.

Hello @creativedutchmen,
When we made the change to remove the TagSearchable class from EmbedVideos, because it was removed on Wagtail 1.7, we didn't considered the change to be applied to projects that would be upgraded from 1.6 to 1.7 (upwards). Because of that, we removed all the migrations associated with Wagtail 1.6, and started a fresh new migration, that is compatible with Wagtail >=1.7.
If it's really urgent for you to upgrade to Wagtail 1.9 and you don't have any embed videos created, you could just manage.py migrate wagtail_embed_videos zero and then migrate to the recent version.
If you have embed videos created and you don't want them to erased, there is no current solution right now, unless using Wagtail 1.6.
We will try to fix this problem as soon as possible.

Yes, I understand the rationale behind the changes. However, upgrading between minor versions (1.x) is a very common use-case, so I can't imagine I'm the only one with this problem :)
Of course I could keep the current version of Wagtail, but the newer versions have features I'd really like to incorporate in the current project, so updating is certainly something I'd like to do sooner rather than later. (And, of course, there are many embed videos created).
I'd love to help, but I'm a bit short on time (as always). Would this be something you can fix within the next few weeks, or should I try to free some time for this?

Well we are also very busy at the moment, but I will try to check it out as soon as possible.
Right now I can't establish a date for a fix, because I will probably do it whenever I have free time. But when I start making changes, I'm going to ref this issue, and you will know.

@tiagofmc What happened with this?

Hey just to resurface this we just got bit pretty badly with this. NEVER delete migration files in a project used by other people as it borks the way django works pretty hard.

Yes, that was a big mistake. Sorry guys.


Can't use one handed weapons while grappled

Version: 1.0
Error: When using a shield and a one handed weapon, using the weapon is not possible.
by rules on two-handed weapons can't be used while grappled

This will be partially fixed.
Currently, the system doesn't give us a legitimate way of knowing whether an item or a weapon is held by one or more hands. The held property only controls the ability multiplier which is a good indication but doesn't cover ranged weapons.
I will work on a more robust way of handling those in the future.


docs: update faq.md

Summary
Changes

framwork -> framework

Checklist
If your change doesn't seem to apply, please leave them unchecked.

[ ] I have performed a self-review of this change
[ ] Changes have been tested
[ ] Changes are documented

Is this a breaking change?
RFC issue number:
Checklist:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Thank you  @eltociear for the PR.


.disconnect() method and constructor structure

Thanks for the hook implementation.
A concern about disconnect method: MDN docs say that the disconnect method doesn't receive any parameters, it rather disconnects all the connected observers.
A question about the constructor: I think the code creates a new constructor every time a new ref is given. Please correct me if I'm wrong, but given the fact that we always use the same handleResize callback, shouldn't we use a single global ResizeObserver reference?

I think you mean a new instance of ResizeObserver, not a new constructor - this isn't calling disconnect() on a global ResizeObserver instance, but rather a local one. With that in mind I think the code is fine as is, because it's only disconnecting for that particular resize observer instance, not globally across all registered resize observers.
But I'm not expert in ResizeObserver so idk


HYPRE API Change with hypre_IntArray

HYPRE introduced hypre_IntArray which wraps HYPREInt and contains data about memory location and size.
Here is the commit.
This breaks the MFEM/HYPRE interface in several places.
HYPRE v 2.22.1 remains the newest, usable version.

Thanks for reporting this @wcdawn

@rfalgout, any recommendations what we should do to address this?

@rfalgout, any recommendations what we should do to address this?

@tzanio , I will create a hypre issue pointing to this and we'll help you get it resolved.  Unfortunately, you can't take advantage of the new variables in hypre PR #472 quite yet.  Related to this, I would like to discuss a bit more with you how we deal with compatibility issues and testing going forward.

Thank  you @rfalgout. Yes, let's discuss testing.

Discussion continued in #2553.


message card FormContainer

add CardAction.Action.FormValue for Form Container

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


the method of embedding table initialization for different CTR prediction models

How to choose the  method of embedding table Initialization? if I choose the xavier_uniform method, the AUC is always 0.5 when I run the code of SAM model.But when I run the code of other models (AutoInt, FiGNN, AFN)using the xavier_uniform method,  the results are good and normal.
I see that the method using in the project is normal initialization(embedding_initializer="partial(nn.init.normal_, std=1e-4)"). Is all model the mehod?

Yes, basically we did not tune the embedding_initializer. It is normal by default.


devfile/library CNCF Cleaner Tasks

Which area/kind this issue is related to?

/area library
Issue Description

As part of CNCF CLOMonitor report - https://clomonitor.io/projects/cncf/devfile, devfile/library repo has been tagged with the code-lite checkset https://github.com/cncf/clomonitor/blob/main/data/cncf.yaml#L521 but I think it is wrongly classified and it should a code checkset
The list of checksets and their requirement can be found at https://clomonitor.io/docs/topics/checks/

[x] Documentation / Changelog
[x] Documentation / Contributing
[x] Documentation / Maintainers
[x] Documentation / Readme
[x] License
[x] License / Approved
[x] License / Scanning
[x] Best practices / Artifact Hub badge
[x] Best practices / CLA
[x] Best practices / DCO
[x] Best practices / OpenSSF best practices badge
[ ] Best practices / OpenSSF Scorecard badge
[x] Best practices / Recent release

Pr opened. Last item for the OpenSSF Scorecard badge will be brought up in discussion once the team returns from recharge.

PR opened for scorecard badge, after this is merged and it runs properly I will be adding the badge to the rest of the repositories.


[PE-D][Tester B] export command has some data in double quotes

Some dates and tags are in "double quotes", if I'm trying to export this data for use elsewhere this may be a hindrance.
Behavior differs from normal expectations

Labels: type.FunctionalityBug severity.Medium
original: blaukc/ped#6

Try fixing functional code?
Perhaps state in UG?


Provide a jsonschema for editors to consume .graphqlconfig

It would be nice to provide a jsonschema file for the format of .graphqlconfig. This could enable editors, i.e. vscode to provide autocomplete and hints for how to configure .graphqlconfig properly.

Great idea @stephen. This is a great opportunity for a PR contribution. Do you want to take a stab at this?

Is this closed as of #53 ?

FYI: I came here specifically looking for such a thing, or to ask that someone do it.  Should have known the request would already be registered here. LOL.
I am certainly not the best choice for doing it myself.  Someone intimately familiar with the graphqlconfig file's expected contents would be a better choice.
But I can echo the sentiment:  it sure would be nice for VSCode (et. al.)  to be able to automatically syntax-check and offer tooltip hints for what each element is supposed to be.  Lots of other JSON config files already have this, and you can find them at schemastore.org (and you just configure VSCode with a "json.schemas" item that is an array of objects that each have a "fileMatch" and a "url" pointing to that schema on schemastore.org, once it's there).

I've created a JSON schema as part of the 2.0 of js-graphql-intellij-plugin that you're welcome to use:
https://github.com/jimkyndemeyer/js-graphql-intellij-plugin/blob/master/resources/com/intellij/lang/jsgraphql/ide/project/graphqlconfig/javascript/graphql-config-schema.json

This is now available in the repo. Direct link


[Bug?] An unsuitable calling to initializing function(init) of class MadMinerParticle

Dear developer:
When using method LHEReader.analyse_samples(), exception raised like this:
Traceback (most recent call last):
  File "parton_lhe.py", line 102, in <module>
    lhe.analyse_samples()
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer/lhe/lhe_reader.py", line 600, in analyse_samples
    this_observations, this_weights, this_n_events = self._parse_sample(
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer/lhe/lhe_reader.py", line 713, in _parse_sample
    this_observations, this_weights = parse_lhe_file(
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer/utils/interfaces/lhe.py", line 145, in parse_lhe_file
    particles, weights, global_event_data = _parse_xml_event(event, sampling_benchmark)
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer/utils/interfaces/lhe.py", line 746, in _parse_xml_event
    particle = MadMinerParticle()
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer/utils/particle.py", line 11, in __init__
    super(MadMinerParticle, self).__init__(*args, **kwargs)
TypeError: __init__() missing 3 required positional arguments: 'azimuthal', 'longitudinal', and 'temporal'

It seems like something goes wrong with this statement in file 'lhe.py':
particle = MadMinerParticle()

The statement leads to a calling to function vector.VectorObject4D() with no argument, however at least 3 expected. I think it may be a little bug. Could you please help me solve this problem? Thanks!
Best wishes~

Hi @lyazj ,
Thank you for letting us know.
I created a PR to fix the initialization of MadMinerParticle objects, so they use the class-method helpers instead of the usual constructor. For details check PR https://github.com/diana-hep/madminer/pull/471

Hi @Sinclert ,
Thanks very much! It was an interesting bug. Now it works well in creating MadMinerParticle objects. However, maybe another bug needs fixing with class MadMinerParticle that it doesn't assign a field named 'm' to any of its objects, but the field is referenced by function _smear_particles at line 1034 and 1060, in file 'lhe.py'.
Exception raised as below:
Traceback (most recent call last):
  File "parton_lhe.py", line 102, in <module>
    lhe.analyse_samples()
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/lhe/lhe_reader.py", line 593, in analyse_samples
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/lhe/lhe_reader.py", line 706, in _parse_sample
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/utils/interfaces/lhe.py", line 146, in parse_lhe_file
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/utils/interfaces/lhe.py", line 346, in _parse_event
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/utils/interfaces/lhe.py", line 1034, in _smear_particles
AttributeError: 'MadMinerParticle' object has no attribute 'm'

We came very close to success. Let's try again!
Best wishes~

Yes, that is a different bug, related with the missing properties m (mass) and e (energy).
I believe the the problem relies in the inherited class, which does not provide those properties. I will change the ObjectVector4D by the inmediately descendant class (MomentumObject4D), which does in fact provides those properties.

@lyazj is it solved now?

Hello, @Sinclert !
Thanks for your effort! The last problem was perfectly solved. However, I noticed a pair of redundant parenthesis, which caused the exception below:
Traceback (most recent call last):
  File "parton_lhe.py", line 102, in <module>
    lhe.analyse_samples()
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/lhe/lhe_reader.py", line 593, in analyse_samples
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/lhe/lhe_reader.py", line 706, in _parse_sample
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/utils/interfaces/lhe.py", line 146, in parse_lhe_file
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/utils/interfaces/lhe.py", line 346, in _parse_event
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/utils/interfaces/lhe.py", line 1052, in _smear_particles
TypeError: 'numpy.float64' object is not callable

It comes from the code below(at line 1052, in file '_smear_particles'):
phi = _smear_variable(particle.phi(), phi_resolutions, pdgid)

I tried removing the redundant parenthesis, but new problem emerged:
Traceback (most recent call last):
  File "parton_lhe.py", line 102, in <module>
    lhe.analyse_samples()
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/lhe/lhe_reader.py", line 593, in analyse_samples
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/lhe/lhe_reader.py", line 706, in _parse_sample
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/utils/interfaces/lhe.py", line 146, in parse_lhe_file
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/utils/interfaces/lhe.py", line 352, in _parse_event
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/utils/interfaces/lhe.py", line 950, in _get_objects
  File "/home/lyazj/.local/lib/python3.8/site-packages/madminer-0.8.1-py3.8.egg/madminer/utils/particle.py", line 54, in __iadd__
  File "/home/lyazj/.local/lib/python3.8/site-packages/vector/_backends/object_.py", line 197, in __iadd__
    return _replace_data(self, numpy.add(self, other))  # type: ignore
  File "/home/lyazj/.local/lib/python3.8/site-packages/vector/_backends/object_.py", line 245, in __array_ufunc__
    if not isinstance(_handler_of(*inputs), VectorObject):
  File "/home/lyazj/.local/lib/python3.8/site-packages/vector/_methods.py", line 2550, in _handler_of
    elif _handler_priority.index(
ValueError: 'madminer.utils.particle' is not in list

All this comes from following the tutorial, but without Docker. I think I should upload my code(almost as same as that in the tutorial) tomorrow, making debugging more conveniently.

Hello, @Sinclert ! Check  for details about my run if needed. All exceptions were raised when invoking 'work(.tar.gz)/parton_lhe.py'.
Best wishes~

Hi @lyazj ,
Thanks for the detailed explanation 😃
As you said, the parenthesis around particle.phi are just deprecated, as the vector package offer phi as a property.
Regarding the += (__iadd__) operation exception, I am afraid it will be more complicated. Turns out vector has different computing backends (awkward, numba, numpy and pure Python), in hierarchical order. They created a dispatch function so that, when two vectors belong to the same type, the proper backend operation is called, using the vector's __module__ to differentiate themselves.
With the MadMinerParticle class we built on top of MomentumVector4D, __module__ points to madminer.utils.particle.py, which is not recognizes by vector as a valid Python module.

Unless I am mistaken, the definition of derived classes is something that should be allowed in the vector package itself. I will open an issue there for us.

Hi @Sinclert , thanks a lot! It seems that we have some trouble in solving the latter problem and I guess you will be right. Then let's wait for vector's responding!
Best wishes~

I just merged PR https://github.com/diana-hep/madminer/pull/474, bumping vector to its new version (0.8.4). Hopefully it works now🤞🏻
What this whole thread show me is that we need to include Jupyter notebooks tests into the CI. Otherwise, the set of examples will continue to fall behind and we will not realise it. I will give it a try after I return from holidays. It seems that Papermill is a good package to do so.

Yes, it works well after upgrading vector to 0.8.4, with the latest revision of MadMiner. Thanks very much for your effective support and hope the additional tests will be of help to us!
I'll close the issue for its successful completion. Enjoy your holiday!
See you~


Add grantReferenceService.getOrCreate

https://github.com/interledger/rafiki/pull/672#discussion_r1000773412
replace
https://github.com/interledger/rafiki/blob/603df09615a2f458227baf3e23f99b3a0b103921/packages/backend/src/open_payments/auth/middleware.ts#L48-L66
with a method: grantReferenceService.getOrCreate

@raducristianpopa we'd need to add you to the org to be able to assign you to the issue I believe

Sent @raducristianpopa an invite.

Closed since grantReferences are no longer a thing: https://github.com/interledger/rafiki/pull/800


Update import statement in README or refactor code.

When using pip to install the package, it is installed as sdparsers and not sd_parsers. Importing the library now requires sdparsers instead of sd_parsers. Please either refactor code or fix the documentation in README.md.

Installing a 0.3 release candidate (using pip install --upgrade --pre sd-parsers) will fix that for you for the time being.
See the release notes for further changes.


Can't ask Gotenberg to fetch url from docker with multi-domain app

Hello folks!
I've just discovered Gotenberg and I configured it in my docker-compose.yaml file, the exposed port is okay, and I can generate PDFs from remote URLs.
However, it only works with remote urls.
Let me explain.
I have a PHP application which must be multidomain.
Let's consider such Compose config:
services
    app:
        # It exposes port 8000, and requests on "wrong" domains such as <IP_ADDRESS> return HTTP 400 error

    gotenberg:
        image: thecodingmachine/gotenberg:5

I'll need to generate PDFs from the app container, therefore I will execute something like this from inside this container:
$ curl --request POST \
    --url http://gotenberg:3000/convert/url \
    --header "Content-Type: multipart/form-data" \
    --form remoteURL=http://mydomain.docker:8000/something.html \
    -o result.pdf

However, this will not work: gotenberg's container doesn't know anything about the mydomain.docker host, so I end up having a blank page in result.pdf.
By the way, any curl call to the same address will result in a curl: (7) Failed to connect to mydomain.docker port 8000: Connection refused error.
I even tried echo "mydomain.docker  app" >> /etc/hosts, without success (doesn't seem to be taken in account at all).
I could find a hack that would have worked with Curl, by "mocking" the host:
$ curl http://app:8000/ -H"Host: mydomain.docker"

Using this trick, curl will effectively call the app host (the same as the app's container name, valid inside a Docker network), but the resolved host will be mydomain.docker. It just works with curl.
However, it does not go beyond as this trick does not seem to be possible with Gotenberg.
If it was possible to use Gotenberg without a separate Docker container, it would probably be easier, as I could directly install it in the app container and make all queries "from inside" (it would make the image heavier but would be worth it IMO). But I'm not sure copy/pasting config and setup from your repository would be worth it nor maintainable.
I also tried using the /html endpoint, but there are so many CSS, JS and images in the web page that I don't even know how I can achieve that without hundreds of lines of code full of hacks or overengineered stuff.
What I'm almost sure about is that it would probably work in production. I don't use any "complex" setup (just have one dedicated server) so running the docker image alongside all other apps seems pretty okay, and as it would call totally remote addresses (with proper DNS-based hosts), it would work without harm. But for dev, it's not possible.
I'm starting to think that I won't be able to use Gotenberg at all with the setup I have...
Do you have any idea of how I could solve this?
As a side-note, I have chromium installed on the main Docker image (necessary to use Panther for testing).
Should I look further there?

I manage to do it like this, using the container name,
(i use php , but this is the same stuff for CURL )
$client = new Client('http://got_pdf:4000', new \Http\Adapter\Guzzle6\Client());
DockerCompose  file

I hope it helps

Hello @Pierstoval
In a Docker Compose network, the hostname of a service is the service name directly.
In your case I think the value of remoteURL  should be something like http://app:8000/something.html.

@LoicHa The problem I have is not related to how I connect to Gotenberg from my PHP client or with Curl, because I already use the Gotenberg container's name as host and I can call it. The problem is that Gotenberg can't connect to my PHP app because of how domain names are handled.
@gulien as said, when I do this, Gotenberg will effectively call http://app:8000/something.html , but in this call, the host will be app, therefore my PHP app returns 404 because the host name must be mydomain.docker.
This could be solved if we could customize how Gotenberg itself makes the call to the container. As said, if it used curl for example, I could add options to curl to make sure the called hostname is app and the Host HTTP header could be mydomain.docker. But Gotenberg doesn't seem to provide any entrypoint to how it makes HTTP calls when using the /convert/url converter.
Maybe Gotenberg could propose a new form option that would contain a JSON string with an http field in order to customize how HTTP calls are made, such as allowing to add HTTP headers for example.

Indeed, being able to set custom headers for remoteURL (and webhookURL) form fields seems like a useful feature 😄
Related with #81.
A workaround solution would be to use some kind of "proxy":
Gotenberg => proxy (send request with correct headers) => app


Question: How is NQS Query Scores Calculated

I've been playing with the NQS nodes (and your cover-taking example where the enemies run from the player and hunker down behind cover) and I have a few questions:

Just to check my understanding, Use for Filtering means that if the value falls outside of the paremters, it won't even be included in the Query Results. For example, if the value falls outside of the Min/Max of a UtilityAIDistanceToVector2SearchCriterion, it will be filtered out.
What about Use for Scoring = True, but Use for Filtering = false, and it falls outside of the Min/Max? If a Activation Curve is being used, does it assume x value is 1, and picks a score accordingly?
Use for Filtering vs Is_Filtered --- what does Is_filtered indicate?
If you have multiple search criterion, how do the scores add up to the eventual Query Result Scores (see screenshot)? - I've set up 3 criteron similar to your example: DotProduct filter to eliminate cover where the player is behind it; Distance from Player to Cover; and Distance from AI to Cover
When I run things, the Query Results are all the same and suspiciously close to the Distance from AI to Cover max score result

I'm not sure how to tweak these values as I don't really understand how the scoring works, and can't really find information about it in the documentation.

Thanks a lot!

Hi,
This is a very good set of questions and helps me plug a hole in the docs!

Yes, that is correct, "Use for Filtering" uses the criterion's results to remove nodes from processing and what you described is the idea.
If the  Use for Scoring = true, the score is calculated and clamped to 0..1 range. If you set Use for Scoring = false, the score will always be 0. If you've set the curve and the value is less than 0, the value at x=0 should be returned. And similarly if x > 1, it should just get the value from the curve at x=1.
is_filtered is the result of the latest node that was processed. I will create a subgroup "Debugging" in the inspector and move is_filtered and score properties there. Basically you can test out the search with a single node, for example, and see what the results become for the different criteria.
The scores are multiplied between the criteria. Or, that is the intention, I will double-check code that I don't have any logical error there.

The logic for a criterion goes as follows:

Set is_filtered to false and score to 0.0.
Check if "Use for Filtering" is true. If it is, check the filtering condition and assign the result to the is_filtered property.
Check if "Use for Scoring" is true. If it is, do the scoring calculation.
If scoring was used and if the activation curve has been assigned, use the score as the input-value (x-axis) and get what ever is the y-value at that point on the curve.

For the custom criterion the values are what ever the custom code assigns them to, so in that criterion there are no checks in place.

I checked through the code and I did find a bug. I've attached the fixed versions of the dll-files. Could you check if with these you get the results you are expecting?
libutilityai.windows.template_release.x86_64.zip

Oh and for this build I set the score to be 1 if ”Use for Scoring” is false. It should work better like that to disable scoring for in-between criteria.

I just wrote up a whole paragraph with photos about how I thought it still wasn't working, but then I realized I had one of the criterion deactivated from previous testing. Oops.
But in conclusion, the fix seems to work as expected! and thanks for the thorough explanation.
If you want some more feedback on documentation, there are a few other areas where some clarification could be useful (I am merely mentioning this because I was a bit confused and did my own testing to verify):
Explaining the graph a bit better, perhaps with a picture. Definitively indicate that the value that you apply to the range value will convert to a sensor value of 0-1, which is on the X part of the graph, which is used to calculate the Y value, which is the resultant score. I was 90% sure this is how it worked, but when I wasn't seeing expected results I began to doubt, so some specificity here would have been helpful.
Thanks again!


feature/Automatic game recording via config line in game.json

Additional:
2. Should we use rendering (WB_SUPERVISOR_SIMULATION_MODE_FAST etc)
3. Should we close webots after game ending?
4. Write final game score at the end of the game in log.txt


502 bad gateway?

After following instructions, going to localhost:8080 i get this error
builtins.Exception
Exception: Request Error!: 502 : Bad Gateway

Traceback (most recent call last)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/Users/jonchui/code/GitHub/robinhood-portfolio/app.py", line 90, in portfolio
bc = BackendClass(DATAFILE, USERFILE)
File "/Users/jonchui/code/GitHub/robinhood-portfolio/backend/backend.py", line 35, in __init__
self._validate_user_dict()
File "/Users/jonchui/code/GitHub/robinhood-portfolio/backend/backend.py", line 78, in _validate_user_dict
self.update_market_data(fresh_start=True)
File "/Users/jonchui/code/GitHub/robinhood-portfolio/backend/backend.py", line 104, in update_market_data
self._df_ord.symbol.unique(), min_date, max_date)
File "/Users/jonchui/code/GitHub/robinhood-portfolio/backend/market_data.py", line 72, in download_save_market_data
end_date.date())
File "/Users/jonchui/code/GitHub/robinhood-portfolio/backend/market_data.py", line 42, in _get_historical_prices
pf = web.DataReader(tickers, 'morningstar', start_date, end_date)
File "/usr/local/lib/python3.6/site-packages/pandas_datareader/data.py", line 391, in DataReader
session=session, interval="d").read()
File "/usr/local/lib/python3.6/site-packages/pandas_datareader/mstar/daily.py", line 219, in read
df = self._dl_mult_symbols(symbols=symbols)
File "/usr/local/lib/python3.6/site-packages/pandas_datareader/mstar/daily.py", line 130, in _dl_mult_symbols
resp.status_code, resp.reason))
Exception: Request Error!: 502 : Bad Gateway

any ideas?

is it related to morningstar being down? https://github.com/pydata/pandas-datareader/issues/557

I am most positive that it is related. Unfortunately a lot of services are discontinuing their live quote APIs. And I stopped being RH client, so really have no incentive to try to find a solution. Unfortunately this repo is likely obsolete now. If I'd have to find a solution, I'd probably explore the Tiingo

Changed to TIINGO, see updated readme.
https://github.com/omdv/robinhood-portfolio/commit/1711cf204271e1838e0cac85b0e13de02281dc7c


Converting object to an encodable object failed: Instance of 'UploadFileInfo'

Dio version 2.1.3
When upload a file with UploadFileInfo class, got the error"Converting object to an encodable object failed: Instance of 'UploadFileInfo'", how to reslove it?

me too


Code is incomplete?

Thanks for the inspiring idea！I want to ask if the experimental code is incomplete，because I only see "svhn2mnist.py", not Office-31,etc.
Looking forward to the answer...

Thanks for the inspiring idea！I want to ask if the experimental code is incomplete，because I only see "svhn2mnist.py", not Office-31,etc. Looking forward to the answer...

Thanks for your interest in this repo. The uploaded svhn2mnist.py is excerpted from a complex experimental code but covers the complete experimental procedures. For other protocols, you could easily implement experimental code using the provided codes in module.

Thanks for the inspiring idea！I want to ask if the experimental code is incomplete，because I only see "svhn2mnist.py", not Office-31,etc. Looking forward to the answer...

Thanks for your interest in this repo. The uploaded svhn2mnist.py is excerpted from a complex experimental code but covers the complete experimental procedures. For other protocols, you could easily implement experimental code using the provided codes in module.


Genes section only returns proteins with abundances object

At the moment, Genes section on the intermediary page only returns proteins with abundances object. I think we should include entries without abundances because we have expanded the scope of the section from Proteins to Genes

The call is using the protein_ranked_by_ko (e.g. ras) call on the backend. This call was initially designed to only return proteins with abundance information.
You are right that we should now include everything. I think the best approach is to change protein_ranked_by_ko to return all genes (not just genes with abundance data).

The call is using the protein_ranked_by_ko (e.g. ras) call on the backend. This call was initially designed to only return proteins with abundance information.
You are right that we should now include everything. I think the best approach is to change protein_ranked_by_ko to return all genes (not just genes with abundance data).

Agreed

ras now returns entries without abundances too. It might cause some KeyError related errors.

It sounds like @lzy7071 has addressed this by changing the REST API. Can this be closed?

It sounds like @lzy7071 has addressed this by changing the REST API. Can this be closed?

My only concern is that there might be some KeyError related issues because currently frontend probably assumes abundances field always exists.

I assume @lzy7071 is referring to L38 of ProteinAbundanceDataTable.js. I think this line was file. In any case, I changed the line to more explicitly check for the existence of the abundances key.


Filter "Show only affected indices" not working

The filter "Show only affected indices" is not working.

Cerebro: 0.6.7
ES: 5.5.0
Running in a Amazon EC2 Linux

Disabled:

Enabled:

Just found that was solved on the 0.7.0 version 😅 closing this :)


Using template_name_base with InlineAjaxCRUD view gives a 500 error

Try changing template_name_base for an InlineAjaxCRUD and it will give an error.
How does one go about overriding the templates in cruds/ajax folder individually for every InlineAjaxCRUD view?
I can copy ajax folder to my templates/cruds/ajax and work that way, but that will be for every inline view. I'd like to target a specific view with custom template.
Using:
Python 2.7
Django 1.11
django-cruds-adminlte 0.13

Using template_father in InlinAjaxCRUD shows the whole page base template again within the page, that messed up everything.
Basically, as per docs, if I use template overrides like templates/<app_label>/<model_name>/cruds/ajax/delete.html
Then it wont work.
But using CRUDView I can easily override the templates as above structure. The issue is with InlineAjaxCRUD only, where the overrides dont work.
If I add template_name_base = "cruds/ajax" .. it wont look for my overrides, it will only for template files within site-packages/cruds_adminlte/templates/..
So the issue is with basically the template overrides.
In settings, I use this:
TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [
            os.path.join(BASE_DIR, 'templates')
        ],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                ...
                ...
                ...

Ok nevermind, looks like it was to do with the order in INSTALLED_APPS
Thanks


Proper permissions calculations for all actions

As of f17278f, permission calculation has been implemented and (afaik, I may have missed some) all methods on entities do the needed checks.


Get simulated events

Hello,
The compilation worked fine and the simulation is running.
I can visualize the simulation results properly but is there a way to get the simulated events created (x, y, timestamp, polarity) ?

Same question. How to simulate event using RGB input.

Hello,
I am not sure I understand the question. Do you want to simulate events from a sequence of RGB images that you already have? (e.g., a video).
In that case, please read my answer here: https://github.com/uzh-rpg/rpg_esim/issues/11#issuecomment-457142736


Does anybody know how to support nginx's  "event loop " for async request ?

Hey, guys.
I want to use this in nginx for redis cluster support.  But right now,  nginx's event is not supported in the adpater list.

You are right. Currently there is no out-of-the-box support by this project, but the adapter can be provided by a user.
First there is a need to create an adapter for hiredis and by a quick google I believe something like this link might work.
This adapter needs to register functions for the different events.
Second step is to create an adapter for hiredis-cluster which registers the attach function, and this function just calls attach on the hiredis adapter like its done in existing adapters. The hiredis-cluster adapters simply forwards the attach to the hiredis adapter where the eventsystem logic is handled.

You are right. Currently there is no out-of-the-box support by this project, but the adapter can be provided by a user.
First there is a need to create an adapter for hiredis and by a quick google I believe something like this link might work. This adapter needs to register functions for the different events.
Second step is to create an adapter for hiredis-cluster which registers the attach function, and this function just calls attach on the hiredis adapter like its done in existing adapters. The hiredis-cluster adapters simply forwards the attach to the hiredis adapter where the eventsystem logic is handled.

I had seen this "nchan" too,  right now i don't have extra time to research for this， sync first maybe my choice.

So a PR for hiredis would be the first step. @youguys do you want to work on that?

I was quite interested in this,  once  I get free time, i will work on it.

Closing this question.
I'll happily review a hiredis PR and  then a hiredis-cluster PR when there is nginx event system support in place in hiredis. Just CC me in the PR.


What does is take to have IFTTT in Dutch too?

Hello!
I just came across this project. Pretty awesome work!
I also noticed that there isn't a Dutch version of IFTTT yet. Other than the translation, are there any technical reasons for IFTTT not being available in Dutch?
If we only need to take care of the translation, what work are we looking at?
Looking forward to your reply!

There is nothing we can do to add languages to IFTTT. You would need either IFTTT or Google to update the service to support more languages.

Ok got you!
On Fri, Feb 26, 2021 at 2:24 AM Ryan Meek<EMAIL_ADDRESS>wrote:

There is nothing we can do to add languages to IFTTT. You would need
either IFTTT or Google to update the service to support more languages.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/maykar/plex_assistant/issues/104#issuecomment-786344157,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGPI7RT47GGC6F6BMAKGVLTA3Z4DANCNFSM4YHQNJ6A
.


Poor image quality while saving circuit image using qc.draw(output = 'latex').

Environment

Qiskit version: 1.1.1
Python version: 3.12.3
Operating system: Linux fedora 6.9.6-200.fc40.x86_64

What is happening?
I want to save a good quality image of circuit using output = 'latex' in QuantumCircuit.draw().  It provides with a good quality circuit image for pdf format but very poor quality image for format like png, jpeg, tiff, bmp or any other. The return type in this case is PIL.Image. So, it does not support svg.  It already support 'svg' for output = 'mpl'; if possible, please add the feature for saving image with svg format while using output = 'latex' too.
How can we reproduce the issue?
The code given below will generate an png file with poor quality image. The file extension in filename  can be changed to pdf and  image quality can be compared.
from qiskit import QuantumCircuit
qc = QuantumCircuit(4)
qc.h(0)
qc.measure_all()
qc.draw(output = 'latex', filename = 'circuit.png')

What should happen?
The above code should generate good quality circuit image irrespective of the filename extension. It may generate lossy image for preview purpose but it should not generate the same while saving as an external file.
Any suggestions?
No response

The LaTeX drawer produces vectorised PDF output.  PNG is a taster format. If you want to more precisely control how the rasterisation of the PDF is done, I would suggest you save the PDF and then rasterise it yourself, where you can fully control the tool. You might want to use a specialised tool like Inkscape for that.

I missed the SVG comment earlier.  That conversion is another thing you will likely want a specialised vector tool for. Qiskit isn't really an image-manipulation library - it's best for us to leave that to users to use proper tools, where you'll have more control over it.

I have been using Inkscape to convert a PDF to SVG for my work. I know qc.draw(output = 'mpl', filename = 'image.svg') can generate a SVG file with high quality as Matplotlib has a native output. If the support for same can be added for qc.draw(output = 'latex', filename = 'image.svg') it would be highly useful in certain cases. I understand that process is not straightforward. I was hoping if it can be added in future releases; making it easier for users not to worry about post processing. :)

I'm not aware of any simple method that can convert a PDF to SVG without highly specialised tools, and given we do have a path to SVG support (using the Matplotlib backend) in the visualisers, I'm not sure attempting to hack in support for arbitrary backends to produce arbitrary file-format output.  Put another way: we similarly wouldn't expect draw("text", filename="file.svg") to produce any sensible SVG.
The correct solution if an advanced user really wants to use the LaTeX-produced output and convert it to an SVG is to use Inkscape, or some other vector-graphics package.


new tags for alpine 3.18.3 release on dockerhub?

There won't be any new tags, but we automatically rebuild all dependent images when a parent image is updated. Since the Alpine update was merged (https://github.com/docker-library/official-images/pull/15156), so now all the Official Images FROM them will also be rebuilt.

@yosifkit how long does it take to rebuild?


AZ-204_lab_00.md

English:
This lab gives students a space to complete the exercises that are presented in the course.
Current Translation:
Ce laboratoire offre aux étudiants un espace pour effectuer les exercices présentés dans le cours.
Suggested Translation:
Ce labo offre aux étudiants un espace pour effectuer les exercices présentés dans le cours.
Description:
As a general rule, please translate "laboratory" as 'laboratoire" and "lab' as "labo" (and never use "lab" in French. Please make a global search and fix all the occurrences in this batch

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team


[feat]: display CA cert fingerprint in the ui

this is useful in determining which cert is which when you have multiple embassy cas installed

Example of this using openssl https://github.com/Start9Labs/synapse-wrapper/blob/e3067f821379a29ca6fba8e44cb8422cb2231524/configurator.py#L55

Add to about section


Add  prop

This is a follow-up from #38. I removed the commits from #39 in order to ship a 1.x without deprecation warnings, and I'd like to release a 2.x that removes the <Media query> prop and uses <Media queries> instead. This is a breaking change.
The API should be:
<Media queries={{ sm: query, lg: query }} children={({ sm, lg }) => (
  sm ? (
    // The "sm" query matched
  ) : lg ? (
    // The "lg" query matched
  ) : (
    // Neither query matched
  )
)}/>

Note that the value of the queries prop is not itself a media query, but its values are. The children callback receives an object of the same shape (i.e. has the same keys) whose values are boolean, indicating if that query matches or not. A query object may be any of the following:

A string, e.g. (min-width: 100px) and (max-width: 200px)
An object, e.g. { minWidth: 100, maxWidth: 200 } => (min-width: 100px) and (max-width: 200px)
An array (for multiple queries), e.g. [ { screen: true, minWidth: 100 }, { handheld: true, orientation: 'landscape' } ] => screen and (min-width: 100px), handheld and (orientation: landscape)

At this point I'm thinking the render prop should probably just be removed. We can always add it back later if people find they need it.

This looks great! Following the pattern of react-router and other libraries, do you think there should just be a render prop and no access to children?

I definitely like the name render more than I like children, but I hesitate to disable the children prop entirely just because it's the only one built in to JSX. Maybe we support them both and they do the same thing? Like, render is just an alias for children?

Hi @mjackson!
If yoy are still interested in going with this approach for next major release, I created a PR with a solution as described in this issue

Any news about this ?
I think this feature is still needed, although https://github.com/ReactTraining/react-media/pull/72 has been closed without any explanation.

Any update on this? Would like to use this feature.

@prateekgoel We've merged #72 into the next branch, and are probably releasing it as a major version bump (v2).

This should already be available in the prerelease of 2.0.0-alpha.1. Please beware that the versioning is still up for debate; there is a good chance that this fix for this issue will actually land in a minor (v1) update.
You can expect the release soon (see #123 for details)!


ImportError: No module named wsgidav.server.server_cli

Hello
I'm using, or trying to, wsgidav with seafile. The webdav part of seafile fails to start (there's an entire thread about it here but it seems like no one could find a solution), so I'm hoping I could find something here.
I've tried to make a service like another user did to solve his issue which is where I saw that it apparently fails at starting wsgidav.
I run command: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/apps/drive/logs/seafdav.log --pid /opt/apps/drive/pids/seafdav.pid --port 8282 --host localhost
which then fails with /usr/bin/python2.7: No module named wsgidav.server
I've tried pip install wsgidav, reinstalling, uninstalling and installing along with pip install git+https://github.com/mar10/wsgidav.git seemingly to no avail and when running wsgidav it just complained the command couldn't be found. I then ran easy_install wsgidav and it allowed me to use the command wsgidav but when, for example, running wsgidav -v it fails with ImportError: No module named wsgidav.server.server_cli

In a fresh Python 2 virtual environment, this works for me:
(issue119-eQB7iZw3) bash-3.2$ pip install wsgidav
Collecting wsgidav
  Using cached https://files.pythonhosted.org/packages/95/e8/88e25c17ff671f7fad21fe16cdc435c33c4befe35203bd47c05366af362a/WsgiDAV-2.4.1-py2.py3-none-any.whl
Collecting jsmin (from wsgidav)
Collecting defusedxml (from wsgidav)
  Using cached https://files.pythonhosted.org/packages/87/1c/17f3e3935a913dfe2a5ca85fa5ccbef366bfd82eb318b1f75dadbf0affca/defusedxml-0.5.0-py2.py3-none-any.whl
Collecting PyYAML (from wsgidav)
Installing collected packages: jsmin, defusedxml, PyYAML, wsgidav
Successfully installed PyYAML-3.13 defusedxml-0.5.0 jsmin-2.2.2 wsgidav-2.4.1

(issue119-eQB7iZw3) bash-3.2$ wsgidav -Vv
WsgiDAV/2.4.1 Python/2.7.10 Darwin-17.6.0-x86_64-i386-64bit

or
(issue119-eQB7iZw3) bash-3.2$ python -m wsgidav.server.server_cli -vV
WsgiDAV/2.4.1 Python/2.7.10 Darwin-17.6.0-x86_64-i386-64bit

wsgidav comes with a CLI that supports running WsgiDAV behind some WSGI compliant servers (cheroot is recommended), but you have to install them separately:
(issue119-eQB7iZw3) bash-3.2$ pip install cheroot
Collecting cheroot
  Using cached https://files.pythonhosted.org/packages/b4/eb/ca1311e138149c50a031accdb727e6849f201706481f63ce3ffc56be9e41/cheroot-6.3.3-py2.py3-none-any.whl
...
Installing collected packages: six, more-itertools, backports.functools-lru-cache, cheroot
Successfully installed backports.functools-lru-cache-1.5 cheroot-6.3.3 more-itertools-4.2.0 six-1.11.0

After that you can run the server:
(issue119-eQB7iZw3) bash-3.2$ wsgidav --server cheroot --root . --port 8080
Running without configuration file.
21:17:20.471 - <140735988159360> wsgidav.wsgidav_app  INFO   :  Default encoding: ascii (file system: utf-8)
...
21:17:20.472 - <140735988159360> wsgidav.wsgidav_app  INFO   :  Registered DAV providers:
21:17:20.473 - <140735988159360> wsgidav.wsgidav_app  INFO   :    Share '/': FilesystemProvider for path '/Users/martin/prj/issue119' (Read-Write) (anonymous)
21:17:20.473 - <140735988159360> wsgidav.wsgidav_app  WARNING:  WARNING: share '/' will allow anonymous access.
21:17:20.473 - <140735988159360> wsgidav              WARNING:  WARNING: Could not import lxml: using xml instead (slower). Consider installing lxml https://pypi.python.org/pypi/lxml.
21:17:20.569 - <140735988159360> wsgidav              INFO   :  Running WsgiDAV/2.4.1 Cheroot/6.3.3 Python/2.7.10
21:17:20.569 - <140735988159360> wsgidav              INFO   :  Serving on http://localhost:8080 ...

I don't know seafile. Why do you need it to run the WebDAV server?

@mar10 thanks for the reply,
it's all running off the same server.
I've made sure cheroot is installed as well.. I'm not sure what I can try to get a more clean virtual environment but I tried reinstalling virtualenv and virtualenvwrapper but nothing helps (I don't know much about python and all this).
Any other suggestions? :-/
I like to have the ability to use webdav on my seafile together with various apps. For instance I depend a lot on FolderSync on my Android phone which uses WebDAV to communicate with my Seafile :-)
Thanks,

@mar10
appdirs (1.4.3)
apprise (0.0.9)
APScheduler (3.5.1)
attrs (16.3.0)
babelfish (0.5.5)
backports.functools-lru-cache (1.5)
backports.ssl-match-hostname (<IP_ADDRESS>)
beautifulsoup4 (4.6.0)
bottle (0.12.13)
bottle-fdsend (0.1.1)
cached-property (1.3.0)
certbot (0.26.0.dev0)
certbot-dns-digitalocean (0.26.0.dev0)
certifi (2018.4.16)
chardet (3.0.4)
Cheetah (2.4.4)
cheroot (6.3.3)
CherryPy (2.3.0)
cliapp (1.20160724)
click (6.7)
cmdtest (0.27)
colorama (0.3.7)
ConfigArgParse (0.13.0)
configobj (5.0.6)
constantly (15.1.0)
cryptography (1.7.1)
decorator (4.3.0)
defusedxml (0.5.0)
deluge (1.3.13)
dnspython (1.15.0)
docker-compose (1.8.0)
docker-py (1.9.0)
dockerpty (0.4.1)
docopt (0.6.2)
dogpile.cache (0.6.5)
enum34 (1.1.6)
funcsigs (1.0.2)
functools32 (3.2.3.post2)
future (0.16.0)
futures (3.2.0)
gitdb2 (2.0.3)
GitPython (2.1.10)
guessit (3.0.0)
idna (2.7)
imageio (2.3.0)
incremental (16.10.1)
ipaddr (2.2.0)
ipaddress (1.0.17)
Jinja2 (2.10)
josepy (1.1.0)
jsmin (2.2.2)
jsonpickle (0.9.6)
jsonschema (2.5.1)
keyring (10.1)
keyrings.alt (1.3)
langdetect (1.0.7)
libvirt-python (4.0.0)
Mako (1.0.6)
Markdown (2.6.8)
MarkupSafe (0.23)
mercurial (4.0)
mock (2.0.0)
more-itertools (4.2.0)
moviepy (<IP_ADDRESS>)
mysqlclient (1.3.7)
numpy (1.14.5)
oauthlib (2.1.0)
PAM (0.4.2)
parsedatetime (2.4)
pbr (4.0.4)
Pillow (5.1.0)
pip (9.0.1)
pipenv (2018.7.1)
py-pretty (1)
pyasn1 (0.1.9)
pyasn1-modules (0.0.7)
pycountry (18.5.26)
pycrypto (2.6.1)
Pygments (2.2.0)
pygobject (3.22.0)
PyICU (1.9.5)
pylibpcap (0.6.4)
pyOpenSSL (16.2.0)
pyRFC3339 (1.1)
pyserial (3.2.1)
pysqlite (1.0.1)
pysrt (1.1.1)
python-dateutil (2.7.3)
python-digitalocean (1.13.2)
python-ldap (2.4.28)
python-libtorrent (1.1.1)
python-memcached (1.53)
pytz (2018.4)
pyudev (0.21.0)
pyunifi (2.13)
pyxdg (0.25)
PyYAML (3.13)
rarfile (3.0)
rebulk (0.9.0)
requests (2.19.1)
requests-cache (0.4.13)
requests-oauthlib (1.0.0)
requests-toolbelt (0.8.0)
sabyenc (3.3.5)
SecretStorage (2.3.1)
series-renamer (1.1.2)
service-identity (16.0.0)
setuptools (40.0.0)
six (1.11.0)
smmap2 (2.0.3)
speedtest-cli (2.0.2)
stevedore (1.28.0)
texttable (0.8.4)
tqdm (4.23.4)
ttystatus (0.34)
tvdb-api (2.0)
Twisted (16.6.0)
tzlocal (1.5.1)
urllib3 (1.23)
virtualenv (16.0.0)
virtualenv-clone (0.3.0)
virtualenvwrapper (4.8.2)
waitress (1.1.0)
websocket-client (0.37.0)
wheel (0.29.0)
WsgiDAV (3.0.0a3)
WSGIserver (1.3)
yenc (0.4.0)
zope.component (4.4.1)
zope.event (4.3.0)
zope.interface (4.3.2)

@mar10 Hmm... when I run it in pipenv shell, it works fine... but how did another user make a service that worked with the command /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/apps/drive/logs/seafdav.log --pid /opt/apps/drive/pids/seafdav.pid --port 8081 --host localhost?
The "issue" might be closeable since it's likely myself doing something wrong but I'd still love getting webDAV in seafile to work :\

/usr/bin/python2.7 ... does not use a virtual env, but the system python installation, which is not recommended.
pipenv uses virtualenv internally AFAIK, so it should not make a difference.
I assume you did not activate the virtualenv before.
Anyways: The seafile guys vendored WsgiDAV and modified run_server in some way, so you should ask there.

Hey,
The reason why this is happening is because you have used sudo
Make sure you run all pip install commands in sudo

sudo pip3 install wsgidav
sudo pip3 install cheroot

Hopefully the problem should resolve!


Removed Web Dev course from free-courses-hi and updating with new dedicated course

Problem - In the javascript section of the free-courses-hi, a web dev courses link of Apna college is added in which HTML,CSS and other topics are also present which should be in different section.
Solution - Replacing with the new dedicated and latest javascript course made by Apna college on the youtube.
Review - This courses is best for beginners and it covers all the topics of javascript.
Pls accept the pull request for this issue

@eshellman pls check the pull request #11564 regarding this issue

reviewed

any updates? pls accept the pull request #11564 as everything seems okay.


Unable to create a new Hugo Project using Python

I created a Python virtual environment and installed the hugo static site generator using pip install hugo. However, when I try to use the hugo command in the terminal, I encounter an error and am unable to proceed. This prevents me from creating a Hugo project using Python.
Steps to Reproduce:

Create and activate a new Python virtual environment.
Install hugo using pip install hugo.
Run the command hugo version.

Error Message:
(.venv) PS P:\Project-Name> hugo version
Running Hugo 0.125.4 via hugo-python-distributions at P:\Project-Name\.venv\lib\site-packages\hugo\binaries\hugo-0.125.4-windows-amd64.exe
Traceback (most recent call last):
  File "D:\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "D:\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "P:\Project-Name\.venv\Scripts\hugo.exe\__main__.py", line 7, in <module>
  File "P:\Project-Name\.venv\lib\site-packages\hugo\cli.py", line 68, in __call
    check_call([hugo_executable(), *argv[1:]])
  File "D:\Python310\lib\subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['P:\\Project-Name\\.venv\\lib\\site-packages\\hugo\\binaries\\hugo-0.125.4-windows-amd64.exe', 'version']' returned non-zero exit status<PHONE_NUMBER>.

What I want to do: Just create a static hugo project using Python.

Hi, @MuhammadNYoussef! Thanks for filing this bug report – first one by an external user. :)
I'm unsure why this happens, because I have been testing the wheels after I have built them since I started the project altogether.
Do the below links help?
https://stackoverflow.com/questions/49413443/trouble-debugging-error-with-exit-code-3221225781-missing-libraries-in-windows
https://stackoverflow.com/questions/60348640/docker-returning-exit-code-3221225781-installing-vc-redist-x64-exe
I think what is happening is that running the executable requires some version of the Windows UCRT and other dependencies, which is available on GitHub Actions runners, but probably not on regular Windows systems... I'll look for more reasons where this comes from, but it looks like there are some missing DLLs that the program is linked to but I haven't copied them into the wheel.

Strange – no dependencies seem to be required:
$ pipx run delvewheel repair hugo-0.125.4-py3-none-win_amd64.whl

repairing hugo-0.125.4-py3-none-win_amd64.whl
finding DLL dependencies
no external dependencies are needed
wheel copied to /Users/agriyakhetarpal/wheelhouse/hugo-0.125.4-py3-none-win_amd64.whl

and so says repairwheel:
$ pipx run repairwheel -o . hugo-0.125.4-py3-none-win_amd64.whl

repairing /Users/agriyakhetarpal/hugo-0.125.4-py3-none-win_amd64.whl
finding DLL dependencies
no external dependencies are needed
wheel copied to /var/folders/b3/2bq1m1_50bs4c7305j8vxcqr0000gn/T/repairwheel5gi0wkbv/hugo-0.125.4-py3-none-win_amd64.whl
Wrote /Users/agriyakhetarpal/hugo-0.125.4-py3-none-win_amd64.whl

I will test on a Windows system as well, just to confirm nothing is being missed.

Found the bug – I had to compile a static binary with MinGW, of course. No one has ever reported this, and it wasn't caught before in CI. I'll be happy to fix that in the next release, or would you want me to issue a patch release? I don't think I'll be able to backport this to the several past releases, so, as a temporary workaround, you can install MinGW using the Chocolatey package manager (choco install mingw) after installing Chocolatey, and everything will then work.

@MuhammadNYoussef, would you be able to download and install wheels from https://github.com/agriyakhetarpal/hugo-python-distributions/actions/runs/8877331272/artifacts/1456296110 and confirm if they are working for you? You might need to uninstall MinGW that you installed to be able to test them properly. These builds are compiled as static binaries and therefore should resolve the issue – but since you opened the bug report, I think it's best to ask you too :) if they do, I'll mark #94 as closing the issue, which should go into the next release (hopefully soon). Again, many thanks for filing the bug report, truly a sign that things here need fixing, haha!

@agriyakhetarpal, I used the wheels you provided and the issue is resolved now. Thanks a bunch!

I just pushed v0.125.5 (release) which includes the fix. Thanks again for reporting it, and please don't hesitate to let me know if anything is still broken.


RDKit fails to parse SMILES if dot follows opening parenthesis

Description:

RDKit Version: 2019.03.1
Platform: Debian 9.9

OpenSMILES specifies that

the syntax allows a dot most places a regular bond could appear (the exception is that a dot can’t appear before a ring-closure digit).

and allows a dot immediately after an opening parenthesis, e.g. Oc1cc(.NCCO)ccc1.
However, RDKit fails to parse it:

from rdkit.Chem import MolFromSmiles, MolToSmiles
## All of the following SMILES represent phenol and 2-amino ethanol
# print(MolToSmiles(MolFromSmiles("Oc1ccccc1.NCCO")))    # OK
# print(MolToSmiles(MolFromSmiles("c1cc(O.NCCO)ccc1")))  # OK
print(MolToSmiles(MolFromSmiles("Oc1cc(.NCCO)ccc1")))    # error

gives
[17:34:48] SMILES Parse Error: syntax error while parsing: Oc1cc(.NCCO)ccc1
[17:34:48] SMILES Parse Error: Failed parsing SMILES 'Oc1cc(.NCCO)ccc1' for input: 'Oc1cc(.NCCO)ccc1'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
Boost.Python.ArgumentError: Python argument types in
    rdkit.Chem.rdmolfiles.MolToSmiles(NoneType)
did not match C++ signature:
    MolToSmiles(RDKit::ROMol mol, bool isomericSmiles=True, bool kekuleSmiles=False, int rootedAtAtom=-1, bool canonical=True, bool allBondsExplicit=False, bool allHsExplicit=False, bool doRandom=False)

The RDKit does not currently claim to support OpenSMILES, so this isn't overly surprising.
Thanks for capturing it though.

There is an internal disagreement in the OpenSMILES spec. The grammar doesn't allow C(.C) even though it's present in the text.
This is because the person who wrote the text is different from the person who wrote the grammar.


Error: Unexpected 'StartArray' Node in JSON Reader During Service Provider Action

Describe the Bug with repro steps
I encountered an issue while performing a service provider action, resulting in an error with the following details:
Error Code: ServiceOperationFailed
Error Message: The request is invalid. Details: An unexpected 'StartArray' node was found when reading from the JSON reader. A 'PrimitiveValue' node was expected.
This error occurred with a status code of 400 (Bad Request). Upon investigation, it seems that the JSON payload being sent is valid. It has two collections elemets, one is storing the array of strings and other one is stroring the embedding array generated via Azure Open AI Embedding model.
I believe this issue may be related to how the JSON data is being processed or formatted before being sent to the service provider. Additional debugging and validation of the JSON structure may be necessary to resolve this issue.
Any insights or suggestions on how to address this problem would be greatly appreciated.
What type of Logic App Is this happening in?
Consumption (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
workflow.json
Screenshots or Videos

Browser
Chrome
Additional context
No response

passing this over to the backend repo to triage.


Request help for a study related problem

The one who helps you can get score for it. Like bountys

Maybe this should be a separat system which only utilities the hubbIT API.

hubbIT? How is this hubbit-related?
On Mon, Nov 14, 2016 at 2:36 PM André Samuelsson<EMAIL_ADDRESS>wrote:

Maybe this should be a separat system which only utilities the hubbIT API.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cthit/hubbIT/issues/146#issuecomment-260335839, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABdbHhH6QZMjYMdVRf6rymQFt-jsfq5_ks5q-GPMgaJpZM4KvxJi
.

Would be cool if, for example, to the left of the list in "SMURFS IN THE HUBB" tab, there would be people requesting help. I agree that it doesn't have much to do with hubbIT as it stands, except for the fact that it would only be for people in the Hub, but it would be a cool extension of the hubbIT API without creating another domain for people to keep track of. That or integrate it with chalmers-it-rails?

Do we reall need to code for this? Can't people simply ask eachother in the hubb? I feel there's better things to focus our coding time on


chore: migrate existing geth + dek accounts to the Keychain based wallet

Description
Builds on top of #2519 to add backward compatibility for existing user accounts.
This transparently migrates the existing geth + dek accounts into the Keychain based wallet.
The geth account is re-imported from the mnemonic the next time the user enters their PIN to perform an action that requires it (signing, updating their PIN, etc).
The dek is re-imported on the first launch if a user account is already set. It doesn't require the PIN (by design).
Tested

Updated unit tests for the KeychainWallet
Manually upgrading the app from the the geth based wallet to the new Keychain based wallet on both iOS and Android.

How others should test

Have an existing app <= v1.33 with a user account set
Ensure TXs can be sent and and the seed phrase can be seen.
Update the app with version >= 1.34 (containing this commit)
Make sure all things related to signing work as expected

sending transaction
swaping
signing with dapps
phone number verification
updating the PIN

Related issues

Part of #2392

Backwards compatibility
Yes

Hey @MuckT, We have verified above task on iOS TestFlight Release build V1.34.0 & updated status in test rails.
Observation :

User is able to perform transaction from previous builds and also able to upgrade to latest build
Note : For Android we are blocking the upgrade test case as we are not able to update it due to work profile issue
User is able to send request and complete the transaction by sending the money
User is able to connect to Dapps and swap the funds
User is able to confirm Phone number via create and restore account flow
User is able to update the PIN to latest PIN

Test rail links:
iOS 14: https://valoraapp.testrail.io/index.php?/tests/view/41889
Devices: iPhone 12(14.7.1)
CC: @jeanregisser
Thanks..!!

Hey @MuckT, We have verified above task on iOS Test Flight Release build V1.34.0 & updated status in test rails.
Observation :

User is able to perform transaction from previous builds and also able to upgrade to latest build
Note : For Android we are blocking the upgrade test case as we are not able to update it due to work profile issue
User is able to send request and complete the transaction by sending the money
User is able to connect to Dapps and swap the funds
User is able to confirm Phone number via create and restore account flow
User is able to update the PIN to latest PIN

Test rail links:
iOS 15: https://valoraapp.testrail.io/index.php?/tests/view/41920
Devices: iPhone 13 mini(15.1.1)
CC: @jeanregisser
Thanks..!!


when import privatekey into a not defalut wallet， cleos create account failed.

1、
Private key: 5JgbL2ZnoEAhTudReWH1RnMuQS6DBeLZt4ucV6t8aymVEuYg7sr
Public key: EOS6hMjoWRF2L8x9YpeqtUEcsDKAyxSuM1APicxgRU1E3oyV5sDEg
2、when i creat an account ,it show:

3、but

4、In my block chain ,eosio is a initial   producer , where can i find  the eosio Key。Is it still necessary for me to import eosio's key into wallet2?

sec@ll-B85M-DS3H-A:~/rgh/eos_719$ cd eos
sec@ll-B85M-DS3H-A:~/rgh/eos_719/eos$ git rev-parse HEAD
75635168e743c3e65bb6345a1eaedd905581e6b0
sec@ll-B85M-DS3H-A:~/rgh/eos_719/eos$  git branch -a

master
remotes/origin/1771-QA

the error in 2 is because you cannot sign on behalf of eosio.  You will need to import that key into your wallet.
If you modified the genesis.json that you launched the chain with the the initial_key in that file is the public key for which you need to have the private key.
If you did not modify it or the build process then the default testing key is EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV and the corresponding private key is 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3


HBASE-28655 IllegalArgumentException: Illegal bufferSize thrown when hbase.io.compress.zstd.buffersize is not configured

HADOOP-18810 added io.compression.codec.zstd.buffersize in core-default.xml with default value as 0, so default value of hbase.io.compress.zstd.buffersize will become 0 instead of ZSTD_BUFFER_SIZE_DEFAULT (256 * 1024) when not configured in hbase-site.xml.
(cherry picked from commit 73f2710e47557218dcf92cc3e7b1788dfbb57fd2)

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 42s

Docker mode activated.

-0 :warning:
yetus
0m  6s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 10s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 34s

branch-2 passed

+1 :green_heart:
compile
0m 26s

branch-2 passed

+1 :green_heart:
javadoc
0m 22s

branch-2 passed

+1 :green_heart:
shadedjars
5m 21s

branch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 23s

the patch passed

+1 :green_heart:
compile
0m 26s

the patch passed

+1 :green_heart:
javac
0m 26s

the patch passed

+1 :green_heart:
javadoc
0m 21s

the patch passed

+1 :green_heart:
shadedjars
5m 18s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 57s

hbase-compression-aircompressor in the patch passed.

+1 :green_heart:
unit
2m 28s

hbase-compression-zstd in the patch passed.

23m  1s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6121/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6121

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux 7b7c77780406 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 2ed3a816fa1f4e035e85aa5a4dd9f74307b585e5

Default Java
Temurin-1.8.0_412-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6121/1/testReport/

Max. process+thread count
761 (vs. ulimit of 30000)

modules
C: hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-zstd U: hbase-compression

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6121/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 48s

Docker mode activated.

-0 :warning:
yetus
0m  5s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m  9s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m  3s

branch-2 passed

+1 :green_heart:
compile
0m 35s

branch-2 passed

+1 :green_heart:
javadoc
0m 29s

branch-2 passed

+1 :green_heart:
shadedjars
5m 37s

branch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 17s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m  4s

the patch passed

+1 :green_heart:
compile
0m 35s

the patch passed

+1 :green_heart:
javac
0m 35s

the patch passed

+1 :green_heart:
javadoc
0m 28s

the patch passed

+1 :green_heart:
shadedjars
5m 34s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
1m  0s

hbase-compression-aircompressor in the patch passed.

+1 :green_heart:
unit
2m 52s

hbase-compression-zstd in the patch passed.

25m 53s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6121/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6121

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux 19d2a8eaf5a4 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 2ed3a816fa1f4e035e85aa5a4dd9f74307b585e5

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6121/1/testReport/

Max. process+thread count
915 (vs. ulimit of 30000)

modules
C: hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-zstd U: hbase-compression

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6121/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 48s

Docker mode activated.

-0 :warning:
yetus
0m  5s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 12s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 35s

branch-2 passed

+1 :green_heart:
compile
0m 53s

branch-2 passed

+1 :green_heart:
javadoc
0m 32s

branch-2 passed

+1 :green_heart:
shadedjars
7m 20s

branch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 17s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 52s

the patch passed

+1 :green_heart:
compile
0m 34s

the patch passed

+1 :green_heart:
javac
0m 34s

the patch passed

+1 :green_heart:
javadoc
0m 27s

the patch passed

+1 :green_heart:
shadedjars
6m 21s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
1m 11s

hbase-compression-aircompressor in the patch passed.

+1 :green_heart:
unit
3m 11s

hbase-compression-zstd in the patch passed.

31m 33s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6121/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6121

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux daeae706e1d7 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 2ed3a816fa1f4e035e85aa5a4dd9f74307b585e5

Default Java
Eclipse Adoptium-11.0.23+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6121/1/testReport/

Max. process+thread count
760 (vs. ulimit of 30000)

modules
C: hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-zstd U: hbase-compression

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6121/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 58s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
hbaseanti
0m  0s

Patch does not have any anti-patterns.

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 13s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 36s

branch-2 passed

+1 :green_heart:
compile
0m 56s

branch-2 passed

+1 :green_heart:
checkstyle
0m 21s

branch-2 passed

+1 :green_heart:
spotbugs
0m 57s

branch-2 passed

+1 :green_heart:
spotless
0m 55s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 17s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 23s

the patch passed

+1 :green_heart:
compile
0m 38s

the patch passed

+1 :green_heart:
javac
0m 38s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 17s

the patch passed

+1 :green_heart:
spotbugs
1m 20s

the patch passed

+1 :green_heart:
hadoopcheck
18m 21s

Patch does not cause any errors with Hadoop 2.10.2 or 3.3.6 3.4.0.

+1 :green_heart:
spotless
0m 42s

patch has no errors when running spotless:check.

_ Other Tests _

+1 :green_heart:
asflicense
0m 17s

The patch does not generate ASF License warnings.

36m 14s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6121/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6121

Optional Tests
dupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless

uname
Linux 8a70dcf5e300 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 2ed3a816fa1f4e035e85aa5a4dd9f74307b585e5

Default Java
Eclipse Adoptium-11.0.23+9

Max. process+thread count
77 (vs. ulimit of 30000)

modules
C: hbase-compression/hbase-compression-aircompressor hbase-compression/hbase-compression-zstd U: hbase-compression

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6121/1/console

versions
git=2.34.1 maven=3.9.8 spotbugs=4.7.3

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.


test_click_7_deprecated test fails when click 7 is used in test environment

The test suite invoked with pytest -vv tests fails like:
=================================== FAILURES ===================================
___________________________ test_click_7_deprecated ____________________________

    def test_click_7_deprecated():
        with patch("flask.cli.cli"):
            if int(click.__version__[0]) < 8:
>               pytest.deprecated_call(cli_main, match=".* Click 7 is deprecated")
E               Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>) was emitted. The list of emitted warnings is: [].

tests/test_cli.py:662: Failed
=========================== short test summary info ============================
FAILED tests/test_cli.py::test_click_7_deprecated - Failed: DID NOT WARN. No ...
============ 1 failed, 456 passed, 14 skipped, 3 xpassed in 10.88s =============

when the click dependency is at version 7.1.2.
Environment:

Python version: 3.9.9
Flask version: 2.1.1

That test should have been removed, it was only relevant in Flask 2.0.x when we still supported Click 7.x.

Removed in 411dbb37

The click requirement could also be bumped to >= 8, if that's now needed/recommended.

It already was.

Oh, indeed.  Not sure how I got into that situation in the first place then :-).


🐛 [cloud_firestore] saving make windows app loose connection and crash

Bug report
Describe the bug
Window loose connection on save
Steps to reproduce
Steps to reproduce the behavior:
run this code
 @override
  Future<void> onSave<T extends IJsonSerializable>({required T item}) async {
    final String collectionName = getCollectionName<T>();
    final collectionRef = FirebaseFirestore.instance.collection(collectionName);
    try {
      await collectionRef.doc(getItemId<T>(item)).set(item.toJson());
    } catch (e) {
      print('Error: $e');
      // Handle the error appropriately.
    }
  }

See error or incorrect behavior

Expected behavior
it should save normally, again it is important to note that it happens on some window machine

Same issue

Hi @richard457, @patricknicolosi could either of you provide a complete minimal reproducible code sample in a repo that we can clone so that we can investigate this?
I ran the plugin example app and played with it a little and it seems to work for me

The same app, crash in some pcs and in others no

Hi @patricknicolosi, are you experiencing the same issue with the plugin example app?
If so, could you share the steps to reproduce and what devices it reproduces on?

The example app works correctly. My app always works in debug mode, it works in release in some devices and in others it does not
Flutter doctor

System informations

Intel(R) Celeron(R) CPU N2840 @ 2.16Ghz
RAM 2gb
Windows 10 Pro 64bit

pubsbec.yaml sdk version
environment:   sdk: '>=3.2.3 <4.0.0'
Other informations
All Firebase-related dependencies are from the latest version.

Hi @patricknicolosi, can you share the crash message that you get? You might be able to get it if you debug with visual studio


tests: Add regression test for #1081

This ensures we don't unknowingly change the behavior of this again.
Signed-off-by: Stephen Finucane<EMAIL_ADDRESS>Fixes #1307

This looks good to me, good to have a test of this behavior.