Overflow issue with ScaleDecorator on Android

Describe the bug
I implemented the DraggableFlalist into my project, its inside a View width a set width and overflow: "visible", but somehow when dragging the Object, the overflow wich appears when the ScaleDecorator scales is still hidden.
<View style={{width: '70%', overflow: 'visible'}}>
  <DraggableFlatList
      style={{overflow: 'visible'}}
      data={this.state.playerData}
      onDragEnd={({data}) => this.setState({playerData: data})}
      keyExtractor={item => item.name}
      renderItem={this.renderItem}
  />
</View>

Platform & Dependencies

react-native-draggable-flatlist version: ^3.0.6
Platform: Android
React Native version: 0.67.3
Reanimated version: ^2.4.1
React Native Gesture Handler version: ^2.3.0

Thanks for your awnser!
I tried aroud a lot and finally found a solution using padding like you suggested:
           <DraggableFlatList
              style={{
                maxHeight: 256,
                marginLeft: '-10%',
                width: '120%',
              }}
              data={this.state.playerData}
              contentContainerStyle={{paddingHorizontal: '10%'}}
              onDragEnd={({data}) => this.setState({playerData: data})}
              keyExtractor={item => item.name}
              renderItem={this.renderItem}
              keyboardShouldPersistTaps="always"
              scrollEnabled
            />```


Is min-gpl-lts needed?

Add on android/build.gradle file and define package name in ext.flutterFFmpegPackage variable.
ext.flutterFFmpegPackage = "min-gpl-lts"

Such a requirement means this library cannot be used in a closed source project, and as far as I know (I Am Not A Lawyer) every software using it has to be licensed under GPL as well (including this package, video_editor).

Really no. But It preferred use it because has the lower weight and it can use x264 and x265 libraries (.mp4). Also, it has the best compression and video quality on export


Add shell_server sharding by problems instances

Shell servers are tagged with server_number upon add,
and their respective problems are tagged with same.
Teams are assigned server_numbers based on configured
manual and auto stepping. Subsequent problem instances
assignment is limited to those problem instances on the
teamn's assigned shell server.
Teams that are assigned to not-yet added shell servers
cannot be assigned problem instances and receive an error
to contact admin.

Given a config:
"shell_servers": {
    "enable_sharding": True,
    "default_stepping": 2,
    "steps": [3, 6, 9],
}

The result is:
{ "team_name" : "admin1", "server_number" : 1 }
{ "team_name" : "user2", "server_number" : 1 }
{ "team_name" : "user3", "server_number" : 1 }
{ "team_name" : "user4", "server_number" : 2 }
{ "team_name" : "user5", "server_number" : 2 }
{ "team_name" : "user6", "server_number" : 2 }
{ "team_name" : "user7", "server_number" : 3 }
{ "team_name" : "user8", "server_number" : 3 }
{ "team_name" : "user9", "server_number" : 3 }
{ "team_name" : "user10", "server_number" : 4 }
{ "team_name" : "user11", "server_number" : 4 }
{ "team_name" : "user12", "server_number" : 5 }
{ "team_name" : "user13", "server_number" : 5 }

Not tested: vanilla deployment (sharding disabled)

😳 bad variable refactor there

Thanks for picking that up, oddly the Schema validation check for int type does not seem to work as one would expect

Thanks for picking that up, oddly the Schema validation check for int type does not seem to work as one would expect:

The check function, which is provided by api.common, takes a list of callbacks, calls each of the callback function with the value, and fails when either

the callback function throws,
or when the callback function returns a bool False.

Anything else succeeds.
https://github.com/picoCTF/picoCTF/blob/36558b18036d56aaa30db8a0937cd5540b456ed2/picoCTF-web/api/common.py#L163-L171
So if you have a string that int doesn't throw, check won't fail. Some examples:
>>> validate(Schema({ "foo" : check(("must int", [lambda x: False])) }), { "foo" : "2" })
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/picoCTF-env/lib/python3.6/site-packages/api/common.py", line 189, in validate
    schema(data)
  File "/picoCTF-env/lib/python3.6/site-packages/voluptuous/schema_builder.py", line 267, in __call__
    return self._compiled([], data)
  File "/picoCTF-env/lib/python3.6/site-packages/voluptuous/schema_builder.py", line 587, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/picoCTF-env/lib/python3.6/site-packages/voluptuous/schema_builder.py", line 379, in validate_mapping
    cval = cvalue(key_path, value)
  File "/picoCTF-env/lib/python3.6/site-packages/voluptuous/schema_builder.py", line 769, in validate_callable
    return schema(data)
  File "/picoCTF-env/lib/python3.6/site-packages/api/common.py", line 170, in v
    raise WebException(msg)
api.common.WebException: must int
must int

>>> validate(Schema({ "foo" : check(("must int", [lambda x: None])) }), { "foo" : "2" })

>>> validate(Schema({ "foo" : check(("must int", [int])) }), { "foo" : "2" })

I will open an issue to audit all uses of check. (And, maybe improve the API?)

To turn on sharding, I do a git pull, edit config.py, and then run vagrant provision web (and do nothing else in the command line).

Actually config.py wouldn't be reloaded on reprovision, a TODO is to add these 3 sharding options to GUI and use the proper POST /admin/settings/change api routes:

Toggle sharding on/off (bool)
Default stepping (int)
Manual steps (int[])
(new in a5b4bd3) Limit server_number assignment only up to highest added server_number (bool)

With the two changes to the default values of team.get("server_number", XYZ) I mentioned in the comment, I think I would end up with a server where every user sees no problem because currently in the DB all problem instances do not have a server_number.

Correct, in this case there would be a non-match between default team['server_number'] (1) and current problem instance['server_number'] (None)

To fix this, I:

Go to the Admin panel->Shell Servers.
Click Update (so that the server_number 1 flows into the sole doc in the shell_servers collection).
Click Load Deployment to load problems in the shell server 1 again. The identical problem ids will cause all existing problem instances to be overwritten, this time with server_number assigned.

At this point, will the problems show up again for existing users who are on shard 1? (My expectation is yes; otherwise it feels like a bug.)

Correct. A this point team.get("server_number", 1) will be a fail-safe to problems not showing up for existing teams who have having no server_number assignment.
This is a incomplete fix. Proper full process to properly assign team['server_numbers'] is to call new API route from a5b4bd3:
POST /admin/shell_servers/reassign_teams with payload { "include_assigned": [True/False] }
via once again, a TODO new GUI panel of sharding options that includes buttons

Assign server_numbers to unassigned teams
Reassign server_numbers to all teams

The TLDR for any shell_server changes is

Add/Remove/Update server
Load Deployment
Reassign Teams

I have two questions:

The Reassign All Server Numbers button seems to be a really dangerous button. If it gets clicked during a competition, then even a team that does not move to a new server is likely to have a different problem instance assigned to it for many problems. That would be because:

(i) reassign_teams clears the instances in the team doc, then
(ii) get_visible_problems gets call, and down the chain assign_instance_to_team would pick a randint among the available_instances.
(I have seen this in the db by monitoring the the team doc before and after clicking the button.)
My question is: what is/are the safe scenario(s) when this button is supposed to be used?

I think I understand the purpose of the Assign Server Numbers button: it should be used at the moment right after turning on sharding so that all teams (which doesn't have a server_number yet) will get assigned the intended server_number.

However, say a team is assigned say the k-th instance of problem P on server 1 and is supposed to land on server 3 after clicking Assign Server Numbers. Do we know that this team will also land on the k-th instance of problem P on server 3 (so that the flag is actually the same)?

P.S. It seems both questions boil down to whether reassign_teams clearing the instances in the team doc yields the right semantics.

Cleaned up commits around the UI, now will ask for confirmation before likely disruptive server reassignments


New model: CLIP

🌟 New adapter setup
Hi, in my Master thesis I am currently working with fine-tuning CLIP on specific image-text datasets. Concretely, I am using the MIMIC-CXR dataset (https://physionet.org/content/mimic-cxr/2.0.0/).I'm training Adapters for the model and therefore I thought of possibly uploading them to AdapterHub! I think it would be a great addition to have the CLIP model available too, as we could then extend it as a community.
The main point would be to add the model architecture of the OpenAI CLIP model from here: https://github.com/openai/CLIP/blob/main/clip/model.py
I added adapters to the ResidualAttentionBlock.
So I'm basically asking: is there interest for this model? If so, I would gladly try to contribute this, but I might need some help as I am not super familiar with AdapterHub yet. If there are some instructions of how I could best add a new model that would be amazing.

Hey @NotNANtoN,
We're always very interested in contributions of new models, so we would be very happy to have your contribution!
Some initial pointers:

To get started with implementing a new model integration, we have a small guide on the general procedure: https://github.com/Adapter-Hub/adapter-transformers/blob/master/adding_adapters_to_a_model.md.
To get some more context on the integration in general, you might also refer to our documentation on this: https://docs.adapterhub.ml/model_overview.html.
When starting the implementation, please make sure to use the latest version of the master branch.

We're happy to help in case you have any questions/ issues!


End user/feature/pagnation favourite

@ay0o5h [End user/feature/pagnation favourite] It means that pagination is implemented on the client side. Please choose a screen with pagination response to work on. Pagination is unnecessary for the "Favorite" feature.


Add link to Bamboo feature request in README

Link to the issue so more people might know to upvote it.
https://jira.atlassian.com/browse/BAM-11205
The more upvotes, the greater chance (and the faster) they will implement it.

Awesome!


[Bug]: Module error in debugger needs to have a CTA to import module

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Module error in debugger needs to have a CTA to import module
Steps To Reproduce
Module error in debugger needs to have a CTA to import module
Public Sample App
No response
Environment
Production
Severity
Low (Inconsistent UI/UX)
Issue video log
No response
Version
DP

context -- https://theappsmith.slack.com/archives/C04GRCN4CS3/p1709799490975309


Add 'decimals' argument to Tensor.round()

C++ implementation of std(decimals) and unit tests are now merged.
Question: are the THS*.h and THS*.cpp files the only ones that need editing, when implementing new methods like [std_mean(https://pytorch.org/docs/stable/generated/torch.std_mean.html)?
If so, I might be able to do it myself :-)

Generally, yes. It gets (slightly) more complicated if you need a new file and have to add it to the CMake files list.


For supported ops, fixed an issue while using op.type as key within custom_conversion_functions

Issues:
Fixed an issue when using op.type of a supported op as key within custom_conversion_functions and added a unit test
Minor Updates:

Changed import command for "DepthwiseConv2D" layer in file test_tf_keras_layers.py
For ipython notebook examples with python2 kernel, resolved referencing error related to urllib by shifting down the import statement.

Looks good to me.


getScan() hangs after resetting stationary device, regardless of new motor speed

We just discovered a bug in the current firmware (v1.3) that occurs when a device is reset while stationary (motor speed setting 0Hz)
Example:

Device is stationary
Device is reset using RR command
do anything here... including adjust motor speed to non-zero setting
Start scanning
getScan() hangs

Any other device interactions work as expected, yielding normal responses. Additionally, the data stream actually initiates just fine, and the individual scan packets are received without error.
getScan() hangs because accumulate_scans() never encounters a sync reading. Instead, all the incoming data packets contain an azimuth value of 0°. ie: each 7 byte scan packet looks like [0,0,0,x,x,x,x] where x is a non-zero value.
Because the azimuth values do not increase, a sync reading is never encountered and a new scan is never produced. But neither is an error.  The reason an error is never produced is because all the incoming scan packets pass their checksum. Its possible libsweep would break from this after receiving more than SWEEP_MAX_SAMPLES data packet responses. But my applications were timing out before that anyhow.
This is a firmware bug. We are working on a fix which will be released ASAP.
However, we may still want to implement a check in accumulate_scans() for successive packets that have the exact same azimuth, and throw an error.

New firmware (v1.4) was released today, resolving this issue.


solidity syntax highlighting for codemirror

@todo

[ ] syntax highlighting solidity (code mirror 5 & code mirror 6 compatible)

for details check: google docs todo list
https://gitter.im/ethereum/play?at=5cbfe09c97dcb371d8031305

results:

https://github.com/alincode/CodeMirror

resources:

https://github.com/ethereum/remix-ide/pull/1415
https://www.npmjs.com/package/ace-mode-solidity
https://github.com/raphaelhuefner/ace-mode-solidity
https://github.com/raphaelhuefner/ace-mode-solidity/blob/master/lib/ace/mode/solidity_highlight_rules.js
https://github.com/raphaelhuefner/ace-mode-solidity/blob/master/lib/ace/mode/solidity.js
https://www.raymondcamden.com/2018/06/18/my-first-stab-at-a-grammar-extension-for-vs-code

@raphaelhuefner

My opinion on scope highlighting:
In general, I agree that scope highlighting is more helpful than "just" syntax highlighting. (I certainly liked how Eclipse was more helpful by having a deeper understanding of the code, before I ditched it for being resource-heavy.)
I will keep scope highlighting in mind when porting the ACE Solidity highlighter over to CodeMirror, but I think it should be kept in it's own GitHub issue and should only be worked on after the syntax highlighting is done.
My first hunch is that scope highlighting could turn out to be resource intensive, that's why I would strongly suggest to make it configurable, i.e. allow the user to turn it off:
I believe that in order to get scope highlighting to work, we need to keep an AST representation of the source code around. (Your example uses JSLint, most likely for that.) I will try to research if there are any AST parsers which can deal with line-by-line changes, i.e. don't have to re-parse the whole file each time only one line got changed. CodeMirror's syntax highlighting works like that:

[...] CodeMirror needs to keep valid versions of a state around so that it can restart a parse at any line [...]

(source)
If it - against my gut feeling - turns out to be light on resources, then all the better.

sweet :-)

@raphaelhuefner did you already do something ragrding any porting of syntax highlighting?
you can see a rough preview of the editor embedded in a workshop here:

https://ninabreznik.github.io/play-workshop-app/

Currently we just apply javascript syntax highlitghting and it kinda works because of solidity being slightly similar to javascript :-)

todo list:
https://docs.google.com/spreadsheets/d/1xEGdDAK-2_dKgGZbkieaWAfOkNd-LYA07t3llkAmFYI/edit?usp=sharing

total item: 49
work on progress: 5
todo: 1

https://alincode.github.io/codemirror-solidity/
https://www.npmjs.com/package/codemirror-solidity

@alincode is this about ready for beta-testing? If you publish a release without all the console.log's I can add it to Carbon for people to try it out, if that would help.

@mfix22 I removed all console.log, release at codemirror-solidity 0.1.4. 😀

This is a cool effort - was this ever completed/if not are the outputs already usable, better than the javascript syntax highlighting?

Hey thx :-)
Yes it is done, but we haven't had the time to integrate it into our editor yet, because we don't have a lot of resources and it's not top priority.
If you want to make a pull request to add it in, check:

https://alincode.github.io/codemirror-solidity/

The thing is the integration needs an afternoon of thinking and refactoring to keep things minimal :-)

Hey @alincode codemirror-solidity is breaking in strict mode (see https://github.com/carbon-app/carbon/pull/848). Wondering if you could take a look at this PR to solve it? Thanks! 👍

@mfix22 thanks for your feedback, I will try to solve it, next week.

@mfix22 it releases at<EMAIL_ADDRESS>check it.


KAFKA-14950: implement assign() and assignment()

In this PR: I implemented assign() and assignment(). Ported the original tests from the KafkaConsumerTest.java
Different to the original Implementation:
We will explicitly send a commit event to the background thread to commit the progress
MetadataUpdate will also be send to the background thread
Missing:
Fetcher to clear the buffer

@philipnee Was the following comment addressed? Kirk mentioned to take a closer look.
https://github.com/apache/kafka/pull/13797#discussion_r1222086968

@junrao - thanks for the review.  I've addressed the two issues you pointed out. Would you be able to take another look at it?

Thanks, @junrao -The failing tests should be fixed in the latest commit: The integration test failed because of missing subscription state dependency, which was added in one of the subsequent PR.
The failing tests are irrelevant, and these are:
Build / JDK 8 and Scala 2.12 / testOffsetTranslationBehindReplicationFlow() – org.apache.kafka.connect.mirror.integration.MirrorConnectorsWithCustomForwardingAdminIntegrationTest
44s
Build / JDK 11 and Scala 2.13 / testBalancePartitionLeaders() – org.apache.kafka.controller.QuorumControllerTest
12s
Build / JDK 20 and Scala 2.13 / [1] tlsProtocol=TLSv1.2, useInlinePem=false – org.apache.kafka.common.network.SslTransportLayerTest
14s
Build / JDK 20 and Scala 2.13 / testSyncTopicConfigs() – org.apache.kafka.connect.mirror.integration.MirrorConnectorsWithCustomForwardingAdminIntegrationTest
1m 56s

@philipnee : Could you update the description of the PR (to be included in the commit message) before I merge it? The description still has the following and I am not sure if it's still relevant.
Missing:

Fetcher to clear the buffer

Hey @junrao - Thanks again. I updated the description to reflect the updated code more accurately.  Here I just quoted the paragraph I made the change to:
We will explicitly send an assignment change event to the background thread to invoke auto-commit. After updating the subscription state, a NewTopicsMetadataUpdateRequestEvent will also be sent to the background thread.


Fix ntfy

Things done:

[x] Tested using sandboxing (nix-build --option build-use-chroot true or nix.useChroot on NixOS)
[x] Built on platform(s): Linux
[x] Fits CONTRIBUTING.md.

More
The results of my attempt at fixing pythonPackages.ntfy. I'm not a python expert, so beware.
Built both python2Packages.ntfy & python3Packages.ntfy.
cc ntfy maintainer @kamilchm

What errors does it fix? I can help with it but I need to know how to test it. I use it for few days without errors, but I don't use any extension, so I suspect that they cause some issues?

@kamilchm this PR fixes the build itself. See https://hydra.nixos.org/build/33157748

How can I reproduce it on my machine?
Is there a way to get failure notification from hydra for owned PRs?

@kamilchm set build-use-sandbox = true in nix.conf or otherwise ensure that the build is sandboxed (I think that's why you're not seeing errors on your end). Hydra used to send build notifications, but does not appear to do so anymore (it got a bit spammy, that might be why).

Is this the same as {{nix-build --option build-use-sandbox true}}? I tried it and I don't get any errors.
I see that on my machine some dependencies are downloaded from pypi while hydra rejects it. It would be a lot easier when errors like these  would be repeatable. Right now I see passing build on my machine, on travis and hydra :/

Note that the hydra build I linked is newer than what you're referring to. I also reproduced the error on my machine. Not sure what's going on. It's pretty clear that ntfy does try to download stuff during the build, however, which will fail in a sandboxed environment.

Is this the same as nix-build --option build-use-sandbox true? I tried it and I don't get any errors.

Only if you don't have the nix daemon running. So it won't work on NixOS where you have to use nix.useChroot

@joachifm I agree that this build should fail. I just try to find a way to make sure that I don't introduce similar issues in the future. I passed 3 false positives on the way and I get info about failure few days after merge. If I knew about it before we could save your time. But it's more general CI issue than this PR.
Thx for your work on this :+1:
@globin finally, I get failing build after I change it in NixOS config. Why is it disabled by default?

@kamilchm https://github.com/NixOS/nix/issues/179


Add ArctanLoss

ArctanLoss implementation, based on Ceres.

Can you bump the patch version? No api changed so updating patch version should be enough.

Can you bump the patch version? No api changed so updating patch version should be enough.

Yep, done.


Add return value of Intersect method.

Add missing assignment of return value method for intersect.
This causes issue when for 2 different Document Types got Last Interface of first allowed type.
It could be also changed to :
return intersection.Intersect(value);

Or we can do it different: https://stackoverflow.com/a/1676684

Or we can do it different: https://stackoverflow.com/a/1676684

Hey @lkoruba!
H5YR for contributing to SuperValueConverters - glad to see you lot are still using this.
Someone made this exact same change to the V7 version (#13) but for some reason this was never merged up into V8.
Thanks @aochmann for your input here too - I was also curious if this could be made more efficient. A HashSet<T> wasn't used here because in this case maintaining order is important, but I'm going to profile some other options and see what can be done.
This fix is now out on NuGet in V2.1.0! 🎉
Callum

Hey @lkoruba!
H5YR for contributing to SuperValueConverters - glad to see you lot are still using this.
Someone made this exact same change to the V7 version (#13) but for some reason this was never merged up into V8.
Thanks @aochmann for your input here too - I was also curious if this could be made more efficient. A HashSet<T> wasn't used here because in this case maintaining order is important, but I'm going to profile some other options and see what can be done.
This fix is now out on NuGet in V2.1.0! 🎉
Callum

Hi @callumbwhyte,
I did tests on HashSet. According to the documentation (https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.hashset-1?view=net-5.0#remarks) it stores data in an unstructured way, but SortedSet (https: //docs.microsoft.com/en-us/dotnet/api/system.collections.generic.sortedset-1?view=net-5.0#remarks) with a sorted order.
I did tests and the order of the output collection depends on the first collection (in both cases) taken as the base for the intersect operation.
I wonder if there is another case that I did not take into account that could work in a different way.
Example:
https://dotnetfiddle.net/cfRpua
But in general, both approaches do the same 😄

Hi @callumbwhyte,
I did tests on HashSet. According to the documentation (https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.hashset-1?view=net-5.0#remarks) it stores data in an unstructured way, but SortedSet (https: //docs.microsoft.com/en-us/dotnet/api/system.collections.generic.sortedset-1?view=net-5.0#remarks) with a sorted order.
I did tests and the order of the output collection depends on the first collection (in both cases) taken as the base for the intersect operation.
I wonder if there is another case that I did not take into account that could work in a different way.
Example:
https://dotnetfiddle.net/cfRpua
But in general, both approaches do the same 😄


moolticute: 0.55.0 -> 1.01.0. hughobrien as maintainer.

Description of changes
Official Release Notes
Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@hughobrien you might want to reword some of those commit messages to look like this:
moolicute:  0.55.0 -> 1.00.1
moolicute: add hughobrien as maintainer

Also, the section in the manual on contributing to Nixpkgs might be handy to make sure your contribution is up-to-spiff before a full review.

Btw, you can use git rebase -i HEAD~3 to reword those commits; change the command next to the two commits in this PR to reword. Your $EDITOR will open up so you can edit each message. After you're done, you'll need to do git push -f to update the branch.

Btw, you can use git rebase -i HEAD~3 to reword those commits; change the command next to the two commits in this PR to reword. Your $EDITOR will open up so you can edit each message. After you're done, you'll need to do git push -f to update the branch.

very helpful, thank you, and thank you additionally for your kind approach.

closing in favour of https://github.com/NixOS/nixpkgs/pull/215034


Search is not working

hello,
If I try to search for something under my project http://fiware-orion.readthedocs.org nothing is found regardless the word I enter. Should I do anything to enable search for my project?
thanks

I think the search should work out of the box. So it's not your fault :) We need to investigate this.

hello guys,
Any idea on how to fix this?
thanks!
2015-07-27 10:02 GMT+02:00 Gregor Müllegger<EMAIL_ADDRESS>
I think the search should work out of the box. So it's not your fault :)
We need to investigate this.
—
Reply to this email directly or view it on GitHub
https://github.com/rtfd/readthedocs.org/issues/1487#issuecomment-125116293
.

@ericholscher @agjohnson any ideas?

hello guys, @ericholscher @gregmuellegger @agjohnson
any idea or recommendation on how to solve the issue?
thanks!

Believe this is a bug with our mkdocs integration. It seems the json builder is breaking when using the theme option. We should have a patch for it soon.

Don't know if it's related but when I try to build an mkdocs site on my installation of rtd (commit f54d78b372845e9236377cbe38a9a401b84d34d7) I get:
[13/Aug/2015 13:20:04] DEBUG [readthedocs.search.utils:134] (Search Index) Parsing sections for /data/rtd/media/json/rtfd-tests/latest/tst/foo/index.json
[13/Aug/2015 13:20:04] ERROR [celery.worker.job:282] Task readthedocs.projects.tasks.update_search[0ab34218-5daf-4fd3-a4c7-d4b5c6bdefbf] raised unexpected: KeyError('url',)
Traceback (most recent call last):
  File "/srv/rtd_app/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/srv/rtd_app/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
    return self.run(*args, **kwargs)
  File "/srv/rtd_app/checkouts/readthedocs.org/readthedocs/projects/tasks.py", line 595, in update_search
    page_list = process_mkdocs_json(version, build_dir=False)
  File "/srv/rtd_app/checkouts/readthedocs.org/readthedocs/search/utils.py", line 28, in process_mkdocs_json
    relative_path = parse_path_from_file(documentation_type='mkdocs', file_path=filename)
  File "/srv/rtd_app/checkouts/readthedocs.org/readthedocs/search/utils.py", line 62, in parse_path_from_file
    path = page_json['url']
KeyError: 'url'

Sample repo is here https://github.com/deejay1/rtfd_test

hello,
is there any news about this issue? or any way we can contribute to get it fixed?
thanks

I'm also waiting for this...

What's the current branch I could test and/or deploy from?

Any news about this? Got the same issue.

No news on this, we haven't focused on the mkdocs integration recently. Anyone willing to look into this is free to take this on.

Any updates recently? Search is extremely important for our doc.

Would love to see this fixed too

We are seeing this problem and the popup menu at the bottom left is missing when building mkdocs... perhaps related.  If anyone is working on this perhaps we can assist?  We do not know much about the code yet but learn quickly ;)

Possible workaround in #1088

Search is still not working :(  http://solarium.readthedocs.io/en/latest/

Search "works", but it doesn't track changes in our latest branch. It always gives results with a URL structure we used a lot time ago.
See https://github.com/locationtech/geotrellis/issues/1967.

I'm surprised to discover how long this bug has been active. Has search on readthedocs.io truly been broken for over 18 months (and counting)? I am seeing the problem on https://projectile.readthedocs.io/.
What is preventing this from being resolved, and how can I help fix it?

The solution for us was to port all our docs to RST.

Guys, I am still having this issue: http://voicebase.readthedocs.io/en/v2-beta/search.html?q=hello&check_keywords=yes&area=default Is there a solution other than converting all our documentation prior to using readthedocs?

@Daniel085 Using pandoc (linked above), the conversion process is at most an afternoon's worth of work.

@fosskers I understand the workaround, but markdown is a supported feature: http://docs.readthedocs.io/en/latest/getting_started.html?highlight=markdown
Not being able to click search results containing any markdown documents seems like a serious bug.

Reading through the various links to other issues, so far as I can tell, this is what's going on:

Sphinx and mkdocs both support "client-side" searching, where and index of terms is generated at build-time, stored as JSON, and the search functionality is JS that runs inside the user's browser, downloads the JSON blob and renders the results.
mkdocs also supports rendering the generated index in a standard format that can be indexed server-side (at least, judging by #1088), which can be faster since the client doesn't have to download a whole index every time.
when RTFD builds docs in mkdocs format, it injects JavaScript that modifies the search field to submit requests to https://readthedocs.org/search/ instead of using the client-side searching.
Unfortunately, server-side searching doesn't seem to actually be set up or working in any way.
As a user of RTFD, you can work around this problem by injecting your own JavaScript that points the search field back to client-side searching.

I'm not sure why RTFD rewrites the search field for mkdocs documentation. After all, Sphinx-based documentation still uses client-side searching.

With the exception of actually hosting docs I'd say search is one of the most important aspects of a documentation site, so +100 for fixing this, but thanks so much for that workaround!

All projects listed here have a working search, is this still an issue for anyone?

This seems to be resolved fo us at least!

👍

Search is not working for https://climaf.readthedocs.io/en/latest/index.html
Do I need to hack as described above ?

@senesis It looks like you have a really old version of jQuery in your built docs. I believe this is causing the issue.

Yea, you're running your doc builds with Sphinx v1.2.3, which I'm guessing is the issue.

I'll also see if we can make our search code work with older jquery, which should hopefully fix it.

Looks like we broke our fallback in our latest search code. https://github.com/rtfd/readthedocs.org/pull/5285 will fix it.

Thanks ! I will also consider upgrading the Sphinx version I use


Change Apartment filter to work with shorter input

This allows for passing the birthdate without the end-part and still getting results

refs. HT-118 Comments

I think this is not needed anymore after https://github.com/City-of-Helsinki/hitas/pull/80 :thinking:


Configurable debug level (server and plugins)

Add new param to the config file called DebugMode as bool (the param should be in the generic level of the config file)

if true then log level is Debug else its Info level.  (if not configured then default is Info level, means true)

make sure it works for the server and the plugins (add initialization for the logger in k8s provisioner + flexvol ).

In addition please add debug to all the execute commands (please log output, error and exitcode to debug level)

added to conf
logLevel = "info"         # debug / info / error
default is "info"


How to remove the default title underline in style of “Title”

My code is as follows, there is always an underline in the default format of the title, how can I remove the underline?
    document = Document()
    title = document.add_heading('', level=0)
    run = title.add_run("Title")
    run.font.size = Pt(22)
    run.font.color.rgb = RGBColor(0, 0, 0)

The generated result is as follows:

You need to modify the border styling for the chosen heading level in Word itself.


General shutter widget

This PR adds a general shutter widget that can be used with any micromanager shutter devices (works with pymmcore-plus PR https://github.com/tlambert03/pymmcore-plus/pull/123)
On top of the original micromanager design, here we can have a QPushButton to control the opening and closing of the shutter(s).
It is compatible with the micromanager "Multi Shutter" tool.
To make autoshutter and shutters communicate with each other, two new signals have been added to pymmcore-plus in https://github.com/tlambert03/pymmcore-plus/pull/123.
https://user-images.githubusercontent.com/70725613/163849494-a856b4d6-3af3-4b07-8c5c-be4b92d253c3.mov

some tests are failing because of the new signals not yet added to pymmcore-plus.

test are failing because of the minor modification in pymmcore-plus (https://github.com/tlambert03/pymmcore-plus/pull/124).

@fdrgsp, it looks like you merged this into widgets? https://github.com/fdrgsp/pymmcore-widgets/pull/3
If so, it should be closed here


New Mod_security issue

I have been using php-proxy successfully for some time on a project (for which, many thanks).
However, when attempting to proxy, I now get a blanket error message:
Not Acceptable!
An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

This occurs with any site I attempt to proxy. I have not changed anything on my side, and my setup has worked perfectly for a long time.
Any advice gratefully received.

Have installed the latest, unchanged version of php-proxy on the same server, and I have the same issue. Attempting to load a proxied page gets the Mod_Security issue, so it is not due to any modifications I have made to the code. This has been tested in multiple browsers, so I don't believe it's a cookie or similar issue (although I might be wrong).

Have installed the latest, unchanged version of php-proxy on the same server, and I have the same issue. Attempting to load a proxied page gets the Mod_Security issue, so it is not due to any modifications I have made to the code. This has been tested in multiple browsers, so I don't believe it's a cookie or similar issue (although I might be wrong).

And after discussion with my hosting provider, I got my sitelist whitelisted for mod_security, and it's working again. So not a php-proxy issue, and closing this thread.

And after discussion with my hosting provider, I got my sitelist whitelisted for mod_security, and it's working again. So not a php-proxy issue, and closing this thread.


Allow custom templates. Closes #61.

For discussion please see #61.
Usage would be something like:
...
<plugin>
  <groupId>com.github.temyers</groupId>
  <artifactId>cucumber-jvm-parallel-plugin</artifactId>
  <version>2.0.3</version>
  <executions>
    <execution>
      ...
      <configuration>
        ...
        <!-- custom template -->
        <customVmTemplate>src/test/resources/cucumber-custom-runner.vm</customVmTemplate>
      </configuration>
    </execution>
  </executions>
</plugin>
...

Awesome!
Thanks for the contribution.
Please can you update the README.md with the above and some words on configuring it and I'll happy to merge.

One more thing:
Please can you create an it test to demonstrate the behaviour - under src/main/it

Will do, certainly by Monday, maybe before.

Updated readme and added an IT test.

Awesome, thanks for the contribution.


revisit the QueryResult interface

We may be able to simplify the QueryResult interface.
// QueryResult represents one of the results in the response.
type QueryResult interface {
	Type() uint32
	Bitmap() BitmapResult
	CountItems() []CountResultItem
	Count() int64
	Sum() int64
	Changed() bool
}

Because each function is specific to the type, it's effectively an empty interface. And every implementation is left with unused methods:
func (BitmapResult) Type() uint32                  { return QueryResultTypeBitmap }
func (b BitmapResult) Bitmap() BitmapResult        { return b }
func (BitmapResult) CountItems() []CountResultItem { return nil }
func (BitmapResult) Count() int64                  { return 0 }
func (BitmapResult) Value() int64                  { return 0 }
func (BitmapResult) Changed() bool                 { return false }

I could see it being something like this instead:
type QueryResult interface{}

type BitmapResult struct {
    QueryResult

    Attributes map[string]interface{} `json:"attrs"`
    Bits       []uint64               `json:"bits"`
    Keys       []string               `json:"keys"`
}

In this case the QueryResult inside the BitmapResult is not really necessary because everything implements the empty interface, but if for some reason QueryResult needs to have a function defined, this would ensure BitmapResult implements the interface.
This is not at all a high priority, but may be worth revisiting at some point.

This would require the user to cast a QueryResult to something else, e.g., BitmapResult before accessing its fields, wouldn't it ?

We don't do a type check, but we use the Type field of the protobuf result to create the correct type in the newQueryResultFromInternal function. I like how the empty interface makes our code shorter, but that makes the user code longer.
I think we will be able to change our our implementation in the future without breaking user code when we need to.

Can we close this?

I believe this still applies. It has been iceboxed because it's not a priority, but I think it's still worth reconsidering the way this is handled at some point.


🚀 Feature: Add WhatsApp with Vonage for Kotlin

Appwrite Functions allow you to extend and customize your Appwrite server functionality by executing your custom code. 🤩 You can learn more at our official Appwrite Functions docs.
Your task is to implement the WhatsApp with Vonage function in Kotlin. You can look at the existing Appwrite Functions Templates in another coding language.
Your function should behave and be implemented similarly to existing WhatsApp with Vonage Node.js template.
Tasks summary:

[ ] Fork & clone Appwrite's templates repository
[ ] Create a branch feat-implement-whatsapp-with-vonage-kotlin
[ ] Write code for the function in folder kotlin/whatsapp-with-vonage/.
[ ] Test the function using Appwrite, provide a video.
[ ] Write a README.md explaining what the function does, how to use it, and customize it. Here is an example.
[ ] Submit a pull request to our templates repository

If you need any help, contact us on our Discord server.
Are you ready to work on this issue? 🤔 Let us know, and we will assign it to you 😊
Happy Appwriting!

hey @gewenyu99
I am an Android developer with intermediate knowledge of Kotlin and a beginner to Open source
Does this issue fit me, and if so, can I work on it?😊

Hi @poseidon2060, I've assigned the issue to you! Happy Hacktoberfest 🎃!
Notes:

Please update us with your progress every 3 days, so that we know you are working on it.
Join us on Discord - https://appwrite.io/discord to chat about Hacktoberfest and Appwrite!

hi @loks0n can you assign me to for this issue?

@poseidon2060 if you are not working on this issue I can take over on this topic.

@poseidon2060 if you are not working on this issue I can take over on this topic.

Hey @PrathameshKumbhar291113 , you can take over this issue

@poseidon2060 if you are not working on this issue I can take over on this topic.

Hey @PrathameshKumbhar291113 , you can take over this issue

I am unassigning the issue from you then. @PrathameshKumbhar291113 it is yours now. Please update us every 3 days

Hi @PrathameshKumbhar291113 are you working on the issue?

yes I am currently working
I have certain doubts regarding the issue raised
could you please clear my doubt?
On Wed, Oct 11, 2023 at 5:14 PM haimantika mitra @.***>
wrote:

Hi @PrathameshKumbhar291113 https://github.com/PrathameshKumbhar291113
are you working on the issue?
—
Reply to this email directly, view it on GitHub
https://github.com/appwrite/templates/issues/204#issuecomment-1757499924,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXVLLV5EVPDY42LAWZIQYN3X62BDJANCNFSM6AAAAAA5N4HB7U
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yes I am currently working I have certain doubts regarding the issue raised could you please clear my doubt? @Haimantika Thankyou.
…
On Wed, Oct 11, 2023 at 5:14 PM haimantika mitra @.> wrote: Hi @PrathameshKumbhar291113 https://github.com/PrathameshKumbhar291113 are you working on the issue? — Reply to this email directly, view it on GitHub <#204 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXVLLV5EVPDY42LAWZIQYN3X62BDJANCNFSM6AAAAAA5N4HB7U . You are receiving this because you were mentioned.Message ID: @.>

Please ask your queries in our Discord server - https://appwrite.io/discord

Which channel to connect with @Haimantika ?

In support. Apologies for the delay in responding. Is your issue solved? Have you worked on it?

Yea, there is a progress and I still need some guidance on the issue.
As I read all the documentation in the mean while and made my way through but that is not enough
So could you please let me know with whom I can connect with to get some light on the provided topic.

Yea, there is a progress and I still need some guidance on the issue. As I read all the documentation in the mean while and made my way through but that is not enough So could you please let me know with whom I can connect with to get some light on the provided topic. @Haimantika

Just go to our Discord server and open a discussion in the support thread.

Okh sure.
Thanks @Haimantika

Closing issue due to inactivity and hacktoberfest being over, thank you for taking the time to be part of hacktoberfest this year :)


[Feature] Organize workflows and tasks with directories

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Currently, it is not possible to create a directory in the workflow definition list to customize the organization of the workflow. When there are a large number of workflows, it will appear very messy
Use case
Organize workflows and tasks with directories
UI

Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I am interested in working on the ui part


Specify order in fragments

This fix a possible unordered zone file when adding records (I've seen it when adding PTR records automatically using bind::a)
Updated master, this should be easily mergeable, sorry for the fuss

Merged as 3103a8a3072008c67fb844c2a33d22de0bdfe7db


Code Change to Clear Code

Change to clear view code and readable

Hi @logeshpalani98
Thanks for the PR, but I'm afraid I'm going to reject this PR. The code is deliberately laid out like that.


Atom needs to handle large files better.

When you open a large file in Atom, the whole editor freezes up while it loads the whole file.
This is neither desirable or acceptable. Can't it just load a portion of the file? Like the head or something.
And for 1 infinite line files (generated files), set a line length limit. Then as the user scrolls, read more data and display it.

Do you see the same behaviour when running atom with safe mode? atom --safe

There are Issues open already on handling large files better. You may want to search for them to subscribe to the relevant Issues.


Fix CORS tests

I get errors in testGetDomainVerbose but I think this is due to the POSIX set up. The test does not pass even on master with my set up.

I was seeing an error in attr_test.py - but removed the cors check there and everything was allright.
Not sure what your problem could be with testGetDomainVerbose - did you load the tall.h5 test file?

Oops, sorry I missed that one... :(
I indeed have the file loaded and testGetDomain succeeds but testGetDomainVerbose fails. From my investigations, it is because getRootInfo (https://github.com/HDFGroup/hsds/blob/master/hsds/servicenode_lib.py#L244) returns None instead of the info JSON. As this method uses getS3key, perhaps it does not support POSIX ?


Switch mutable slice with mutable region in sgr

Mutable regions should be preferred over mutable slices.

You might also write down why :)


exceptions are not shown in the console

I am not sure if this is a bug but under Ubuntu I am using:
app.UseDeveloperExceptionPage(); even outside if (env.IsDevelopment())
I am not seeing any exceptions thrown in the console. I only get:
Got disconnect! Reason: transport close
When I'm using windows it works correctly

I noticed that what is causing this is the throw is being called in the async Task.Run(async () => { }) function
So there is some detachment going on once a new thread is created.
If I throw e.g. throw new System.ArgumentException("A", "B"); outside the Task.Run I get the error.
This is my first project using linux for C# as well as ASP.Net so this may be normal behavior for ASP

🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!


Add pybomwater

Insert URLs to the project here: https://github.com/csiro-hydroinformatics/pybomwater

[x] The projects is active, documented, open source licensed, shows usage from external parties and is directly targeting environmental sustainability. Find more details in the Contribution Guide.

All issues labeled as Good First Issue of the project listed on OpenSustain.tech will be visible on ClimateTriage.com. This is a great way to welcome new community members to your project.
All new projects listed will be posted on our Mastodon channel.

@fre171csiro

Thanks for the add guys, was a nice surprise.  Wishing you all the best


HTTP response code was 503

Just got this error today:
Invalid response object from API:  (HTTP response code was 503) {"userId":6,"exception":"[object] (ShippingEasy_ApiError(code: 0): Invalid response object from API:  (HTTP response code was 503) at /var/www/xxx/vendor/maverickslab/shipping-easy/src/shipping_easy-php/lib/ShippingEasy/ApiRequestor.php:52)

503 is a server error on Shopify, not a library error.
Unless this is persisting, please update with what calls you're doing.
Thanks!


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Migrate to manifest v3

:tada: This issue has been resolved in version 1.13.0 :tada:
The release is available on:

v1.13.0
Chrome Web Store
GitHub release

Your semantic-release bot :package::rocket:


update deps version? mir-algorithm is v3.9.2  now

updated to 3.9.2

you need to make a new release, otherwise dub will not pick it up.

hit this version problem again:
  mir-stat 0.0.10 depends on mir-algorithm >=3.9.60
  pretty_array 1.0.2 depends on mir-algorithm ~>3.9.2

If there is no real hard constraint of pretty_array on a specific mir-algorithm version, can we relax the version specification not depending on a specific version?  Otherwise each time mir-algorithm upgrade version, this pretty_array package also need upgrade purely for the version compatibility.

There is no real hard constraints. Just forgot about ~> dependency syntax. I updated the dub config and moved the git tag to the updated version.


Exec tachikoma update<PHONE_NUMBER>4232

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io

Tachikoma.io detects file structure for david, you can set strategy, if you put .tachikoma.yml :dog:
#.tachikoma.yml
strategy: 'david'

Enjoy! :poodle:
Tachikoma.io Custom Configure

Coverage remained the same at 97.83% when pulling 40daf9051175e9d7f14ec132e78cbfe1b03b6436 on tachikoma/update-20150128024232 into 4f25865565d063bb412ec932d426a5fbcf99f40c on master.


Add command to clean all merged branches

I realize this isn't specific to github, but it may be nice to get the feature in here sooner than git.
It would be nice to have some sort of git flush type command that 1: performs git fetch -p and 2: git branch --merged | grep -v "\*" | xargs -n 1 git branch -d to clean all local merged branches.
It would also be nice if it logged an informational message in the console that linked you to github's branches page so we can review and remove all merged or closed branches.

I have an alias for that combined with git remote prune origin.

That's a good idea and is an action I have a shell script for myself. However, I don't think it's a great fit for the hub project. First of all, it's not related to GitHub in any way, meaning it can just as well be a standalone script.
Second, the deletion approach is simplistic and may inadvertantly branches that you didn't want deleted. For instance, suppose I do git checkout -b fix-bug-123 origin/master to start a bugfix topic, but before I committed anything to it, I checkout master again and do delete-merged-branches command. Now my "fix-bug-123" branch is gone because it was identical to "master", but I didn't get to do any work in it yet.
Or, suppose I merge origin/master into "feature" branch that I'm doing, to check if my code is still compatible with upstream. However, running delete-merged-branches now will delete "master" branch because technically it's merged in the current branch.
Bulk deleting branches is a tricky operation and I'd rather not that we deal with it.

Just for reference: I am using this Zsh function for this: https://github.com/blueyed/oh-my-zsh/commit/f5c7d3cb2989dee80869ddabc74869a13fb9877a


Added MsPacman agents for A2C, DQN, PPO and QR-DQN agents

The SB3 benchmarks are missing the ms. pacman agents A2C, DQN, PPO and QR-DQN, benchmarks and zoo
This PR adds those agents for ms. pacman

Models are now pushed to the hub https://huggingface.co/sb3 ;)


Build the container fresh if the action is not invoked from a tag

Experimental: Attempt to detect whether the action is being invoked from a tag or not.
If the action is invoked by tag, use the prebuilt container to avoid wastefully building the same thing over and over again.
Otherwise (e.g. the action is being invoked from head, maybe as part of a PR presubmit on this repo), build the container on demand.

Didn't work. Did #3 instead, which wastes a little time but is far simpler.


[IOTDB-2249] Fix query NPE when an aligned column with duplicated time is deleted

Description
See IOTDB-2249 .

Coverage decreased (-0.006%) to 67.448% when pulling e03033b06670241950b6ef485abc9400f05934eb on iotdb_2249 into 010af34dda85847b249775f7241e06594a740b9f on master.


Recursive dependencies

What this PR does / why we need it:
This PR attempts to address the ~6 year long issue https://github.com/helm/helm/issues/2247.
The idea behind this PR is to allow users to recursively deal with chart dependencies. Currently, the behaviour of the --dependency-update flag is constrainted to the current chart we're interfacing with. If the chart has downstream dependencies, they won't be updated.
This PR adds a new flags. The new flag --dependency-update-recursive is set by default to false and don't interfere with the current behaviour of the existing --dependency-update flag. For the helm dependency * commands, the flag --recursive is also set to false by default and won't interfere with the current behaviour of helm unless manually set.
The final commands look like:
helm install --dependency-update-recursive my-chart
helm template --dependency-update-recursive my-chart
helm dependency build --recursive
helm dependency update --recursive

Special notes for your reviewer:
If applicable:

[ ] this PR contains documentation
[x] this PR contains unit tests
[x] this PR has been tested for backwards compatibility

I've created the foo/ folder with some test charts to quickly test if my code was working. I will move them to their proper location once I understand the unittest setup.

@migueleliasweb thanks for tackling this. I've been wanting recursive dependency updates forever. I'll give this a shot in a development cluster in a bit.

Hi @nodesocket , any news from your end?
Do you know who should we tag here to get more traction for "officially" reviewing this PR ?

@migueleliasweb I  am not affiliated with Helm at all, just a user. How can I try your binary?

@migueleliasweb I am not affiliated with Helm at all, just a user. How can I try your binary?

Hi @nodesocket, you just need to clone my branch and run make build. A binary will be built in bin/ and you can test it :) .

Any news?

@migueleliasweb test is failing?
https://app.circleci.com/pipelines/github/helm/helm/4973/workflows/2b6066ad-9361-423e-89b9-e6c15f065ea1/jobs/16528

@migueleliasweb, thanks for this PR. What a shame that there is no solution for sub-charts dependency update until this day.
BTW, the test is failing. Can you have a look at this?

Oh, I didn't know it failed. I reckon something broke after someone changed something on the master branch and I rebased it.
I will have a look later today 👍 !

@migueleliasweb, thanks for this PR. What a shame that there is no solution for sub-charts dependency update until this day.
BTW, the test is failing. Can you have a look at this?

Oh, I didn't know it failed. I reckon something broke after someone changed something on the master branch and I rebased it.
I will have a look later today +1 !

Well, sorry the delay... life happened and I ad to catch up on a few personal business.
PR updated :)

Hi @joejulian , could you have a look? The PR has been updated :)

Hi @migueleliasweb I tested the recursive recursive dep update. However it failed for me. Here is my chart structure
./helm dep update umbrella --recursive
Error: directory umbrella/subchart-level-3 not found

Hi @migueleliasweb I tested the recursive recursive dep update. However it failed for me. Here is my chart structure
├── subchart-level-1
│   ├── Chart.yaml
│   └── templates
├── subchart-level-2
│   ├── Chart.yaml
│   ├── subchart-level-3
│   │   ├── Chart.yaml
│   │   └── templates
│   └── templates
└── umbrella
    ├── Chart.yaml
    └── templates

./helm dep update umbrella --recursive
Error: directory umbrella/subchart-level-3 not found

Humm I will try to test this structure soon. Note that the test I've written for this PR has a very similar structure and it seems to work. Could you provide the actual Helm files for me to test with them?

It does work until level 2. But it starts failing on level 3. See my link from my previous post https://gist.github.com/karlderkaefer/4f2baf39997331103735e536beeda5b9

any update on this, please?

bump


Close this issue when the software is released

Looking forward to seeing it!

With this set of commands
git clone https://github.com/duo-labs/EFIgy
cd EFIgy
python EFIgyLite_cli.py

I was able to download and verify that the software did something. (As a bonus I got SUCCESS x3, woot). Thanks Duo!

My result:
Unsupported version of macOS detected '10.13'. EFIgyLite_cli currently only supports 10.10.x-10.12.x


Add conda's gcov to list of possible names for gcov

Our base images are getting slimmer and no longer include gcc and gcov.

/merge


Feature/meta data

the exception with an empty string was from an old commit and was previously replaced by an exception with a message, which has now been replaced with an IReportMessage Message

My thinking was to throw the exception and stop the compute because the data will have gone through two rounds of validation and then got messed up. should we just force monotonic and relay the same message as with y vals?

so then we'd need force monotonic in Y and force monotonic in X

I am going to merge this to continue work on a fresh branch and can resolve the non-monotonic X values on another branch


Once system python and pipx upgraded, cannot install new app if some previous old shared_venv existed

Describe the bug

On Manjaro/Arch, I was with python 3.7.4.
To ensure stability of some apps (and as some apps are not fully working on 3.8 that I new was coming) I also had python 3.7.5 installed through pyenv.
I use this python to install my apps with
pipx install --python ~/.pyenv/versions/3.7.5/bin/python flexget
pipx inject flexget transmissionrpc

Then my system got upgraded from 3.7.4 to 3.8 (Note that my 3.7.5 pyenv stayed)
I reinstalled pipx on 3.8 on system.
Then I had error thrown when installing new pipx no matter what versions I tried:
$ pipx install pycowsay --verbose
pipx > (run_pipx_command:134): Virtual Environment location is /home/hcooh/.local/pipx/venvs/pycowsay
pipx > (run:97): running /usr/bin/python -m venv --without-pip /home/hcooh/.local/pipx/venvs/pycowsay
pipx > (run:97): running /home/hcooh/.local/pipx/venvs/pycowsay/bin/python -m pip install pycowsay
/home/hcooh/.local/pipx/venvs/pycowsay/bin/python: No module named pip

pipx > (rmdir:16): removing directory /home/hcooh/.local/pipx/venvs/pycowsay
'/home/hcooh/.local/pipx/venvs/pycowsay/bin/python -m pip install pycowsay' failed

or even trying to use the pyenv:
pipx install --python ~/.pyenv/versions/3.7.5/bin/python pycowsay --verbose
pipx > (run_pipx_command:134): Virtual Environment location is /home/hcooh/.local/pipx/venvs/pycowsay
pipx > (run:97): running /home/hcooh/.pyenv/versions/3.7.5/bin/python -m venv --without-pip /home/hcooh/.local/pipx/venvs/pycowsay
pipx > (run:97): running /home/hcooh/.local/pipx/venvs/pycowsay/bin/python -m pip install pycowsay
/home/hcooh/.local/pipx/venvs/pycowsay/bin/python: No module named pip

pipx > (rmdir:16): removing directory /home/hcooh/.local/pipx/venvs/pycowsay
'/home/hcooh/.local/pipx/venvs/pycowsay/bin/python -m pip install pycowsay' failed

Running the already installed app (using the 3.7.5) would work fine and even pipx runpip xxx list
I realised then that .local/pipx/shared/pyvenv.cfg mentioned python version 3.7.4.
So I renamed the .local/pipx/shared folder differently. It recreated the shared lib for python3.8.
I had to then symlink the pyenv folder of python3.7 with:
ln -s ../../../../.pyenv/versions/3.7.5/lib/python3.7/ ~/.local/pipx/shared/lib/python3.7

And then install run fine and the already installed app run fine too
How to reproduce

See above
Expected behavior

pipx Install install should work after a pyhton upgrade even if hte previous shared folder still exists.
i think

Hm.  I'm trying to figure out how I might reproduce this on my own system.  There's a lot going on in your issue description.
Do you have a simplified way to reproduce this that I could try, possibly using pyenv?
For the devs, it appears that Venv.create_venv() is being called, which would execute shared_libs.create().  This happens without error, so either its creating a shared library dir or finding one it thinks is valid.
Since it can't find pip, it seems as though either pipx_shared.pth is absent, in the wrong place, or contains a bad path to the shared libraries.  Or something out of my conception...?
Unless I can somehow reproduce this on my system I'm pretty lost as to what is going on.

@itsayellow, I'm not sure this is reproducible with pyenv, but I can detail how I encountered it / can reproduce it on Debian (where sid recently went from /usr/bin/python3 being 3.7 to 3.8) without anything other than the system Python, and maybe that will help.
In detail:

docker run --rm -it debian:bullseye  # this will stop working when python3.8 migrates to Debian testing, but it's faster than upgrading from buster.

(All steps now inside the container)

apt -y update && apt -y install --no-install-recommends python3-pip python3-setuptools python3-venv python3-wheel
python3 -m pip install pipx
pipx install yq

yq is now in ~root/.local/pipx/venv
Update python3 to python3.8:

sed -i -e 's/bullseye/sid/g' /etc/apt/sources.list
apt -y update && apt -y upgrade

root@e861fc867d19:/# python3 --version
Python 3.8.2
root@e861fc867d19:/# pipx
Traceback (most recent call last):
  File "/usr/local/bin/pipx", line 6, in <module>
    from pipx.main import cli
ModuleNotFoundError: No module named 'pipx'
root@e861fc867d19:/#

Reinstall pipx:

python3 -m pip install pipx

At this point, trying to upgrade an existing app or install a new one fail with a "no module named pip" error
root@e861fc867d19:/# pipx upgrade yq
/root/.local/pipx/shared/bin/python: No module named pip
Failed to upgrade shared libraries
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/pipx/shared_libs.py", line 70, in upgrade
    run(
  File "/usr/local/lib/python3.8/dist-packages/pipx/util.py", line 134, in run
    raise PipxError(f"{cmd_str!r} failed")
pipx.util.PipxError: '/root/.local/pipx/shared/bin/python -m pip --disable-pip-version-check install -q --upgrade pip setuptools wheel' failed
/root/.local/pipx/venvs/yq/bin/python: No module named pip
'/root/.local/pipx/venvs/yq/bin/python -m pip install --upgrade yq -q' failed
root@e861fc867d19:/#

# pipx install --verbose jq
pipx > (_package_name_from_spec:93): Determined package name: jq
pipx > (_package_name_from_spec:94): Package name determined in 0.0s
pipx > (run_subprocess:112): running /usr/bin/python3 -m venv --without-pip /root/.local/pipx/venvs/jq
pipx > (run_subprocess:112): running /root/.local/pipx/venvs/jq/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx > (run_subprocess:112): running /root/.local/pipx/shared/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx > (run_subprocess:112): running /root/.local/pipx/venvs/jq/bin/python --version
pipx > (run_subprocess:112): running /root/.local/pipx/venvs/jq/bin/python -m pip install jq
/root/.local/pipx/venvs/jq/bin/python: No module named pip
pipx > (install_package:189): '/root/.local/pipx/venvs/jq/bin/python -m pip install jq' failed

pipx > (rmdir:18): removing directory /root/.local/pipx/venvs/jq
Error installing jq.
root@e861fc867d19:/#

Have you tried pipx reinstall-all?  This command is supposed to help for situations when the system python changes, and has been known to work for that situation on the Mac.
If that doesn't work, what does pipx list return?  It should show a lit of packages with warnings that they are missing a valid python interpreter.
Did you uninstall the old jq before trying to install the new jq?  That may be important.
The other thing I can think of that might possibly be affecting you is that you are installing pipx to the system as opposed to using python3 -m pip install --user pipx as is our recommendation.

It's subtle (I should probably have picked better example packages for the demo), but note that the first package was yq (YAML) and the second was jq (JSON).  Sorry :)

pipx reinstall-all fails during the 'install' portion of reinstalling the first package.  (Leaving the package uninstalled, and losing pipx_metadata.json!)
pipx list works fine
If I run the pip / pipx portions of the above as a non-root user, it still reproduces.

Before upgrading the system Python:
root@cc012cba1af1:/# su - paul
paul@cc012cba1af1:~$ python3 -m pip install pipx
...
paul@cc012cba1af1:~$ export PATH="$PATH:$HOME/.local/bin"
paul@cc012cba1af1:~$ which pipx
/home/paul/.local/bin/pipx
paul@cc012cba1af1:~$ pipx install yq
  installed package yq 2.10.0, Python 3.7.6
  These apps are now globally available
    - xq
    - yq
done! ✨ 🌟 ✨
paul@cc012cba1af1:~$

After upgrading the system Python:
root@cc012cba1af1:/# su - paul
paul@cc012cba1af1:~$ export PATH="$PATH:$HOME/.local/bin"
paul@cc012cba1af1:~$ pipx
Traceback (most recent call last):
  File "/home/paul/.local/bin/pipx", line 6, in <module>
    from pipx.main import cli
ModuleNotFoundError: No module named 'pipx'
paul@cc012cba1af1:~$ python3 -m pip install pipx
Collecting pipx
...
Successfully installed argcomplete-1.11.1 click-7.1.1 distro-1.4.0 pipx-<IP_ADDRESS> userpath-1.3.0
paul@cc012cba1af1:~$ pipx list
venvs are in /home/paul/.local/pipx/venvs
apps are exposed on your $PATH at /home/paul/.local/bin
   package yq 2.10.0, Python 3.7.6
    - xq
    - yq
paul@cc012cba1af1:~$ pipx install jq
/home/paul/.local/pipx/venvs/jq/bin/python: No module named pip

Error installing jq.
paul@cc012cba1af1:~$ pipx reinstall-all --verbose
pipx > (needs_upgrade:51): Time since last upgrade of shared libs, in seconds:<PHONE_NUMBER>2931213. Upgrade will be run by pipx if greater than 2592000.0.
pipx > (needs_upgrade:51): Time since last upgrade of shared libs, in seconds:<PHONE_NUMBER>144165. Upgrade will be run by pipx if greater than 2592000.0.
pipx > (uninstall:292): removing symlink /home/paul/.local/bin/yq
pipx > (uninstall:292): removing symlink /home/paul/.local/bin/xq
pipx > (rmdir:18): removing directory /home/paul/.local/pipx/venvs/yq
uninstalled yq! ✨ 🌟 ✨
pipx > (run_subprocess:112): running /usr/bin/python3 -m venv --without-pip /home/paul/.local/pipx/venvs/yq
pipx > (run_subprocess:112): running /home/paul/.local/pipx/venvs/yq/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx > (run_subprocess:112): running /home/paul/.local/pipx/shared/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx > (run_subprocess:112): running /home/paul/.local/pipx/venvs/yq/bin/python --version
pipx > (run_subprocess:112): running /home/paul/.local/pipx/venvs/yq/bin/python -m pip install yq
/home/paul/.local/pipx/venvs/yq/bin/python: No module named pip
pipx > (install_package:189): '/home/paul/.local/pipx/venvs/yq/bin/python -m pip install yq' failed

pipx > (rmdir:18): removing directory /home/paul/.local/pipx/venvs/yq
Error installing yq.
paul@cc012cba1af1:~$ pipx list
nothing has been installed with pipx 😴
paul@cc012cba1af1:~$

Some further bits of information:
This seems to be specific to using a python3 -m pip (or pip3) to install pipx, which causes pipx's shebang to be #!/usr/bin/python3.
When I use python3.7 -m pip install pipx, then pipx's shebang is versioned (#!/usr/bin/python3.7), and as long as Debian's python3.7 package is still installed, everything keeps working.
Further, if I then uninstall python3.7 (apt -y autoremove --purge) and reinstall pipx (python3.8 -m pip install pipx), pipx is able to detect it needs to reinitialize the shared packages (note the python3.8 -m venv --clear /home/paul/.local/pipx/shared below)
root@624077171e9c:/# su - paul
paul@624077171e9c:~$ pipx --verbose
-bash: /home/paul/.local/bin/pipx: /usr/bin/python3.7: bad interpreter: No such file or directory
paul@624077171e9c:~$ python3.8 -m pip install pipx
Collecting pipx
...
Successfully installed argcomplete-1.11.1 click-7.1.1 distro-1.4.0 pipx-<IP_ADDRESS> userpath-1.3.0
paul@624077171e9c:~$ pipx install --verbose jq
pipx > (_package_name_from_spec:93): Determined package name: jq
pipx > (_package_name_from_spec:94): Package name determined in 0.0s
pipx > (run_subprocess:112): running /usr/bin/python3.8 -m venv --without-pip /home/paul/.local/pipx/venvs/jq
pipx > (run_subprocess:112): running /usr/bin/python3.8 -m venv --clear /home/paul/.local/pipx/shared
pipx > (upgrade:62): Upgrading shared libraries in /home/paul/.local/pipx/shared
pipx > (run_subprocess:112): running /home/paul/.local/pipx/shared/bin/python -m pip --disable-pip-version-check install --upgrade pip setuptools wheel
Collecting pip
...
Successfully installed pip-20.0.2 setuptools-46.0.0 wheel-0.34.2
pipx > (run_subprocess:112): running /home/paul/.local/pipx/venvs/jq/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx > (run_subprocess:112): running /home/paul/.local/pipx/shared/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx > (run_subprocess:112): running /home/paul/.local/pipx/venvs/jq/bin/python --version
pipx > (run_subprocess:112): running /home/paul/.local/pipx/venvs/jq/bin/python -m pip install jq
Collecting jq
  Downloading jq-0.1.6.tar.gz (35 kB)
...

OK, I finally had a chance to run your very complete docker instructions.  Thank you for that!
I can reproduce what you're talking about.  And it doesn't seem to help if you install pipx using pip install --user.
First problem, yq stops working after system python upgrade
What seems to be happening is that in ~/.local/pipx/venv/yq/bin all the pythons are being linked back only to /usr/bin/python3.  This is not what happens for me on my Mac: there each venv's python is linked to a very particular version of python on my system (e.g. /usr/local/Cellar/python/3.7.7/python3.7.). So it doesn't come up empty looking for a non-existent python (which we handle), but the python it finds has a different minor version than before.  This causes site packages to be in the wrong place (they are in ~/.local/pipx/venvs/yq/lib/python3.7/ but the new python3.8 is looking for ~/.local/pipx/venvs/yq/lib/python3.8/ which doesn't exist)
I see the same behavior on my Ubuntu system.  The python interpreter link in all the venvs points to /usr/bin/python3, not a specific version like /usr/bin/python3.7.
The workaround when you first install yq would be this pipx command:
pipx install --python /usr/bin/python3.7 yq

Then after upgrading the system python yq will still work.  (I tried it and it works for me.)
My suggestion to the pipx developers is that when we determine the system python, maybe we should resolve the link back to the original binary filepath which would get a specific python sub-version.  (e.g. in utils.py we should use DEFAULT_PYTHON = Path(sys.executable).resolve()). I'm not sure if that's the best solution (it would cause sub-minor python upgrades to break pipx venvs) but it's a solution.
Second problem, reinstall of pipx will not install after system upgrade
I think this is similar to the venv problem described above.  The shared libs have their own idea of a python binary, and on linux this seems to be linked to a generic binary without a sub-version (i.e. /usr/bin/python3) which then screws up the shared lib venv when the python minor version number changes.  It appears to pipx that at least the python binary is valid, but the shared_lib venv has no site-packages under the the new python3.8 only under the old python3.7.
shared_libs.py, _SharedLibs.is_valid() only checks if we have files of the python binary and the pip binary, but it doesn't check that the library pip is still accessible for the current python.  When the python the shared_libs is linked to gets changed from 3.7 to 3.8, then we no longer have the package pip under the right directory in the shared_libs venv.

btw the workaround after an upgrade of the system python to get pipx working (after reinstalling pipx):
rm ~/.local/pipx/shared/bin/python3
ln -s /usr/bin/python3.7 ~/.local/pipx/shared/bin/python3

Or at least I assume that should be the workaround, but when I tried it, it found pip but then failed spectacularly trying to build a wheel for jq.

It seems that we need a better _SharedLibs.is_valid() that is more in-depth and can trigger a reinstall of the shared libs if there is no pip library found.

Or at least I assume that should be the workaround, but when I tried it, it found pip but then failed spectacularly trying to build a wheel for jq.

Sorry, that's another example of "I should have chosen better packages as examples."  It fails because of no C compiler.
Using "yq" and then "httpie" seem like better example packages -- neither require compilation.

I think I encountered a similar problem after upgrading my python install from the brew. The solution that worked for me is pipx reinstall-all.
To illustrate the problem and how it gets resolved, the following are the commands I did.
 me@MacBook-Pro  ~  python --version
python 3.8.3

 me@MacBook-Pro  ~ brew upgrade
...
all done!
 me@MacBook-Pro  ~ python --version
python 3.8.5
 me@MacBook-Pro  ~  pipx list
venvs are in /Users/me/.local/pipx/venvs
apps are exposed on your $PATH at /Users/me/.local/bin
   package autopep8 has invalid interpreter<EMAIL_ADDRESS>   package black has invalid interpreter<EMAIL_ADDRESS>   package flake8 has invalid interpreter<EMAIL_ADDRESS>   package jupyterlab has invalid interpreter<EMAIL_ADDRESS>   package pycowsay has invalid interpreter<EMAIL_ADDRESS>   package pylint has invalid interpreter<EMAIL_ADDRESS>   package virtualenv has invalid interpreter<EMAIL_ADDRESS>
 me@MacBook-Pro  ~  pipx reinstall-all
...
 me@MacBook-Pro  ~  pipx list
venvs are in /Users/me/.local/pipx/venvs
apps are exposed on your $PATH at /Users/me/.local/bin
   package autopep8 1.5.4, Python 3.8.5
    - autopep8
   package black 20.8b1, Python 3.8.5
    - black
    - black-primer
    - blackd
   package flake8 3.8.4, Python 3.8.5
    - flake8
   package jupyterlab 2.2.8, Python 3.8.5
    - ...
   package pycowsay <IP_ADDRESS>, Python 3.8.5
    - pycowsay
   package pylint 2.6.0, Python 3.8.5
    - ...
   package virtualenv 20.0.33, Python 3.8.5
    - virtualenv

This last example is related to #493

This may or may not useful, but this also happens if you do a fresh install on a new computer and a higher version of ubuntu (or probably any other linux), and then transfer your home directory.
pipx get very mad, and the only way I was able to fix it was to wipe everything pipx related and start reinstalling, which is less than ideal.
I worked my way through several of the folks examples here, but in the end I think I made it worse. Only by removing everything under ~/.local/pipx was I able to start installing from scratch again.

@sean-abbott depending on how old your original pipx was, this may also be because pipx has been extensively upgraded in the past year or so.  Usually pipx reinstall-all can fix most issues.

I tried running reinstall-all, it gave me errors. Unfortunately I have both
closed the terminal and "fixed" it by just reinstalling, so I can't give
you the errors anymore, I'm sorry.
On Sat, Dec 26, 2020 at 8:47 PM Matthew Clapp<EMAIL_ADDRESS>wrote:

@sean-abbott https://github.com/sean-abbott depending on how old your
original pipx was, this may also be because pipx has been extensively
upgraded in the past year or so. Usually pipx reinstall-all can fix
most issues.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pipxproject/pipx/issues/294#issuecomment-751415330,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKWJVYILJ5MK3PZW3RUR53SW2G2DANCNFSM4J26VQBA
.

I'm not sure if this is related, but I've had very similar issues. After much un/re-installing with manual clear downs of the shared dirs I've got rid od f the "can't find pip" issue, but am now having the following when trying to install something:
$  pipx install flake8
Error: Command '['/home/mike/.local/pipx/shared/bin/python', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

'/usr/bin/python -m venv --clear /home/mike/.local/pipx/shared' failed

I can uninstall pipx, remove the .local/pipx tree completely, then reinstall and try it, and it's the same problems.
This following an upgrade from 3.8 => 3.9 in Ubuntu on WSL2, using update-alternatives to manage the python version.

I'm not sure if this is related, but I've had very similar issues. After much un/re-installing with manual clear downs of the shared dirs I've got rid od f the "can't find pip" issue, but am now having the following when trying to install something:
$  pipx install flake8
Error: Command '['/home/mike/.local/pipx/shared/bin/python', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

'/usr/bin/python -m venv --clear /home/mike/.local/pipx/shared' failed

I can uninstall pipx, remove the .local/pipx tree completely, then reinstall and try it, and it's the same problems.
This following an upgrade from 3.8 => 3.9 in Ubuntu on WSL2, using update-alternatives to manage the python version.

@michjnich , what happens with Python 3.9 if you just try the following on your command-line:
pip --version

If that's missing, then you might need to use apt to reinstall for Python 3.9 the necessary modules for Ubuntu that ensure venv and pip are available:
https://pipxproject.github.io/pipx/troubleshooting/#debian-ubuntu-issues
sudo apt install python3-venv python3-pip

@michjnich , what happens with Python 3.9 if you just try the following on your command-line:
pip --version

If that's missing, then you might need to use apt to reinstall for Python 3.9 the necessary modules for Ubuntu that ensure venv and pip are available:
https://pipxproject.github.io/pipx/troubleshooting/#debian-ubuntu-issues
sudo apt install python3-venv python3-pip

Seems like it's pointing at the correct version already.:
$   python --version
Python 3.9.1
$   pip --version
pip 21.0 from /home/mike/.local/lib/python3.9/site-packages/pip (python 3.9)

Seems like it's pointing at the correct version already.:
$   python --version
Python 3.9.1
$   pip --version
pip 21.0 from /home/mike/.local/lib/python3.9/site-packages/pip (python 3.9)

OK, the other important package to check is python3-venv
> apt list --installed python3-venv
Listing... Done
python3-venv/focal,now 3.8.2-0ubuntu2 amd64 [installed]
> apt list --installed python3-pip
Listing... Done
python3-pip/focal-updates,focal-updates,focal-security,focal-security,now 20.0.2-5ubuntu1.1 all [installed]
N: There is 1 additional version. Please use the '-a' switch to see it

Hopefully with Python 3.9 installed you should get each package listed as you query the apt list command and [installed] next to them.

OK, the other important package to check is python3-venv
> apt list --installed python3-venv
Listing... Done
python3-venv/focal,now 3.8.2-0ubuntu2 amd64 [installed]
> apt list --installed python3-pip
Listing... Done
python3-pip/focal-updates,focal-updates,focal-security,focal-security,now 20.0.2-5ubuntu1.1 all [installed]
N: There is 1 additional version. Please use the '-a' switch to see it

Hopefully with Python 3.9 installed you should get each package listed as you query the apt list command and [installed] next to them.

$  python --version
Python 3.9.1
$  apt list --installed python3-venv
Listing... Done
python3-venv/focal,now 3.8.2-0ubuntu2 amd64 [installed]
$  apt list --installed python3-pip
Listing... Done
python3-pip/focal-updates,focal-security,now 20.0.2-5ubuntu1.1 all [installed]
N: There is 1 additional version. Please use the '-a' switch to see it

So they're installed, but should venv be showing a 3.9 version here?

$  python --version
Python 3.9.1
$  apt list --installed python3-venv
Listing... Done
python3-venv/focal,now 3.8.2-0ubuntu2 amd64 [installed]
$  apt list --installed python3-pip
Listing... Done
python3-pip/focal-updates,focal-security,now 20.0.2-5ubuntu1.1 all [installed]
N: There is 1 additional version. Please use the '-a' switch to see it

So they're installed, but should venv be showing a 3.9 version here?

So they're installed, but should venv be showing a 3.9 version here?

How did you install Python 3.9?  You probably want python3.9-venv installed.
python3-venv is a dependency package which points at (on focal) python3.8-venv, so you may not automatically pick up the venv package without installing it manually.

So they're installed, but should venv be showing a 3.9 version here?

How did you install Python 3.9?  You probably want python3.9-venv installed.
python3-venv is a dependency package which points at (on focal) python3.8-venv, so you may not automatically pick up the venv package without installing it manually.

It was installed from the deadsnakes:ppa, then configured as an alternative version using update-alternatives (which is how I switch between system versions if I need to). I guess the 3.9-venv needs installing specifically here ... I'll get that set up and see if it resolves the issue. Thanks!

It was installed from the deadsnakes:ppa, then configured as an alternative version using update-alternatives (which is how I switch between system versions if I need to). I guess the 3.9-venv needs installing specifically here ... I'll get that set up and see if it resolves the issue. Thanks!

Arch Linux, pipx 0.16.4, just upgraded from Python 3.9 to 3.10, and as per tradition all my pipx packages broke.
Old venvs break

running a pipx operation to make it recreate the shared env with the new python version.

Even after recreating the shared env, some of my existing envs don't load, since they only have ~/.local/pipx/venvs/PACKAGE/lib/python3.9/:
> tg
Traceback (most recent call last):
  File "/home/nyanpasu64/.local/bin/tg", line 5, in <module>
    from tg.__main__ import main
ModuleNotFoundError: No module named 'tg'

> aws
Traceback (most recent call last):
  File "/home/nyanpasu64/.local/bin/aws", line 19, in <module>
    import awscli.clidriver
ModuleNotFoundError: No module named 'awscli'

> scan-build
Traceback (most recent call last):
  File "/home/nyanpasu64/.local/bin/scan-build", line 5, in <module>
    from libscanbuild.analyze import scan_build
ModuleNotFoundError: No module named 'libscanbuild'

Interestingly, maestral and corrscope (which I installed with --system-site-packages so they could use system PyQt5) work without having to reinstall. It seems pipx upgrade-all somehow produced a corrscope/lib/python3.10 with very recent modification dates (11:02:06 PM), and maestral/lib/python3.10 (11:02:00 PM). For context, I updated python at 10:57 PM, tried and failed to run pipx upgrade-all at 11:01:57 PM, and recreated my pipx shared env later at 11:02:39 PM. Interestingly, corrscope/bin and maestral/bin still have python3.9 binaries, but they now point to /usr/bin/python3.10 (possibly because /usr/bin/python links to /usr/bin/python3.10).
However, corrscope (which I installed with now fails to run when I uninstall system matplotlib (prints ModuleNotFoundError: No module named 'matplotlib'), because the pipx-venv matplotlib contains CPython 3.9 extensions and can no longer be loaded by 3.10.
Reinstalling works-ish
pipx reinstall awscli worked. I tried reinstalling this using fd -d 1 . ~/.local/pipx/venvs/ --exec pipx reinstall '{/}' (because I didn't realize that reinstall-all existed). The uninstalls succeeded, but the installs failed:
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/nyanpasu64/.local/pipx/shared/lib/python3.10/site-packages/pip/__main__.py", line 9, in <module>
    if sys.path[0] in ("", os.getcwd()):
FileNotFoundError: [Errno 2] No such file or directory

I think that fd doesn't change the current working directory, implying that pipx reinstall failed because I ran fd in a folder deleted by one of the reinstall commands. Do you consider it a bug that pipx fails when run in a folder deleted by pip install, and do you plan to cd $HOME after deleting the venv? Is it a bug that a failed pipx reinstall deletes the venv folder and makes pipx act like the package never existed?
Suggestions

Change pipx reinstall-all to first delete (or rename) and recreate the shared venv, before reinstalling all packages from the original spec. (Before I realized that reinstall-all existed, I wrote: ideally if reinstalling any package fails, the old environment is left in place, and/or the failing packages are printed.) IDK if this is implemented or necessary.
Make pipx reinstall not fail if your current working directory is deleted by the uninstall process.
Somehow make pipx reinstall better handle the case where reinstallation fails (perhaps leave the old folder in place? perhaps rename the old folder instead of deleting it?).

I reinstalled pipx using pip install pipx after upgrading to Python 3.10.
When I ran pipx reinstall-all, it printed a lot of errors and removed all my virtualenvs, it failed to reinstall these.
https://gist.github.com/Exagone313/99b7aa35b8aec098f431e702d9416f35
After that, running the command again gave an error about the pip package being not found in pipx virtualenv:
/home/emartinet/.local/pipx/shared/bin/python: No module named pip
Failed to upgrade shared libraries
Traceback (most recent call last):
  File "/home/emartinet/.local/lib/python3.10/site-packages/pipx/shared_libs.py", line 113, in upgrade
    subprocess_post_check(upgrade_process)
  File "/home/emartinet/.local/lib/python3.10/site-packages/pipx/util.py", line 165, in subprocess_post_check
    raise PipxError(
pipx.util.PipxError: '/home/emartinet/.local/pipx/shared/bin/python -m pip --disable-pip-version-check install -q --upgrade pip setuptools wheel' failed

I solved it by moving the ~/.local/pipx directory: mv ~/.local/pipx{,.old}.

I think the reinstallation should be protective and keep the list of installed virtualenvs at some place to deal with installation errors.

Summary
Judging from https://github.com/pypa/pipx/issues/294#issuecomment-992699160 and https://github.com/pypa/pipx/issues/294#issuecomment-597792241, there's at least 3 versions in a pipx setup:

The Python interpreter version used to install pipx
The shared env's version
Each app's venv version

Each of these should match the system Python interpreter, but might desync (the system Python interpreter's path is still present, but belongs to a different Python version) when updating Python in-place on Linux.
Ideas
Not a pipx contributor so far, but I could try changing reinstall-all to always recreate the shared environment, and change more pipx operations (reinstall, upgrade[-all], install, etc.) to automatically recreate the shared environment if the Python interpreter version has changed. (Perhaps it should also reinstall all packages? It's necessary to fix broken packages, but unexpected by the user. Maybe do nothing in shell scripts and prompt the user if a TTY is detected?) You'll either have to save the install-time Python version in a config file, or detect the install-time Python version from the shared/app venv (I'm not sure how, and looking for a .../lib/python3.x folder can mistakenly indicate a venv was installed on newer Python than it actually was; on current pipx I managed to end up with a shared env with an empty python3.10 folder, and an app's venv with a python3.10 folder containing Python 3.10 __pycache__ but 3.9 C extensions).
My other idea is to add a config file/database containing a list of venvs and each venv's install options and Python versions. This complicates the architecture since the config file can desync with the actual folders present (eg. if a user adds/removes venv folders by hand), but is useful since if a failed reinstall deletes a venv, it's still present in the config/database and a subsequent reinstall-all knows to install them. This config file should also store the shared environment's Python version and/or interpreter path, so pipx can compute when to regenerate the shared env and all app venvs (or you can skip this and use the version stored in ~/.local/pipx/shared/pyvenv.cfg).
In theory you could also store the Python version/path of each app's venv (though this is already tracked in ~/.local/pipx/venvs/*/pyvenv.cfg. Using this to support different venvs with different Python versions/interpreters is too complex IMO. It might be useful to use this to track which venvs need to be reinstalled. I kinda prefer not supporting partially upgrading venvs, but instead block all pipx operations until the shared env and all venvs are upgraded in a single operation. But old pipx versions (combined with users copying commands to try to fix pipx) can generate mixed Python versions. If we don't check per-venv Python versions, we can update the docs and tell users to "reinstall-all to fix things"; if we do, we can detect and address this situation.
I think it's still a good idea for reinstall-all to regenerate the shared env, even if it's supposedly up-to-date according to the "install-time Python version" metadata. This allows the command to fix errors tied to the shared env, rather than any app's venv. (These errors may exist, I've never encountered any other than a Python version mismatch.) This also fixes cases where the Python version has actually changed even though the metadata wrongly indicates the install-time version matches the current version.
Is it possible for each app's shim binary to automatically reinstall the app (and shared env, maybe other apps) if necessary? This makes the reinstallation process transparent to users and hopefully "just work", but I'm not sure if users want their apps to magically change behavior in edge cases (though they already break right now). And this might slow-down happy-path app startup time (though you can get pretty close to zero overhead by only reinstalling when you catch ModuleNotFoundError) (though I don't know if this fixes both "outdated shared env and app" and "updated shared env but outdated app"). And this doesn't catch cases where pipx install --system-site-packages and pipx upgrade results in a working app which uses C libraries from the system rather than the venv.
Or perhaps pipx itself should catch ModuleNotFoundError: No module named 'pipx' and reinstall the shared env and all packages. (I don't think I've seen this particular error since I installed pipx from the Arch repositories rather than pip install --user.) This fixes another user-facing failure mode of pipx, but can't replace my previous suggestions since it fails to catch cases where pipx is updated but the shared env is out-of-date and unusable.
I didn't look into handling the system Python interpreter being uninstalled, and a new one being installed to a different location. This case is more common on Windows where Python is installed to C:\Python3xx\bin\python rather than /usr/bin/python. This may break the pipx binary, and require the user to reinstall pipx by hand, and then ideally pipx updates the shared and app envs from there.
Testing
I think it will be difficult to come to a consensus on an optimal design (probably manual testing will help in designing an intuitive interface), and difficult to manually or automatically test updating Python to a new major version (which only happens once per year per Linux installation). Perhaps pyenv will help to test switching Python interpreters quickly. There's also "build a Docker image with an outdated Python", but I'm less familiar with that than pyenv, and setting up Docker/Podman requires more upfront setup and invasive system changes (cgroups etc.) than pyenv IMO.


Add lean body mass support

Both the day and the week object should be updated to include lean body mass quantities.
day objects should calculate lean body mass based on weight and body_fat.
week objects should calculate lean body mass average and change.

Closed in commit 43a9fb358fa4a1221a65a1f490062bfd0a56def5.


Add swift-docc support

Based on #6
More info: developer.apple.com/documentation/Xcode/documenting-a-swift-framework-or-package

You can use it in Xcode 13's menu Product-Build Documentation to view it in Xcode.
Or run swift docc to generate a docc archive to later put it on a website like this one https://www.swift.org/documentation/docc/


CMS6: Flushable classes aren't flushed when flushing from sake

The Flushable interface implementors have flush() called on them when the system is flushed. This is currently handled in a middleware - but middleware isn't run during sake execution. This means in CMS 6 those classes do not get flushed when flushing from sake.
Acceptance Criteria

sake flush and sake [command] --flush results in the flush() method being called on all Flushable implementors.

PRs
CMS 5 PRs

https://github.com/silverstripe/silverstripe-framework/pull/11444
https://github.com/silverstripe/developer-docs/pull/608

CMS 6 PRs
kitchen sink CI run since this is the sort of change that could potentially bork tests

https://github.com/silverstripe/silverstripe-framework/pull/11436
https://github.com/silverstripe/developer-docs/pull/607

Merged CMS 5 PRs - you'll need to merge up


libretro core crashes when trying to save state

i don't mind if save states are not possible
but it would be nice if it didn't crash

setup

macOS 12.6.6
RA 1.15.0 (stable and latest Jun 15 build)
core 0.86 (749d88e)

crash reports

RetroArch-2023-06-15.zip

mines did the same thing too just now on my Nintendo Switch... i wish this dude made a standalone version of this emulator instead....

Happens for me on Android with the freshly updated core, now...

Yes, unfortunately for me too. It has been a while since I first came across the issue and it still occurs. I have also heard that if you make your own build on the device you are using it on then the issue is corrected. I don't build my own, but maybe I'll have to try...


Develop venia

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #Lint Issues Fixed and EsConfig Updated. Previous commit, All the components changes updated.
Test URLs:

Before: https://main--venia-website--adobemph3.aem.live
After: https://develop-veina--venia-website--adobemph3.aem.live

Updated Test URL


Sure If You Want To Link It

Okay

https://github.com/iamteles/VS-Tails.EXE-Source

did it work??

Im Working on it

Ah sorry i dont mean to sound like im rushing you

no no its ok

oh and im a big fan of your work

thanks (:

np!

https://mr-funkinguy.github.io/FNF-NEO-HTML5-BY-ME/
(This Is Just If You Want To Link OR Som idk

yeah i have a google doc with fnf links lol

can i have da link lol
i wanna see your work

most of my work is on github like i have sonic exe psych engine v2

ooooo

Yep ^^

https://levixddlmao.github.io/Sonic.exeHTML5/

https://levixddlmao.github.io/Tabi_rework_html5/

those are my main favs

Any errors

not yet like i said im Am God (:

XD


Stop updating api v1

Stops running updates for api v1.  The existing files in /latest should still remain, meaning you will still be able to download the existing api, but it will no longer update.

✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅


MAINT: Upgrade Jinja2 to 2.9.6

Coverage remained the same at 87.623% when pulling c4d95bef7d919aa712377884f4212b382e88d091 on upgrade-jinja2 into 7dea3889e960604ff53c9ef9a74787d583aa234a on master.