Spyder won't run on Windows Vista if user name/home folder contains non-ascii characters

From<EMAIL_ADDRESS>on 2012-01-04T08:52:34Z
What steps will reproduce the problem?

Install fresh Spyder
Run
See it crashed What version of the product are you using? On what operating system? Python 2.7.2 on Windows Vista x32, Spyder 2.1.6

I use cyrillic user name in Windows, so the Spyder2 data directory is:
C:\Users\Илья.spyder2
Although .history.py is in place, it cannot be open
spyder_crash.log:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\spyderlib\spyder.py", line 1896, in main
mainwindow = run_spyder(app, options)
File "C:\Python27\lib\site-packages\spyderlib\spyder.py", line 1817, in run_spyder
main.post_visible_setup()
File "C:\Python27\lib\site-packages\spyderlib\spyder.py", line 912, in post_visible_setup
self.extconsole.open_interpreter_at_startup()
File "C:\Python27\lib\site-packages\spyderlib\plugins\externalconsole.py", line 1064, in open_interpreter_at_startup
self.open_interpreter()
File "C:\Python27\lib\site-packages\spyderlib\plugins\externalconsole.py", line 1071, in open_interpreter
interact=True, debug=False, python=True)
File "C:\Python27\lib\site-packages\spyderlib\plugins\externalconsole.py", line 762, in start
self.historylog.add_history(shellwidget.shell.history_filename)
File "C:\Python27\lib\site-packages\spyderlib\plugins\history.py", line 223, in add_history
text, _ = encoding.read(filename)
File "C:\Python27\lib\site-packages\spyderlib\utils\encoding.py", line 151, in read
text, encoding = decode( file(filename, 'rb').read() )
IOError: [Errno 2] No such file or directory: u'C:\Users\\xc8\xeb\xfc\xff\.spyder2\.history.py'
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=902

From ccordoba12 on 2012-01-05T16:02:32Z
This is a well known bug and I've been trying hard to fix it during the last month.
Please continue the discussion on the issue you're going to be redirected. I'll post there my fixes very soon.
Thanks for your interest in Spyder,
Carlos
Status: Duplicate
Mergedinto: 812


Update with 21h2 announced gpu support in wsl2

Hi
Is there an update due following the announcement of gpu support in wsl 2 included in 21h2?
Cheers
Manu

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

ID: 0fdfa117-e801-0df5-3c81-3151a97f431d
Version Independent ID: ee755d20-17c2-3d18-0c5c-b9ed31135218
Content: Enable NVIDIA CUDA in WSL 2
Content Source: docs/directml/gpu-cuda-in-wsl.md
Product: machine-learning
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Hi, @ManuInNZ, thanks for filing this issue. We'll update the topic in future once development/releases are a little further along.
Many thanks!
Steve


[Jetsnack] Vertical scrolling is janky

Tested on a Pixel 2XL running Android 11.

No. The scrolling is janky when we mess with Android's animation speed from dev options. Try turning all animations down to 0x & you'll still see that issue.


[Bombastic] Chunked/streaming API

SBOMs can be as large as 300 MB in the case of OpenShift. The HTTP API should be refactored to support chunking the body so that we don't have to hold the entire body in memory on upload.

