Sandbox works, live production results in "This transaction is invalid".

Hi!
I have everything set up using the REST API and Python SDK with flask on the backend. Everything worked well on the test server with the Sandbox account. I made several test payments. Deployed to production and changed to 'live' and 'production' with the live keys. On the prod server, I get this in the popup, instead of a client paypal login prompt:
"This transaction is invalid. Please return to the recipient's website to complete your transaction using their regular checkout flow. At this time, we are unable to process your request. Please return to merchant and try another option."
The 'create' request goes through without a problem, and I get a payment id. Before deploying to production, I tried out the live settings on the test server. Was this a mistake?
Now, it works from the test server with the live keys, but not the prod server.
Is paypal suspicious since it's receiving requests from a new location?
Not sure what to try next, could you point me in the right direction?
Thanks!
Will
Testing on Chrome.
paypal.js version "4.0.166"
Here's my code with some data replaced by '...'

paypal.Button.render({

  env: 'production',
  commit: true,

  payment: function(resolve, reject) {

    // var data = {...}

    return paypal.request.post(CREATE_URL, data)
      .then(function(res) {
        if (res.errorCode > 0) {
          //alert(...);
          return reject(new Error(res.errorText));
        } else {
          return res.paymentID;
        }
      });
  },

  onError: function(err) {
    //alert('...');
  },

  onAuthorize: function(data, actions) {

    var EXECUTE_URL = '/paypal/execute/';

    var data = {
      paymentID: data.paymentID,
      payerID: data.payerID
    };

    return paypal.request.post(EXECUTE_URL, data)
      .then(function (res) {
        //window.location.replace("...");
      });
  }

}, '#paypal-button');

def create(post):
    ... = post['...']
    ... = post['...']
    ... = ...
    ... = post['...']

    paypalrestsdk.configure({
        'mode': 'live',
        'client_id': '...',
        'client_secret': '...'})

    payment = paypalrestsdk.Payment({
        "intent": "sale",
        "payer": {
            "payment_method": "paypal"
        },
        "redirect_urls": {
            "return_url": "/paypal/execute/",
            "cancel_url": "/"
        },
        "transactions": [{
            "item_list": {
                "items": [
                    {
                    "name": "...",
                    "sku": "001",
                    "price": "7.00",
                    "currency": "USD",
                    "quantity": 1
                    },
                    {
                    "name": "...",
                    "price": ...,
                    "currency": "USD",
                    "quantity": 1
                    },
                    {
                    "name": "...",
                    "price": ...,
                    "currency": "USD",
                    "quantity": 1
                    }

            },
            "amount": {
                "total": ...,
                "currency": "USD"
            },
            "description": "..."
        }]
    })

    if payment.create():
        return flask.jsonify({'paymentID': payment['id']})
    else:
        return flask.jsonify(payment.error)

Hi! Can you share an example of a payment id which is erroring out? Thanks!

Hi!
I just tried, and got this one:
{
"paymentID": "PAY-14G75855NP862013JLILGXLQ"
}
On Thu, Nov 23, 2017 at 2:11 PM, Daniel Brain<EMAIL_ADDRESS>wrote:

Hi! Can you share an example of a payment id which is erroring out? Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/paypal/paypal-checkout/issues/542#issuecomment-346537971,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALlgPRBj5X8d7u0oviHEB9C07CGPeW2Rks5s5QyJgaJpZM4QoTli
.

Strange. The payment id is a valid production id. Not sure why it's not working for you.
Can you try two things:

Can you copy the entire url from the popup window? (ideally before it redirects to the error page) -- the url should be paypal.com/checkoutnow?....

Instead of return reject(new Error(res.errorText)); can you try throw new Error(res.errorText);

Well, the popup URL was in fact https://www.sandbox.paypal.com/checkoutnow
Turns out in my enthusiasm to go live, I forgot to empty my browser
cache... :$
Problem solved! Thanks a lot for your time, and quick replies! A+
On Thu, Nov 23, 2017 at 2:42 PM, Daniel Brain<EMAIL_ADDRESS>wrote:

Strange. The payment id is a valid production id. Not sure why it's not
working for you.
Can you try two things:

Can you copy the entire url from the popup window? (ideally before it
redirects to the error page) -- the url should be
paypal.com/checkoutnow?....
2.
Instead of return reject(new Error(res.errorText)); can you try throw
new Error(res.errorText);
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/paypal/paypal-checkout/issues/542#issuecomment-346540863,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALlgPYbSWr5mA1MelzkfyBmYY7yXjOzUks5s5RO6gaJpZM4QoTli
.

Great!


How to change Rectangle width or height after creating?

How to change Rectangle width or height after creating? I know that I can just move the vertices by hand, but why do it manually? Surely there is some special method for this?
By the way, why do not you use classes or inheritance?

You need to create the new vertices and use Body.setVertices(body, vertices). There's nothing built in for this specifically because there is no real notion of 'rectangle' or any other shape, it's all just vertices. Anything in Bodies.* are just helper factories to create common shapes.

Create 'rectangle' or any other shape classes, and add helper methods to control him =) No?

Sorry but this is something I'd rather leave to game engine developers, as I prefer to focus my time on the physics simulation and I also prefer the simplicity of just vertices rather than adding more abstractions on top.


Separated the data from the class. Created a Factory for class.

I have separated the underlying data from the ISO4217 class.
I have also created a factory for creating instances of ISO4127.

Is there a rationale behind this...? As it is right now, you've complete changed the API, which would require a new major version release, without any reason (you might have a valid reason, but you did not share it).


BIG: Reduced complexity in locals to remove unecessary for loops

The Terraform locals logic in the Single-Sign-On module is complex and difficult to read. The locals loops through all .json files which is unecessary and adds additonal time to the account baseline process.
We propose that the for loops are removed and a simple regex added to reference the current account id (this will come from the workspace)

These lines were added to the locals file in Terraform to remove the loop
app_name = try(regex("^bichard*.", terraform.workspace), replace(terraform.workspace, "/-([[:alnum:]]+)$/", ""))
#app_name = replace(terraform.workspace, "/-([[:alnum:]]+)$/", "")
env_name = replace(terraform.workspace, "${local.app_name}-", "")
This has been fully tested and works as expected.


Correction for raw affiliation IMAGE Laboratory, University of Moulay Ismail, Meknes 50000, Morocco.; Mohammed V University, Rabat 10090, Morocco,; Research Group in Biomedical Engineering and Pharmaceutical Sciences, ENSAM,; the High School of Technology ESTC, University of Hassan II, Casablanca 20153, Morocco.

Correction needed for raw affiliation IMAGE Laboratory, University of Moulay Ismail, Meknes 50000, Morocco.; Mohammed V University, Rabat 10090, Morocco,; Research Group in Biomedical Engineering and Pharmaceutical Sciences, ENSAM,; the High School of Technology ESTC, University of Hassan II, Casablanca 20153, Morocco.
raw_affiliation_name: IMAGE Laboratory, University of Moulay Ismail, Meknes 50000, Morocco.; Mohammed V University, Rabat 10090, Morocco,; Research Group in Biomedical Engineering and Pharmaceutical Sciences, ENSAM,; the High School of Technology ESTC, University of Hassan II, Casablanca 20153, Morocco.
new_rors: 04cnscd67;00r8w8f84;001q4kn48
previous_rors: 04cnscd67;018pp1107;00r8w8f84;001q4kn48
works_examples: W4362705033
contact: 1aa26383ff84e3d192a97ebf8e9f525f:6ff53bce352d432849749a6cae @ ensam.eu

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


Added Sinope thermostat (TH1124ZB)

Added basic feature for Sinope TH1124ZB Thermostat

Current temperature
Heating setpoint
Set mode (Off / Heat)

Thanks!


pyodbc does not fetch the actual SQL error description for Teradata database

