Error in Python 3.11

A somewhat arcane error message after showing a toast in Python 3.11:
from win10toast import ToastNotifier
t = ToastNotifier()
>>> t.show_toast("hello")
WNDPROC return value cannot be converted to LRESULT
TypeError: WPARAM is simple, so must be an int object (got NoneType)

It doesn't seem to break anything.  It shows up for me after the duration ends, and the toast goes away.
https://i.imgur.com/qMZ1dvu.png
def notify():
    toaster = ToastNotifier()
    try:
        toaster.show_toast("Screenshot", "Screenshot saved to images folder", duration=5)
    except TypeError:
        pass
    print("Screenshot saved!")

I'm also getting the same error.

Same here.
Can be reproduced using the "official test program" at [..]\Python311\Lib\site-packages\win10toast_main_.py.
Examining this modules init.py, it looks like the TypeError is handled somewhere inside the win32api module with the printed message and not propagated further, hence placing the call to .show_toast() in a try-except block doesn't change the finding.

Same here!

Same here.

getting the same error

Same here on Win11 22H2 22621.1825 on Python 3.11.1.
from win10toast import ToastNotifier

......
ToastNotifier.show_toast(title=_title, msg=_msg, duration=15)

Same here

Same here
Is there any solution for this issue?

Hi there,
I found a wonderful package to solve this problem. Use the following command to install it:
pip install win11toast
It seems to be OK to use win11toast instead of win10toast.
For more information, go to
https://pypi.org/project/win11toast/ .
You can also view it on GitHub: https://github.com/GitHub30/win11toast
(I’m sorry but I’m a 16-year-old student from a secondary school in China. There may be some grammatical errors in my reply.)
Hope this can help you all.

to fix the issue, simple got to the init.py file of win10toast in you virtual environment, and adjust the return value of the "on_destroy" function, replace it with this '
def on_destroy(self, hwnd, msg, wparam, lparam):
"""Clean after notification ended.
    :hwnd:
    :msg:
    :wparam:
    :lparam:
    """
    nid = (self.hwnd, 0)
    Shell_NotifyIcon(NIM_DELETE, nid)
    PostQuitMessage(0)

    return 0'

and you're good. I'll fork the project and make the changes then i'll link it in a future edit.

Same here Is there any solution for this issue?

to fix the issue, simple got to the init.py file of win10toast in you virtual environment, and adjust the return value of the "on_destroy" function, replace it with this '
def on_destroy(self, hwnd, msg, wparam, lparam):
"""Clean after notification ended.
    :hwnd:
    :msg:
    :wparam:
    :lparam:
    """
    nid = (self.hwnd, 0)
    Shell_NotifyIcon(NIM_DELETE, nid)
    PostQuitMessage(0)

    return 0'

and you're good. I'll fork the project and make the changes then i'll link it in a future edit.

nid = (self.hwnd, 0)
Shell_NotifyIcon(NIM_DELETE, nid)
PostQuitMessage(0)
return 0'

Than you.
I have the last line like:
        return 0'

Did anyone tried to create own class which is derived from ToastNotifier like:
`class MyToastNotifier(ToastNotifier):
def init(self):
super().init()
def on_destroy(self, hwnd, msg, wparam, lparam):
    super().on_destroy(hwnd, msg, wparam, lparam)
    return 0`

this seems work for me.

A somewhat arcane error message after showing a toast in Python 3.11:
from win10toast import ToastNotifier
t = ToastNotifier()
>>> t.show_toast("hello")
WNDPROC return value cannot be converted to LRESULT
TypeError: WPARAM is simple, so must be an int object (got NoneType)

can you share the script you are using?

Solution is easy.. just disable (Do not disturb) mode🙂
i faced same issue and fix it with this way


Lazy tree implementation

Rewrites most of the SMT:

current tree state exists as allocated node objects
flushes to MapStore on Save()
tree is loaded lazily, and caches nodes as they are written/read
value storage MapStore is removed
adds an option to set path-hashing function (identity for raw key)
types are refactored and cleaned up

Updated with

extension nodes
tweaks: avoid cloning nodes when orphaning; use array pointer instead of slice as path
improve bulk tests
tried pre-allocating orphan slices (based on running average tree depth) but it produced slowdowns (+5~10%) on update/delete, so left it out :\
fixed double-deletion on commit bug, added test case


pull exoplayer latest: 1.3.3 and ima sdk: http://imasdk.googleapis.…

pull exoplayer latest: 1.3.3 and ima sdk: http://imasdk.googleapis.com/native/downloads/ima-android-v3-3.b11.4.zip
merge mainly the ExoplayerWrapper to use whatever from exoplayer demo app 1.3.3
the first two example video does not work but it doesn't work for the existing version anyway. May we use the same examples from IMA demo app? I have other pull request for that.

Can anyone take a look at this PR? I really appreciate the input.

Hey Brian, sorry for the delay. There's a few small nitpicks here and there that I'll comment on. We ask that you follow the Google Java style guide when contributing pull requests (Except where the existing GMF code differs in style, on a file by file basis, etc.)
https://google-styleguide.googlecode.com/svn/trunk/javaguide.html
I also would like to generate the jar file myself, as there's no way for us to verify how the jar was built. In thinking of the easiest way to handle this, I thought we could make a temporary branch and submit the jar + then your pull request there, then merge that into master. Sound good?

Oh, also, please squash your multiple commits into a single commit (you can use git rebase to do this) and make sure your commit messages are clear and explain the changes contained within.

I think it would also be beneficial to submit smaller pull requests: If we could update the SDK jar and ExoPlayer separately, that would be ideal.

Unfortunately, we can't just update the SDK jar and Exoplayer separately as there are interface changes. let me clean up this PR.


How to enable the SSL in the Eureka Client Side?

Hi,
I have gone through the EurekaClientConfig.cs code, there is no specific properties to set the certificate details like key-store, key-store-password, etc.
EurekaClientConfig.cs Class
I want to know whether Steeltoe Discovery is supporting with SSL or not.

Hi @ManteshJ,
Steeltoe Discovery does not currently support mutual TLS authentication (client-side SSL) - Is that what you're asking about?
We have a preliminary story in Tracker for working on feature parity between Steeltoe and Spring with regard to Eureka here: https://www.pivotaltracker.com/story/show/157221134 -- it isn't well defined or prioritized yet, so if you have input on what you think is important to add, now is a good time to let us know.


Turned down old requests from error to warning.

Fix this error showing up on sensu.
UNEXPECTED_EXCEPTION – {id: some_id, message: SAML Validation Specification: Request ID _some_id too old (request issueInstant 2019-01-10T17:28:10.082Z, current time 2019-01-10T11:47:09.766Z).
DocumentReference{documentName='Unspecified', documentSection='--'}}

Just checking my understanding: Is this happening because issueInstant of some AuthnRequests are beyond that configured in SamlEngineConfiguration:authnRequestValidityDuration? If so, WARN seems appropriate.


Create a command interface

PyOpenWorm will eventually be used in a variety of places, including in web applications, on the command line, and embedded in other libraries. To facilitate these different uses, there should be a common high-level interface for performing some operations, but for which the full PyOpenWorm syntax is too verbose or which obscures the primary intent.
The task is to create the interface described above and expose it through a CLI.

Closing this one. The command line exists and works.


re4 Game crashes when opening

Describe the bug
A clear and concise description of what the bug is. If the bug only started to happen after a certain REFramework update, let us know which version the bug appeared in.
Upload logs and any crash dumps
Locate the[2024-04-28 19:31:28.690] [REFramework] [info] [REManagedObject] Found release function at 1435ae580
[2024-04-28 19:31:28.690] [REFramework] [info] [ResourceManager::create_resource] Finding function...
[2024-04-28 19:31:28.748] [REFramework] [info] [Resource::update_pointers] Finding function...
[2024-04-28 19:31:28.748] [REFramework] [info] [Resource::update_pointers] Found add_ref function at 1435f86f0
[2024-04-28 19:31:28.748] [REFramework] [info] [Resource::update_pointers] Found release function at 143608e20
[2024-04-28 19:31:28.748] [REFramework] [info] [ResourceManager::create_resource] Found function at 1435f9870
[2024-04-28 19:31:30.731] [REFramework] [info] [Scan.cpp:732] Found function start for 1435f98af at 35f989d
[2024-04-28 19:31:30.731] [REFramework] [info] [Scan.cpp:747]  Checking if 1435f989d is a real function
[2024-04-28 19:31:30.895] [REFramework] [error] [Scan.cpp:1226] Failed to find function start for 0x152da0f06, cannot resolve instruction
[2024-04-28 19:31:31.019] [REFramework] [info] [Scan.cpp:732] Found function start for 1435f989c at 35f9870
[2024-04-28 19:31:31.019] [REFramework] [info] [Scan.cpp:747]  Checking if 1435f9870 is a real function
[2024-04-28 19:31:31.050] [REFramework] [info] [Scan.cpp:732] Found function start for 1435b6a9b at 35b6a00
[2024-04-28 19:31:31.050] [REFramework] [info] [Scan.cpp:1230] Reference point for 1435b6a9b: 1435b6a00
[2024-04-28 19:31:31.051] [REFramework] [info] [Scan.cpp:732] Found function start for 1435b6a9b at 35b6a00
[2024-04-28 19:31:31.051] [REFramework] [info] [Scan.cpp:1230] Reference point for 1435b6a9b: 1435b6a00
[2024-04-28 19:31:31.051] [REFramework] [info] [Scan.cpp:732] Found function start for 1435f9f7b at 35f9f71
[2024-04-28 19:31:31.051] [REFramework] [info] [Scan.cpp:747]  Checking if 1435f9f71 is a real function
[2024-04-28 19:31:31.352] [REFramework] [info] [Scan.cpp:732] Found function start for 1435f9f70 at 35f9f40
[2024-04-28 19:31:31.352] [REFramework] [info] [Scan.cpp:747]  Checking if 1435f9f40 is a real function
[2024-04-28 19:31:31.381] [REFramework] [info] [Scan.cpp:732] Found function start for 1435b8929 at 35b88d1
[2024-04-28 19:31:31.381] [REFramework] [info] [Scan.cpp:1230] Reference point for 1435b8929: 1435b88d1
[2024-04-28 19:31:31.382] [REFramework] [info] [Scan.cpp:732] Found function start for 1435b8929 at 35b88d1
[2024-04-28 19:31:31.382] [REFramework] [info] [Scan.cpp:1230] Reference point for 1435b8929: 1435b88d1
[2024-04-28 19:31:31.382] [REFramework] [info] [ResourceManager::create_userdata] Found function at 1435f9f40
[2024-04-28 19:31:31.382] [REFramework] [info] [VM::update_pointers] Updating...
[2024-04-28 19:31:31.595] [REFramework] [error] [IntegrityCheckBypass]: NtProtectVirtualMemory(-1, ffffffffffffffff, 1000, 40, 22914ee70) failed with c00000f0
[2024-04-28 19:31:31.595] [REFramework] [error] [IntegrityCheckBypass]: NtProtectVirtualMemory(-1, ffffffffffffffff, 1000, 40, 22914ee70) failed with c00000f0
[2024-04-28 19:31:31.595] [REFramework] [error] [IntegrityCheckBypass]: NtProtectVirtualMemory(-1, ffffffffffffffff, 1000, 40, 22914ee70) failed with c00000f0
[2024-04-28 19:31:31.595] [REFramework] [error] [IntegrityCheckBypass]: NtProtectVirtualMemory(-1, ffffffffffffffff, 1000, 40, 22914ee70) failed with c00000f0
[2024-04-28 19:31:31.595] [REFramework] [error] [IntegrityCheckBypass]: NtProtectVirtualMemory(-1, ffffffffffffffff, 1000, 40, 22914ee70) failed with c00000f0
[2024-04-28 19:31:31.595] [REFramework] [error] [IntegrityCheckBypass]: NtProtectVirtualMemory(-1, ffffffffffffffff, 1000, 40, 22914ee70) failed with c00000f0
[2024-04-28 19:31:31.595] [REFramework] [error] [IntegrityCheckBypass]: NtProtectVirtualMemory(-1, ffffffffffffffff, 1000, 40, 22914ee70) failed with c00000f0 re2_framework_log.txt in your game directory and upload it along with the issue.
If you crashed, upload the reframework_crash.dmp file as well.
Identify the REFramework version
If the REFramework version or commit hash is known, submit this information.
设备名称	WIN-MFBM71MJFBP
处理器	AMD Ryzen 5 5600 6-Core Processor                 3.50 GHz
机带 RAM	16.0 GB
设备 ID	75E3FD7D-CED1-46C6-BF3D-354B98F0EE31
产品 ID	00331-20020-00000-AA604
系统类型	64 位操作系统, 基于 x64 的处理器
笔和触控	没有可用于此显示器的笔或触控输入
Graphics card GTX3060 12GB
Game crashes when opening