i think i can preserve existing behavior -- Object.data will remain Vec[u8], but if it's empty, that'll mean the data is actually at a different path, e.g. /sbom prefix instead of /data in the bucket. this will happen when a POST is made with Transfer-Encoding: chunked, in which case the now-optional query params will be required (because i'm going to defer parsing a partial doc to determine them). now i just need to figure out how to adapt AsyncRead (rust_s3 crate) types to Stream (actix crate) and back


Update DIDComm V2 Endpoint to include a URI, routingKeys and Accept fields

spec udpate ref: https://github.com/decentralized-identity/didcomm-messaging/pull/352

It seems the PR for this feature #3223 has broken the ACAPy interoperability. The code does not build with the feature flag ACAPyInterop

Thanks for the update @lauravuo-techlab
The PR pushed and merged earlier in the last couple of weeks to fix this issue did a blunt replacement to DIDComm V2 ServiceEndpoint update.
This is not the right approach, I'm currently updating AFGO to support a more flexible DIDComm V1 / V2 ServiceEndpoint support. Currently running some tests to make sure the changes don't break anything then I'll be pushing a new PR.

Thanks for the info 👍

It's finally merged now, had some issues with didcomm v1 vs v2 interop, all seems to work now.
@lauravuo-techlab, Can you try again with the latest AFGO commit?
I am closing this issue for now. If you still have compilation issues, please open a new one.
Thanks.

I can confirm that the code now builds with the interop-flag. The interoperability functionality is broken though as you can see from the Aries harness reports.


feat: hydra side of ui-endpoint-info interface implementation

Let me know if I should implement more unit tests

@bencekov I suggest to convert this PR into draft until all endpoints for the login-endpoint-info are placed in the databag and the provider side you're working on in identity-platform-login-ui-operator is updated. It will be easier to review.
Opening a PR with the relation spec in the charm-relation-interfaces may help to organize the work.

Please write a proper  PR description

Could you add unit tests for your latest changes? The config file seems to be rendered with None values (see logs) instead of getting the charm in WaitingStatus.
Status handling seems to be too complex now, unit tests should help to simplify it.

@bencekov could you solve the conflicts so the CI tests can run?


CDI-586 Add spec text for new Literals

CDI-586 Add spec text for new Literals

Otherwise looks good.

Ok I'll correct and merge.


If USER isn't defined, then servicex crashes

This was from a Jupyter environmeht:
/usr/local/lib/python3.8/dist-packages/uproot/behaviors/TBranch.py in lazy(files, filter_name, filter_typename, filter_branch, recursive, full_paths, step_size, decompression_executor, interpretation_executor, array_cache, library, custom_classes, allow_missing, **options)
    518     """
    519     awkward = uproot.extras.awkward()
--> 520     files = _regularize_files(files)
    521     decompression_executor, interpretation_executor = _regularize_executors(
    522         decompression_executor, interpretation_executor, None

/usr/local/lib/python3.8/dist-packages/uproot/behaviors/TBranch.py in _regularize_files(files)
   2946
   2947     if len(out) == 0:
-> 2948         raise uproot._util._file_not_found(files)
   2949
   2950     return out

FileNotFoundError: file not found

    '/tmp/servicex_${USER}/data/2ee48170-82be-4bd2-9a44-0cc046f32506/root___fax.mwt2.org_1094__pnfs_uchicago.edu_atlaslocalgroupdisk_rucio_mc15_13TeV_04_1b_DAOD_STDM3.05630052._000015.pool.root.1:treeme100;1'

Files may be specified as:
   * str/bytes: relative or absolute filesystem path or URL, without any colons
         other than Windows drive letter or URL schema.
         Examples: "rel/file.root", "C:\abs\file.root", "http://where/what.root"
   * str/bytes: same with an object-within-ROOT path, separated by a colon.
         Example: "rel/file.root:tdirectory/ttree"
   * pathlib.Path: always interpreted as a filesystem path or URL only (no
         object-within-ROOT path), regardless of whether there are any colons.
         Examples: Path("rel:/file.root"), Path("/abs/path:stuff.root")

Functions that accept many files (uproot.iterate, etc.) also allow:
   * glob syntax in str/bytes and pathlib.Path.
         Examples: Path("rel/*.root"), "/abs/*.root:tdirectory/ttree"
   * dict: keys are filesystem paths, values are objects-within-ROOT paths.
         Example: {"/data_v1/*.root": "ttree_v1", "/data_v2/*.root": "ttree_v2"}
   * already-open TTree objects.
   * iterables of the above.

We need a way to survive if the default cache location, which includes the USER env variable, isn't defined.

Possible approach - use the UID and make a dummy "USER" when someone does a lookup.

@gordonwatts Are we still facing this issue? I testing it by removing cache_path from .servicex in the 3.0.0, didn't encounter this issue.

Ah, so great to go through the backlog. Bugs from back at this time that we can't verify trivially should all be closed, I think. I can re-open mine if need be, or I can create a new one with a more detailed bug report. But you should be merciless in closing some of the old bugs!


Tests build and adds flake8 linting step to github actions workflow

In this PR: Builds and publishing

creates a flakes8 lint workflow for github actions
adds Manifest
fixes lint errors
fixes import errors
tests on test pypi: https://test.pypi.org/project/jbrowse-jupyter/0.0.2/

TODO:

[ ] Need to transfer repo/update the setup.py
[ ] create release script + release docs
[ ] create contributing docs and linting

Demo of jupyter notebook:


Compactify the debug log format for readability

The Action(..) wrapper is not rendered anymore
Dimension IDs are represented using $n instead of DimId(n)
Instruction IDs are represented using @n instead of InstId(n)
Statements are naked, i.e. instructions are represented as @n
instead of Inst(InstId(n)) and dimensions as $n instead of
Dim(DimId(n)).
Numeric sets are represented as NS { 2, 4 } instead of
NumericSet { enabled_values: 6 }.  Ideally we would want the actual
values here, but that would require foregoing the Debug trait for a
custom one since this requires knowing the universe at printing time.

I'd rather not use d and i prefix because that would make the names valid Rust identifiers.  @ and $ symbols won't occur naturally and are easier to find quickly while scanning a line.  From my experience the meaning of @ and $ can be picked up very quickly.
The reason for the NS prefix is because what is displayed is not the values but rather the indices into the universe (NS { 2 } can have different values depending on the universe it is associated with).  I'd rather { 2 } means "the set containing the value 2", which needs some more infrastructure to actually be printed properly, so I used NS { 2 } to reduce confusion without decreasing readability too much.

Ok for 'NS'. Still not totally convinced by '$' and '@'. What is the problem with them being valid identifiers ? Alternatively, can we use something like 'i.3'/'d.3' (or 'i@3'/'d@3' if the dot is a problem) ?
I wont veto if you still think '$' and '@' are the best.

The main point about using sigils is that they are easier to find quickly when looking at a large blob of text (because they won't occur inside regular identifiers, and have large-ish unusual shapes).  The problem with being valid identifiers is that it restricts what we can do with the log format -- if we use things that are not valid identifiers, we can use them as-is in the same place as we would use an identifier (e.g. action name) without causing confusion and "remove the need to display one layer of enum".  See for instance what this patch does with StmtId : since DimId and InstId are already self-describing, there is no need to add extra info for the StmtId::Dim and StmtId::Inst constructors.

bors r=ulysseB


Sign Language Detection Inference Time

This question is for the paper corresponding to this: https://github.com/google-research/google-research/tree/master/sign_language_detection part.
1] Would it be right to conclude from Table-1 (of the paper) that the inference times in Table-1 (0.35 ms in the worst case) can be ignored since in actual applications, the bottleneck latency will be due to the pose-estimation algorithm (> 300 ms)?
2] The paper mentions that the OpenPose's latency per frame is 300 ms. How does the demo then support real-time processing at 25 fps (i.e. < 40 ms delay per frame)? Is the 300 ms latency for heavy ResNet based versions?

3] Also, why does the demo only use 17 points out of OpenPose's 25? Is it to reduce latency?

Sorry, I mixed up PoseNet and OpenPose. I see that you use OpenPose since the DGS corpus comes pre-processed with OpenPose landmarks. However, you use PoseNet for the demo, since that is significantly faster than OpenPose and can run in realtime.
However, you only present results using OpenPose in the table. However, it is not very useful since it does not run in real time. Since the useful method is using PoseNet, could you share the accuracy results for the PoseNet version/demo version?


Error when using default assignments

The Problem
When setting any kind of default assignment in the config an reloading the config (or restarting the server) the player gets kicked with the message
[LP] A database error occurred whilst loading permissions data. Please try again later.
When removing/commenting out the Part in config, everything works fine.
Errorlog in Console
[17:07:06 ERROR]: [LuckPerms] Exception occurred whilst loading data for <PLAYERUID CENSORED> - Rindula
[17:07:06 WARN]: java.lang.NullPointerException: script engine
[17:07:06 WARN]: 	at me.lucko.luckperms.common.defaultassignments.AssignmentExpression.eval(AssignmentExpression.java:62)
[17:07:06 WARN]: 	at me.lucko.luckperms.common.defaultassignments.AssignmentRule.apply(AssignmentRule.java:85)
[17:07:06 WARN]: 	at me.lucko.luckperms.common.plugin.util.AbstractConnectionListener.loadUser(AbstractConnectionListener.java:110)
[17:07:06 WARN]: 	at me.lucko.luckperms.bukkit.listeners.BukkitConnectionListener.onPlayerPreLogin(BukkitConnectionListener.java:108)
[17:07:06 WARN]: 	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1.execute(Unknown Source)
[17:07:06 WARN]: 	at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
[17:07:06 WARN]: 	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76)
[17:07:06 WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[17:07:06 WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:536)
[17:07:06 WARN]: 	at net.minecraft.server.v1_14_R1.LoginListener$LoginHandler.fireEvents(LoginListener.java:337)
[17:07:06 WARN]: 	at net.minecraft.server.v1_14_R1.LoginListener$2.run(LoginListener.java:246)
[17:07:06 WARN]: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[17:07:06 WARN]: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[17:07:06 WARN]: 	at java.lang.Thread.run(Thread.java:748)
[17:07:06 INFO]: Disconnecting com.mojang.authlib.GameProfile@7b021d76[id=<PLAYERUID CENSORED>,name=Rindula,properties={textures=[com.mojang.authlib.properties.Property@4daca9a]},legacy=false] (/<IP_ADDRESS>:2614): [LP] A database error occurred whilst loading permissions data. Please try again later.
[17:07:06 INFO]: com.mojang.authlib.GameProfile@7b021d76[id=<PLAYERUID CENSORED>,name=Rindula,properties={textures=[com.mojang.authlib.properties.Property@4daca9a]},legacy=false] (/<IP_ADDRESS>:2614) lost connection: [LP] A database error occurred whilst loading permissions data. Please try again later.

Config part of the default assignments as in use
default-assignments:
#  rule1:
#    if:
#      has-true: (<group.vip> | <group.vip+>) & <titles.tilecollector>
#      has-false: <some.random.permission>
#      lacks: <prison/group.prison_titlepack>
#    give:
#      - prison/group.prison_titlepack
#    take:
#      - some.random.permission
  rule2:
    if:
      lacks: <group.level0> & <group.level1> & <group.level2> & <group.level3> & <group.level4> & <group.level5> & <group.level6> & <group.level7> & <group.level8> & <group.level9> & <group.level10>
    give:
      - group.level0
#  rule3:
#    if:
#      has-true: <group.default>
#    take:
#      - group.default
#    give:
#      - group.member
#    set-primary-group: member

And no, removing the parts that are commented out does not work.

Why are you checking if the user lacks group.level0 AND group.level1 AND group.level2 AND ....you get the point by now.
Why not just check for if user lacks group.level0? do you replace it?
 LP can't set a role that doesn't exist.
# WARNING: Unlike internal commands, this system does not ensure that a group exists before adding
# a user to it. It also does not unsure that a user is a member of a group before making that group
# their primary group.
#
# Before you use "give: group.<name>" or "set-primary-group", make sure that the group exists, and
# that the user is a member of the group.

And a final note: UUIDs aren't anything private. Everyone can get them through sites like namemc.com and they can't harm the user in any way.

I copied the idea from example rule2. (But even the existing examples don't work.) I want to check if the User is in any of these level groups and if not put him into level0. Of course all the groups are persistent.

Why are you checking if the user lacks group.level0 AND group.level1 AND group.level2 AND ....you get the point by now.
Why not just check for if user lacks group.level0? do you replace it?

These groups are on a track and a user should only have one level in general. So he has level2 but none of the others for example, because even a higher level might have to lack permissions from lower ones.
What do you mean with "replace it"?

Maybe as an additional information; I'm running Minecraft Paper Server version 97 (1.14.2) which is at the time beeing the most current version.

Your Java installation seems to be missing the Nashorn runtime library, which is needed for default assignments.
I'm not really sure why that is.
Which Java version are you using? How did you install the JRE on your system? Perhaps try reinstalling it?

Also sorry for the delay in replying!

Which Java version are you using? How did you install the JRE on your system? Perhaps try reinstalling it?

Well, my Server is setup in a Docker environment. I use a presetup Java-Docker (see here) which uses the alpine-java Image (see here).
I'm using the latest tag, which might not have Nashorn included, since it has it's own tag for it.

Okay, using a Java installation with Nashorn works fine.
Thanks for your help!


DOC: How to split text by tokens guide links to wrong TokenTextSplitter page

URL
https://python.langchain.com/docs/how_to/split_by_token/
Checklist

[X] I added a very descriptive title to this issue.
[X] I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:
In the start of the documentation, the line (just above the first codeblock) specifies:

CharacterTextSplitter, RecursiveCharacterTextSplitter, and TokenTextSplitter can be used with tiktoken directly.

The TextTokenSplitter links to the wrong the page (non-existent)
The correct redirect should be to this page: https://python.langchain.com/api_reference/text_splitters/base/langchain_text_splitters.base.TokenTextSplitter.html
Idea or request for content:
No response

Proposed changes in #27824

This issue has been fixed and merged in #27824.


luaPackages.luadbi: 0.7.1 -> 0.7.2

move to generated.
I ran a nix-review on it with success (built prosody fine) and tried to start prosody but it does nothing, not sure how to properly test it.
/cc @sshisk
related PR https://github.com/NixOS/nixpkgs/pull/62298

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

this looks best done manually (or we should split into one module per db as in https://luarocks.org/search?q=luadbi).
Makefile https://github.com/mwild1/luadbi/blob/master/Makefile


Corrected getKM's to avoid repeated KM spam.

Signed-off-by: Gavin-Tremlor<EMAIL_ADDRESS>

Is this just removing the 10kill cap? Or am I missing something

No, in combination with the change I put in the last commit, it stops the endless repeating of the last group of kills grabbed off zkill.

But it removes the cap on how many kills it'll queue


Delete an account from the service

name: fixing account
about: account
title: "service''
labels: 'service'
assignees: 'admin'

As a [Admin]
I need  to delete and account [function]
So that account will be updated [benefit]
Details and Assumptions

[We need to satisfy our clients and this is our topmost priority]

Acceptance Criteria
The service is running as expected
Given [that we are using Docker containers]
When [we deploy our applications]
Then [it should work as expected]


regex/wildcard pattern based download directory selector

Hi,
Is it possible to define a directory for download based on pattern/regex?
This will allow to make for example a directory for each extension

~/Downloads/Archives (for compressed files)
~/Downloads/Videos (for videos)
~/Downloads/Audio (for audio files)

And so on.
But I'm more interested in regex/wildcard type of pattern so for example I download 3d files from thingieverse.com and myminifactory.com these are most likely zip files so they will go to the archives directory based on the above division, but if we can match the hostname url then i can set a regex for all files that being downloaded from thingieverse.com for example to go to a different directory
~/Downloads/3Dfiles
Regards

It is possible but not recommended.
First of all, you should take a view at inbox principle: Just put everything to inbox first (like ~/Downloads), then you can decide where it should go (two-window file managers like fman can help).
After that, if you are pretty familiar with some sites that almost ever goes to particular directory, I suggest you write a user script for them. Since you are able to directly strip the download URL out, it is trivial to connect aria2 JSONRPC interface to add download task.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On 2020年4月12日SundayPM5点26分, MOHAMMAD RASIM<EMAIL_ADDRESS>wrote:

Hi,
Is it possible to define a directory for download based on pattern/regex?
This will allow to make for example a directory for each extension

~/Downloads/Archives (for compressed files)
~/Downloads/Videos (for videos)
~/Downloads/Audio (for audio files)

And so on.

But I'm more interested in regex/wildcard type of pattern so for example I download 3d files from thingieverse.com and myminifactory.com these are most likely zip files so they will go to the archives directory based on the above division, but if we can match the hostname url then i can set a regex for all files that being downloaded from thingieverse.com for example to go to a different directory
~/Downloads/3Dfiles

Regards

—

You are receiving this because you are subscribed to this thread.

Reply to this email directly, view it on GitHub, or unsubscribe.[https://github.com/notifications/beacon/ABYBP6V3ANUWK7HLV3PRFATRMGCLJA5CNFSM4MGK65T2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4I5LR3DA.gif]

For many download links, the final downloaded file name cannot be directly parse from the url. So I think AriaNg cannot implement this feature perfectly. By the way, I think there would be more strange problems if AriaNg has this feature.

As mentioned by the owner @mayswind, AriaNg might face challenges in handling the dynamic parsing of download URLs to determine the final file name, making it challenging to implement this feature comprehensively. However, an alternative approach is to create a custom Bash script for aria2 that can effectively tackle this issue.
I've implemented a solution that utilizes Bash scripting to categorize downloaded files based on their file extensions. This approach ensures that files are sorted into appropriate directories, such as "Archives" for compressed files, "Videos" for video files, and "Audio" for audio files, among others. You can find the implementation here: GitHub Gist.
This custom script offers more granular control over categorizing downloaded files and could serve as a useful workaround for achieving the desired file organization. Feel free to explore and adapt the script to meet your specific requirements.


Nextjs lambda timeout argument

On AWS I see the default timeout is 20s:

It would be great if we could change it via sst.aws.Nextjs

We should lift this @fwang


remove old, redundant import

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:


How to assign value for fields?

I am using this library for the first time. So I want to have form fields have input values predefined. For example: If I want to edit existing user then I want the form to have email field to be filled with the current email id. Below is my code that I have tried but the the input doesn't show the email address.
  <Form validateOnSubmit={this.updateUser}>
              { formApi  => (
                <form onSubmit={formApi.submitForm}>
                  <Text field="email" value={this.state.editUser.email} />
                </form>
              )}
 </Form>

ScreenShot
The upper one is blank due to react-form
The next one shows as it is using controlled input.

Sorry! I made a mistake. nvm


Why is ATS differentiable?

Hi, may I ask why is the ATS differentiable?
In my understanding, because the CDF function (equation (4) in the paper) is piecewise constant, the inverse of CDF (equation (5) in the paper) is also piecewise constant and thus is not differentiable. Did I miss something?
Thank you in advance!

It uses the Gumble-softmax to make propagation come true.

It uses the Gumble-softmax to make propagation come true.

May I ask on which line of the code is it

I am also confused about this.


VueUiGauge增加配置 - Segment labels

One such meter is needed. Is it possible to add configuration options from this VueUiGauge to achieve a similar effect

Hi @khcshell
This is a good idea.
I will keep you posted when the update is available.

@graphieros Whether the gap between the two colors can be set, there is a time when the gap is too small

@graphieros If I don't use the serie color, can I customize the segment color?

@graphieros Whether the gap between the two colors can be set, there is a time when the gap is too small

What do you mean ?

@graphieros If I don't use the serie color, can I customize the segment color?

Yes, it's the color attribute that takes precedence when useSerieColor:false

Like this, I mean is the possibility of choosing a few styles for the middle separation of the two paragraphs, so that it looks a little richer

@khcshell
I'll see what I can do.
Can't promise this will be done, as I'm satisfied with the current style.

@khcshell
Ok, I'll do it, looks like a good option to have indeed

@khcshell
Would this be suitable for your use case ?

color, thickness, label placements are all customizable.

OK。verynice

@khcshell
You can upgrade to v2.4.47
An example was added here so you can copy the config.


Update cancel method

update client.cancel to cancel all workflows or cancel a set of workflows or based on a workflow url
There are multiple ways you can cancel workflows:

pass one or more workflow run ids to cancel them
pass a workflow url to cancel all runs starting with this url
don't pass any options. in this case, all workflow will be canceled

Cancel a set of workflow runs
// cancel a single workflow
await client.cancel({ workflowRunId: "<WORKFLOW_RUN_ID>" })

// cancel a set of workflow runs
await client.cancel({ workflowRunId: [
  "<WORKFLOW_RUN_ID_1>",
  "<WORKFLOW_RUN_ID_2>",
]})

Cancel workflows starting with a url
If you have an endpoint called https://your-endpoint.com and you
want to cancel all workflow runs on it, you can use workflowUrl.
Note that this will cancel workflows in all endpoints under
https://your-endpoint.com.
await client.cancel({ workflowUrl: "https://your-endpoint.com" })

Cancel all workflows
If you want to cancel all workflows under your user, you can
do it like this:
await client.cancel()

wdyt about offering the following 3 options for the cancel interface

ids?: string | string[]
urlStartingWith?: string for url-based cancellation, more clear about the "starting with" behavior
all?: boolean to cancel all pending runs, i.e. during the QStash outage this was a highly requested feature

wdyt about offering the following 3 options for the cancel interface

ids?: string | string[]
urlStartingWith?: string for url-based cancellation, more clear about the "starting with" behavior
all?: boolean to cancel all pending runs

I think we could also add an option targeting the step names here, assuming they're included in the list results.Like stepNameStartsWith or sth

I think cancelling all on await client.cancel() would allow people to make mistakes while cancelling. It's also not that intuitive. I'd agree with client.cancel({all: true})

all parameter sounds good. Updating parameters like this:
type CancelOptions = {
  workflowRunId?: string | string[];
  workflowUrl?: string;
  all?: true;
};

what about the rest?

got tunnel visioned with all :D
others make sense too, updated the pr.


clickhouse: <IP_ADDRESS> -> <IP_ADDRESS>23, clean up

Continuation of #227520
Closes #227435
Description of changes
While upgrading clickhouse I noticed the buildInputs are actually not used, because clickhouse vendors everything unconditionally.
In the build log one can also see that all the buildInputs (llvm, capnproto) are being built again from the contrib modules.
The inputs were mostly supposed to be linked as shared libraries, but a nix-store -qR ./result reveals the output does not reference any of them.
Building clickhouse with system libraries properly would require a ton of patching around in their build system.
Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review 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

[ ] Fits CONTRIBUTING.md.

@ofborg build clickhouse

@ofborg build clickhouse

Result of nixpkgs-review pr 232612 run on x86_64-linux 1

1 package built:

clickhouse

@yu-re-ka thanks for finishing this!


[Admin] Fix build suggestions

Example build report

Docs Build status updates of commit d5d4156:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/tutorials/excel-power-automate-trigger.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit a0d58c1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/excel-async-model.md
:white_check_mark:Succeeded

docs/includes/async-reference-documentation-link.md
:white_check_mark:Succeeded

docs/resources/add-ins-differences.md
:white_check_mark:Succeeded

docs/tutorials/excel-power-automate-trigger.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Improvements

Removed redundant call toString()
Optimized imports
Rearanged/refactored code (for better readability)
Val(same as var but with final) and var (lombok) usement for whole project (where is actually needed).
Unused code suppressed
Removed Map,Collection,List raw types (Transformed them to valid ones)
FileUtils > extractResource() > Asserted not null inputStream
DataStorage > getEnum > assertet object instanceof String;
Added JavaDocs to ConfigSettings and ReloadSettings
LightningSerializer > deserialize improvement
LightningException > Removed NotNull annotation from primitive type members.
Bumped new version > 3.2.4

Thank you so much for your dedication and work. I think its great that you want to improve SimplixStorage. Please split your PR into smaller pieces (One for each point (Like remove redundant toString() call)) and we can approve them.
Regards,
Leonhard


Formalize heuristics for bounty objectives

Bounties are currently not indexed via objectives and related items.
For example, one bounty may propose that "Kill 10 enemies". This means that you are able to use whatever abilities or weapons that you want. In this case we can make this bounty indexed (or matched) with everything.
Another example, another bounty may propose "Kill 10 guardians using a hand cannon". This means that you are only able to kill guardians with a hand cannon. In this case we match this bounty with other objectives that also have these indexes.
And so on.
Refer to DIM heuristics or DIM API.

Some of the vendors have been added as heuristics to bounties.js.
I am doing the vendors in order of priority, based on how often the average player will buy and complete bounties, from any given vendor.

Users should assume that basic levels of relation have been implemented.
For example, one bounty and another bounty may both require you to get kills with an auto rifle.
Relations such as, champions, race and combatant type are deemed to be upper level relations.

Standards for pursuit entries have changed and must abide by these news standards.
Requires fill refactor of outstanding entries.

Standards for pursuit entries have changed and must abide by these news standards.
Requires full refactor of outstanding entries.

Refactor will contain, and prioritize, the addition of Zavala, Gunsmith, Shaxx, and Drifter bounties.
The other vendors are to be added at a later date.

Current Vendors implemented:

Currently added vendors can be determined using CurrentlyAddedVendors in SynergyDefinitions.js


Fix issues with auto smooth and other modifiers

Other modifiers were lost before for objects with auto smooth

Avoid copying object, just add edge split modifier, disable auto smooth and revert back after export

Sample file:
auto_smooth.zip

Didn't tested, but I guess this doesn't work for custom normals made e.g. with the bevel operator:

@capnm will take a look. One thing I wasn't totally sure of is whether the edge split modifier should be put first in the stack (currently by default it will end up last). This may also be related to custom normals PR #414

@capnm The bevel operator creates custom normals, so you need #414 as well for that to work :)

@capnm The bevel operator creates custom normals, so you need #414 as well for that to work :)

Cool, I'll check it with that PR ;)


[T6A1][F12-B3] Li Yundi Maggie

Ready for review.

@MaggieMeow
Some comments added. Please ack & close the PR after reading comments.


bound-cones are off on monte carlos

no idea why but when plotting bound cones for monte carlos, and no others, seeing bound-cones identified wrong.  find out if its happening in the analysis code or viewing code and go from there.

only happening to uniform monte carlos

can recreate the issue when they're being made :(

clue: displaced right side point reflection corresponds w/ effed up voronoi cells.  it's not an issue with the bound cone indexing, it's an issue of the reflection.

got rid of a redundant image size conversion (which should have had things off in the first place??) and caused the problem to become worse, and in the vertical direction as well, which indicates the image size is coming through wrong altogether.  input_data is converting the number as it should and the voronoi process function is getting the image size info from input_data.  next check: does the problem persist with conversions off?

well I was printing x and y, and they didn't seem to change after turning conversions off, so that's one thing.

problem persists on the right side now... weird...

Ok, voronoi process was grabbing img_x and img_y from the input image, that explains why it was bypassing input_data. fixed that.

img_x, img_y, and bounding_box are identical (as they should be) for measured and montecarlo_uniform mosaics, but the oints_right is still being displaced frequently. can't figure out why that is or why a check for any revertex ouside of the image bounds isn't working.

oh fuck.  drew the bounding box and i see it. there's something up in monte-carlo uniform coordinates. they're not fully populating the x-space, stopping early, causes the displacement.  FIND OUT WHY!?

tried for a long time to figure out some vertices are still making it to locations way outside the cone image despite checks that should prevent any points from extending outside. going a bit insane, can't find it. but the problem with the right side  of the image having a gap was actually that I was reading in img_x as img_y in the monteCarlo process

THE WITCH IS DEAD. the buffer just needed to be a littler larger to catch the last vertices.


Put return dict into list data object to be consistent with Python server output

Fix issue with return list output reported in https://github.com/dmwm/dbs2go/issues/9


chatglm3 使用Agent报错 unhashable type: 'slice'

问题描述 / Problem Description
使用langchain-chatchat master分支基于xinference chatglm3调用开启Agent能力，问答报错 unhashable type: 'slice'，不开启Agent问答正常
复现问题的步骤 / Steps to Reproduce

chatchat -a

实际结果 / Actual Result
Langchain-chatchat侧报错日志
2024-06-27 15:12:01,050 httpx        3879649 INFO     HTTP Request: POST http://<IP_ADDRESS>:9997/v1/chat/completions "HTTP/1.1 200 OK"
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/sse_starlette/sse.py", line 269, in call
await wrap(partial(self.listen_for_disconnect, receive))
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/sse_starlette/sse.py", line 258, in wrap
await func()
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/sse_starlette/sse.py", line 215, in listen_for_disconnect
message = await receive()
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 535, in receive
await self.message_event.wait()
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/asyncio/locks.py", line 214, in wait
await fut
asyncio.exceptions.CancelledError: Cancelled by cancel scope fffdcb470100
During handling of the above exception, another exception occurred:

Exception Group Traceback (most recent call last):
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 407, in run_asgi
|     result = await app(  # type: ignore[func-returns-value]
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 69, in call
|     return await self.app(scope, receive, send)
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in call
|     await super().call(scope, receive, send)
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/applications.py", line 123, in call
|     await self.middleware_stack(scope, receive, send)
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in call
|     raise exc
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in call
|     await self.app(scope, receive, _send)
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/middleware/cors.py", line 83, in call
|     await self.app(scope, receive, send)
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in call
|     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
|     raise exc
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
|     await app(scope, receive, sender)
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/routing.py", line 758, in call
|     await self.middleware_stack(scope, receive, send)
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/routing.py", line 778, in app
|     await route.handle(scope, receive, send)
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/routing.py", line 299, in handle
|     await self.app(scope, receive, send)
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/routing.py", line 79, in app
|     await wrap_app_handling_exceptions(app, request)(scope, receive, send)
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
|     raise exc
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
|     await app(scope, receive, sender)
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/starlette/routing.py", line 77, in app
|     await response(scope, receive, send)
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/sse_starlette/sse.py", line 255, in call
|     async with anyio.create_task_group() as task_group:
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 678, in aexit
|     raise BaseExceptionGroup(
| exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/sse_starlette/sse.py", line 258, in wrap
|     await func()
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/sse_starlette/sse.py", line 245, in stream_response
|     async for data in self.body_iterator:
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/chatchat/server/api_server/openai_routes.py", line 84, in generator
|     async for chunk in await method(**params):
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/openai/_streaming.py", line 147, in aiter
|     async for item in self._iterator:
|   File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/openai/_streaming.py", line 174, in stream
|     raise APIError(
| openai.APIError: An error occurred during streaming
+------------------------------------
2024-06-27 15:12:01,264 root         3879649 ERROR    peer closed connection without sending complete message body (incomplete chunked read)
Traceback (most recent call last):
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpx/_transports/default.py", line 67, in map_httpcore_exceptions
yield
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpx/_transports/default.py", line 252, in aiter
async for part in self._httpcore_stream:
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 367, in aiter
raise exc from None
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 363, in aiter
async for part in self._stream:
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpcore/_async/http11.py", line 349, in aiter
raise exc
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpcore/_async/http11.py", line 341, in aiter
async for chunk in self._connection._receive_response_body(**kwargs):
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpcore/_async/http11.py", line 210, in _receive_response_body
event = await self._receive_event(timeout=timeout)
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpcore/_async/http11.py", line 220, in _receive_event
with map_exceptions({h11.RemoteProtocolError: RemoteProtocolError}):
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.RemoteProtocolError: peer closed connection without sending complete message body (incomplete chunked read)

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/chatchat/server/utils.py", line 46, in wrap_done
await fn
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 2536, in ainvoke
input = await step.ainvoke(
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain/chains/base.py", line 212, in ainvoke
raise e
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain/chains/base.py", line 203, in ainvoke
await self._acall(inputs, run_manager=run_manager)
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain/agents/agent.py", line 1481, in _acall
next_step_output = await self._atake_next_step(
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain/agents/agent.py", line 1275, in _atake_next_step
[
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain/agents/agent.py", line 1275, in
[
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain/agents/agent.py", line 1303, in _aiter_next_step
output = await self.agent.aplan(
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain/agents/agent.py", line 436, in aplan
async for chunk in self.runnable.astream(
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 2900, in astream
async for chunk in self.atransform(input_aiter(), config, **kwargs):
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 2883, in atransform
async for chunk in self._atransform_stream_with_config(
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 1985, in _atransform_stream_with_config
chunk = cast(Output, await py_anext(iterator))
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 2853, in _atransform
async for output in final_pipeline:
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 1316, in atransform
async for ichunk in input:
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 4748, in atransform
async for item in self.bound.atransform(
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 1334, in atransform
async for output in self.astream(final, config, **kwargs):
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 319, in astream
raise e
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py", line 297, in astream
async for chunk in self._astream(
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/langchain_openai/chat_models/base.py", line 485, in _astream
async for chunk in await self.async_client.create(
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/openai/_streaming.py", line 147, in aiter
async for item in self._iterator:
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/openai/_streaming.py", line 160, in stream
async for sse in iterator:
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/openai/_streaming.py", line 151, in _iter_events
async for sse in self._decoder.aiter_bytes(self.response.aiter_bytes()):
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/openai/_streaming.py", line 302, in aiter_bytes
async for chunk in self._aiter_chunks(iterator):
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/openai/_streaming.py", line 313, in _aiter_chunks
async for chunk in iterator:
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpx/_models.py", line 933, in aiter_bytes
async for raw_bytes in self.aiter_raw():
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpx/_models.py", line 991, in aiter_raw
async for raw_stream_bytes in self.stream:
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpx/_client.py", line 147, in aiter
async for chunk in self._stream:
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpx/_transports/default.py", line 251, in aiter
with map_httpcore_exceptions():
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/home/xx/miniconda3/envs/RAG_new/lib/python3.10/site-packages/httpx/_transports/default.py", line 84, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.RemoteProtocolError: peer closed connection without sending complete message body (incomplete chunked read)
xinference侧报错日志
2024-06-27 15:12:01,255 xinference.api.restful_api 3874224 ERROR    Chat completion stream got an error: [address=<IP_ADDRESS>:36809, pid=3905684] unhashable type: 'slice'
Traceback (most recent call last):
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/site-packages/xinference/api/restful_api.py", line 1476, in stream_results
async for item in iterator:
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/site-packages/xoscar/api.py", line 340, in anext
return await self._actor_ref.xoscar_next(self._uid)
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/site-packages/xoscar/backends/context.py", line 227, in send
return self._process_result_message(result)
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/site-packages/xoscar/backends/context.py", line 102, in _process_result_message
raise message.as_instanceof_cause()
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/site-packages/xoscar/backends/pool.py", line 659, in send
result = await self._run_coro(message.message_id, coro)
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/site-packages/xoscar/backends/pool.py", line 370, in _run_coro
return await coro
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/site-packages/xoscar/api.py", line 384, in on_receive
return await super().on_receive(message)  # type: ignore
File "xoscar/core.pyx", line 558, in on_receive
raise ex
File "xoscar/core.pyx", line 520, in xoscar.core._BaseActor.on_receive
async with self._lock:
File "xoscar/core.pyx", line 521, in xoscar.core._BaseActor.on_receive
with debug_async_timeout('actor_lock_timeout',
File "xoscar/core.pyx", line 526, in xoscar.core._BaseActor.on_receive
result = await result
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/site-packages/xoscar/api.py", line 431, in xoscar_next
raise e
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/site-packages/xoscar/api.py", line 417, in xoscar_next
r = await asyncio.to_thread(_wrapper, gen)
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/asyncio/threads.py", line 25, in to_thread
return await loop.run_in_executor(None, func_call)
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/site-packages/xoscar/api.py", line 402, in _wrapper
return next(_gen)
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/site-packages/xinference/core/model.py", line 300, in _to_json_generator
for v in gen:
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/site-packages/xinference/model/llm/utils.py", line 544, in _to_chat_completion_chunks
for i, chunk in enumerate(chunks):
File "/home/xx/miniconda3/envs/LLM_x/lib/python3.10/site-packages/xinference/model/llm/pytorch/chatglm.py", line 177, in _stream_generator
chunk_text = chunk_text[last_chunk_text_length:]
TypeError: [address=<IP_ADDRESS>:36809, pid=3905684] unhashable type: 'slice'
环境信息 / Environment Information
langchain-chatchat            <IP_ADDRESS>40625.1
transformers                  4.40.2
torch                         2.1.0
torch-npu                     2.1.0.post3-20240523

是否使用 Docker 部署：否
使用的模型：ChatGLM3-6B
使用的 Embedding 模型 bge-large-zh-v1.5
使用的向量库类型 faiss
Python 版本 / Python version: 3.10
其他相关环境信息 Ascend 910B

解决了吗这个问题？

0.3.1 版已经发布，优化了配置方式，修改配置项无需重启服务器，可以更新尝试。


(PUP-6844) Ignore Mercurial artifacts when downloading plugins

Just as we ignore SVN, CVS, and Git artifacts while pluginsyncing,
we should also ignore those of Mercurial. This commit adds files
with the .hg extension to the list of extensions in the
pluginsignore option.

Looks like the commit checker is still pulling in random stuff. This passed Travis just fine

@branan ugh, yeah, this commit slipped in in October and broke the check: https://github.com/puppetlabs/puppet/commit/6e7949803cf4dde355f3fe140fdeee29ebbdba44


cn-create: add cn_cbor_float_create

This adds ability to add a float:  cn_cbor_float_create()

Thanks!
Shouldn't this be conditional on CBOR_NO_FLOAT?
I'm also wondering if people will be confused by calling 64-bit floating point values ("double" in C) "float".

Shouldn't this be conditional on CBOR_NO_FLOAT?

I guess so! Will fix.

I'm also wondering if people will be confused by calling 64-bit floating point values ("double" in C) "float".

Maybe, indeed. Would you prefer two API calls (e.g. cn_cbor_float_create() and  cn_cbor_double_create()) or just renaming to cn_cbor_double_create()?

Added cn_cbor_double_create(). Let me know if you'd like to have a cn_cbor_float_create() as well.
Changed to return CN_CBOR_ERR_FLOAT_NOT_SUPPORTED if built with CBOR_NO_FLOAT
Added a test

I think I'd go for not defining the API at all if CBOR_NO_FLOAT (which then leads to a compilation error).
Adding a cn_cbor_float_create() would make more sense if struct cn_cbor had a float member in the union; as it is, the conversion to double will just happen inside the function as opposed to the call site.  So I would add those at the same time if needed.

disable completely if CBOR_NO_FLOAT

my last commit adds a float field in struct cn_cbor, but I wonder it it makes sense to keep it as the decoder does not use it...

Right, this is not the complete story of adding binary32.  To do this efficiently, we'd need to split up _write_double.  But I think this is a stable intermediate state, so I'll merge this for now (on my way to a two-week vacation...).


Write unit tests for Arguments

Library name(s)
UT.Members
Description
Write unit tests covering IArgument types in IMethod and IDelegate
Subtasks

[x] Name
[x] Type
[x] Modifiers

[x] In
[x] Out
[x] Ref
[ ] Param

50m

Total: 1h


SWT2 with db4 error

Hi! Not an issue in itself I guess (might be), but I am posting here because so far I cannot find a solution to this, even though I searched StackOverflow and the PYWT forum. I am trying to apply swt2 with a db4 decomposition to an (516, 862) 2D array. The data has been padded to meet the 2**level criteria and the max level has been calculated to be 3 using swt_max_level. My need is to extract the coefficients at each level (up to max_level), however I when the level > 1 I keep receiving the start_level must be less than 1 error, even though I specifically declare it to be 0. Am I missing something?

has been padded to meet the 2**level criteria

This should work. If I want to do a 3-level decomposition of data that is shape (516, 862) then it needs to be padded to a multiple of 2**3 on each axis. So, the padded shape should be (516, 864) in this case.
The following works for me.
import numpy as np
import pywt

x = np.random.randn(516, 862)
x_pad = np.pad(x, pad_width=((0, 0), (0, 2)), mode='reflect')
y = pywt.swt(x_pad, wavelet='db4', level=3)

If you are not padding as above, it is expected that the max level will be one since 862 is divisible by 21, but not 22
If you are still seeing a problem, can you paste the script similar to the example above that reproduces the issue?

Ohhhh, nooo, this was so obvious. I padded the signal but to consider the 2*n not the exponent. So much in my face. Code's fine and thanks so much! Sometimes all it takes is a clear mind to point it out to you after spending to much time on it.

Great, glad it is working now.


In absence of GOVUK_APP_DOMAIN use dev.gov.uk

useful in development and test environments and keeps it consistent with Plek.rb.

I'm concerned that this could result in the dev.gov.uk domain leaking into production.  For the ruby version we have the RAILS_ENV and RACK_ENV env variables to allow us to detect whether we're in dev or prod.  We don't really have an equivalent for Go apps.
What's the actual use case for this?

Although thinking about it, for ruby apps, when not run under govuk_setenv, RAILS_ENV won't be set then either, so they'll have the same potential problem.

@alext: need is to not have to set GOVUK_APP_DOMAIN during development or testing while using plek.go.


Run zgenhostid without a static value

When generating a new host id, a specific value should not be provided so that each host has a different unique host id.
https://openzfs.github.io/openzfs-docs/man/master/8/zgenhostid.8.html

The specific value is used because it's the default value in our prebuilt binaries. Unique hostids are pointless unless you're doing multipath/HA SAS.


Motor C wont spin below 15% throttle

Have to set higher throttle. Maby the esc needs calibration

esc calibration fixed the issue, throttle at 5% can spinn all motors


get more plugins don`t work!

Works for me! What exactly happens for you?

Works for me! What exactly happens for you?

When clicking get more plugins button, a popup is open but it is empty.

Resolution here
https://github.com/Jermolene/TiddlyWiki5/issues/4570#issuecomment-615032818


Compile in Eclipse

Hi,
I am trying to run the examples of the last distribution version of Learnlib 0.12.0 and the classes which refer to "ExtensibleLStarDFABuilder", "DTLearnerMealyBuilder" etc.. can not be found. Do you know what could be the issue?
Thank you a lot in advance,
Nadia

Do you have installed a maven plugin in eclipse or a maven installation on the system and called mvn eclipse:eclipse on the command line and then imported the project to eclipse?

Yes, I have Eclipse Luna, which has already preinstalled the maven plugin. I import the distribution of Learnlib as "an existing maven" and when I try to run one of the examples, I get this errors as you can see at the screenshot.

Unfortunately, usage of the Maven Eclipse plugin results in build which differ from Maven. In your case, the problem is that Eclipse expects annotation processors to be manually enabled, instead of just loading all available ones that can be found on the build classpath (as javac or mvn would do). To close this gap between Eclipse and Maven, you need the m2e-apt plugin for Eclipse. After installing, make sure to configure it correctly by going to Preferences > Maven > Annotation Processing, and select "Automatically configure JDT annotation processing" (or something like that, cannot look it up right now). A full rebuild may be required, but the problem should disappear.

Thank you so much! Everything works now :)


Post new issues to the Docs board instead

Updates the Add Issues to Project workflow to post new issues to the Docs board instead of Developer Relations.
Part of https://github.com/pulumi/devrel-team/issues/607.

Reposting the same comment I posted here:

Hm, I didn't expect this to merge automatically. I did click auto-merge, but in doing so I expected for the auto-merge to happen only after at least one approval, which is normally the case.
Since we don't seem to have approval requirements set on this repo (which probably makes sense given how it's used), I've removed support for auto-merge to make it a little less easy for direct submitters to break the build. If necessary, we can re-enable it and/or explore other options.


On Rancher 2.5.1, the rancher-monitoring memory usage plot shows Internal Server Error

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

On Rancher 2.5.1, install the rancher-monitoring app from Marketplace
Access the Graphana UI from Cluster Explorer

Result:
The Memory Usage plot shows a red ! symbol with tooltip Internal Server Error.

Other details that may be helpful:
It has happened to me before on Rancher 2.4.3 with the now deprecated monitoring app as well.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.5.1
Installation option (single install/HA): High Availability

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): 3 node custom cluster built with RKE
Machine type (cloud/VM/metal) and specifications (CPU/memory): Ubuntu 18.04 LTS VMs, 4 vCPU and 16 GB RAM each
Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:14:22Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.5", GitCommit:"e0fccafd69541e3750d460ba0f9743b90336f24f", GitTreeState:"clean", BuildDate:"2020-04-16T11:35:47Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

Client: Docker Engine - Community
 Version:           19.03.12
 API version:       1.40
 Go version:        go1.13.10
 Git commit:        48a66213fe
 Built:             Mon Jun 22 15:45:36 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.12
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.10
  Git commit:       48a66213fe
  Built:            Mon Jun 22 15:44:07 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Hello,
I have a similar problem with Rancher 2.5.1 (docker)
I get a "Bad Gateway" tooltip:

App status shows faliure:

App install log:

Waiting for Kubernetes API to be available
helm upgrade --install=true --namespace=cattle-monitoring-system --timeout=10m0s --values=/home/shell/helm/values-rancher-monitoring-crd-9.4.200.yaml --version=9.4.200 --wait=true rancher-monitoring-crd /home/shell/helm/rancher-monitoring-crd-9.4.200.tgz
Release "rancher-monitoring-crd" does not exist. Installing it now.
creating 4 resource(s)
beginning wait for 4 resources with timeout of 10m0s
creating 1 resource(s)
Watching for changes to Job rancher-monitoring-crd-create with timeout of 10m0s
Add/Modify event for rancher-monitoring-crd-create: MODIFIED
rancher-monitoring-crd-create: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
Add/Modify event for rancher-monitoring-crd-create: MODIFIED
Starting delete for "rancher-monitoring-crd-create" Job
NAME: rancher-monitoring-crd
LAST DEPLOYED: Thu Oct 22 12:22:42 2020
NAMESPACE: cattle-monitoring-system
STATUS: deployed
REVISION: 1
TEST SUITE: None

SUCCESS: helm upgrade --install=true --namespace=cattle-monitoring-system --timeout=10m0s --values=/home/shell/helm/values-rancher-monitoring-crd-9.4.200.yaml --version=9.4.200 --wait=true rancher-monitoring-crd /home/shell/helm/rancher-monitoring-crd-9.4.200.tgz

helm upgrade --install=true --namespace=cattle-monitoring-system --timeout=10m0s --values=/home/shell/helm/values-rancher-monitoring-9.4.200.yaml --version=9.4.200 --wait=true rancher-monitoring /home/shell/helm/rancher-monitoring-9.4.200.tgz
Release "rancher-monitoring" does not exist. Installing it now.
Starting delete for "rancher-monitoring-admission" PodSecurityPolicy
podsecuritypolicies.policy "rancher-monitoring-admission" not found
creating 1 resource(s)
Starting delete for "rancher-monitoring-admission" ServiceAccount
serviceaccounts "rancher-monitoring-admission" not found
creating 1 resource(s)
Starting delete for "rancher-monitoring-admission" ClusterRole
clusterroles.rbac.authorization.k8s.io "rancher-monitoring-admission" not found
creating 1 resource(s)
Starting delete for "rancher-monitoring-admission" ClusterRoleBinding
clusterrolebindings.rbac.authorization.k8s.io "rancher-monitoring-admission" not found
creating 1 resource(s)
Starting delete for "rancher-monitoring-admission" Role
roles.rbac.authorization.k8s.io "rancher-monitoring-admission" not found
creating 1 resource(s)
Starting delete for "rancher-monitoring-admission" RoleBinding
rolebindings.rbac.authorization.k8s.io "rancher-monitoring-admission" not found
creating 1 resource(s)
Starting delete for "rancher-monitoring-admission-create" Job
jobs.batch "rancher-monitoring-admission-create" not found
creating 1 resource(s)
Watching for changes to Job rancher-monitoring-admission-create with timeout of 10m0s
Add/Modify event for rancher-monitoring-admission-create: MODIFIED
rancher-monitoring-admission-create: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
Add/Modify event for rancher-monitoring-admission-create: MODIFIED
Starting delete for "rancher-monitoring-admission" PodSecurityPolicy
Starting delete for "rancher-monitoring-admission" ServiceAccount
Starting delete for "rancher-monitoring-admission" ClusterRole
Starting delete for "rancher-monitoring-admission" ClusterRoleBinding
Starting delete for "rancher-monitoring-admission" Role
Starting delete for "rancher-monitoring-admission" RoleBinding
Starting delete for "rancher-monitoring-admission-create" Job
creating 175 resource(s)
Error: Prometheus.monitoring.coreos.com "rancher-monitoring-prometheus" is invalid: type: Required value

@jocarren have you seen https://github.com/rancher/rancher/issues/29395? The workaround is described in https://github.com/rancher/rancher/issues/29539#issuecomment-720707139.

@mrcdb are all of the rancher-monitoring pods (in the cattle-monitoring-system namespace) deployed successfully when you see that error? That could be because the Prometheus pod is not available.

Hi @aiyengar2 , I have actually noticed that the prometheus container in the rancher-monitoring pod is not working properly, as its liveness probe fails after some time. Right now I have removed the app altogether as I have not been able to solve this issue, even by re-deploying the service.

@mrcdb this may have to do with your default memory limits. Can you check whether the Prometheus pod keeps getting restarted due to an OOM kill?

Hi @aiyengar2 I have checked and it actually looks like it's killed because of a liveness probe failing on its port. I have not been able to see any OOM-related kills and I am also running a significant amount of other workloads on the same nodes.

I was able to get this working "temporarily" by checking the nodes and cordoning/draining which didn't have enough memory and/or the port was already in use. I was able to get the Prometheus up and running.
But the Prometheus  container would crash randomly and I would get logs on Kibana intermittently.


CI is failing on non-ubuntu systems

With the latest CI feature that permits to trigger the IO test on different OS, the tests are still failing for macos. The corresponding run on windows is here
This issue is referring to features introduced in #1295

Sorry if this is completely off-base I'm just spit-balling here. Based on my reading it looks like git-annex could be contributing. It's a bit of a mess with the transition to Apple silicon (but I think Actions are still x64). I wonder if it's possible to just add git-annex to the environment_testing.yml file under dependencies. conda-forge packages git-annex, so this could (I hope?) help with Mac and Windows, but I'm not sure if that would negatively affect anything else with the build. Good luck!

Hi @zm711 In principle you are right, the issue is that the git-annex conda package you are referring to only exists for linux systems, so adding this package to the environment_testing.yml will again only work for linux systems. My next best guess would be to test the datalad installer to see if that manages to install git-annex on non-linux systems.

Hey @JuliaSprenger--you're right I didn't see that the conda-forge was just for Linux (too bad!). It might be more work than it is worth, but you can also brew install git-annex for Macs (brew install git-annex) and the Runner for Macs says it has brew already installed. But then you would need extra logic in the test files to separate out Mac vs Linux. In fact the DataLad website recommends brew install datalad to automatically get the dependencies rather than other installation methods. The datalad-installer will try to use brew under the hood for Macs.
I'm really not sure how the Windows story will work for this.


Questions about webhook

I have noticed that disabling webhook, specifically MutatingWebhook, will cause job submitter hangs after submitting the job  successfully and other unexpected behaviors. The reason why asking this is because installing webhook can be potentially dangerous as it impacts every single API call that K8S makes and they have to be rigorously monitored. I want to better understand what features are using webhook, and what could be causing the issue when there is no MutatingWebhook in place, and the motivation of this design. Any insights will be appreciated.
cc: @regadas @elanv

After some digging, i found that mutating webhook is used to set default values in flinkcluster_default.go. When mutating webhook is disabled, job submitter will be run in Blocking mode vs Detached mode because of this logic along with other potential unexpected behavior due other other default values not being set.
Another note is the CRD doc is not updated , i.e. not reflecting the actual available fields defined in the CRD yaml, e.g. job.mode, JM.replicas

Hi @pjthepooh yup pretty much. The mutation webhook only adds defaults. I'll close this now ... feel free to open it if you want to keep discussing it.


column chunk page write store log message displays incorrect information

It is printing the size of the dictionary (in terms of the number of keys) twice and calling the second time the 'compressed byte count'. An accurate account of that number would be very helpful for accounting for disk space usage. The actual 'compressed byte count' is indeed calculated at a point near there so I am guessing this is a simple mistake.
see:
https://github.com/apache/incubator-parquet-mr/blob/master/parquet-hadoop/src/main/java/parquet/hadoop/ColumnChunkPageWriteStore.java#L152
Reporter: Ian Barfield
Note: This issue was originally created as PARQUET-71. Please see the migration documentation for further details.

Julien Le Dem / @julienledem:
Thanks for reporting.
The log message is incorrect (Pull request welcome), but the metadata is correct.
https://github.com/apache/incubator-parquet-mr/blob/7a105068e60b7dd6e9f28dd0ccdb9b696a9bc941/parquet-hadoop/src/main/java/parquet/hadoop/ColumnChunkPageWriteStore.java#L152
Those values are used to allocate buffers of the right size when reading so it should be correct.

Ian Barfield:
That doesn't sound consistent with the large differences I saw while stepping through the code to observe the actual byte counts. I'll have to take another look and get back to you.

Dmitriy V. Ryaboy / @dvryaboy:
Here is the "writeDictionaryPage" code from ParquetFileWriter:
  /**
   * writes a dictionary page page
   * @param dictionaryPage the dictionary page
   */
  public void writeDictionaryPage(DictionaryPage dictionaryPage) throws IOException {
    state = state.write();
    if (DEBUG) LOG.debug(out.getPos() + ": write dictionary page: " + dictionaryPage.getDictionarySize() + " values");
    currentChunkDictionaryPageOffset = out.getPos();
    int uncompressedSize = dictionaryPage.getUncompressedSize();
    int compressedPageSize = (int)dictionaryPage.getBytes().size(); // TODO: fix casts
    metadataConverter.writeDictionaryPageHeader(
        uncompressedSize,
        compressedPageSize,
        dictionaryPage.getDictionarySize(),
        dictionaryPage.getEncoding(),
        out);
    long headerSize = out.getPos() - currentChunkDictionaryPageOffset;
    this.uncompressedLength += uncompressedSize + headerSize;
    this.compressedLength += compressedPageSize + headerSize;
    if (DEBUG) LOG.debug(out.getPos() + ": write dictionary page content " + compressedPageSize);
    dictionaryPage.getBytes().writeAllTo(out);
    currentEncodings.add(dictionaryPage.getEncoding());
  }

So compressedLength is compressedPageSize + headerSize. Header size is a few bytes. compressedPageSize is just dictionaryPage.getBytes.().size().
DictionaryPage.getUncompressedSize returns bytes.size(), which is the same thing as compressedPageSize.
So really there's almost no difference between compressed and uncompressed size for the dictionary – there is no special compression, and while you are right that there's a typo, we should print out dictionaryPage.getUncompressedSize() instead!
Now, this does beg the question of why we aren't feeding this through a compressor like Snappy or LZO or whatever the user set as compression for this particular Parquet file.


fix: fmt, minor issues and update

Fix minor issues.
I have put the typical configurations in a rust project for gitignore and fixed an error when not using the reference as an argument of the function so it forces to pass its owned without the need for it.

Thanks for this @botika. Will review in the morning and merge!

Have you closed the job offer? Well, it seems that there is still a lot of work.

Have you closed the job offer? Well, it seems that there is still a lot of work.

Hey! No we just made a new posting for admin reasons. We still have 2 openings. I've reached out to you over email :smile:

Have you closed the job offer? Well, it seems that there is still a lot of work.

Hey! No we just made a new posting for admin reasons. We still have 2 openings. I've reached out to you over email smile

Nice! Disappeared on LinkedIn and scared me :smile:. I've already confirmed I'll see you tomorrow.

According to this, applications should lock Cargo.lock. https://github.com/rust-lang/cargo/issues/315#issuecomment-51075730


Create create-release workflow

Adds a create-release workflow which automates the creation of a new Git tag and GitHub release when the lean-toolchain file is updated in the main branch.

Thanks!

Resolved.

Thanks!


Fixing eslint errors

Because there were a lot

I left one, but that'll go away when I finish implementing the self-correction part of Spellar


Persisting LoginState for ArcanaWallet

Hey!
Was using this code as reference but noticed one thing. If i close the application and open it again, I have to go through the google sign-in process again.
It is really inconvenient for the user. Any clues as to how I can implement a silent login / persist the login state so that the experience for the end user is smooth?
I believe this is a very important issue, Thanks.

Yes, apps can use canReconnect and reconnect methods of the AuthProvider in the upcoming v1.0.6 and make sure user does not have to re-login if they refresh the page or opens a new tab within 30-min login window.
Hope that will address your requirement.
PS:  You may also want to check out SendIt app that uses Arcana Auth and allows sending crypto using email/social login. See https://sendit.arcana.network/

Thanks for the update! Appreciate it. Any estimated date for the release of 1.0.6?

Its under testing but you can take a look at npm.js :-)


Clean up code for the Stdout writer.

Removes code duplication for the different functions that print out the scores.
Adds the league header to the live scores.
Adds an Enum type for the different colors used.
Removes the -1 score from the live scores. It just prints a "-" instead.

================== Spanish Primera Division ==================

Getafe                     -  vs  -                    Malaga   6:30 PM UTC

Right aligns the away teams to give some breathing room to the away goals.

============================= CL =============================

PSV Eindhoven              2  vs  1      Manchester United FC

Btw, I kept getting the ImportError you guys were getting before.
> python .\soccer\main.py --live
Traceback (most recent call last):
  File ".\soccer\main.py", line 11, in <module>
    from soccer.exceptions import IncorrectParametersException
ImportError: No module named soccer.exceptions

I had to remove the from exceptions import IncorrectParametersException and do import exceptions then just reference exceptions.IncorrectParametersException.

The exception importing error is due to the name clash that exceptions will have against the standard exceptions module.
If you run it like:
python -m soccer.main --league LLIGA --standings
You should not get an import error. Running it in this way will allow it to find soccer.exceptions no problem.
I will have a proper study of your PR a little bit later :+1:

looks great to me :smile:
though i still dont get why the need to make the league_header a method esp when the name of the method also doesnt really match the implementation. lol

@Saturn can't believe I forgot about that. Thanks.
@ueg1990 I made it a function since it's being used in 2 places (live scores and league scores) and didn't want to have duplicate code. What else could we name it? That function is just printing the league name in a "pretty" header.

oh i thought it was used in only one place...sorry....my bad

haha np, there's a lot of code being moved, it would be easy to miss if you're not looking for it. I also considered adding that to the league standings, but wasn't sure if it's overkill since you're already specifying which league you want.


[JRO] Update all views with consistent markup

Taking the markup from the one theme#show view and placing them into the
appropriate views, individually, gets things to a little more consistent
state.

Merged this in after a whole bunch of fixes, revisions and polishing.


Sword Art Online: Hollow Fragment [PCSG00294]

App summary

App name: Sword Art Online: Hollow Fragment
App serial: PCSG00294
App version: 1.00

Vita3K summary

Version: v0.1.6
Build number: 2853
Commit hash: https://github.com/vita3k/vita3k/commit/a00d223e
CPU backend: Dynarmic

Test environment summary

Tested by: nishinji
OS: Windows 10
CPU: Ryzen 9 3950x
GPU: RTX 3060ti
RAM: 32 GB

Issues
Screenshots

Log
vita3k.log
Recommended labels
Nothing
crash

Now playable without noticeable glitches