What steps will reproduce the problem?
#!/usr/bin/python
import pyodbc
def checkTable():
cursor = TDCONN.cursor()
sql = "SELECT 1 FROM query with error"
try:
cursor.execute(sql)
for row in cursor:
print "How did this query work?\n"
exit(0)
except Exception, e:
print e
print "SQL Exception: " + e.message
cursor.close()
def main():
checkTable()
TDCONN.close()
if name == "main":
TDCONN = pyodbc.connect('DSN=mydsn;',ansi=True, autocommit=True)
print "\nTeradata connection established \n"
main()
====ODBC.ini====
[mydsn]
Driver=/opt/teradata/client/14.00/odbc_64/lib/tdata.so
Description=Desc
DBCName=mydbc
LastUser=myuser
Username=myuser
Password=Tmp
Database=mydb
DefaultDatabase=mydb
TDMSTPortNumber=1025
DateTimeFormat=AAA
What is the expected output? What do you see instead?
Expected output:
Teradata connection established
Syntax error: expected something between the 'with' keyword and the 'error' keyword.
State: 37000; Native: -3706; Origin: [Teradata][ODBC Teradata Driver][Teradata Database]
Actual Output:
Teradata connection established
('HY000', '[HY000] [unixODBC][Driver Manager]Driver returned SQL_ERROR or SQL_SUCCESS_WITH_INFO but no error reporting API found (0) (SQLExecDirectW)')
SQL Exception:
What version of the product are you using? On what operating system?
pyodbc - 2.1.8
OS - Linux version 2.6.18-238.el5<EMAIL_ADDRESS>(gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Thu Jan 13 15:51:15 EST 2011

This is with a very old version of pyodbc.  Can you retest with the a later version?  Thanks.


Adapt resource structs to work with struct merging code

Description
This PR makes a few small changes to the resources structs so that they work with the config merging code.
Most notably it changes all Atomic values to options and adds the required Derive macros to make the Resources struct mergeable.
This might be breaking depending on how downstream code uses the structs. Serialization and Deserialization should not be affected (apart from being more lenient due to values being optional now).
If downstream code simply uses the convenience functions on the structs to obtain derived ResourceRequirements and PersistentVolumeClaim objects this shouldn't require any changes as those inferfaces have been kept stable.

Review Checklist

[ ] Code contains useful comments
[ ] (Integration-)Test cases added (or not applicable)
[ ] Documentation added (or not applicable)
[ ] Changelog updated (or not applicable)
[ ] Cargo.toml only contains references to git tags (not specific commits or branches)

Once the review is done, comment bors r+ (or bors merge) to merge. Further information

bors r+


Describe "forward declaration" of classes using a "stub"

Problem
The docs currently describe the use of stubs for abstract classes, but do not mention using them for forward declaration of classes in order to defer definition.
For example:
class Foo {...}
class Bar {
    has Foo $.foo;
}
class Foo {
    say "This is a Foo object";
}

Suggestions
Add some text describing the additional use in file 'glossary.pod6'.

Please note this also is allowed to stub subs!
sub a() { ... }
sub a() { 42 }  # no compilation error


Can define operator '.', but it doesn't parse

Tried to run this:
{"quote":"Winning isn’t everything, but wanting to win is.","author":"Vince Lombardi"}.
{"quote":"I am not a product of my circumstances. I am a product of my decisions.","author":"Stephen Covey"}.
{"quote":"You miss 100% of the shots you don’t take.","author":"Wayne Gretzky"}.
{"quote":"Every strike brings me closer to the next home run.","author":"Babe Ruth"}.
{"quote":"Whether you think you can or you think you can’t, you’re right.","author":"Henry Ford"}.

member_comma(Z, (X,_)) :- member_comma(Z, X).
member_comma(Z, (_,Y)) :- !, member_comma(Z, Y).
member_comma(X, X).

:- op(100,yfx,'.').
:- op(800,xfx,':=').
X := A.B :- member_comma(B:X, A).

main :- statistics(wall, W), N is W rem 5+1, call_nth({ X }, N), Q := X."quote", A := X."author",
   write(Q-A), nl.

But I got errors:
?- ['quotes.pl'].
Warning: singleton: X, near line 13, file 'quotes.pl'
Warning: singleton: A, near line 13, file 'quotes.pl'
Warning: singleton: X, near line 13, file 'quotes.pl'
Warning: singleton: A, near line 13, file 'quotes.pl'
Error: '.', line 13, '
'
   true.

If Trealla cannot parser operator '.', wouldn't it make more sense to
throw already an error during op/3.

Ok, fixed. Nice little dictionary.
tpl
?- [quotes].
true.
?- main.
"Winning isn’t everything, but wanting to win is."-"Vince Lombardi"
true

Note, use statistics(walltime,...)

I don't know whether wall is some de facto standard.
This is a little adhoc from one of my systems.

That was located out of sight,  Jean-Luc.
Thank you for this impulse: X = (Y is B+_)
$ cat is.pl
{_ is _+1}.
{_ is _+2}.
{_ is _+3}.
{_ is _+4}.
{_ is _+5}.
main :- between(1,5,N), call_nth({X}, N),
        X = (Y is B+_),
        write('+'), between(1,3,B), X, writeq(Y), fail.

$ tpl
?- "is".
   true.
?- main.
+234+345+456+567+678   false.
?-

Parsing "is" as a consult was a mistake.
On Wed, Aug 24, 2022 at 1:05 AM flexoron @.***> wrote:

That was located out of sight, Jean-Luc.
Thank you for this impulse: X = (Y is B+_)
$ cat is.pl
{_ is +1}.
{ is +2}.
{ is +3}.
{ is +4}.
{ is +5}.
main :- between(1,5,N), call_nth({X}, N),
X = (Y is B+),
write('+'), between(1,3,B), X, writeq(Y), fail.
$ tpl
?- "is".
true.
?- main.
+234+345+456+567+678   false.
?-
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/23#issuecomment-1224204907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSER5EQZCPJI7L3TZSYLV2TSCVANCNFSM57JCK5LA
.
You are receiving this because you commented.Message ID:
@.***>

I can consult and run it now.
Maybe the code itself needs a little bit more cuts.


fix: 🐛Added a callback for the header title #241.

Description

Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[x] I have followed the Contributor Guide when preparing my PR.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples or docs.

Breaking Change?

[ ] Yes, this PR is a breaking change.
[x] No, this PR is not a breaking change.

Related Issues

#241

@jaiminrana05 Please resolve conflicts


YARN-10776. Make ConfiguredRMFailoverProxyProvider select ResourceMan…

3022

 Quality gate: Passed
 Everything looks good
Details

 Quality gate: Passed
 Everything looks good
Details


Runtime: simplify loading and storing enum values

This commit centralizes the code that converts variable length
tag values, stored in enum payloads and extra tag bytes, to and
from the 4-byte integer values that the runtime uses to represent
the enum case.
Note that currently big endian machines will store the tag value
in the first word of the destination. This reflects the current
behaviour of the compiler. I am however expecting to change this
so that the value is stored as a true variable-length big-endian
integer in the near future, so the tag value will be stored in
the last 4 bytes of payloads rather than the first 4 bytes like
they are on little-endian systems.

@swift-ci Please test.

Build failed
Swift Test OS X Platform
Git Sha - 9c333a5a472f8418398790ff2b6c038db1a7e7d6

@swift-ci Please test.

@swift-ci Please test.

Build failed
Swift Test Linux Platform
Git Sha - 9c333a5a472f8418398790ff2b6c038db1a7e7d6

Build failed
Swift Test OS X Platform
Git Sha - 9c333a5a472f8418398790ff2b6c038db1a7e7d6

@swift-ci Please test and merge.

@swift-ci Please test Linux platform

@swift-ci Please smoke test and merge.

@swift-ci Please test.

Build failed
Swift Test Linux Platform
Git Sha - 05ab1ca2328cdbcbb045716728576b8aa96da243

Build failed
Swift Test OS X Platform
Git Sha - 05ab1ca2328cdbcbb045716728576b8aa96da243


O auth implement

Initial implementation of Google OAuth.
Also initial implementation of chat history storing using the literal.ai as demonstrated in the chainlit documentation (https://github.com/Chainlit/cookbook/tree/main/resume-chat). The chat history is attempted to be stored at cloud.getliteral.ai. Tom and Hemant signed in with Google BU accounts. For some reason the history doesn't show up yet.

Will remove temporary files and Firebase references and make a PR.

Tried this locally. Logging and logging out works, and chats get saved and associated with the user. They also get logged to LiteralAI with the user's email. Only thing is that the authentication only works on a Chromium browser.
To get the authentication working, you need to set up OAuth 2.0 on Google Cloud (credentials) and set up the env variables as described in the cookbook referenced in the first comment on this PR.

Tried this locally. Logging in and logging out works, and chats get saved and associated with the user. They also get logged to LiteralAI with the user's email. Only thing is that the authentication only works on a Chromium browser. It was working on Firefox, then stopped, not sure what happened, getting "Something went wrong" with no more info.
To get the authentication working, you need to set up OAuth 2.0 on Google Cloud (credentials) and set up the env variables as described in the cookbook referenced in the first comment on this PR.

How is it getting logged to literalAI? Does chainlit handle that, if we pass in the literal_ai_key?

Tried this locally. Logging in and logging out works, and chats get saved and associated with the user. They also get logged to LiteralAI with the user's email. Only thing is that the authentication only works on a Chromium browser. It was working on Firefox, then stopped, not sure what happened, getting "Something went wrong" with no more info.
To get the authentication working, you need to set up OAuth 2.0 on Google Cloud (credentials) and set up the env variables as described in the cookbook referenced in the first comment on this PR.

How is it getting logged to literalAI? Does chainlit handle that, if we pass in the literal_ai_key?

Yes - see here

Great! @Farid-Karimli  or @xavierohan -- Is all that is needed is to resolve the merge conflicts then? Will it support running without authentication but not retrieving chat history?

It doesn't allow not authenticating, opening the application immediately redirects to Google's Authentication page.

Redundant with #36. We can close this.


type errors could be vastly improved by adding the line number

this would require a change to the parser, where each parsed element is marked with the line where it was defined.

BTW, implementing an error-correcting parser (+ type checker) with good error messages might be an interesting (Honors, MS, ...) thesis topic.
--
Martin

On Jan 11, 2020, at 12:20 PM, Kai Gay<EMAIL_ADDRESS>wrote:
this would require a change to the parser, where each parsed element is marked with the line where it was defined.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Update InfluxDBClient.Point to be Sendable

Proposal:
Update InfluxDBClient.Point to conform to the Sendable protocol.
In theory it should be a simple change, though it's possible there's other concurrency warning that would be surfaced by adding the change.
It'd be really nice if InfluxDBClient.Point was a struct. That'd simplify adding the sendable conformance since an instance of a struct can't be referenced for multiple threads, removing the need for adding synchronization/locking which a class would require.
Current behavior:
When using the library with Swift 6, the following error is produced when passing a point across concurrent contexts.

Desired behavior:
An error shouldn't be produced.
Use case:
Using the package with Swift 6.

Hi @CraigSiemens,
thanks for your suggestion.
Is this something you would be willing to help with? All PR is welcome and we will be happy to review your submission.
Best Regards


user-tags-map - in Java config

Can I enable aws tags from Java config ?
the same as here https://github.com/spring-cloud/spring-cloud-aws/issues/280

It's currently not possible to enable tags from Java config and it's not high on our priority list. PRs welcome!


Franklin github tag

Greetings, I'd like to recommend that users of Franklin tag their website source repositories with the GitHub tag franklin to make it easier to find examples and get ideas for customization.
Perhaps this can be suggested in the documentation.

Yes that’s an excellent idea thanks

added to the readme as well.


Arrays of objects out of bounds

Description
Problem is happen when you try to allocate array of objects with destructor on heap using new[] operator. New allocates 8 + array_size, and writes number of elements in front 8 bytes. Then pointer moves to first element in an array. So, in KLEE there is no information about such prefix, and simple out of bound exception can be missed.
To Reproduce
Consider the following code:
#include <cassert>

int value = 0;

struct A {
  int x;
  A() {}
  A(int x) : x(x) {}
  ~A() { ++value; }
};

int main() {
  A *a = new A[4];
  a[-2] = *(new A(2));
  delete[] a;
  assert(value == 4);
}

Expected behavior
Will be generated 1 successful path, and assertion will be passed.
Actual behavior
1 error path generated and assertion failed.
Visual proofs (screenshots, logs)
KLEE: Using STP solver backend
KLEE: WARNING: undefined reference to function: __gxx_personality_v0
KLEE: WARNING ONCE: Alignment of memory from call "_Znam" is not modelled. Using alignment of 8.
KLEE: WARNING ONCE: Alignment of memory from call "_Znwm" is not modelled. Using alignment of 8.
KLEE: ERROR: exmple.cpp:16: ASSERTION FAIL: value == 4
KLEE: NOTE: now ignoring this error at this location

KLEE: done: total instructions = 212
KLEE: done: completed paths = 1
KLEE: done: generated tests = 1

Compiled and executed with:
clang -emit-llvm -c -g -O0 -Xclang -disable-O0-optnone exmple.cpp
klee exmple.bc

Additional info
If you will increase argument in line a[-2] = *(new A(2)) up to 5 or greater, you will receive memory out of bound in destructor, that is not an error, that we expect to receive.
This number in prefix means a lot, as code in llvm IR relies on it to call destructors to specified number of objects.
Index -2 is used because sizeof A == 4.

Moved to https://github.com/UnitTestBot/klee/issues/62


Return confirmation info on message signing

Description
Based on #102 I expanded information that is being returned when signing messages. Now both methods for signing messages return objects with info on confirmation, error, and signature. Interfaces definition can be found below.
export interface SignMessageResponse {
  signedMessage: SignedMessage
  confirmed: boolean
  error: Error
}

export interface SignRawMessageResponse {
  signature: string
  confirmed: boolean
  error: Error
}

This can be used to properly handle specific cases, example can be seen in the demo app.
When sending a transaction, different notifications will be shown depending on if the user approved the message signing.
Issues
Closes #102

conflict!


loader and modules cant be resoloved issues in react-router-website

According to #5346, babel-loaderhas been removed from react-router-dom due to switching to rollup. Then if you try to start react-router-website  package it will fail with following message
ERROR in ../react-router-dom/index.js
Module not found: Error: Cannot resolve module 'babel' in /Users/ryu/Documents/git/react/react-router/packages/react-router-dom
 @ ../react-router-dom/index.js 6:22-48

This issue should be raised due to the import pattern in file react-router-website/modules/ReactRouterDOMShim.js. In my opinion,  webpack will resolve modules and loader based on the source files' location.  After execute npm run build on the top-level, every package will has its corresponding node_modules folder.  Recently, babel-loader is removed from react-router-dom, webpack could not resolve the modules correctly any more.
I think it should have two resolutions:

Retain babel-loader in react-route-dom package. I dont think this is the right thing you want. :)
Specify a clear path for resolve modules and resolve loader, It will benefit no matter where imported modules located, you just need to maintain a package.json in concerned package. for this situation, it's react-router-website.

I wonder if I have made a correct diagnosis. looking forward to your feedback. :)