Closed. Re-open once you have uploaded the entire log and not just a snippet of it.

/

[ ]

_`[

reframework_revision.txt
](url)`_

You did not upload the re2_framework_log.txt.

@
reframework_revision.txt

Uploading re2_framework_log.txt…

Sorry, I am not skilled in operation.

You still did not upload the re2_framework_log.txt. Just drag the file "re2_framework_log.txt" into the GitHub window.

re2_framework_log.txt

Pirated copies are not supported.

Thank you, thank you for your answer


The http server in the test scripts requires a package root

The new package spec file (.packages) format is not handled by the test http server.
This should break dartium testing without dart2js, but not other platforms.
Add support to the server for the .packages file.

@nex3 make a package that builds on shelf to do this - https://github.com/dart-lang/pub_server
Is our test http server written in Dart?

@terrylucas @alan-knight
The removal of the build and test package-root has landed, and many dartium tests are broken because of this.  I can work on this immediately, but can't guarantee a fix until monday.  I'd like to leave the package-root change landed, if you don't mind too much, and I'll try fixing it tonight.  What do you think?

Fixed in https://codereview.chromium.org/2354863002/ and https://codereview.chromium.org/2347423003/


Addtl documentation

Sketching out some potential adds to the documentation to:

make it easier to cite pyDeltaRCM
list the publications / presentations / other places where the model has been used
create a list of subclass models with links to their source codes / repositories (we had talked about a "modelzoo" repository which would point to individual subclass code/repos, not sure if that solution, or just having a list in the docs is simpler)

Would be curious to get your input and thoughts on this @amoodie

yes good call


Review the use of CREATE

Describe the bug
The following query is allowed: "CREATE 'nuevo' CONSTRUCT (n) MATCH (n)"
To Reproduce

Execute: CREATE 'nuevo' CONSTRUCT (n) MATCH (n);

Expected behavior
Show a parser error, because it must be "CREATE GRAPH"

Only happens in windows.
Solution

Download WinUtils.exe from: https://github.com/steveloughran/winutils
Create “hadoop” folder in the System (ex: c:\hadoop).
Create “bin” folder inside “hadoop” directory (ex: c:\hadoop\bin).
Put “winutils.exe” in bin folder (ex: c:\hadoop\bin\winutils.exe)
In User variables (System properties → Advance System Settings), create
new variable “HADOOP_HOME”, path “c:\hadoop\”.


Integer task phases [POC].

Looks like being able to do integer comparison or ordered phases would be useful.
For example:
if t.Phase < ResticRestartCompleted {
    return nil
}

No longer relevant.


Curry isolate

At the time of this writing, isolate accepts two arguments: component:Component<Sources, Sinks> and key:String, respectfully. When dealing with a list of components that need isolation, it could be beneficial to be able to map over a list of keys. E.g.:
const isolatedComponents = map(isolate(MyComponent), keys)

I will therefor propose that we curry the isolate function.

:+1:

After discussion elsewhere, we have agreed that adding sources as a third parameter is warranted now that isolate is curried.


KeyRunner issue to report: OAuth redirect not accepted by identity provider

Is there any ability to edit the redirect/call uri sent by keyrunner (keyrunner://). We've run into some identity providers that seem to require an http:// or https:// address and will not allow keyrunner:// to be entered as a valid redirect uri on the app.

@Mayo-API-Management  To launch the  app  from a web interaction we need to use a custom protocol like keyrunner://. This  serves as a unique identifier for the app and this is a standard approach for desktop applications. We’ll conduct some analysis and explore alternative solutions like using a localhost approach to handle the redirect. We’ll provide you with a detailed solution soon.

@Mayo-API-Management  OAuth redirect is now supported via the following endpoint: https://api.keyrunner.app/v1/oauthRedirect .
Please update to latest (V#1.0.69)


Document maximum number of days

Hi! Thanks for the neat documentation of the new API. I really like it :)
When trying it out, I noticed that requesting the menu of too many days at once, you'll get a response
{"error":{"code":400,"message":"Cannot query more than 21 days at once"}}

and wanted to ask if maybe that could be added to the documentation.
Kind regards,
Bibo-Joshi

Hi!
Thank you for your kind words :)
I've added a note with c9a6086db5cd2de5769edfac364d726077ceeb6b


Reoccuring "We have hit an error". Reproducible.

If you go to post a new rant, click Add Image and then click "Cancel", you will receive repeated notifications that the app has hit an error until resetting.

This is on Windows btw.


mp4v2 library crash

Crash log:
Thread 2 Crashed:: Dispatch queue: com.apple.root.default-priority
0   com.google.code.mp4v2         	0x00000001049fb21d mp4v2::impl::itmf::Tags::fetchString(std::map<std::string, MP4ItmfItem_s*, std::less<std::string>, std::allocator<std::pair<std::string const, MP4ItmfItem_s*> > > const&, std::string const&, std::string&, char const*&) + 77
1   com.google.code.mp4v2         	0x00000001049fac81 mp4v2::impl::itmf::Tags::c_fetch(MP4Tags_s*&, void*) + 1313
2   com.google.code.mp4v2         	0x00000001049f0866 MP4TagsFetch + 53
3   org.sbooth.AudioEngine        	0x00000001047600f7 MP4Metadata::ReadMetadata(__CFError**) + 4711
4   org.sbooth.AudioEngine        	0x0000000104753d74 AudioMetadata::CreateMetadataForURL(__CFURL const*, __CFError**) + 1476

This isn't an issue with SFBAudioEngine and I'm fairly certain that its the result of a corrupted audio file, but is there any way to make this fail cleanly without crashing?

More information, here is the file that causes this crash when it's metadata is read:
http://cl.ly/2f2Z1e2a3e0O1m3z1k1r
Tried opening the same file in iTunes and it imported/played fine, so probably a bug in the mp4v2 lib.

Thanks, I'll report the bug to the mp4v2 maintainers

I've opened a bug in mp4v2, http://code.google.com/p/mp4v2/issues/detail?id=125

Can you provide a sample MP4 which causes the problem?  The stack trace isn't very informative.

Managed to nab the file, here it is: http://dl.dropbox.com/u/65903/01 - Fix Your Face.m4a

Thanks for the file.  Strangely enough, once I recompiled mp4v2 and SFBAudioEngine the problem went away.

Hmm, my build of mp4v2 is only a day old but my build of SFBAudioEngine is pretty old because I haven't merged in most of the recent changes due to the changes in cover art handling. Is there anything you changed in MP4Metadata in recent commits that might've fixed this issue?

No, I can't think of any changes to MP4Metadata that would affect this.  I didn't bother chasing down the root cause in mp4v2 since things started working but I think it was related to tags->disk.

I'll try recompiling again, thanks :)

Reopening this one because recompiling it didn't seem to fix the issue. I dug a bit further into it and it seems that it's an issue with retrieving the lyrics:

Commenting out line 428 solves the issue. I checked to make sure that tags->lyrics was valid and not garbage, so this seems to be a memory management problem with CFDictionary.

I'm still convinced that the bug is in mp4v2.  Once I recompiled mp4v2 and SFBAudioEngine the crash went away, but before that I was seeing a crash in the same place as you.

Odd, seems to work now. I didn't realize you had updated the Frameworks.zip recently. Thank you!


Update Jenkins plugins and container cap

Add plugins needed for QA, increase containerCap (max executors) to 30.

@bmdepesa is this still required? If so, can you merge?


Update Deploy-Storage-sslEnforcement.json to resolve issue #1496

Overview/Summary
removed extraneous brackets to fix syntax errors
Testing Evidence
PS C:\Users\user> New-AzPolicyDefinition -Name Deploy-Storage-sslEnforcement -Policy C:\Users\user\Downloads\Deploy-Storage-sslEnforcement.json -ManagementGroupName management-group
Name               : Deploy-Storage-sslEnforcement
ResourceId         : /providers/Microsoft.Management/managementGroups/management-group/providers/Microsoft.Authorization/policyDefinitions/Deploy-Storage-sslEnforcement
ResourceName       : Deploy-Storage-sslEnforcement
ResourceType       : Microsoft.Authorization/policyDefinitions
SubscriptionId     :
Properties         : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.Policy.PsPolicyDefinitionProperties
PolicyDefinitionId : /providers/Microsoft.Management/managementGroups/management-group/providers/Microsoft.Authorization/policyDefinitions/Deploy-Storage-sslEnforcement
As part of this Pull Request I have

[x] Checked for duplicate Pull Requests
[x] Associated it with relevant issues, for tracking and closure.
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence.
[x] Ensured contribution guidance is followed.
[ ] Updated relevant and associated documentation.
[ ] Updated the "What's New?" wiki page (located: /docs/wiki/whats-new.md)

@apocalysque Many thanks for contributing so actively, however, as highlighted in the issue #1496 the escaping of [ is required for the Bicep engine that generates the policies.json file that does the policy deployment as part of ALZ build. The policies are meant to be deployed as part of Azure Landing Zone, however, if you want to deploy them outside of ALZ, you will need to remove the escape character.
Closing the PR, hope you understand.