Just tested this on a fresh install and it worked for me.
I also had to npm run build because the prepublishOnly scripts in the packages weren't triggered by lerna bootstrap. It looks like lerna is looking into making prepublishOnly work https://github.com/lerna/lerna/issues/421, so that is something to watch for in the future.

oops! It's a bit awkward. I have made a fresh install again under different node environment, node v8.2.1/ npm 5.0 and node v7.6.0/npm v5.3.0. It still failed with same error. If you couldn't reproduce the same error, then just ignore this PR. I have to make a temp local fix. :'‑)
By the way, refer to your providing lerna/lerna#421, I have also made a try. For lerna, it still only support prepublish script tag. Maybe you have made an earlier update. :>

haha, thanks. I misunderstand what you mean. :)

Fixed in 1b43fc5


FromCronFormat returns incorrect triggers

Hi
I'm having some troubles with the cron to trigger feature.
If you use the following statement:
Trigger.FromCronFormat("0 0 * * 3");
You get two triggers:
0: At 00:00 on every Wednesday each every month, starting 07/16/2018
1: At 00:00 every day
The second trigger is incorrect imho.
The same bug is reproducible if you do:
Trigger.FromCronFormat("0 0 * 1-12 3");
However if you change the cron expression to:
Trigger.FromCronFormat("0 0 * 1,2,3,4,5,6,7,8,9,10,11,12 3");
You get only the one you need:
0: At 00:00 on every Wednesday each every month, starting 07/16/2018
Can you look into this? Thanks a lot!

Fixed in 2.8.2


com.google.gson.stream.MalformedJsonException: Unterminated string at line 1 column 24577

Latest paper 1.12.2
https://pastebin.com/GXrvbrX4

GSON is no longer being used as of https://github.com/EbonJaeger/perworldinventory-kt/commit/ae721bd333239f8fd6e1608cc68bfa1e41469027. Open a new issue if this still persists with the new one.


Why do events only propagate locally if the tab is visible?

https://github.com/dfahlander/Dexie.js/blob/861646b058f4eef8f835eecd34ba2f8472df57fc/src/live-query/propagate-locally.ts#L23
This line seems limiting - If I'm using indexed db to store some application state to trigger a change in one tab - that then affects other tabs ( and that chain might be longer than 2 tabs) then it's possible that I want to hear about the change immediately.
Should the option to queue changes and only apply them when the document becomes visible be configurable?

No change is being forgotten. Once the tab becomes visible all changes will propagate. If you need to perform non-visible background tasks when a change happens, it's better to use a worker. Also, even if we didn't have this code, it seems browsers will avoid waking up invisible tabs from broadcast events anyway.

Where is it in the spec that browsers will not pass on broadcast events if the tab is hidden? And if the browser is going to throttle/suppress the event when visibility changes - why does this code even bother doing that?
There are still use-cases for responding to events when a tab/window is hidden - for instance - if I'm managing a multi window app I may need some windows to respond to changes to do things like close themselves.

I wrote the check before finding out that the browser seemed to throttle the events anyway. I've been thinking of removing the check just because of that it's happening anyway. The reason I put it there was to spare resources on devices where tabs / windows are left open as I couldn't see any reason for notifying inactive tabs/windows. But I could understand you use case of closing a window - in case a browser wouldn't block the event anyway.
If you want to, try remove the check and create PR with it. We could try one of the samples, like this one using the changed version. If you open the sample on multiple tabs, add a friend or click birthday in one of the tabs, then switch to the other tabs, you will see the old data in some milliseconds before being updated with the new data. If your PR changes that behaviour, the browser does not block the event. If you see the same behavior, the browser blocks it. Could be tested on different browsers also. It might be that mobile browsers blocks it totally but some desktop browsers sends it through. We could discuss having the code removed or possibly configurable.

+1 for configurable!  I'm also using a multi-tab app and in rare cases I need to signal a flash (or sound) to the user that something interesting happened in this view.

If you want to, try remove the check and create PR with it. We could try one of the samples, like this one using the changed version. If you open the sample on multiple tabs, add a friend or click birthday in one of the tabs, then switch to the other tabs, you will see the old data in some milliseconds before being updated with the new data. If your PR changes that behaviour, the browser does not block the event. If you see the same behavior, the browser blocks it. Could be tested on different browsers also. It might be that mobile browsers blocks it totally but some desktop browsers sends it through. We could discuss having the code removed or possibly configurable.

I'll take a look sometime in the next week when I've got time and see what happens.

I have been thinking about this and I would hope that removing the check would be the best solution, and leave it up to the browser to spare resources on inactive tabs depending on device type / available memory etc. If so, we would not need to introduce any configurable parameter but could just remove the entire code part that handles this specifically for browser windows. Would be nice to try how this would affect existing samples.

In latest version (Dexie 3.2.0-rc.1) the check has been removed.


Display the exact date of the action when displaying a record older than a month.

Also, because history was introduced at a later point, we need to show a fallback for questions created before.

Closed by #88


~ Add a point mentioning the preferred commit message style

Added a point according to
https://github.com/Homebrew/homebrew-versions/pull/896#issuecomment-120807570

We added this a while ago in https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/How-To-Open-a-Homebrew-Pull-Request-(and-get-it-merged).md#how-to-open-a-homebrew-pull-request-and-get-it-merged in the core.
I'm not sure whether it's helped or not; I increasingly get the feeling people ignore the extensive documentation most of the time :cry:

I don't think it mentioned the style for new formula.
Also I can't find a link in homebrew-versions's README (nor homebrew's README)
It's best to add links before complaining about people not reading it :D
BTW not sure how to make something like https://github.com/rails/rails/issues/new (guidelines for contributing)

Test-Bot failed with another exception again :confused:

Passing on this for now. A significant documentation shake-up is in the works.


kpt live end-to-end test script

First pass at kpt live ... end-to-end test script.
Test script has to be run manually.
TODO: Factor out helper functions
TODO: Factor out test cases
Updates go.mod and go.sum to use latest cli-utils which has a bug fix.

Example Output:
$ ./e2e/live/end-to-end-test.sh
kpt end-to-end test

Building kpt...
/tmp/ci-9izetRftCQ/kpt

Deleting cluster "kind" ...

FINISHED

Can we run the script as a check on PRs? Otherwise we probably will not notice any issues until we are running it just before a release.
We could also consider running a nightly job that updates the dependencies in kpt for cli-utils, kyaml and cmd/config and then compiles it and then runs the tests. It won't block PRs, but it would give us a an early heads up if there are changes in the dependencies that will break kpt.

Can we run the script as a check on PRs? Otherwise we probably will not notice any issues until we are running it just before a release.
We could also consider running a nightly job that updates the dependencies in kpt for cli-utils, kyaml and cmd/config and then compiles it and then runs the tests. It won't block PRs, but it would give us a an early heads up if there are changes in the dependencies that will break kpt.

I think there are several ways we could run this script more regularly, and give us a better signal. But I think the first step is to submit it so others can run it and see it working.

I think this looks good. If we end up adding more e2e-tests, I think we should consider doing this in go instead of bash.


option for removing existing binary

cargo install --force for removing existing binary would be handy.

Indeed! This is actually the topic of https://github.com/rust-lang/cargo/pull/2405!
That's tracked over at https://github.com/rust-lang/cargo/issues/2082, so I'm going to close this in favor of that.


azcopy logfile for log-level WARNING/ERROR missing summary and "azcopy jobs show" missing  "Elapsed Time (minutes)" and "TotalBytesTransfered"

Which version of the AzCopy was used?
Azcopy 10.6.0
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
azcopy copy \fileshare\path https://something.blob.core.windows.net/path?sastoken
What problem was encountered?
azcopy logfile with default log-level contains a Job summary at the end with "Elapsed Time (minutes)" and "TotalBytesTransfered", which is good!
However, azcopy logfile with ERROR or WARNING log-level does NOT contain a summary, which is a miss.
"azcopy jobs show " does shows a job summary, but fields  "Elapsed Time (minutes)" and "TotalBytesTransfered" are missing!
Expected:
Logfile contains a job summary for a azcopy job with ERROR or WARNING log-level, including fields "Elapsed Time (minutes)" and "TotalBytesTransfered".
azcopy jobs show contains the "Elapsed Time (minutes)" and "TotalBytesTransfered" fields
How can we reproduce the problem in the simplest way?
Execute a azcopy with default log-level and another with ERROR log-level.
Have you found a mitigation/solution?
No

Hi @victorvogelpoel I believe most of your requests above are doable. The one thing that may be difficult to add support for is displaying Elapsed Time in jobs show. My understanding is that information is not persisted in our job plan files, so it isn't something we can support.


Middleware API

What was wrong?
TODO
How was it fixed?
Cute Animal Picture

TODO: Documentation of this API and how to use it.

TODO: Documentation of this API and how to use it.
Also, this became a larger feature branch that now needs to be broken up into pieces.

Things that you still can't do cleanly with this API

Delegate requests across multiple APIs
Easily configure the middlewares, or configure middlewares that need complex initialization.


python310Packages.aiocoap: 0.4.4 -> 0.4.5, python310Packages.aiohomekit: 2.3.0 -> 2.3.1

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

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

9 packages built:

expliot
home-assistant-component-tests.homekit_controller
home-assistant-component-tests.tradfri
python310Packages.aiocoap
python310Packages.aiohomekit
python310Packages.pytradfri
python39Packages.aiocoap
python39Packages.aiohomekit
python39Packages.pytradfri


ported to .net core 3.0

Very nice job! 🥇  Did you test it?

not yet. though i didn't change nothing in the project. just ported the csproj and restored the nuget package from the .net core. Hope it will work and the only change i have made in this line
[HostProtection(SecurityAction.LinkDemand, MayLeakOnAbort = true)]
i just commented out that. because somehow it was not getting the reference from system package.i think something messed up with dll file. i am very noob programmer but did a stackoverflow thread though nobody answered it. may be it was bad question . Here take a look https://stackoverflow.com/questions/58713614/how-to-solve-the-type-or-namespace-name-could-not-be-found-problem-while-there-i?noredirect=1#comment103736840_58713614 .
I will integrate it with ongoing project and let you know if the integration is successful.


Distinguish observations from managed individuals

This feature was a feedback of a user during the meeting of Apr 20.
I think it's a valid request: managers are sometimes not interested to have information on already managed animals/plants. Or at least they would like to know if it is an observation or a captured animal/eradicated plant.
Of course, the challenge is mapping: do all GBIF datasets containing management information map management in the same way? Probably not. WIthin LIFE RIPARIAS we should try to be consistent. Notice that we use the field samplingProtocol, see https://github.com/riparias/vmm-rattenapp-occurrences/blob/ae0926997e9a01e66dbf9a62f4bc7d0f112e07b3/sql/dwc_occurrence.sql#L16-L20
@mcoupremanne showed also interest in such way of mapping and was going to implement it for Wallonian data: am I right, @mcoupremanne?
For this reason, we should think about:

adding samplingProtocol to the observation page
thinking about a selector for samplingProtocol

Any other idea is welcome.

Hi ! Indeed still in about fixing this important point! I only have one issue : raw exports I receive include both managed populations and survey points on which the species is just absent (they look for it but do not find). With some sources I can make the distinction, but not with most of them (CRS I think). Most of the records are captured when surveying sites or already managed populations, with no infos about the actions taken.
So not sure that the info will be disponible for all records but it's worth a try. Should we could go for a structure like this ?

Case
OccurrenceStatus
SamplingProtocol

survey site with no observation
'absent'
'site survey'

species observed, not managed
'present'
'site survey'

species observed, managed
'present'
'eradicated'

revisiting a managed population, no return
'absent'
'eradication survey'

revisiting a managed population, species came back
'present'
'eradication survey'


Feedback for: engine/reference/commandline/search.md

File: engine/reference/commandline/search.md

example command is wrong.
$ docker search --filter "is-automated=true" --filter "stars=3" busybox

is-automated -> is-official
$ docker search --filter "is-official=true" --filter "stars=3" busybox

Filed https://github.com/docker/docker/pull/28890 to fix this. Work will happen in that repo. Thanks for the report!


adding systemProperties so that hopefully proxy properties will be pi…

…cked up
Testing
Ran the integration tests and everything passed.
Did not replicate the issue with proxy server and then verified that it fixed it.... Nor did I add any unit test to make sure no regressions happen. Happy to hear of ideas on this front.
resolves #21

@daragallagher was able to confirm that this fix solves their reported problem! So I think we should be safe to release this.


#1666: add tooltips to amendments and general revisions

Card: https://app.zenhub.com/workspaces/climate-action-secretariat-60ca4121764d710011481ca2/issues/gh/bcgov/cas-cif/1666
Ready for review

Work finished in https://github.com/bcgov/cas-cif/pull/1859


Use react-cdk

We need to use React CDK for this project.
So, we can have some common base where we use everywhere.

with #32


Try best to gracefully shutdown longhorn controller when IO in fly

Currently the controller shutdown(by SIGTERM/Ctrl-C/docker stop) is problematic. When disk cache is dirty, the controller shutdown will flush current cache into the disk, which can pause the shutdown process for minutes.
Reproduce step for longhorn binary:

Start controller and connect to replica.
Start a IO process(e.g. dd), wait for e.g. 45 seconds(to make sure cache is dirty).
Stop the controller process(by SIGTERM or Ctrl-C), it may stuck at:

INFO[0075] Starting TCMU teardown.
INFO[0075] Removing: /sys/kernel/config/target/loopback/naa.6001405r0098f6bcd/tpgt_1/lun/lun_0/test

The process will likely take more than 30 seconds, then you will see tons information like this in the kernel log(dmesg):
ABORT_TASK: Sending TMR_TASK_DOES_NOT_EXIST for ref_tag: 117

Finally shutdown process either finished or error out.

Able to reproduce the issue when following these steps:

Create a VM with ROOT volume using "longhorn"
Start writing data in ROOT volume ( using dd if=/dev/zero of=test bs=512)
While data is still being written , try to stop the controller container.
Controller container get stuck in "stopping" state forever.

This issue reproduces more consistently when testing with container having a DATA disk that is 10 GB.
Start writing data in DATA volume ( using dd if=/dev/zero of=test bs=512). After about 45 seconds, stop the controller. Controller container gets stuck in "stopping" state forever.

Reopening this issue for verification.

Tested with Rancher server - latest Build from master
Ros version - v0.4.5-rc2
Longhorn catalog template from - https://github.com/cjellick/longhorn-catalog (image - cjellick/longhorn:dev6)
Create a container with DATA volume using "longhorn"
Start writing data to DATA volume ( using dd if=/dev/zero of=test bs=512)
Wait for about 45 secs,
While data is still being written , try to stop the controller container.
Controller container gets stopped and restarted successfully.


Resolve need for register_attrib_type

Updates to CGM interface cause errors when trying to invoke register_attrib_type in iGeom_funcs.cpp.  It is not clear whether or not we need these lines at all since they are part of generic iGeom capability, but may not be used by us.
We need to understand its role in this code and then decide if we can do without it in our stripped down iGeom needs.

If we deem it necessary, then create a new issue for contacting CSimSoft to resolve the interface change.

If I'm understanding the current state correctly, it sounds like we don't in that groups are named properly in Trelis for MCNP input decks with materials.
One thing to verify is that these groups are exported properly using the export dagmc command. If this works, then I would consider the register_attrib_type call unecessary.

How do I go about testing the .h5m file to make sure that the groups are properly exported?

The easiest way is to use MOAB's mbsize on the .h5m file.
mbsize -ll <.h5m_file> | grep NAME should show you a list of the material names as they appear in Trelis.

I think it's working.  That command on a file created from "INP-densities" returns
NAME = picked
NAME = graveyard
NAME = mat_1_rho_0.05
EXTRA_NAME0 = mat_2_rho_-2
EXTRA_NAME1 = mat_2_rho__2
NAME = mat_2_rho_-2
which, as far as I can tell, fits with the input file.

The plugin works as expected without calling 'register_attrib_type'.


Warning message about missing objects in the state

Somfy has updated Tahoma to version 2.20 today (March 23, 2021).
Since then, I get these 2 warnings in the log file for each device every 25 seconds:

State "tahoma.0.devices.xxxxxxxxx.states.io:PriorityLockOriginatorState" has no existing object, this might lead to an error in future versions

State "tahoma.0.devices.xxxxxxxxx.states.io:PriorityLockLevelState" has no existing object, this might lead to an error in future versions

Can this be related to the TaHoma update?
Can you take a look at this and correct it in the adapter if possible?
Thanks for your effort.
Versions:

Adapter version: 0.3.3
JS-Controller version: 3.2.13
Node version: v12.20.1
Operating system: Raspbian GNU/Linux 10 (buster)

Same thing here on a Docker Synology installation.
I also assume a connection to the Tahoma update

Same problem, installation is on a Pi4.
Everything updated to latest stable Versions.

Same here.

Adapter version: 0.0.3
JS-Controller: 3.2.16
Node.js: 12.22.0
OS: Ubuntu 18.04 Server

Is there any chance to get rid of those warnings - maybe some workaround?

Same here.
Adapter version: 0.3.3
JS-Controller: 3.2.16
Node.js: 12.22.0

As a workaround I have created the data points manually as type of "string".
Don't know if this is correct, but the warning messages for this error disappear.

It seems like this warning is thrown as part of a check with JS-Controller 3.2 onwards. I'll investigate it.

So far the issue did not reoccur on my end. It could potentially have been fixed with release 0.5.2 already, but it is hard for me to reproduce it. If it happens again, please reopen the ticket and send DEBUG logs (Howto enable: https://github.com/Excodibur/ioBroker.tahoma/issues/17#issuecomment-929961746) to me via mail (excodibur-iobroker@posteo.de.), so I can dig deeper.


Ability to use "cmd /" in the variables section

Is your feature request related to a problem? Please describe.
I see that "cmd /" works in the query/mutation section of Altair but not in the variables section. I have mutations that have multiple different type inputs and this functionality would be extremely handy, currently I just save all the mutation variations in different windows
Describe the solution you'd like
Ability to use "cmd /" in the variables section
Describe alternatives you've considered
Nothing I can think of
Additional context
Add any other context or screenshots about the feature request here.

 Comments in JSON would be invalid JSON content.


Use of ~ operator bit working for my version of Lua (5.2)

For whatever reason, my version of Lua does not like the ~ operator.  I can't even find anything on the internet that describes what it does.  Please let me know what it does and if there is a substitution I can make so my code will run.  Thanks.

PLC only supports Lua 5.3 and above so that is normal.
The ~ operator is bitwise not, it flips all the bits of the operand. However fixing this won't let you use PLC with Lua 5.2. A reason for supporting only 5.3 and above is that 5.2 does not have 64 bit integers.

Yep, I have since figured all that out.  Bummer.  But thanks for getting back to me.  I am trying to adapt your 32-bit norx implementation to use the MIT bit manipulation library.  I know it will not perform great, but my encryption needs are mainly to obfuscate stored passwords, so not too big a deal. From: Pierre ChapuisSent: Saturday, November 21, 2020 12:50 PMTo: philanc/plcCc: mike-loopvoc; AuthorSubject: Re: [philanc/plc] Use of ~ operator bit working for my version of Lua (5.2) (#17) PLC only supports Lua 5.3 and above so that is normal.The ~ operator is bitwise not, it flips all the bits of the operand. However fixing this won't let you use PLC with Lua 5.2. A reason for supporting only 5.3 and above is that 5.2 does not have 64 bit integers.—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Hi mike-loopvoc,
As catwell said the lack of clean 64-bit integers in Lua versions before 5.3 is a big blocking factor. Beyond bit operators and 64-bit integers, another issue is the lack of functions string.pack() and string.unpack() (introduced with Lua 5.3) which are heavily used in plc to extract/insert integers from/to binary strings.

Hi mike-loopvoc,
If you uses a standard Lua 5.2, it includes the bit32 library. Here is a pure Lua implementation or rc4 that uses bit32. It should work with Lua 5.2.
https://gist.github.com/philanc/c91a1744de392d75132ea461bdb86125
This is probably the simplest crypto algorithm with a reasonable strength :-) (of course this depends on your constraints and threat scenarios...)
This implements the rc4-drop variant (default drop=256) which is more robust than the default algo.  If you want to test or compare with other implementions of standard rc4, just use drop=0 (see the comment in function rc4.encrypt())
Hope this helps!
Phil


Is now only 3.4 compatible due to use of control method

Description
In a short sentence describe this pull request's change.
Summarize
Write a list of the changes that were made.

First change..
Second change..

Benefits
(optional) If this PR is a feature or improvement. Describe the key benefits and intention here.
Related Issues
This PR addresses the following issues.
fixes #

The plugin maintains backwards compatibility and works just fine for cake < 3.4 too. You can see the tests pass on PHP 5.4 too which uses cake 3.1

If you encountered any problem using the 1.0 release with Cake < 3.4 please open a new issue so that it can be fixed.


Automatic clean for any module and root

Since the tasks have @Input ans @Output specified and the output is in the build directory - clean will work (and incremental build too).


frontend: Unread count badges not rendering properly.

This seems to be a recent regression. They used to render properly earlier. FWIW I am Firefox 60.0.1 on Ubuntu with 150% zoom setting.
Related discussion: https://chat.zulip.org/#narrow/stream/6-frontend/topic/unread.20count.20badges

This was caused by https://github.com/zulip/zulip/commit/b1295da72abc5cd6ba5f8ba489b741097bfe2296, which we've now reverted.  I'd like to figure out how to fix the original issue #8952 without breaking the unread counts, though.


[qscintilla] Add targets

It seems that qscintilla does not have any cmake targets and thus cannot be included in a project without manually hardcoding the paths. I've looked into adding this myself, but I'm unfamiliar with qmake and how to handle it here.

Hi @stijnherfst
Thanks for posting this issue.
As far as I have known, qscintilla is built by qmake instead of cmake.
It seems that it's not possible to add cmake targets for the port that is built by qcmake.

I'm going to close this issue for now.
Please open a new issue if you have other requirements about qscintilla.


DB connections get out of hand

Dropping this here so I have something to reference while I try to fix the issue, but somewhere between v0.4.0 (tagged in March of 2022) and now a change has been made that seems to cause excessive database connections. Since Postgres is limited to 100 connections by default this causes connection refused errors if it spikes over that amount (which it is in our app).
If I had to guess this is probably related to concurrency changes added around d43a6a129878fbe29068732169b6bca770da08b8.

Found the problematic commit:
5ae70e34b072eed3333cb81a82fda8672e3f23bd is the first bad commit
commit 5ae70e34b072eed3333cb81a82fda8672e3f23bd
Author: Joakim Repomaa<EMAIL_ADDRESS>Date:   Sun Oct 16 13:59:07 2022 +0300

    also make array serialization concurrent

 src/graphql/object_type.cr | 52 +++++++++++++++++++++++++++++-----------------
 1 file changed, 33 insertions(+), 19 deletions(-)

Nothing in this library creates database connections so I'm not sure what to make of this. How do you create those connections?


Can anyone make video or help with making index or show me my mistakes?

I did every step that is told, I have my app (client) id that i created, i made obfuscated client secret. In user principal id i wrote my mail:"<EMAIL_ADDRESS>My base directory is: "/Index files". And password protected files that i configured in vercel were in directory: "/Index files/test1,/Index files/test2". Also i already set the api permissions: user.read, files.read.all, offline_access. When i open site after deploying on vercel all i got is that. When i deploy and see whats vercel building i see that messages:

oredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
--
17:21:43.858 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
17:21:43.912 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
17:21:43.912 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
17:21:44.183 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
17:21:44.185 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
17:21:44.185 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
17:21:44.186 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
17:21:44.386 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
17:21:44.386 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
17:21:44.690 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
17:21:44.691 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
17:21:45.541 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
17:21:45.541 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
17:21:45.541 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
17:21:45.541 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
17:21:45.709 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
17:21:45.710 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
17:21:46.639 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
17:21:46.640 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
17:21:46.640 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
17:21:46.640 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
17:21:47.447 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
17:21:47.447 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
17:21:48.278 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
17:21:48.279 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
17:21:48.333 | info  - Generating static pages (0/18)
17:21:48.424 | info  - Generating static pages (4/18)
17:21:48.430 | [ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
17:21:48.430 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)

When i visit site i see only that: https://pasteboard.co/zguBROM2WABo.png
Please help me;(

How did you fix it?


past event issues

Related Issue

Issue number goes here:

Proposed Changes

Fixed carousel in mobile view

Checklist

[ ] Documentation of the code
[x] Add your name to the CONTRIBUTORS file
[ ] Testing your code in the local machine

Screenshots

Fixed carousel in mobile view

@subashpaul Thank you for the hard work. I suppose this is your first time contributing. I'm sorry but that's not excatly how issue threads work. You have to be assigned first before you start working on the PR. You may join our Discord and wait for more relevant issues to pop up, or suggest your own.

Ok thankyou
On Fri, 7 Oct 2022, 10:04 am Jayanta Pandit, @.***>
wrote:

@subashpaul https://github.com/subashpaul Thank you for the hard work.
I suppose this is your first time contributing. I'm sorry but that's not
excatly how issue threads work. You have to be assigned first before you
start working on the PR. You may join our Discord and wait for more
relevant issues to pop up, or suggest your own.
—
Reply to this email directly, view it on GitHub
https://github.com/gsasansol/GirlScript-Asansol/pull/118#issuecomment-1271098578,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUDQK7BXB5CUYDYXL2KXI3DWB6R3VANCNFSM6AAAAAAQ676EYM
.
You are receiving this because you were mentioned.Message ID:
@.***>


Re-arrange ink_platform.h. (Issue #2444)

Move unconditional includes to top of file.
Remove duplicates.

See #2444.

Apparently I need to fiddle with this a bit on FreeBSD.


Remove librato reporting benchmarks

@devoncarew TBR
The librato integration is causing a version lock that is preventing me rolling analyzer forwards. I'll need to remove it. If you feel strongly about keeping it we can add it back in again later once we've addressed the version issue

I'm aware of the warnings about depreciations that's causing Travis to complain, I'll be fixing those as part of this arc of work.

lgtm; no issues w/ the removal :)


fetch: tweak collect

Collect functionality is going to be useful for push/gc/etc in the next PRs.

Codecov Report
Patch coverage: 66.66% and project coverage change: -0.08 :warning:

Comparison is base (f684b56) 61.25% compared to head (c403074) 61.17%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #405      +/-   ##
==========================================
- Coverage   61.25%   61.17%   -0.08%
==========================================
  Files          56       57       +1
  Lines        3786     3799      +13
  Branches      668      526     -142
==========================================
+ Hits         2319     2324       +5
- Misses       1331     1340       +9
+ Partials      136      135       -1

Impacted Files
Coverage Δ

src/dvc_data/index/collect.py
63.76% <63.76%> (ø)

src/dvc_data/index/fetch.py
62.16% <100.00%> (-1.58%)
:arrow_down:

tests/index/test_index.py
100.00% <100.00%> (ø)

... and 5 files with indirect coverage changes

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


Doesnt show up when inside a UINavigationController

For some reason, which i dont know, when i present the PickerViewController doesnt show up if im inside a UINavigationController.
@IBAction func showValues(sender: AnyObject) {
    let selectAction = RMAction(title: "Select", style: RMActionStyle.Done) { (controller) -> Void in
        let picker = (controller as! RMPickerViewController).picker
        var row = picker.selectedRowInComponent(0)
        println(row)
    }
    let cancelAction = RMAction(title: "Cancel", style: RMActionStyle.Cancel) { (controller) -> Void in

    }
    let pickerController = RMPickerViewController(style: RMActionControllerStyle.White, selectAction: selectAction, andCancelAction: cancelAction)

    pickerController.picker.delegate = self
    pickerController.picker.dataSource = self
    presentViewController(pickerController, animated: true, completion: nil)

// The previous code doesnt show the picker if im inside a Nav, but the date works
// I'm uneable to reproduce the issue on other project since its probably a bug with the library i'm using for a menu
//This works and show up
//        let dateSelectionController = RMDateSelectionViewController(style: RMActionControllerStyle.White, selectAction: selectAction, andCancelAction: cancelAction)
//        dateSelectionController.datePicker.datePickerMode = UIDatePickerMode.Date
//        self.presentViewController(dateSelectionController, animated: false, completion: nil)
}
https://github.com/dekatotoro/SlideMenuControllerSwift
func changeMainViewController(mainViewController: UIViewController,  close: Bool) {

    self.removeViewController(self.mainViewController)
    self.mainViewController = mainViewController
    self.setUpViewController(self.mainContainerView, targetViewController: self.mainViewController)
    if (close) {
        self.closeLeft()
        self.closeRight()
    }
}

This is the function where it changes the vc, if here i send a Nav i cant show up the datepicker (its not shown and when i retry it says:
<RMPickerViewController: 0x7fe1c05ae690>  on <ApperStreet.AddressVC: 0x7fe1c059a130> which is already presenting (null)
Any hints?

In the picker example: Which view controller do you use to present the picker view controller? presentViewController(pickerController, animated: true, completion: nil) seems to be incomplete :/

The problem is that if this VC is inside a NavigationController doesnt show the picker (but works fine with your datepicker), i will make a project example in a few

Hi Roland, i created a project to show you the problem, see if i load the VC without a previous nav im able to show the picker. http://www.ruiznadal.com/TestPickerHere.zip

Is the picker view controller supposed to not show up in your test project? Because for the picker shows up just fine.
I've been using the iOS 8.3 Simulator. Are you using another iOS version for testing?

Hmm, what does work ist the following, but it's kind of a fallback:
UIApplication.sharedApplication().keyWindow?.rootViewController?.presentViewController(pickerController, animated: true, completion: nil)

What also works is
slideMenuController()?.presentViewController(pickerController, animated: true, completion: nil);

Most of the time, these problems can be solved by choosing the right view controller to present another view controller on.

yeah, totally right, presenting from slideMenuController works. Why i can't present from any viewcontroller?

Why i can't present from any viewcontroller?

That's a good question. I don't know. But in the RMPickerViewController demo project the view controller that presents the picker view controller is wrapped into a UINavigationController, too. Using self for presenting the picker view controller works fine here, no need for using the UINavigationController for presentation. I think the problem is somewhere in the SlideMenuController. But I cannot say where :/

Ok i'll stick presenting from SliderMenuController, thx you for the support!


fix import in inspectionMiddleware.ts

Description
Stops importing directly from botframework-schema in botbuilder, which does not have a direct dependency on this library.
Instead import from botbuilder-core, which exposes botframework-schema
This makes the InspectionMiddleware class usable outside of the repo/project.

These changes were fixed via #980


transformers, torch fail with triton installed, giving OSError: could not get source code in triton when importing peft

When importing peft executable is created, but when running it, It throws:
OSError: could not get source code
and exits.
Full log:
False
/tmp/onefile_10990_1700048433_451408/bitsandbytes/cextension.py:34: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit m
ultiplication, and GPU quantization are unavailable.
'NoneType' object has no attribute 'cadam32bit_grad_fp32'
Traceback (most recent call last):
  File "/tmp/onefile_10990_1700048433_451408/triton_reproduce.py", line 7, in <module>
    from peft import AutoPeftModelForCausalLM, AutoPeftModelForSeq2SeqLM

  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/peft/__init__.py", line 22, in <module peft>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/peft/auto.py", line 30, in <module peft.auto>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/peft/mapping.py", line 20, in <module peft.mapping>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/peft/peft_model.py", line 39, in <module peft.peft_model>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/peft/tuners/__init__.py", line 21, in <module peft.tuners>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/peft/tuners/lora.py", line 42, in <module peft.tuners.lora>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/bitsandbytes/__init__.py", line 16, in <module bitsandbytes>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/bitsandbytes/nn/__init__.py", line 6, in <module bitsandbytes.nn>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/bitsandbytes/nn/triton_based_modules.py", line 8, in <module bitsandbytes.nn.triton_based_modules>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/bitsandbytes/triton/dequantize_rowwise.py", line 10, in <module bitsandbytes.triton.dequantize_rowwise>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/triton/__init__.py", line 29, in <module triton>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/triton/language/__init__.py", line 8, in <module triton.language>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/triton/language/libdevice.py", line 4, in <module triton.language.libdevice>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "/tmp/onefile_10990_1700048433_451408/triton/language/core.py", line 1175, in <module triton.language.core>
  File "/tmp/onefile_10990_1700048433_451408/triton/runtime/jit.py", line 419, in jit
  File "/tmp/onefile_10990_1700048433_451408/triton/runtime/jit.py", line 412, in decorator
  File "/tmp/onefile_10990_1700048433_451408/triton/runtime/jit.py", line 306, in __init__
  File "/tmp/onefile_10990_1700048433_451408/inspect.py", line 1262, in getsource
  File "/tmp/onefile_10990_1700048433_451408/inspect.py", line 1244, in getsourcelines
  File "/tmp/onefile_10990_1700048433_451408/inspect.py", line 1081, in findsource
OSError: could not get source code

I believe that the relevant source line is:
https://github.com/openai/triton/blob/728282b11eebca01a64853d251b9fa9af0afe8f1/python/triton/runtime/jit.py#L585C44-L585C53
Reproduce details as guided:

Nuitka version, full Python version, flavor, OS, etc. as output by this exact command.

1.9rc6
Commercial: 2.3.2
Python: 3.11.6 (main, Oct 19 2023, 12:55:47) [GCC 5.4.0 20160609]
Flavor: pyenv
Executable: /root/.pyenv/versions/3.11.6/bin/python
OS: Linux
Arch: x86_64
Distribution: Ubuntu (based on Debian) 16.04.7
Version C compiler: /usr/lib/ccache/gcc (gcc 5.4.0).

We must use staging version until some other issues are merged.

How did you install Nuitka and Python
pip install Nuitka-commercial-staging.zip
no virtualenv.

The specific PyPI names and versions
  ```
accelerate==0.20.3
aiohttp==3.8.5
aiosignal==1.3.1
async-timeout==4.0.3
attrs==23.1.0
backoff==2.2.1
bitsandbytes==0.41.1
certifi==2023.7.22
charset-normalizer==3.2.0
click==8.1.7
cmake==3.27.7
datasets==2.14.5
Deprecated==1.2.14
dill==0.3.7
einops==0.6.1
filelock==3.12.4
frozenlist==1.4.0
fsspec==2023.6.0
googleapis-common-protos==1.60.0
grpc-interceptor==0.15.3
grpcio==1.58.0
grpcio-reflection==1.58.0
grpcio-status==1.58.0
grpcio-tools==1.51.1
hf_transfer==0.1.3
huggingface-hub==0.16.4
idna==3.4
Jinja2==3.1.2
lit==17.0.5
loguru==0.6.0
MarkupSafe==2.1.3
mpmath==1.3.0
multidict==6.0.4
multiprocess==0.70.15
mypy-protobuf==3.4.0
networkx==3.1
Nuitka @ file:///python-packages/Nuitka-commercial-staging.zip#sha256=77333731fa0274fbabcc4f7a959c57903a7bd800e563f761ed318f0c54676c5e
numpy==1.26.0
nvidia-cublas-cu11==<IP_ADDRESS>
nvidia-cuda-cupti-cu11==11.7.101
nvidia-cuda-nvrtc-cu11==11.7.99
nvidia-cuda-runtime-cu11==11.7.99
nvidia-cudnn-cu11==<IP_ADDRESS>
nvidia-cufft-cu11==<IP_ADDRESS>
nvidia-curand-cu11==<IP_ADDRESS>
nvidia-cusolver-cu11==<IP_ADDRESS>
nvidia-cusparse-cu11==<IP_ADDRESS>
nvidia-nccl-cu11==2.14.3
nvidia-nvtx-cu11==11.7.91
opentelemetry-api==1.15.0
opentelemetry-exporter-otlp==1.15.0
opentelemetry-exporter-otlp-proto-grpc==1.15.0
opentelemetry-exporter-otlp-proto-http==1.15.0
opentelemetry-instrumentation==0.36b0
opentelemetry-instrumentation-grpc==0.36b0
opentelemetry-proto==1.15.0
opentelemetry-sdk==1.15.0
opentelemetry-semantic-conventions==0.36b0
ordered-set==4.1.0
packaging==23.1
pandas==2.1.1
peft==0.4.0
Pillow==10.0.1
protobuf==4.24.3
psutil==5.9.5
pyarrow==13.0.0
python-dateutil==2.8.2
pytz==2023.3.post1
PyYAML==6.0.1
regex==2023.8.8
requests==2.31.0
safetensors==0.3.3
scipy==1.11.2
sentencepiece==0.1.99
six==1.16.0
sympy==1.12
-e git+ssh://git@github.com/huggingface/text-generation-inference.git@a5def7c222174e03d815f890093584f3e815c5ce#egg=text_generation_server&subdirectory=server
texttable==1.6.7
tokenizers==0.13.3
torch==2.0.1
tqdm==4.66.1
transformers==4.33.2
triton==2.0.0
typer==0.6.1
types-protobuf==<IP_ADDRESS>
typing_extensions==4.8.0
tzdata==2023.3
urllib3==2.0.5
wrapt==1.15.0
xxhash==3.3.0
yarl==1.9.2
zstandard==0.22.0
  ```python

Other programs do work. even those which includes datasets and evaluate.

Also supply a Short, Self Contained, Correct, Example

import os
import json
from loguru import logger
import torch

from transformers import AutoTokenizer
from peft import AutoPeftModelForCausalLM, AutoPeftModelForSeq2SeqLM

def download_and_unload_peft(model_id):
    torch_dtype = torch.float16

    logger.info("Peft model detected.")
    logger.info("Loading the model it might take a while without feedback")
    try:
        model = AutoPeftModelForCausalLM.from_pretrained(
            model_id,
            torch_dtype=torch_dtype,
            trust_remote_code=True,
            low_cpu_mem_usage=True,
        )
    except Exception:
        model = AutoPeftModelForSeq2SeqLM.from_pretrained(
            model_id,
            torch_dtype=torch_dtype,
            trust_remote_code=True,
            low_cpu_mem_usage=True,
        )
    logger.info("Loaded.")
    logger.info("Merging the lora weights.")

    base_model_id = model.peft_config["default"].base_model_name_or_path

    model = model.merge_and_unload()

    os.makedirs(model_id, exist_ok=True)
    cache_dir = model_id
    logger.info(f"Saving the newly created merged model to {cache_dir}")
    tokenizer = AutoTokenizer.from_pretrained(base_model_id)
    model.save_pretrained(cache_dir, safe_serialization=True)
    model.config.save_pretrained(cache_dir)
    tokenizer.save_pretrained(cache_dir)

download_and_unload_peft("ybelkada/opt-350m-lora")

Provide in your issue the Nuitka options used

python -m nuitka --main=triton_reproduce.py --standalone --onefile --static-libpython=no --include-distribution-met
adata=accelerate --include-distribution-metadata=bitsandbytes --include-distribution-metadata=datasets --include-distribution-metadata=jinja2 --include-distribution-metadata=pand
as --include-distribution-metadata=psutil --include-distribution-metadata=safetensors --include-distribution-metadata=torch --include-distribution-metadata=tqdm --include-distrib
ution-metadata=transformers --include-distribution-metadata=huggingface-hub --include-distribution-metadata=scipy --include-distribution-metadata=tokenizers --include-distributio
n-metadata=protobuf --include-distribution-metadata=peft --noinclude-unittest-mode=allow

After I installed triton into my living installation, where I do all my debugging, it became apparent that it's woven into many parts of pytorch, but entirely optionally. So I reproduced this with the other example suddenly all the time, and finally managed to get it completely eradicated with anti-bloat measures. I doubt your example is actually intending to use triton, so it should work with factory and staging.
I am having issues with evaluate which I will report in the other issue later, that I want to solve first.

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.

I ran it again on latest staging and it fails:

Nuitka-Options:INFO: Used command line options: --main=triton_reproduce.py --standalone --onefile --static-libpython=no --include-distribution-metadata=accelerate -
-include-distribution-metadata=bitsandbytes --include-distribution-metadata=datasets --include-distribution-metadata=jinja2 --include-distribution-metadata=pandas -
-include-distribution-metadata=psutil --include-distribution-metadata=safetensors --include-distribution-metadata=torch --include-distribution-metadata=tqdm --inclu
de-distribution-metadata=transformers --include-distribution-metadata=huggingface-hub --include-distribution-metadata=scipy --include-distribution-metadata=tokenize
rs --include-distribution-metadata=protobuf --include-distribution-metadata=peft --noinclude-unittest-mode=allow
Nuitka:INFO: Starting Python compilation with Nuitka '1.9rc9' on Python '3.11' commercial grade '2.3.2'.
PASS 1: 96.2%|████████████████████████ | 2449/2547, transformers.integrationsTraceback (most recent call last):
File "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/nuitka/plugins/Plugins.py", line 82, in withPluginProblemReporting
yield
File "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/nuitka/plugins/Plugins.py", line 534, in considerImplicitImports
cls._considerImplicitImports(plugin=plugin, module=module)
File "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/nuitka/plugins/Plugins.py", line 426, in _considerImplicitImports
for full_name in iterateModuleNames(plugin.getImplicitImports(module)):
File "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/nuitka/plugins/Plugins.py", line 403, in iterateModuleNames
for v in value:
File "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/nuitka/plugins/standard/TransformersPlugin.py", line 247, in getImplicitImports
for sub_module_name in self.queryRuntimeInformationSingle(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/nuitka/plugins/PluginBase.py", line 1128, in queryRuntimeInformationSingle
return self.queryRuntimeInformationMultiple(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/nuitka/plugins/PluginBase.py", line 1090, in queryRuntimeInformationMultiple
feedback = check_output([sys.executable, "-c", cmd])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/nuitka/utils/Execution.py", line 141, in check_output
raise NuitkaCalledProcessError(exit_code, cmd, output=output, stderr=stderr)
nuitka.utils.Execution.NuitkaCalledProcessError: Command '['/root/.pyenv/versions/3.11.6/bin/python', '-c', '\\nfrom __future__ import print_function\nfrom __futur
e__ import absolute_import\n\ntry:\n   import transformers.integrations\nexcept ImportError:\n    import sys\n    sys.exit(38)\nprint(repr(list(transformers.integra
tions._import_structure.keys())))\nprint("-" * 27)\n']' returned non-zero exit status 1. Error was b'Traceback (most recent call last):\n  File "", line 10,
in \nAttributeError: module 'transformers.integrations' has no attribute '_import_structure''.
FATAL: transformers: Plugin issue while working on 'module 'transformers.integrations''. Please report the bug with the above traceback included.
Nuitka-Reports:INFO: Compilation report written to file 'nuitka-crash-report.xml'.
Nuitka-Reports:INFO: Compilation crash report written to file 'nuitka-crash-report.xml'.

nuitka-crash-report.zip

Latest crash I think was due to some environment-specific issue. Sorry if you already invested on this one. I'm keeping it for now as compilation is still running so I'm not 100% it was solved. As soon as I saw that it's proceeding more than before I just wanted to stop you from wasting your time. Will update nonetheless.

This is a weakness of this plugin, that it lists these modules, and I am not aware they would have to be all actually do it for specific transformers releases. It appears you are using 4.33.2 and I was using 4.35.1, but do not jump to changing it, rather I will make sure it works for both. The transformers plugin obviously has to allow for this lazy loading to be done or not or else we end up supporting only very specific releases of it.

So, I have updated both factory and staging branches with a fix for this, no longer requires lazy loaders in the hard coded list, at some point, the lazy loading mechanism should move towards what we have done for huggingface_hub and lazy but I am not there yet.

I confirm that compilation works again. I'll update regarding runtime.

no longer requires lazy loaders in the hard coded list
I'm not sure what that means. I assumed you referred the --include-distribution-metadata args so I dropped them and it fails on runtime with Nuitka: Need to use this as an option to compile with '--include-distribution-metadata=bitsandbytes'

I confirm that compilation works again.

no longer requires lazy loaders in the hard coded list

I'm not sure what that means. I assumed you referred the --include-distribution-metadata args so I dropped them and it fails on runtime with Nuitka: Need to use this as an option to compile with '--include-distribution-metadata=bitsandbytes'
3. After re compiling with all '--include-distribution-metadata`s, original runtime error persists 😢:

Yes, I miswrote that. I think the metadata checks kind of also depend on what's installed, not sure how to get at a full list of what it attempts to use without looking at not-found imports, all of them, which is unreasonably laborsome, so I will just add them as we encounter them.
I do however recall, that this may actually be a case of a function that if we were to inline it, would make it visible at compile time, so I am somewhat optimistic, we might end up seeing these calls eventually in an automated way once this gets added.

The good news, this makes it into 1.9 proper, and I kind of expect it to happen today. I will get in touch with you to assess open things from yours side @doradsoft later this week.

So, this is part of the 1.9 release, please open a new issue, if you find anything not perfect with transformers import still.

So, this is part of the 1.9 release, please open a new issue, if you find anything not perfect with transformers import still.

I'm not sure I get it, the original issue persists (on stable 1.9 commercial as well), should I just copy the entire issue contents but with different Nuitka --version output?

So, this is part of the 1.9 release, please open a new issue, if you find anything not perfect with transformers import still.

I'm not sure I get it, the original issue persists (on stable 1.9 commercial as well), should I just copy the entire issue contents but with different Nuitka --version output?

So, this is part of the 1.9 release, please open a new issue, if you find anything not perfect with transformers import still.

I'm not sure I get it, the original issue persists (on stable 1.9 commercial as well), should I just copy the entire issue contents but with different Nuitka --version output?

I am currently running the reproducer in a loop, and doing more anti-bloat work for triton in torch, and IPython in loguru, more probably needed.

So, transformers is asking me for more metadata to be included now, this test case clearly covers more than others in terms of what's used, but we are getting there I guess. I am trying to have 1.9.2 released with this, assuming it is only about this kind of work.

So, 1.9.2 is out, and the example you gave compiled for me. I am still going to continue the loop, I guess with --include-package=torch for coverage, as probably there are yet more modules using triton still, but that can be 1.9.3 material.
For transformers a large amount of meta data packages was added, let me know if you find one missing, you should be able to use none at all now.

So, 1.9.2 is out, and the example you gave compiled for me
The original problem was about runtime error, not compilation

you should be able to use none at all now.
Excellent, it wasn't complain about any missing distribution!

However, the original runtime error persists with the exact same traceback😢

@doradsoft with the provided example, really? Or is this mixing with the evaluate issue, which I have yet to do, and am aiming for in 1.9.3 now. I might have to do --include-package=torch to be sure, I am not missing any uses there, and then we probably need to be very specific about the versions. The output of --report would tell me which exactly you are using. I will however first try and become more complete in torch with those. Now that I see it, peft imports triton via bitsandbytes bit I didn't see that one at all, so I will your reproduce with an --include-package=bitsandbytes as well I guess. Maybe also a version thing.

FATAL: Error, failed to locate package 'bitsandbytes' you asked to include.

Ah yes, optional dependencies, got to love these people really hard.

So, I am compiling with bitsandbytes and finding and removing triton usages there as well, not sure how many iterations it will take, but hopefully it's not too bad.

@doradsoft with the provided example, really? Or is this mixing with the evaluate issue

Yes. The exact same code and environment, not mixing with #2529.
Thanks for handling this.

I have successfully removed triton from bitsandbytes as well, and found missing DLLs for it, that I am still working on, somehow maybe there is a bug, with my DLL pattern not matching although they should.

The example works, with staging and factory, I will soon release 1.9.3, but there is another issue that I want to get it, but should be tomorrow.

Thanks for treating this!

I confirm that the specific error is gone! 🕺so you can close the issue now.
There is another runtime error with the same reproduce.
As this reproduce was made as a MCVE of a real code, and that specific error is gone for the real code as well I don't think I'll open another issue for the new runtime error, as for now it doesn't reproduce for the real code.
However, there is a new runtime error only for the real code. And for that I'll now work on a new MCVE and open a new issue.

@doradsoft you are welcome to through all the MVCE at me that you can come up with. Closing this one. Symptoms and error causes do not relate a lot. I forgot to add the factory tag, this one is solved in 1.9.3 supposedly and I released it the other day.


macos_platform_tests package build times out when built for all packages

macos_platform_tests is timing out when built for all packages.
Examples:
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_arm64 macos_platform_tests master - packages/1662
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_arm64 macos_platform_tests master - packages/1659
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_arm64 macos_platform_tests master - packages/1657
Can macos_platform_tests builder be broken apart?  The native tests alone are taking ~40 minutes.

The native tests alone are taking ~40 minutes.

Why are these tests taking so long?  There aren't that many macOS packages.
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8752390746274227441/+/u/Run_package_tests/native_test/stdout

The last test suite starts at 24 seconds:
 || Running for packages/in_app_purchase/in_app_purchase_storekit [@0:24]

and runs until 36 seconds, then gets stuck for 40 minutes:

 Test case '-[PaymentQueueTest testStartObservingPaymentQueueShouldNotProcessTransactionsWhenCacheIsEmpty]' passed on 'My Mac - example (2
 ** BUILD INTERRUPTED **

Is this some form of https://github.com/flutter/flutter/issues/119750 again?

The native tests alone are taking ~40 minutes.

Why are these tests taking so long? There aren't that many macOS packages. It took 3:29.43 to run on my machine.

On the most recent all-packages run it took about a minute and a half for both master and stable runs, so maybe it's a flaky test hang rather than slowness.

On the most recent all-packages

Those are running fast on x64, right? So maybe confirms this is another hang issue on arm?

Sorry, by "all-packages run" I meant a run that had a repo-level change, such that every package's test ran. In particular, I looked at these:

https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_arm64 macos_platform_tests master - packages/1700/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_arm64 macos_platform_tests stable - packages/1722/overview

Hmm, looking again, they do always seem to get stuck on in_app_purchase tests.  Which made me think this could have been caused by https://github.com/flutter/packages/pull/6209 merged on March 5, but the first flake I see was on https://github.com/flutter/flutter/commit/2bb7d14d9202ec312d3efa42026be52d49b05c36 from January 20
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_arm64 macos_platform_tests master - packages/1415
Perhaps it's from a change made in flutter/packages#6032 around the pigeon work.


[SPARK-48379][INFRA] Cancel previous builds on a PR when new commit is pushed

What changes were proposed in this pull request?

When there is an open PR with a build in progress and a new commit is pushed I propose that we should cancel the previous build.
The exceptions are branches master and branch-* where we still want to be able to have multiple builds executing concurrently (if two PRs are merged to main at the same time we don't want to just run the build on the second one).
Concurrecy docs
Why are the changes needed?

To reduce wait times for newer commit's and save compute resources.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Manually.
Was this patch authored or co-authored using generative AI tooling?

No.

@HyukjinKwon Cancellation works fine, but the issue is that Notify test workflow is sometimes failing with Failed to retrieve check_run_head after 3 attempts.
Not sure, what is causing this, maybe we should wait a bit longer for a workflow to be started or something? Tried increasing the sleep time in the retry but it still seems to use the old value of 3 seconds:

Do you have any ideas as to why this is happening as I see that you worked on this as well as @yaooqinn

I retriggered, and seems working fine. I think it just failed because it tried to get the test run of the cancelled build.

We should also probably remove https://github.com/apache/spark/actions/workflows/cancel_duplicate_workflow_runs.yml and replace that to the approach used here (but of course should be done in a separate PR).

I think the reason could be either due to cancellation or exceeding the per_page results, instead of a timeout.

hmmmm

I think this is fine.

Merged to master.

@yaooqinn Do you know what would be the workaround?

The only suitable way seems to increase the await time for a new job to be scheduled

Let me revert it out for now.


Optimize integer implementations in base_types.py

What was wrong?
Integer types in base_types.py were slow.
How was it fixed?
I have optimized the integer code in base_types.py, mostly by endrunning python's classes machinery (no calls to super()) and eliminating redundant checks. This results in a more than 2x speedup in dataset item generation time and knocks about 25% off cache generation on my machine under cpython.
U256 and Uint32 now use mostly shared code.
Cute Animal Picture

Hi @ultratwo I haven't closely looked into this, but overall it does look good. I haven't gotten the chance to incorporate it into my PR before it was merged. I would like Sam and Matt to have another look at this. Can you move this PR to the execution-specs repo? Thanks.


dirs: Add a function for getting a file handle

Hello @jazzdan,
Please review the following commits I made in branch nicks/test2:
bddd49473ad0a1c9b25c2bab088090a3aec78f1b (2018-08-01 14:50:41 -0400)
dirs: Add a function for getting a file handle

tests added!


Bug 1920548: Adding extra info to explain to user how to fix the problem when value is missing

And info in the error around how to fix

@pranavgaikwad That is what I initially did, Alay convinced me that we should error out, because if the operator is not updated then the DVM will fail still because it does not have the SCC's to create the rsync pods. Basically we are catching the failure earlier and implicitly based on the src/dest cluster's not having an updated operator that would add this value in the config map.
WDYT?

@pranavgaikwad That is what I initially did, Alay convinced me that we should error out, because if the operator is not updated then the DVM will fail still because it does not have the SCC's to create the rsync pods. Basically we are catching the failure earlier and implicitly based on the src/dest cluster's not having an updated operator that would add this value in the config map.
WDYT?


RAVEN interface and ExternalXML

Issue Description
What did you expect to see happen?
When using the RAVEN interface:
If the "inner" RAVEN uses ExteranlXML, the outer run should not be affected.
What did you see instead?
If, for example, the OutStreams are in the main "inner" file and the DataObjects are in an ExternalXML file, the RAVENparser will crash with (for example):
IOError: RAVEN_PARSER ERROR: The OutStream of type "Print" named "dumpOPT" is linked to not existing DataObject!

Do you have a suggested fix for the development team?
Expand the necessary ExternalXML nodes before parsing the XML.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or improvement?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest stable branch? If yes, is there any issue tagged with stable (create if needed)?
[x] 5. If the issue is being closed without a merge request, has an explanation of why it is being closed been provided?

Closure check list passed...
Closing...


Issues with french

unable to close the create room pop up
weird bugs in the left column

Language choice (locale) is now implemented


init programs.gns3

Description of changes
GNS3 is already a package, but it depends on a few other packages in order to function properly. These are now managed by the programs.gns3 option.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

Just wondering, is this a duplicate of #252790?

What's the difference with "inherit(lib)"? Isn't the effect the same?
Does that mean that " with maintainers; " should also be an "inherit(maintainers)"?BTW, this is taken from the firefox programs module.

What's the difference with "inherit(lib)"? Isn't the effect the same?

"The effect" is not the only thing that matters - even because inherit (lib) is not equivalent to with lib.
It is about control and predictability.
If you have some knowledge about Python, with lib is similar to from lib import *.
You are bringing all the functions from lib into the scope of  the whole file.
On the other hand, inherit (lib) mkOption mdDoc is similar to from lib import mkOptions mdDoc, bringing only the specified functions into the scope.

Does that mean that " with maintainers; " should also be an "inherit(maintainers)"?

Ideally, with should be abolished. Copying the best practices guide:

Static analysis can’t reason about the code, because it would have to actually evaluate the with'ed file to see which names are in scope.
The scoping rules are not intuitive
When more than one with is used, it’s not clear anymore where the names are coming from.

BTW, this is taken from the firefox programs module.

Many failures do not make a success.
https://github.com/NixOS/nixpkgs/issues/208242

Thanks @AndersonTorres for the explanation. I was not aware of the difference. nix is in dire need of a linter like clippy for rust that is run on all PRs by the CICD, but that's a topic for another time.
@h7x4 the other PR adds a systemd service for the gns3 server, which is good if you have a separate machine for the gns3 server and want to access it from clients on separate machines running the gns3 GUI client. For a local machine, a constantly running gns3 server is unnecessary.
The usecase for this PR is a user looking to have all dependencies for the GUI client and a local gns3 server.
gns3-gui starts the server when needed and stops it (configured to do so by default) when exited. The server is run with user running gns3-gui.
The GUI also has additional dependencies (a terminal emulator and telnet, and a remote desktop client for nodes that are accessible with VNC).


FastNLPProcessorWithSemanticRoles now has enhanced SRL dependencies

@kwalcock : ready to release!

This has made it to maven and should be available soon.

Thanks!
On May 19, 2021 at 2:55:54 PM, Keith Alcock @.***)
wrote:
This has made it to maven and should be available soon.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/clulab/processors/pull/489#issuecomment-844501878, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAI75TWLC4ZL5SQZXCE2FUDTOQXWVANCNFSM45E5EPGQ
.