Fix for Webpack error with autoit.js: Maximum call stack size exceeded

As per https://github.com/isagalaev/highlight.js/issues/895

That's great! It was bothering me as well :)


Remove meta in part

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e9d57af) 47.31% compared to head (0ec72ff) 47.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #383      +/-   ##
==========================================
- Coverage   47.31%   47.29%   -0.03%
==========================================
  Files         172      172
  Lines       21252    21250       -2
==========================================
- Hits        10056    10050       -6
- Misses      10358    10359       +1
- Partials      838      841       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Replace Encryption class with defuse/encryption library

Replace Encryption class with defuse/encryption library

Coverage increased (+0.07%) to 24.745% when pulling 12a4e8d7e7aa46f4e605f4b370384354d56d0fda on pierredup:encryption into a38401202fcbdbbf11a7a3824877c843b8d453d9 on CSBill:master.

Coverage increased (+0.07%) to 24.745% when pulling 12a4e8d7e7aa46f4e605f4b370384354d56d0fda on pierredup:encryption into a38401202fcbdbbf11a7a3824877c843b8d453d9 on CSBill:master.

Coverage increased (+0.07%) to 24.745% when pulling 0a8718979e3942830c05911b02da6e9b6580a0e3 on pierredup:encryption into a38401202fcbdbbf11a7a3824877c843b8d453d9 on CSBill:master.


feat!: implement ADR 21:  Subspace specific custom fee tokens

Description
Deps: #1135 #1139
Closes: #XXXX
This PR implements ADR-21: Subspace specific custom fee tokens feature.

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[x] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[x] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] followed the guidelines for building modules
[x] included the necessary unit and integration tests
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[x] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

@RiccardoM @manu0466 Rebased


Default executable for javalsp is empthy string.

This fixes documentation for javalsp to match actual implementation.

Cheers! :beers:


Failed to connect to Jupyter notebook Kernel Python 3 is not usable.

Summary
I am currently using paperspace, an AWS cloud computing provider. They allow simple access to EC2 terminals in AW2 with GPU acceleration. I created a docker image based on code-server and then I installed the python/jupyter extension. However, each time I try to launch a notebook I get an error related to the port's availability. I have already tried the apply the solutions proposed in issues #494, #4937, #5814 and #4866, but unfortunately, the error persisted. Although it could be the case I wasn't able to understand the solution or applied to my case, I thought my issue was a genuine error because I don't even get a token, just ....
Thank you in advance for the help.
Environment data

VS Code version: v1.53.2
Jupyter Extension version (available under the Extensions sidebar): v2020.10.332292344
Python Extension version (available under the Extensions sidebar): v2020.10.332292344
OS (Windows | Mac | Linux distro) and version: Ubuntu 20.04.2 LTS
Python and/or Anaconda version: conda 4.9.2
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): Tried all, base VE, and outside conda.
Jupyter server running: Local | Remote | N/A: Remote

Expected behaviour
Run jupyter notebook.
Actual behaviour
Prompt with the message:
Failed to connect to Jupyter notebook. http://<IP_ADDRESS>:8889/ Error: Kernel Python 3 is not usable. Check the Jupyter output tab for more information.

If I try to run the notebook from the terminal:
root@nfmkayr8:/notebooks# jupyter notebook --allow-root
[I 14:56:06.292 NotebookApp] The port 8888 is already in use, trying another port.
[I 14:56:06.296 NotebookApp] Serving notebooks from local directory: /notebooks
[I 14:56:06.296 NotebookApp] Jupyter Notebook 6.2.0 is running at:
[I 14:56:06.296 NotebookApp] http://localhost:8889/?token=...
[I 14:56:06.296 NotebookApp]  or http://<IP_ADDRESS>:8889/?token=...
[I 14:56:06.297 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 14:56:06.302 NotebookApp] No web browser found: could not locate runnable browser.

Steps to reproduce:
We use code-server

Create an EC2 machine with Ubuntu and VScode-server. This can be done via paperspace -> image -> VScodeserver or following this tutorial to set it in EC2 directly.
Run the machine and install python extension v2020.10.332292344
Reload
From the command palette, create a blank Jupyter notebook
Install the required libraries
Run a cell with print("Hello World") OR run command jupyter notebook --allow-root

Logs
Here, I have not been able to activate the debug mode to see the "full output" so I posted the brief terminal output in the "actual behaviour" section.

Hi @rchiodo, I know it might sound ridiculous, but unfortunately, the infrastructure where I have to run the system does not allow yet to update to a later version. That is the latest we can use until they do a general update. Regarding the debug option, I could not find it in my extension settings, so I tried the following approach:
 /notebooks# jupyter notebook --log-level='DEBUG' --allow-root

And this is the print report in the terminal:
[D 17:45:02.537 NotebookApp] Searching ['/notebooks', '/root/.jupyter', '/home/coder/miniconda3/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 17:45:02.537 NotebookApp] Looking for jupyter_config in /etc/jupyter
[D 17:45:02.538 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 17:45:02.538 NotebookApp] Looking for jupyter_config in /home/coder/miniconda3/etc/jupyter
[D 17:45:02.538 NotebookApp] Looking for jupyter_config in /root/.jupyter
[D 17:45:02.538 NotebookApp] Looking for jupyter_config in /notebooks
[D 17:45:02.540 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter
[D 17:45:02.540 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
[D 17:45:02.540 NotebookApp] Looking for jupyter_notebook_config in /home/coder/miniconda3/etc/jupyter
[D 17:45:02.540 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter
[D 17:45:02.541 NotebookApp] Looking for jupyter_notebook_config in /notebooks
[D 17:45:02.548 NotebookApp] Paths used for configuration of jupyter_notebook_config:
        /etc/jupyter/jupyter_notebook_config.json
[D 17:45:02.549 NotebookApp] Paths used for configuration of jupyter_notebook_config:
        /usr/local/etc/jupyter/jupyter_notebook_config.json
[D 17:45:02.549 NotebookApp] Paths used for configuration of jupyter_notebook_config:
        /home/coder/miniconda3/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json
        /home/coder/miniconda3/etc/jupyter/jupyter_notebook_config.json
[D 17:45:02.551 NotebookApp] Paths used for configuration of jupyter_notebook_config:
        /root/.jupyter/jupyter_notebook_config.json
[I 17:45:03.028 NotebookApp] The port 8888 is already in use, trying another port.
[I 17:45:03.029 NotebookApp] The port 8889 is already in use, trying another port.
[W 2021-03-17 17:45:03.377 LabApp] 'allow_root' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2021-03-17 17:45:03.377 LabApp] 'allow_root' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[I 2021-03-17 17:45:03.391 LabApp] JupyterLab extension loaded from /home/coder/miniconda3/lib/python3.8/site-packages/jupyterlab
[I 2021-03-17 17:45:03.392 LabApp] JupyterLab application directory is /home/coder/miniconda3/share/jupyter/lab
[I 17:45:03.399 NotebookApp] Serving notebooks from local directory: /notebooks
[I 17:45:03.399 NotebookApp] Jupyter Notebook 6.2.0 is running at:
[I 17:45:03.400 NotebookApp] http://localhost:8890/?token=...
[I 17:45:03.400 NotebookApp]  or http://<IP_ADDRESS>:8890/?token=...
[I 17:45:03.400 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 17:45:03.407 NotebookApp] No web browser found: could not locate runnable browser.

Do you think is there any other way to start the debug mode in my current python version?

Oh actually you're using VS code server. That's not VS code. We don't actually support that product at the moment. You'd be better off logging an issue there. Or perhaps trying to use remote SSH instead
I'm not even sure how to get our extension log from VS code server.


Gauge chart - color threshold can't be updated dynamically

I've been trying to update the colors.threshold value dynamically on gauge chart as follows:
chart.internal.config.color_threshold = [       Math.round(randomMaxValue/4),        Math.round(randomMaxValue/3),        Math.round(randomMaxValue/2),        randomMaxValue      ];
It doesn't seem to work. Is this a bug on c3?
Here's a codepen where you can see the issue:
https://codepen.io/felipevega/pen/WBaQKP
C3 version: v0.4.23
D3 version: N/A
Browser: Chrome - Version 69.0.3497.100 (Official Build) (64-bit)
OS: macOS Mojave - Version 10.14

It doesn't seem to work. Is this a bug on c3?

It is not a bug, you are modifying an internal state of the chart (chart.internal.XXX) and this is unexpected.
And it is not working because this config is read once, transformed into something else and never read again.
This feature could eventually be added through the public API.


when email textfield is filled out, the next button on the keyboard doesn't set the next text field to be first responder as it should be

Investigate the logic within textFieldShouldReturn(_:)

I set the email text field to be of type YSWTextFieldWithCharacterCounter instead of UITextField and I was then able to move the focus among text fields upon pressing the return key.
In addition, I also set the email text field to reset its string when it become first responder since it's more user friendly to just let user reenter his email address than trying to edit an input one.
Lastly, I also set both password text field and confirmation password text field to reset their contents when either length is unacceptable or not the same password.
Solution: https://github.com/yoha/wlkthru/commit/d752b738a3fc7c33452d15273fa5daf66f85d996


Documentation

Hey,
first of all thank you for creating this. I really appreciate your work in your freetime.
I got to surge via wallis, as surge is a example project. Cool. Unfortunately, I am not able to get it working with two peers. One is on Mac Book 1 and the other on Mac Book 2. I uploaded some example files, saw that there is a hash for them (for sure) and now ... I don't know how to proceed.

is there more docu than in the FAQ?
can you maybe expalin simply how it works? I would be more than happy to test and share what I found

Thanks and all the best
Andy

I think you got pretty far into it already, the general idea is that you create a channel to which you seed files. Those channels are decentralised pubsub topics (facilitated through nkn blockchain) when another client subscribes to that same topic, two way communication should allow for remote files to be shown and downloaded.
It is possible however at the time that the network (nkn) was congested and free (0 fee) transactions did not come through fast enough for the application to be usable. For those kinds of times we are integrating more wallet features so that this can be avoided with minimal cost (currently if fees are needed at all youre looking at fees at orders of magnitude lower than a dollarcent).

Thanks very much @MutsiMutsi - I hope there will be more user soon.


Added TextFieldCounter

Project URL
https://github.com/serralvo/TextFieldCounter
Description
TextFieldCounter is an away to set the max length of a UITextField, also, it includes a label to show the limit.
Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Error

:no_entry_sign:
Found 4 link issues

Link issues by awesome_bot

Line
Status
Link

1182
301
https://github.com/pvzig/SlackKit redirects tohttps://github.com/SlackKit/SlackKit

1465
301
https://github.com/andrew8712/DCKit redirects tohttps://github.com/agordeev/DCKit

2254
301
https://github.com/thoughtbot/liftoff redirects tohttps://github.com/liftoffcli/liftoff

2526
522
http://rypress.com/tutorials/objective-c/index

  Generated by :no_entry_sign: Danger

Cool, thanx for your contribution!


Use regex to find correct kRPC

Only download the zip with the correct contents. In this case it should download krpc-0.3.8.zip and not krpc-python-0.3.8.post1.zip.
This regex code works, but can it be made simpler?
Fixes #5387

hmm, download field is correct but ckan downloads the latest version


Is it possible to create a new device?

I couldn't find any documentation for it but it seems very possible - Is Spotipy support making the device that runs the script as a spotify device? or I can just control existing devices?
If this option is not available through Spotipy, is this option available through the spotify API without too much trouble?

spotipy can only do what the spotify web API can do.
This question seems better suited for https://github.com/spotify/web-api/


Statefulsets fail scheduling on Karpenter managed spot nodes

Version
Karpenter: v0.14.0
Kubernetes: v1.23.7-eks-4721010
Expected Behavior
statefulset pods are successfully deployed on karpenter managed spot nodes
Actual Behavior
Scheduling fails when assigning more than one statefulset replica to spot nodes managed by karpenter with the following error
Failed to provision new node, incompatible with provisioner "spot-nodes", incompatible requirements, key topology.kubernetes.io/region does not have known values
This same statefulset is scheduled successfully when a toleration is added to ensure scheduling via a second provisioner that uses the on-demand instance type.
Steps to Reproduce the Problem

deploy the karpenter provisioner kubectl apply -f provisioner.yaml
deploy test statefulset kubectl apply -f sts.yaml

Resource Specs and Logs
Provisioner
apiVersion: karpenter.sh/v1alpha5
kind: Provisioner
metadata:
  name: spot-nodes
spec:
  kubeletConfiguration:
    systemReserved:
      cpu: 800m
      ephemeral-storage: 1Gi
      memory: 2Gi
  limits:
    resources:
      cpu: 1k
  provider:
    securityGroupSelector:
      karpenter.sh/discovery: my-eks-cluster
    subnetSelector:
      karpenter.sh/discovery: my-eks-cluster
  requirements:
  - key: node.kubernetes.io/instance-type
    operator: In
    values:
    - c4.2xlarge
    - c5.2xlarge
    - c3.2xlarge
    - c5d.2xlarge
  - key: topology.kubernetes.io/zone
    operator: In
    values:
    - ap-southeast-2a
    - ap-southeast-2b
    - ap-southeast-2c
  - key: karpenter.sh/capacity-type
    operator: In
    values:
    - spot
  - key: kubernetes.io/arch
    operator: In
    values:
    - amd64
  ttlSecondsAfterEmpty: 30
  ttlSecondsUntilExpired: 1209600

Statefulset (excuse the hacked together test manifest)
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: teststs
  namespace: default
spec:
  selector:
    matchLabels:
      app: test
  serviceName: "test"
  replicas: 3
  minReadySeconds: 10
  template:
    metadata:
      labels:
        app: test
    spec:
      terminationGracePeriodSeconds: 10
      containers:
      - name: inflate
        image: public.ecr.aws/eks-distro/kubernetes/pause:3.2
        volumeMounts:
        - name: www
          mountPath: /usr/share/nginx/html
  volumeClaimTemplates:
  - metadata:
      name: www
    spec:
      accessModes: [ "ReadWriteOnce" ]
      storageClassName: "gp2"
      resources:
        requests:
          storage: 100Mi

Controller log
karpenter-5db9ffbfc-zdxrm controller 2022-08-23T05:28:18.078Z	ERROR	controller.provisioning	Could not schedule pod, incompatible with provisioner "spot-nodes", incompatible requirements, key topology.kubernetes.io/region does not have known values	{"commit": "5edcce3", "pod": "default/teststs-1"}

Unsure if this is related to https://github.com/aws/karpenter/pull/1299

I think this is related to this fix https://github.com/aws/karpenter/pull/2294
If you upgrade to v0.15.0, things should start working

Thanks @bwagner5, this is the same issue as described in your link and upgrading has resolved the failed scheduling.


Does it support shadow effect?

I skimmed through the code but couldn't find whether ButtonCirclePlugin supports adding/enabling a shadow effect.

At the moment it does not support adding a shadow effect. I will add it to roadmap.

HI @wilsonvargas, when do you plan to release this feature?
Thanks


Chunk Size and Nan Loss

I lower down the chunk size to 1 and the loss will not become Nan, but the training is much slower

I found this line of code causes NaN of dx
https://github.com/state-spaces/mamba/blob/main/mamba_ssm/ops/triton/ssd_combined.py#L176

seems this line of code is highly related to parameter A (dA_cs_k) and the chunk_size (K_MAX)


Secured etcd + rolling update

Coverage increased (+0.1%) to 76.609% when pulling 7816ad439872854a0a7427cf75c1f425839f914b on lukasmacko:v1.0 into 25075db2d3273d1fdaf5e2127846510b7af840ff on contiv:v1.0.


Zip action whole folder instead of just files.

Address issue #232

@lzbj LGTM
Just for clarification, does zipping the whole directory address symbolic link and node_modules issues in #232?

Yes, symbolic links also be zipped.


[v1.3 review] Tiny doc fix

4.3 Behaviour: Nodes (in v1.3 and in v1.2) twice uses the phrase "current state". For clarity, this should be "current configuration", as per the change made in IS-05 by https://github.com/AMWA-TV/nmos-device-connection-management/pull/97.
Will make a PR.

Closed by 62a5d0f.


Content shows up in asian writing

Endpoints content showing up in Asian writing

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

ID: 077406d8-bff1-496e-3ea2-b38558fd9355
Version Independent ID: 57db3dec-2250-2dee-fd1a-ec6656911798
Content: Office 365 URLs and IP address ranges
Content Source: Enterprise/urls-and-ip-address-ranges.md
Service: o365-administration
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

hi @soyalejolopez
Thanks for the feedback. This was caused by incorrect configuration change. That change has been reverted and this issue has been resolved.


Assert s>=0

When trying to start program it would die with
assert(s>=0)
Waiting about 30mins it now starts up.

Which line? There should be line info in the assert.

This might be time of day dependent, I'm not able to reproduce it at the moment

The only plausible explanation for that would be if your computer's time
clock got changed, the exact moment the tool launched, or something.
Is your computer's time properly set from an internet time source?
On Sat, May 15, 2021 at 11:18 AM ATmarked @.***> wrote:

This might be time of day dependent, I'm not able to reproduce it at the
moment
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stolk/chiaharvestgraph/issues/12#issuecomment-841704018,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADPE4CJAFIG7QUXFU44LODTN23JFANCNFSM4456RHWQ
.

--
Owner/Director of Game Studio Abraham Stolk Inc.
Vancouver BC, Canada
@.***

Same happens here. Time is from internet source. Potentially what could be is that changing chia versions will update the timestamp format. Maybe this could be the issue?
Monitoring directory /home/legoless/.chia/mainnet/log
Failed to open log file '/home/legoless/.chia/mainnet/log/debug.log.7'
Failed to open log file '/home/legoless/.chia/mainnet/log/debug.log.6'
read 117629 lines from log.
read 115057 lines from log.
chiaharvestgraph: chiaharvestgraph.c:133: add_entry: Assertion `s>=0' failed.
Aborted (core dumped)

I also get this error from time to time. Last time I tried to start the tool and got the error this was the latest timestamp in my log - 2021-05-17T09:25:08.917

Legoless, do you still have the core dump file?

Considering how hard this is to reproduce, I suggest adding instrumentation in the code to collect the relevant details needed for debugging before the assert.
if (s>0) {
//capture computer clock time
//display faulty line contents and line number
//display directions for tar-ing log files and to report them to Github issue#
}

@ATmarked Good point. See https://github.com/stolk/chiaharvestgraph/commit/0efa4226258422410275c96584979cebd9f9522e

OK, Hopefully this is useful.
chiaharvestgraph ~/.chia/mainnet/log/
Monitoring directory /home/user/.chia/mainnet/log/
Failed to open log file '/home/user/.chia/mainnet/log//debug.log.7'
Failed to open log file '/home/user/.chia/mainnet/log//debug.log.6'
Failed to open log file '/home/user/.chia/mainnet/log//debug.log.5'
Failed to open log file '/home/user/.chia/mainnet/log//debug.log.4'
ERROR - UNEXPECTED TIME VALUE.
tim=1620665100 lasttimehi=1621269900 d=-604800 slot=-1
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
OFFENDING LOG LINE: 2021-05-10T18:45:00.316 harvester chia.harvester.harvester: INFO     1 plots were eligible for farming 939761eea2... Found 0 proofs. Time: 0.05716 s. Total 772 plots
$ date ; date -u
Mon 17 May 2021 06:34:37 PM CEST
Mon 17 May 2021 04:34:37 PM UTC

Monitoring directory /home/selop/.chia/mainnet/log
Failed to open log file '/home/selop/.chia/mainnet/log/debug.log.7'
Failed to open log file '/home/selop/.chia/mainnet/log/debug.log.6'
Failed to open log file '/home/selop/.chia/mainnet/log/debug.log.5'
Failed to open log file '/home/selop/.chia/mainnet/log/debug.log.4'
read 119820 lines from log.
ERROR - UNEXPECTED TIME VALUE.
tim=1620665100 lasttimehi=1621269900 d=-604800 slot=-1
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
OFFENDING LOG LINE: 2021-05-10T16:45:00.040 harvester chia.harvester.harvester: INFO     1 plots were eligible for farming a634ce6aeb... Found 0 proofs. Time: 0.00570 s. Total 41 plots

Thanks guys! Awesome info. I think it may be an off-by-one-error. THere is a good chance I managed to fix it, could you get latest and try again?
What seem to happen: you have a log entry that is on the cusp of being to old to fix in the 1wk history. The stamp was recorded on the VERY edge of the history span.

Latest commit seems to work for me. Problem is it sometimes works and sometimes doesn't. If the issue pops up again I'll report back. Thanks for the quick response! Greatly appreciated.

Build from 50f4a3899e603f9d708176d5ab4244823996850a appears to fix.
I used libfaketime to confirm, using preserved log files and rewinded system clock to that time frame.
LD_PRELOAD=./libfaketime.so.1 FAKETIME='%' FAKETIME_FOLLOW_FILE=/tmp/logs1.tgz   FAKETIME_DONT_RESET=1  ./chiaharvestgraph-old /tmp/log
Monitoring directory /tmp/log
Failed to open log file '/tmp/log/debug.log.7'
Failed to open log file '/tmp/log/debug.log.6'
Failed to open log file '/tmp/log/debug.log.5'
Failed to open log file '/tmp/log/debug.log.4'
ERROR - UNEXPECTED TIME VALUE.
tim=1620665100 lasttimehi=1621269900 d=-604800 slot=-1
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
OFFENDING LOG LINE: 2021-05-10T18:45:00.316 harvester chia.harvester.harvester: INFO     1 plots were eligible for farming 939761eea2... Found 0 proofs. Time: 0.05716 s. Total 772 plots
LD_PRELOAD=./libfaketime.so.1 FAKETIME='%' FAKETIME_FOLLOW_FILE=/tmp/logs1.tgz   FAKETIME_DONT_RESET=1  ./chiaharvestgraph-new /tmp/log
(graph shows up)

Thank you for confirming, and helping to squash this. Open Source works thanks you efforts like yours!

Actually I believe the fix should be this when return INT_MAX:
return last; //INT_MAX

Got this error today thrown today, but parsing works and graph shows up.
Monitoring directory /mnt/XXXX/log/
ERROR - UNEXPECTED TIME VALUE.
tim=1626095163 lasttimehi=1626709500 d=-614337 slot=-11
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626096390 lasttimehi=1626709500 d=-613110 slot=-10
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626099404 lasttimehi=1626709500 d=-610096 slot=-6
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626099529 lasttimehi=1626709500 d=-609971 slot=-6
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626099565 lasttimehi=1626709500 d=-609935 slot=-6
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626100593 lasttimehi=1626709500 d=-608907 slot=-5
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626100947 lasttimehi=1626709500 d=-608553 slot=-5
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626100947 lasttimehi=1626709500 d=-608553 slot=-5
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626100947 lasttimehi=1626709500 d=-608553 slot=-5
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626101030 lasttimehi=1626709500 d=-608470 slot=-5
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626101273 lasttimehi=1626709500 d=-608227 slot=-4
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626102739 lasttimehi=1626709500 d=-606761 slot=-3
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
read 126646 lines from log debug.log.7
read 126100 lines from log debug.log.6
read 124633 lines from log debug.log.5
read 124488 lines from log debug.log.4
(...)
Graph shows up without problems after that.
Built on WSL2/Debian, was running without that error since the latest harvestgraph git release.

Are you graphing the log on a different machine from the one that generated
them?
In other words, did you copy the log? If so, your clocks are out of sync, I
think.
On Mon, Jul 19, 2021 at 8:48 AM pl4hh @.***> wrote:

Got this error today thrown today, but parsing works and graph shows up.
Monitoring directory /mnt/XXXX/log/
ERROR - UNEXPECTED TIME VALUE.
tim=1626095163 lasttimehi=1626709500 d=-614337 slot=-11
REPORT THIS MESSAGE TO #12
https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626096390 lasttimehi=1626709500 d=-613110 slot=-10
REPORT THIS MESSAGE TO #12
https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626099404 lasttimehi=1626709500 d=-610096 slot=-6
REPORT THIS MESSAGE TO #12
https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626099529 lasttimehi=1626709500 d=-609971 slot=-6
REPORT THIS MESSAGE TO #12
https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626099565 lasttimehi=1626709500 d=-609935 slot=-6
REPORT THIS MESSAGE TO #12
https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626100593 lasttimehi=1626709500 d=-608907 slot=-5
REPORT THIS MESSAGE TO #12
https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626100947 lasttimehi=1626709500 d=-608553 slot=-5
REPORT THIS MESSAGE TO #12
https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626100947 lasttimehi=1626709500 d=-608553 slot=-5
REPORT THIS MESSAGE TO #12
https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626100947 lasttimehi=1626709500 d=-608553 slot=-5
REPORT THIS MESSAGE TO #12
https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626101030 lasttimehi=1626709500 d=-608470 slot=-5
REPORT THIS MESSAGE TO #12
https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626101273 lasttimehi=1626709500 d=-608227 slot=-4
REPORT THIS MESSAGE TO #12
https://github.com/stolk/chiaharvestgraph/issues/12
ERROR - UNEXPECTED TIME VALUE.
tim=1626102739 lasttimehi=1626709500 d=-606761 slot=-3
REPORT THIS MESSAGE TO #12
https://github.com/stolk/chiaharvestgraph/issues/12
read 126646 lines from log debug.log.7
read 126100 lines from log debug.log.6
read 124633 lines from log debug.log.5
read 124488 lines from log debug.log.4
(...)
Graph shows up without problems after that.
Built on WSL2/Debian, was running without that error since the latest
harvestgraph git release.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/stolk/chiaharvestgraph/issues/12#issuecomment-882656713,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADPE4E2KCXII5RKALGU6OLTYRCLRANCNFSM4456RHWQ
.

--
Owner/Director of Game Studio Abraham Stolk Inc.
Vancouver BC, Canada
@.***

Are you graphing the log on a different machine from the one that generated them? In other words, did you copy the log? If so, your clocks are out of sync, I think.

Since i run the harvestgraph in WSL2 and the actual harvesting on the HOST of the WSL2 that might be i thing, but it is not
a copy, the VM directly accesses the realtime logs.
That error just came up today, it was working without problems since ages, will restart the WSL2 VM when my current plotting is finished and report back if the error persits after reboot.

That error just came up today, it was working without problems since ages, will restart the WSL2 VM when my current plotting is finished and report back if the error persits after reboot.

Really weird, reboot of the VM and the HOST did not help. Maybe it's just a fluke, lets see what happens when the next logfile rollover occurs, should'nt be that long.

That error just came up today, it was working without problems since ages, will restart the WSL2 VM when my current plotting is finished and report back if the error persits after reboot.

Really weird, reboot of the VM and the HOST did not help. Maybe it's just a fluke, lets see what happens when the next logfile rollover occurs, should'nt be that long.

Error is gone after oldest logfile rolled over.
On Thu, Mar 17, 2022 at 3:35 PM PaJaSoft @.***> wrote:

my report:
MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
err - UNEXPECTED TIME VALUE.
tim=1646721117 lasttimehi=1647557100 d=-835983 slot=-257
REPORT THIS MESSAGE TO https://github.com/stolk/chiaharvestgraph/issues/12
—
Reply to this email directly, view it on GitHub
https://github.com/stolk/chiaharvestgraph/issues/12#issuecomment-1071689327,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADPE4G5QUAOIJQ454EKQ5TVAOXSTANCNFSM4456RHWQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Owner/Director of Game Studio Abraham Stolk Inc.
Vancouver BC, Canada
@.***

Did this happen over DAY LIGHT SAVING switch?
…
On Thu, Mar 17, 2022 at 3:35 PM PaJaSoft @.> wrote: my report: MESSAGE TO #12 err - UNEXPECTED TIME VALUE. tim=1646721117 lasttimehi=1647557100 d=-835983 slot=-257 REPORT THIS MESSAGE TO #12 — Reply to this email directly, view it on GitHub <#12 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADPE4G5QUAOIJQ454EKQ5TVAOXSTANCNFSM4456RHWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you modified the open/close state.Message ID: @.>
-- Owner/Director of Game Studio Abraham Stolk Inc. Vancouver BC, Canada @.***

Shouldn't be, we are still in 'winter time', TZ on the box is set to CET (UTC+1) - cheked by date +"%Z %z")

I just started up chiaharvestgraph after about a year of not using it and was met with a ton of these errors saying to report them here. Is this something of concern or something I can fix?


modify parameters collection and mintnft

Description
add a description of your changes here...
Rationale
tell us why we need these changes...
Example
add an example CLI or API response...
Changes
Notable changes:

add each change in a bullet point here
...

LGTM


Update ZMQ Dependencies

Removes sawtooth-zmq dependency from schema and track_and_trace, and updates sawtooth sdk dependency in client.

Waiting for 0.3 release


Update workflows

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (4dd4809) to head (71a94ad).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #186   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           33        33
  Lines          634       634
  Branches        37        37
=========================================
  Hits           634       634

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


how could I change mtproto servers?

I would like to use mtproto proxy servers (mtproxyd) to connect to telegram network.
how could I change default mtproto servers?

I resolve it by modify the source code, first get the nearest dc, and connect this one.

@royalrover Which mtproto library version do you use?

3.1.3

@royalrover what file should I change in source code?

/lib/service/api-manager/index.js
invokeNetRequest method
networker = yield _this5.mtpGetNetworker(x);

x is the nearest dc, and  make sure the file lib/config-check/dc.js ， the number of  the nearest dc is"x"


branch-2.1 increase routine load job default max batch size and rows

pick #36632
Most users only care about the size of max_batch_interval, but in order to achieve an interval effect, they have to configure max_batch_rows and max_batch_size according to the characteristics of the data. By adjusting these two default values, users do not need to worry about configuration in most scenarios.
Proposed changes
Issue Number: close #xxx

run buildall


Address playback

What is the context of this PR?

Playback address from metadata on separate lines instead of on one.

How to review

Check that address comes gets displayed as it should.
Not sure how the address should display in a summary, so possibly need some guidance on that

Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

If you leave the answers blank and submit then an exception is raised, we need to know whether we have an at least one of a certain amount of answers, so this probably needs some other type of testing/analysis/research or something along those lines to work out what the expected functionality is.

@dcdarrell9 still waiting on confirmation about this https://github.com/ONSdigital/eq-survey-runner/pull/1751#discussion_r214864482

@jonnyshaw89 There's a possibility of having 2 types of question...

At least one of need to be answered.
If none are answered, default to metadata


Change installation instructions to promote pip + remove references to "scipy stack"

Update the installation instructions:

Remove references to the "scipy stack" (following #218)
Promote using pip also on Windows

We may want to wait until scipy 1.0 is out in order to have the windows wheels...

Also, there is a pip packaged called scipy-stack. So after 1.0 is released, you can download Python from Python.org and then type pip install scipy-stack and everything will work (Jupyter, IPython, numpy, scipy, etc...).

ready?

Yes but it has no code, only dependencies. You could ask for maintainer access.

@David-OConnor

Well, given that we decided the whole concept is not necessary any more, I think we won't re-add it in this PR.

BTW, how do you auto cancel the old PR builds? I could not find that option.
But yes, looks okay.

Re the scipy-stack convenience package: There's not much to maintain! It should install properly on Windows, now that Scipy 1.0.0 is out.

Ok, I'll just merge it. If there's something to change we can mop it up later.


Filter out hosts with a version number below 1.3.7

Hosts which are running a Sia version below 1.3.7 are not actually on the Sia network but on Sia classic instead. Removing these hosts from SiaHub will clean the host database up a lot be removing hosts which are not actually active anymore.
This will also remove this host which pretends to have 1.1 PB of storage space. Which will in turn make the statistics on the network page more realistic.

Why wallet keep it in DB then?
Shouldn't it automatically remove it?
Since I don't have such possibility actually, that's just sia wallet...
Only way is remove hostdb, which will send to offline all hosts probably for sometime

@Fornax96 what you think? :)

Oh sorry I went on vacation shortly after submitting this bug.
Sia 1.4.0 compensates by putting the 1.3.6 and lower hosts all the way at the bottom of the hostdb list. But even if the hosts have no chance of ever being picked when forming contracts, they still count towards the total on siahub.
For Sia itself it's not really important to remove those hosts, but in siahub it skews the reported statistics.
Siahub has its own database which keeps track of these statistics right? You could still show the hosts in the list, just exclude them from the stats. I'm not sure which database siahub uses, but in mysql it should be as easy as adding WHERE host.version NOT IN('1.3.0', '1.3.1', '1.3.2', '1.3.3', '1.3.4', '1.3.5').

Done.


docs: Add @scale section

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: da0c478a9525a780eadeb3135eeeaf5fd03dfa7f
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: da0c478a9525a780eadeb3135eeeaf5fd03dfa7f
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-ATYtnXPE7MOa
Commit ID: da0c478a9525a780eadeb3135eeeaf5fd03dfa7f
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: e6b8aac1cd1e98fbb30057869a96990a5b79f823
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-ATYtnXPE7MOa
Commit ID: e6b8aac1cd1e98fbb30057869a96990a5b79f823
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: e1cad23d372d7bb7d140179ad2ac6dd082f38c07
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-ATYtnXPE7MOa
Commit ID: e1cad23d372d7bb7d140179ad2ac6dd082f38c07
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: e1cad23d372d7bb7d140179ad2ac6dd082f38c07
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Fixed wrong type hint

Description
Fixed wrong type hint
(that is actually my code -> and my sorry)
Type of change

[ ] Refactor
[ ] New feature
[x] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)

/retest

/override "Red Hat Konflux / lightspeed-service-on-pull-request"

/lgtm
/approve

/approve

/lgtm


saveImages not storing raw image data

Using the saveImages option is still using the discord.com URL for the image thus eventually being deleted.
My usage:
     const attachment = await discordTranscripts.createTranscript(interaction.channel, {
                    saveImages: true,
                    footerText: `Copyright ${interaction.guild.name} ${new Date().getFullYear()}`,
                    poweredBy: false
                });

Unable to reproduce this bug:

After trying it again it worked, sorry to bother 😓


[Bug]: locks up or takes hours when using slightly complex jobs

Summary Description
I have tried several jobs that are A4 and have more than a simple job on them and Meerk40t goes extremely slow, 3.7Ghz CPU, 64GB Ram, M.2 drive (so not the slowest of PC's)
I have added the SVG, the SVG has four layers as I tried to section it and output these smaller sections to separate files, hopefully take the load off Meerk40t but it's still too slow. ideally, I'd like to just have one layer and engrave and cut in one pass, not 4 passes (Engrave 1,2 Cut 1,2)
Additional Details
Velociraptor single sheet.zip
Crash logs
No response
MeerK40t Version
0.9.3010
MeerK40t Type
Executable
Your Operating System
Windows

Turn off Optimization it seems like that's going really slowly.
You could do the next bit of optimizations that's coming down the pike to speed that up.

You can also right-click the main group and Merge Items That'll create a single big item to rule them all. Seem to optimize rather fast.
Also, it's a small grid of hearts what the heck takes 6 megs?

Tried without merging it seemed to take like 2-3 seconds. Ah, I have different settings you have many of these passes and it can't just do the same heart each time? So it's actually optimizing 1000 x 11 x 10 different hearts which aren't allowed to simply do the first heart 1000x in a row.

Make four operations. Likely merge the giant set of 110 hearts into 1 path. Then add it to each of those operations.
I can't seem to get this to go slowly. Am I missing something?

It's not just Hearts, it has layers, turn them all on in the SVG and there is a lot more. I made the layers in an attempt to help meerk40t speed, maybe just running layers off does nothing to help?

Seems like it should help some. Since it has fewer objects to deal with. This one seems to go fairly reasonably in most cases. Usually the raw number of objects causes some slowdowns. And you're better off merging some paths together to have fewer nodes to deal with. Which you can sort of do in meerk40t.

OK we are going to get mixed up as we are both doing things to try to fix it :-)
When I load the SVG (Optimize off) and only showing "engrave 1" layer, I first clear all operations, I then select all of the "engrave 1" items and this alone takes a while, then once it is finished selecting them I try to "assign operation" to the selected group and it takes forever.

Mostly though if you turn off optimizations it should go a good clip faster, though it might lose some time in moving things around.

Drag and drop the entire group into Engrave 1.

Okay, turned all the layers on. So I can experience the full set of issues. The initial loading is decidedly going a lot slower now.

I guess loading 1 single copy and then doing element* grid 10 11 or whatever that command is would let you just create your own version of sorts. There's not too much to do to speed up the load time of a file like that.
Do you want to run this design in series or in parallel. Each card fully finished before starting the next card, or do all the first elements of the card and then all the second elements of the card and repeat?

So, I have just "engrave 1" on, to load the file takes 29 seconds, to select just "engrave 1" items by dragging a box around them 1min 29 seconds.
I was then right-clicking and looking for "merge items" but I cannot see this option, did you mean "group" not merge?

Okay, for some reason it thinks this file should have raster, cut, raster, cut for a very long time.
No, if the items are in a group you can Merge that group.

I guess loading 1 single copy and then doing element* grid 10 11 or whatever that command is would let you just create your own version of sorts. There's not too much to do to speed up the load time of a file like that.
Do you want to run this design in series or in parallel. Each card fully finished before starting the next card, or do all the first elements of the card and then all the second elements of the card and repeat?

Each card finished before next

I think our current solution for this is a placement grid. Basically just let run 1 job in the right order in all 110 locations.

Running each card in order is a bit different than merely running the Engrave, Engrave, Cut, Cut. Since really you want to run 110 Engraves, 110 Engraves, 110 Cuts, 110 Cuts. And do each followed by the next.

Merging would not help with that since they would each be their own object and what you want is 1 set of objects run 110 times.

Running each card in order is a bit different than merely running the Engrave, Engrave, Cut, Cut. Since really you want to run 110 Engraves, 110 Engraves, 110 Cuts, 110 Cuts. And do each followed by the next.

I simply want to do a A4 sheet,
First, engrave everything (all engrave as one job)
Then the hearts as one cut
Finally the outline as one cut.
I am not sure why meerk40t is making all the engrave's cut's. unless it's something I did in inkscape?

It might be a feature, since you labeled it Cut or something. I forget how it decides that based on label there.

Thanks for all your help, know you have looked at a lot of things what is your best suggestion to make this work?

Single cell of the design run 110 times across the field.

I think I may have done the values wrong.

Depending a bit on your bed size. That'd be nearly right. Though I have 12 additional rows down and meant to do 10x11.
Basically create 1 placement in the corner.
Create placements horizontally like 25mm apart.
Select all the placements that are horizontal and right-click and Create placements Vertically, like 20 mm apart.

This is basically a forced move because if you want to do the full card with each step in the correct order, you need to use placements. Or you're forced to design 11 x 10 x 4 different operations. And making sure each of them is in the right order.
So here you see the simulation partially done, and it did my top row first, then it did all the additional vertical rows. It's basically the only solution here because even if you could tame the sheer number of objects, we're dealing with a downright crazy amount of work to give them each their own properly parallel bit of code.

Single cell of the design run 110 times across the field.

Thanks for all your help, will try this and it makes sense.

It's entirely true that this is really hard, and the solution here is kind of hard to figure out, and really it should be a lot easier.

It's a somewhat sane amount of time to simulate the design though. And hopefully in 0.10.x stuff that issue will go away too since we won't need to duplicate the code for each of these positions. Much more effective than dealing with that many objects but still sub-optimal.

Though I did do the simulation without Optimize, which is probably preferred though maybe without Merge Operations since if it can smash the cards together between operations it might actually violate the whole 1 card then next card... requirement there.

It's a somewhat sane amount of time to simulate the design though. And hopefully in 0.10.x stuff that issue will go away too since we won't need to duplicate the code for each of these positions. Much more effective than dealing with that many objects but still sub-optimal.

Sorry to be a newbie, but where is the option to run 110 times in a grid like fashion?

Placements. You actually need to make a row of Horizontal Placements from 1 single start placement and then a row of Vertical placements from that row of Horizontal placements.
The SVG I posted can be right-click downloaded and will have the placements in them already. Run that without optimize and it should be fairly reasonable.

https://www.youtube.com/watch?v=6WT2RD69j3k
I think I go over making a makeshift grid. Really it needs a grid placement thing but I'll toss that in feature suggestions on discord.

Not a bug, optimisation speed needs to be addressed. Specific case is better done with placements


Mirror request: async package

CL<PHONE_NUMBER> is bringing the async package into the repo's DEPS, so it needs to be mirrored.

CL for mirroring approved, ticket filed to create repository at chromium.googlesource.com.  Waiting on that ticket.

Done


[todo] Add Middleware/Plugin Support

It would be nice if Surf had a built in mechanism for middleware/plugins. It would be nice if developers could set plugin modules that perform common tasks and/or add functionality. For example:

OAuth support
Logging into popular sites (Github, Reddit, GMail, etc)

Possible syntax:
// GithubLogin implements a Surf plugin for Github authentication.
// When requests are made to the github.com domain, the plugin
// performs user authentication automatically if the user isn't
// logged in already.
type GithubLogin struct {
	username string
	password string
}

... implement methods

func main() {
	bow := NewBrowser()

	login := middleware.NewGithubLogin("username", "password")
	bow.AddMiddleWare(login)

	err := bow.Open("https://github.com")
	if err != nil {
		panic(err)
	}
}

Thoughts on using something like https://github.com/f2prateek/train? If #39 gets merged this would already be possible :)


python3Packages.basemap: enabled

This package was marked incompatible with python3 by mistake.

@lancelotsix the CI says that there are some merge conflicts. Can you try to rebase on top of master and force-push ?

Rebased and re-pushed.
The disabled part was mostly for pypy. This incompatibility arises because of numpy, so I suppose that only keeping the disabled attribute in the numpy derivation is enough.
I only added the isPy3k (which could have been simplified as disabled = isPyPy) because this is what I was able to test. I have no idea if making numpy compatible with pypy will be enough for basemap to work with it.

If it is only PyPy on which this doesn't work, then the right thing to write is disabled = isPyPy.
Often isPyPy is not explicitly mentioned, because certain dependencies (numpy) are already unavailable.

Currently, I only know that it requires numpy which is not available on pypy. Do you prefer that I explicitly mention the disabled = isPyPy or do I assume that the numpy dependency is enough ?

I'm fine with it any way :)
@domenkozar could you merge?


tunnel manager refactor (WIP)

[x] fix tests
[x] write up how it works
[ ] test behind NAT ect

@kingoflolz this doesn't seem to setup peer tunnels properly.

@drozdziak1 what do you think of similar backwards compatiblity testing as we have in Babel?

tested and validated with old exit -> new client
still needs testing with old client -> new exit (is borked.altheamesh.com running this @kingoflolz ?)

old client -> new exit does not seem to work, no per hop tunnel when pointed at borked.altheamesh.com

@jkilpatr should be working now, tested on my edgerouter

tested old exit new client, new client new exit + future, new exit new client no future. All seem to have worked.
But when trying old client + new client behind the same Nat I got a crash on rita-exit
Jun 03 14:00:22 vps171948.vps.ovh.ca rita_exit[3232]: INFO 2018-06-03T18:00:22Z: rita_exit::rita_common::network_endpoints: sending to old hello handler
Jun 03 14:00:22 vps171948.vps.ovh.ca rita_exit[3232]: INFO 2018-06-03T18:00:22Z: rita_exit::rita_common::network_endpoints: Got Hello from Some("[::ffff:<IP_ADDRESS>]:47768")
Jun 03 14:00:22 vps171948.vps.ovh.ca rita_exit[3232]: INFO 2018-06-03T18:00:22Z: rita_exit::rita_common::tunnel_manager: creating new wg interface TunnelData { iface_name: "wg1", listen_port: 60001 }
Jun 03 14:00:22 vps171948.vps.ovh.ca rita_exit[3232]: INFO 2018-06-03T18:00:22Z: althea_kernel_interface: Command "ip" ["link", "set", "dev", "wg1", "up"] returned: an error Output { status: ExitStatus(ExitStatus(512)), stdout: "", stderr: "RTNETLINK answers: Address already in use\n" }
Jun 03 14:00:22 vps171948.vps.ovh.ca rita_exit[3232]: thread 'main' panicked at 'called Result::unwrap() on an Err value: RuntimeError("received error setting wg interface up: RTNETLINK answers: Address already in use\n")', libcore/result.rs:945:5
Jun 03 14:00:22 vps171948.vps.ovh.ca rita_exit[3232]: note: Run with RUST_BACKTRACE=1 for a backtrace.
Jun 03 14:00:22 vps171948.vps.ovh.ca rita_exit[3232]: ERROR 2018-06-03T18:00:22Z: actix_web::pipeline: Error occured during request handling, status: 500 Internal Server Error Mailbox has closed
Jun 03 14:00:22 vps171948.vps.ovh.ca systemd[1]: rita-exit.service: main process exited, code=exited, status=101/n/a
Jun 03 14:00:22 vps171948.vps.ovh.ca systemd[1]: Unit rita-exit.service entered failed state.
Jun 03 14:00:22 vps171948.vps.ovh.ca systemd[1]: rita-exit.service failed.


Add test for environment

Almost missed adding the new variables in the conda-forge feedstock (here)

This all looks good to me!

Thanks for the review


Reshape error after onnx conversion

I have successfully trained a fasterrcnn_mobilenetv3_large_fpn and can make inferences on it using python.
I get no errors when converting the model to onnx using export.py -
python export.py --weights outputs/training/fasterrcnn_mobilenetv3_large_fpn_iNaturalist/best_model.pth --data data_configs/iNaturalist.yaml --out model.onnx
However, when I try to make inference on the onnx model I get reshape errors -
python onnx_inference_image.py --input ../input/iNaturalist/inference_images/ --weights weights/model.onnx --data data_configs/iNaturalist.yaml --show --imgsz 640
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Reshape node. Name:'/roi_heads/Reshape_2' Status Message: C:\a_work\1\s\onnxruntime\core\providers\cpu\tensor\reshape_helper.h:40 onnxruntime::ReshapeHelper::ReshapeHelper size != 0 && (input_shape_size % size) == 0 was false. The input tensor cannot be reshaped to the requested shape. Input shape:{115,2479}, requested shape:{-1,4}
My data has 620 classes.
When I search the node which is causing the error on Netron, the node with the reshape error is occurring in the middle of the network but closer to the end.

Hello @charlieWyatt
There are a few things to consider here.
When you export a model to ONNX using the script it is built by default with a static shape of 640x640.  You can adjust the resolution using the appropriate arguments of the export.py script.
I see that during inference, you are already providing --imgsz 640. So, this error should not arise.
Can you please provide me with your training command and if possible a few images for me to reproduce the issue on my side?

Thanks @sovit-123 I appreciate the response.
I am printing out the image.shape here in onnx_inference_image.py-

And am getting a value of - torch.Size([1, 3, 640, 640])
Here is an example image I am training on -

And my inference image -

The training command I am using is -
python train.py --model fasterrcnn_mobilenetv3_large_fpn.py --epochs 75 --data data_configs/iNaturalist.yaml --batch 4 --mosaic 0

May I know you ONNX and ONNX Runtime versions? Can you please try with ONNX Runtime 1.14.0 and the corresponding version of ONNX if they are different?

inference on same image folder payh using inferency.py -
python inference.py --data data_configs/iNaturalist.yaml --weights outputs/training/fasterrcnn_mobilenetv3_large_fpn_iNaturalist/best_model.pth --input ../input/iNaturalist/inference_images/

Old versions -
onnxruntime version - 1.16.3
onnx version - 1.15.0
Tried running it with onnx==1.14.0 and onnxruntime==1.14.0 and I am getting the same error.
Interesting, if I try the resnet18 model with all other parameters the same, I am able to export to onnx, but would prefer to use the mobilenet model if possible.

That's interesting. In that case, I will check the source code script if it is only running for ResNet18 model. There may be some error.

I have a suspicion it is because of the redefinition of the roi heads in the mobilenet model on line 16 -

Also the error seems to indicate it is an issue in the roi heads

Thanks for the observation. I will take a look. Although it may take some time.

Hi. I tested the ResNet backbone models and a few other models. It seems that they are working fine while the the MobineNet one mentioned by you is not. It may be because of some internal resizing. I will need some more time to test it out.

No worries, thanks @sovit-123!

hi @sovit-123 I also encountered the same issue with the mobilenet reshape. Is there any update regarding this matter?

From a first look, it seemed like an internal transform issue of the model. However, the transforms are the same as the ResNet backbone ones. So, I still need to figure this out.

Hi. Can you train again? I have pushed an update where you can export at 640x640 and run inference at any resolution. Basically dynamic export. While exporting do not give any resolution. Only provide the desired resolution while running the inference.

It seems that the problem is in the torchvision implementation. He is a minimal reproductible example:
import torch
import torchvision
import cv2
import requests
import numpy as np
import onnxruntime

print("Exporting model")
model = torchvision.models.detection.fasterrcnn_mobilenet_v3_large_fpn(weights='DEFAULT')
torch.onnx.export(model, torch.rand(1, 3, 640, 640), '/tmp/model.onnx',
                    input_names=['input'], output_names=['boxes', 'scores', 'labels'])

print("Downloading image")
r = requests.get('https://docs.opencv.org/4.x/roi.jpg', allow_redirects=True)
open('/tmp/roi.jpg', 'wb').write(r.content)
img = cv2.imread('/tmp/roi.jpg')

img = img[50:200, 150:250]
cv2.imwrite('/tmp/roi2.jpg', img)
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
image_dim_dim = cv2.resize(img, (640, 640))
image_dim_dim = np.array(image_dim_dim, dtype=np.float32) / 255.0
image_bchw = np.transpose(np.expand_dims(image_dim_dim, 0), (0, 3, 1, 2))

print("Running inference")
session = onnxruntime.InferenceSession('/tmp/model.onnx', providers=["CPUExecutionProvider"])
outputs = [o.name for o in session.get_outputs()]
inputs = [o.name for o in session.get_inputs()]
prediction = session.run(outputs, {inputs[0]: image_bchw})
print(prediction)

Error:
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Reshape node. Name:'/roi_heads/Reshape_2' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:39 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) size != 0 && (input_shape_size % size) == 0 was false. The input tensor cannot be reshaped to the requested shape. Input shape:{490,363}, requested shape:{-1,4}
Packages:
onnxruntime                   1.18.1
torch                               2.2.2
torchvision                     0.17.2

It seems that the problem is in the torchvision implementation. He is a minimal reproductible example:
obs: The error shows up only in the cropped image. If I comment out img = img[50:200, 150:250] - it works fine.
import torch
import torchvision
import cv2
import requests
import numpy as np
import onnxruntime

print("Exporting model")
model = torchvision.models.detection.fasterrcnn_mobilenet_v3_large_fpn(weights='DEFAULT')
torch.onnx.export(model, torch.rand(1, 3, 640, 640), '/tmp/model.onnx',
                    input_names=['input'], output_names=['boxes', 'scores', 'labels'])

print("Downloading image")
r = requests.get('https://docs.opencv.org/4.x/roi.jpg', allow_redirects=True)
open('/tmp/roi.jpg', 'wb').write(r.content)
img = cv2.imread('/tmp/roi.jpg')

img = img[50:200, 150:250]
cv2.imwrite('/tmp/roi2.jpg', img)
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
image_dim_dim = cv2.resize(img, (640, 640))
image_dim_dim = np.array(image_dim_dim, dtype=np.float32) / 255.0
image_bchw = np.transpose(np.expand_dims(image_dim_dim, 0), (0, 3, 1, 2))

print("Running inference")
session = onnxruntime.InferenceSession('/tmp/model.onnx', providers=["CPUExecutionProvider"])
outputs = [o.name for o in session.get_outputs()]
inputs = [o.name for o in session.get_inputs()]
prediction = session.run(outputs, {inputs[0]: image_bchw})
print(prediction)

Error:
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Reshape node. Name:'/roi_heads/Reshape_2' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:39 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) size != 0 && (input_shape_size % size) == 0 was false. The input tensor cannot be reshaped to the requested shape. Input shape:{490,363}, requested shape:{-1,4}
Packages:
onnxruntime                   1.18.1
torch                               2.2.2
torchvision                     0.17.2


botocore not honoring AWS_CA_BUNDLE consistently

Perhaps I've misunderstood something, but it appears to me that botocore is not honoring AWS_CA_BUNDLE consistently, particularly in its vendored version of Requests. I need this to work because my company intercepts SSL traffic and requires that we use their custom bundle.
First, here's the traceback:
The full traceback is:
Traceback (most recent call last):
  File ".../ansible_WUOdAA/ansible_module_ec2_group_facts.py", line 159, in <module>
    main()
  File ".../ansible_WUOdAA/ansible_module_ec2_group_facts.py", line 142, in main
    Filters=ansible_dict_to_boto3_filter_list(sanitized_filters)
  File ".../venv/lib/python2.7/site-packages/botocore/client.py", line 317, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File ".../venv/lib/python2.7/site-packages/botocore/client.py", line 602, in _make_api_call
    operation_model, request_dict)
  File ".../venv/lib/python2.7/site-packages/botocore/endpoint.py", line 143, in make_request
    return self._send_request(request_dict, operation_model)
  File ".../venv/lib/python2.7/site-packages/botocore/endpoint.py", line 172, in _send_request
    success_response, exception):
  File ".../venv/lib/python2.7/site-packages/botocore/endpoint.py", line 265, in _needs_retry
    caught_exception=caught_exception, request_dict=request_dict)
  File ".../venv/lib/python2.7/site-packages/botocore/hooks.py", line 227, in emit
    return self._emit(event_name, kwargs)
  File ".../venv/lib/python2.7/site-packages/botocore/hooks.py", line 210, in _emit
    response = handler(**kwargs)
  File ".../venv/lib/python2.7/site-packages/botocore/retryhandler.py", line 183, in __call__
    if self._checker(attempts, response, caught_exception):
  File ".../venv/lib/python2.7/site-packages/botocore/retryhandler.py", line 251, in __call__
    caught_exception)
  File ".../venv/lib/python2.7/site-packages/botocore/retryhandler.py", line 277, in _should_retry
    return self._checker(attempt_number, response, caught_exception)
  File ".../venv/lib/python2.7/site-packages/botocore/retryhandler.py", line 317, in __call__
    caught_exception)
  File ".../venv/lib/python2.7/site-packages/botocore/retryhandler.py", line 223, in __call__
    attempt_number, caught_exception)
  File ".../venv/lib/python2.7/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
    raise caught_exception
botocore.vendored.requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)

botocore is being called via Ansible. I am able to run the AWS CLI and other Ansible tasks that use boto3 and legacy boto fine, so I believe my configs are setup correctly. However, the particular task shown above is failing.
Interestingly, if I dig in to my virtual environment, I see this file:
.../venv/lib/python2.7/site-packages/certifi/cacert.pem

If I manually replace this file with the company provided bundle, the SSL errors go away. Somehow, botocore is looking at that file (presumably via Requests) and not at the bundle it should be looking at specified by AWS_CA_BUNDLE. If I uninstall certifi I still get the same SSL error.
Any idea what could be happening here?
Here's what I'm running:
ansible <IP_ADDRESS> (detached HEAD 3c805f85bc)
Python 2.7.14
botocore (1.8.32)
certifi (2018.1.18)

Potentially related to the issue raised here: https://github.com/boto/botocore/issues/1122#issuecomment-312873179

@nchammas  Sorry for the late reply. Unless Ansible exposes an environment variable I think you would have to modify the Ansible code.

Closing due to inactivity.


Use Cmd(::Vector{String}) to make curl Cmd

This avoids having to quote strings that may contain embedded spaces (e.g. the query string), which can cause problems on some systems if those surrending quotes are not removed from the query.

Not sure about this PR.  I think the quoting conventions (requirements?) of different curl versions may have the potential to be problematic either with or without the quotes.  With the quotes is problematic for at least one curl version (7.47.0), but not problematic for 7.61.1.  Without the quotes works for simple queries on both of those curl versions, but not sure it will work with more complex queries that happen to contain "curl-special" characters (e.g. quotes and semicolons).  I think switching to HTTP.jl is the way to go.  I'll probably open a different PR for the HTTP.jl solution and close this one at that time.

Closing this PR because #2 fixes the same issue in a better (IMHO) way.


Runelite won't use GPU on Linux/Mesa

Type
GPU
Operating System
Linux
OS Version
Linux 6.1.76
Bug description
I'm on Linux 6.1.76 (NixOS) with Mesa 23.3.3 and a RX 7600 GPU. I'm launching Runelite with Bolt. I tried installing through my package manager and through flatpak and experienced the same behavior. I also tried giving both Bolt/Runelite all permissions via flatseal.
By default, whenever I turn on either the GPU or 117HD plugin, my CPU utilization goes to 100% and FPS drops to <5. However, GPU usage (measured with amdgpu_top is near zero. I tried disabling compute shaders as mentioned in https://github.com/runelite/runelite/issues/16354 but did not experience any changes. This is not a duplicate of that issue, as many users there are reporting high GPU utilization.
If I run RuneLite with hardware acceleration forced to OpenGL and the GPU plugin turned on, I get about 10FPS, still no GPU usage, and I have terrible artifacting as described in https://github.com/runelite/runelite/wiki/Disable-Hardware-Acceleration.
 My CPU utilization stays at around 50%.
My GPU is set up fine for other system uses: I can run Steam games or Blender using ROCm without any problems. I do not have an iGPU (Ryzen 2600 CPU).
Possibly related: https://github.com/117HD/RLHD/issues/21
Screenshots or videos
No response
RuneLite version
RuneLite <IP_ADDRESS>, Launcher version 2.6.13
Logs
client.log
launcher.log

You log file shows you have not turned the GPU plugin on. I would try that and see what the log shows.

I do have it turned on - I actually just started runelite from scratch with the GPU plugin, ran for a minute or two, then exited. Unfortunately, my logs in ~/.var/app/net.runelite.RuneLite/.runelite/logs were last changed about 20 minutes ago - I'm not sure why runelite isn't generating them.

It can't be on because it logs this at very early startup:
				log.info("Using device: {}", GL43C.glGetString(GL43C.GL_RENDERER));
				log.info("Using driver: {}", GL43C.glGetString(GL43C.GL_VERSION));

Maybe your client has stopped logging.

Yes, I just tried relaunching runelite a few times, and also taking screenshots, but now it doesn't seem to be outputting any sort of files at all. Strange, since it still has all the flatpak permissions possible; I'm not really sure how to debug that.

Try using the appimage maybe? I don't know much about how flatpak permissions work.

llvmpipe is the llvm software rasterizer. So indeed it is not using your gpu. Can you try the appimage? And also get glxinfo

Have you tried running flatpak update?

Can you try the appimage? And also get glxinfo

I still see 2024-02-07 23:41:53 GMT [Client] INFO  n.r.client.plugins.gpu.GpuPlugin - Using device: llvmpipe (LLVM 16.0.6, 256 bits) unfortunately.
If there's a way to actually log in and test with the AppImage if I only have access to a Jagex account, please let me know.
glxinfo.txt

Have you tried running flatpak update?

Yes, I already had.

Can you try the appimage? And also get glxinfo

I still see 2024-02-07 23:41:53 GMT [Client] INFO n.r.client.plugins.gpu.GpuPlugin - Using device: llvmpipe (LLVM 16.0.6, 256 bits) unfortunately.
If there's a way to actually log in and test with the AppImage if I only have access to a Jagex account, please let me know.
glxinfo.txt

Have you tried running flatpak update?

Yes, I already had.

If it still says llvmpipe it doesn't matter, it isn't working. glxinfo appears to not be able to identify your gpu either:
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 23.3.3
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

There is about where my knowledge ends with gpu support on linux though. Maybe dig into why Mesa thinks you don't have a gpu?

For reference, there's also https://github.com/NixOS/nixpkgs/issues/271739 , but that looks like it produces an error in the logs on enabling the GPU plugins, and I don't see anything like that in my logs. Plus, this is also happening on the RuneLite flatpak.
Just to be sure, I tried native/appimage runelite with LD_LIBRARY_PATH pointing to libGL and libXxf86vm, but it was still using llvmpipe.

Maybe dig into why Mesa thinks you don't have a gpu?

Fair, that's a good point. I thought it could be kernel related, so I tried with 6.7.3, but glxinfo outputs the same. On the other hand, firefox + other software recognizes it as a RX 7600. I also don't know a ton about GPU handling - I'll try to investigate more and narrow down if it's Mesa related or not.

This looks like a bug in nixpkgs/nixos's handling of the mesa/rocm AMD stack. Thanks for the help debugging.


Load balancer security group not being created with IPv6 ingress rules

Creating an ALB ingress with the following annotations, almost everything appears to be set up correctly — an ALB with internet-facing, dualstack configuration is set up, along with the correct target groups.
However, the associated security group (labelled "managed LoadBalancer securityGroup by ALB Ingress Controller"), only creates two rules: one for each port (80, 443), with the IPv4 CIDR: <IP_ADDRESS>/0.  IPv6 clients are unable to connect unless I manually update the security group with a ::/0 rule for each port.
kubernetes.io/ingress.class: alb

alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/ip-address-type: dualstack
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]'

alb.ingress.kubernetes.io/actions.redirect-to-https: '{"Type": "redirect", "RedirectConfig":{"Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'

alb.ingress.kubernetes.io/target-type: ip

alb.ingress.kubernetes.io/ssl-policy: ELBSecurityPolicy-TLS-1-1-2017-01
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:<snip>

I see that the list of CIDRs to add to the security group comes from the alb.ingress.kubernetes.io/inbound-cidrs and defaults to <IP_ADDRESS>/0, but when I try to add ::/0 for IPv6 to this list, it's rejected.
Am I missing something in my configuration to allow IPv6 to work when the ingress controller creates ALBs?

Logs when creating a new ingress
09:19:55.054314       1 association.go:224] kube-system/test-ingress: creating securityGroup 1173f105-kubesystem-testin-8be6:managed LoadBalancer securityGroup by ALB Ingress Controller
09:19:55.170031       1 tags.go:69] kube-system/test-ingress: modifying tags {  kubernetes.io/namespace: "kube-system",  kubernetes.io/ingress-name: "test-ingress",  kubernetes.io/cluster-name: "dev"} on sg-0f1dc3f17f3cdc32c
09:19:55.275894       1 security_group.go:50] kube-system/test-ingress: granting inbound permissions to securityGroup sg-0f1dc3f17f3cdc32c: [{    FromPort: 80,    IpProtocol: "tcp",    IpRanges: [{        CidrIp: "<IP_ADDRESS>/0",        Description: "Allow ingress on port 80 from <IP_ADDRESS>/0"      }],    ToPort: 80  },{    FromPort: 443,    IpProtocol: "tcp",    IpRanges: [{        CidrIp: "<IP_ADDRESS>/0",        Description: "Allow ingress on port 443 from <IP_ADDRESS>/0"      }],    ToPort: 443  }]
09:19:55.457910       1 lb_attachment.go:30] kube-system/test-ingress: modify securityGroup on LoadBalancer arn:aws:elasticloadbalancing:eu-west-1:<snip>:loadbalancer/app/1173f105-kubesystem-testin-8be6/3fb6225cee1a3f32 to be [sg-0f1dc3f17f3cdc32c]
09:19:55.682808       1 association.go:224] kube-system/test-ingress: creating securityGroup instance-1173f105-kubesystem-testin-8be6:managed instance securityGroup by ALB Ingress Controller
09:19:55.767053       1 tags.go:69] kube-system/test-ingress: modifying tags {  kubernetes.io/cluster-name: "dev",  kubernetes.io/namespace: "kube-system",  kubernetes.io/ingress-name: "test-ingress"} on sg-0a69ef0b7210dd33f
09:19:55.870881       1 security_group.go:50] kube-system/test-ingress: granting inbound permissions to securityGroup sg-0a69ef0b7210dd33f: [{    FromPort: 0,    IpProtocol: "tcp",    ToPort: 65535,    UserIdGroupPairs: [{        GroupId: "sg-0f1dc3f17f3cdc32c"      }]  }]
09:19:56.188585       1 instance_attachment.go:87] kube-system/test-ingress: attaching securityGroup sg-0a69ef0b7210dd33f to ENI eni-03fffdea715ad30c3

Hi,
This is an missing gap to support IPV6.
/kind bug
As an temporary mitigation, you can do the following:

Manually create an securityGroup sg-xxxx that allow IPV4&IPV6 traffic.
Modify node securityGroups to allow inbound traffic from sg-xxxx.
Add annotation to ingress: alb.ingress.kubernetes.io/security-groups: sg-xxxx.(this tell the controller to use this SG for LB instead of creating a new one)


Instagram style cropping

Hello,
is it possible to have instagram style cropping? Like you move / scale only the image and the cropping are is fixed

Sorry, this is not possible, no plan to implement that