Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://<IP_ADDRESS>:8100/ws

Have been stuck for days on this. iOS app crashes on launch.
Launching lib/main.dart on Sahil’s iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: Q48Y4UFKL8
Starting Xcode build...
Xcode build done.
Installing and launching...
5.4.0 - [Firebase/Analytics][I-ACS023007] Firebase Analytics v.50001000 started
5.4.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://<IP_ADDRESS>:8100/ws

Flutter doctor:
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.5 17F77, locale en-IN)
[!] Android toolchain - develop for Android devices (Android SDK 28.0.0-rc1)
    ✗ Android license status unknown.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Community Edition (version 2018.1.5)
[✓] VS Code (version 1.23.1)
[✓] Connected devices (2 available)

! Doctor found issues in 1 category.
Process finished with exit code 0

Looks similar to #18973

Yeah, it is the same issue.
Nope, no proxy.

There is also #14991
I haven't figured out why @Hixie concluded that it is an emulator issue (see https://github.com/flutter/flutter/issues/12353#issuecomment-387577146)
If this is actually related you could try https://github.com/flutter/flutter/issues/13379#issuecomment-400966832

What happens after you get that line in the terminal? Does it quit, or stay hung?
If you take the /ws off the end of the url in the error (eg. http://<IP_ADDRESS>:8100/) and paste it into your browser, does anything load?

I'm having the exact same issue.   I'm working on https://github.com/nitishk72/flutter_image_picker .  I can test the software program successfully on Xcode ios simulator just fine in file picker mode. Obviously the emulator has no access to the camera.  Hence the use of a real iphone device.  I paid my subscription to Apple, I registered the device via Xcode, etc...
While testing for this posting, I went back to basics.  I create a new hello_world (the count increment example).  Sample ran great... once.  Then I added a single character to the line home: new MyHomePage(title: 'Flutter Demo2 Home Page'),, something that I could see upon reload.  Continuous failure from that moment on.
Launching lib/main.dart on iPhone in debug mode...
Signing iOS app for device deployment using developer identity: "iPhone Developer: (my name) (X99999999999)"
Xcode build done.
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File<EMAIL_ADDRESS>line 52, in <module>
    import weakref
  File<EMAIL_ADDRESS>line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref
Error connecting to the service protocol: HttpException: , uri = http://<IP_ADDRESS>:8110/ws
Exited (sigterm)

Note: the port numbers start at 8101 and vary depending on the run... I was never able to use the browser to verify anything at that IP address.
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.5 17F77, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
[✓] Android Studio (version 3.1)
[!] VS Code (version 1.24.1)
[✓] Connected devices (1 available)
! Doctor found issues in 1 category.
(not sure what's up with the VS code error... I've installed, removed and reinstalled that thing multiple times.
[!] VS Code (version 1.24.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

) Clearly the VS code is showing the flutter-dart module.
OS: System Version:	macOS 10.13.5 (17F77)
iphone: 6S, ios = 11.3.1 (15E302)
I'm going to reboot the computer and try this all again.  I wanted to get this submitted before the reboot.

Still testing.   ios software emulator works great.  Real physical device iphone = erratic and just odd.  When I push code to the physical device, it seems to open up the app and I get a totally white screen.  Quick close the app (with home button push), re-open = same fail (all white screen) .   I still see the exact same error message in VS code during this push process.
Remove the app 'thread" (with double home button push and then slide the white screen app up and off the phone), then re-click the icon on the physical device = success.   The simple increment app works, but its not clear what's going on here.  I haven't yet tested my simple camera app with the same test.
Thanks to all for assistance.  One testing note:  I did look at the iphone console... holy cow but there are a whole of messages going by, even on a phone sitting at idle.  The physical device (an iphone 6S) console and device logs are available via Xcode --> Window --> Devices and Simulators --> choose Devices, then select either "view device logs" or "Open Console" button. With phone at idle on the desk, black screen on display,  I'm seeing nearly 1200 messages / minute.  Ugh.   Now I see where my battery juice is going....
Is there any testing that I can do to bring more clarity on this issue?  Many thanks to all the folks supporting Flutter.

What happens if you run python -c "import weakref"? There's some info here suggesting maybe something wrong with the Python install.

(not sure what's up with the VS code error... I've installed, removed and reinstalled that thing multiple times. )

It's a bug; VS Code started lower-casing the extension folder names and our detection was accidentally case-sensitive. It's fixed in the master channel but hasn't made the beta channel yet.

The mis-reporting of the VS Code extension in flutter doctor is fixed in Flutter's master channel (it's flutter that reads the VS Code extensions). Probably it will be in the next beta release, but it's safe to ignore for now.
I'm not really sure about the Python issue - I hoped it would fail when you ran that so it was easier to debug, but it's strange that you can import it from a terminal like that but not when running flutter. Have you tried running flutter from the same terminal where Python worked, in case you've somehow got a different PATH there than when running from VS Code? (sometimes people have PATHs configured in shell scripts that only apply in the terminals, so VS Code often has different paths!).

Oh, I have no idea what I'm doing when it comes to python symlinks and multiple different paths. Not sure you saw my last edit.  I also didn't see how many open issues there are in this repo.  I now understand the urgency in getting stuff closed.  How can I help?  What can I do next?

I didn't see your edit, sorry. Sounds like you've traded one problem for another!
I would start by doing echo $path in your terminal and in the VS Code terminal and seeing where they're different - presumably the difference is why it works in one and not the other (I'd also restart both your terminal and VS Code first).

I'm getting the errors in VSCode console

What sort of errors?

This whole thing is just odd.  I get no response at all to $ echo $path no matter where I run it.  In a system bash window $ python --version results in Python 2.7.15,  $ python2 --version = Python 2.7.15 and $ python3 --version = Python 3.6.5
In VS Code command line terminal the same tests gets slightly different results.  $ python --version results in Python 2.7.10,  $ python2 --version = Python 2.7.15 and $ python3 --version = Python 3.6.5
When I push to physical device the error message within VS code debug console:
Launching lib/main.dart on iPhone in debug mode...
Signing iOS app for device deployment using developer identity: "iPhone Developer: MyName (X99999999)"
Xcode build done.
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File<EMAIL_ADDRESS>line 52, in <module>
    import weakref
  File<EMAIL_ADDRESS>line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref
Lost connection to device.
Exited (sigterm)

Update:   I went thru this guide to clean up my MacOS.  I did all the brew related steps in the referenced clean up guide but stopped at the Atom and the Clever Cloud stuff.
I deleted quite a bit of content, most of it related to a manual installation of OpenCV and a little bit of Aubio audio stuff.
After a couple of reboots, the flutter errors observed above are just gone.  I do see that $ python --version in both VS code command line terminal and system bash window now generate the exact same result, Python 2.7.15
Perhaps the clean up macOS and reboot may work for others?

I get no response at all to $ echo $path

It's case-sensitive, you need to use echo $PATH.
So what's the state of things now? You're getting the same Python version in all places, but it's still broken deploying to a real iPhone and works for the simulator?
Looking at your original error, it seems like Python 2.7.15 is the bad one - if that's the one on your PATH now, do you see the _remove_dead_weakref error when you run python -c "import weakref"? If so, getting your PATH to point back at 2.7.10 might help?

oops. $PATH.  I didn't know that. Thanks for sharing.
[System Bash Window] $ echo $PATH
/development/flutter/bin:
/Users/myName/.nvm/versions/node/v8.9.3/bin:
/opt/local/bin:
/opt/local/sbin:
/usr/local/bin:
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/opt/X11/bin:
/Library/Frameworks/Mono.framework/Versions/Current/Commands

[VS Code Terminal] $ echo $PATH
/development/flutter/bin:
/opt/local/bin:
/opt/local/sbin:
/usr/local/bin:
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/opt/X11/bin:
/Library/Frameworks/Mono.framework/Versions/Current/Commands:
/development/flutter/bin:
/opt/local/bin:
/opt/local/sbin

From what I can see, there is no python version control dictated by either $PATH setup.
I get absolutely no feedback with python -c "import weakref" in either System Bash Window or VS Code Terminal.  The system responds immediately to that command with a new empty line.  What response are you expecting?
It sounds like I need to figure out the who, what, when where and why on different versions of python . This whole conversation is frustrating. I'm trying to use pyenv to load and control particular versions, but I'm having troubles.  I'm going to need to install a few things and reboot.  In the meantime I don't want to lose my notes in this entry.
Can I ask some simple questions?

What is weakref?
What essential service does it provide to the flutter platform?

And apologies for hijacking this entire issue from a error message on weakref into my really poor understanding of version control of Python on macOS.  Dan, thanks for your patience here...

From what I can see, there is no python version control dictated by either $PATH setup.

You can run which python in each to see which binary it's getting. Most likely there are links inside one (or more) of the folders on your PATH.

I get absolutely no feedback with python -c "import weakref" in either System Bash Window or VS Code Terminal. The system responds immediately to that command with a new empty line. What response are you expecting?

An empty response is (usually) good, it means that no errors occurred importing the library. The error you're getting when deploying is what would happen if something was broken:
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File<EMAIL_ADDRESS>line 52, in <module>
    import weakref <-- This is what it was trying to do
  File<EMAIL_ADDRESS>line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref

The question is, why does this happen when you deploy but it's fine from your terminals, and that's one I don't know the answer to. Based on comments in the code, it seems like this might be an xcodebuild dependency, but I find much info about this online.

What is weakref?

I'm not familiar with this, but based on the links above  (and this) it's a built-in Python module.

What essential service does it provide to the flutter platform?

Based on the above, it seems essential for deploying to iPhone. The copy module is being used and that seems to import weakref. As far as I can tell, these are standard modules that all Python scripts should be able to assume exist.
Can you try running with the --verbose flag and attach the output?

Also; probably https://github.com/flutter/flutter/issues/17803 is a better place for this issue; I don't think it's related to the original issue here.

Can you try running with the --verbose flag and attach the output?

Not sure how or where to do that.  The error message shows up on VS code Debug Console after you start the debugger.  Here is my launch.json file contents (from with folder .vscode)
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Flutter",
            "request": "launch",
            "type": "dart"
        }
    ]
}

Adding "args": ["--verbose"] to the config should work, but you could also just run from a terminal window (flutter run --verbose).

File attached.  (You weren't kidding about verbose.  There are nearly 1100 lines of content...) I removed my id stuff and certificates.
flutter_verbose_test.txt

@zipzit Thanks! If I'm reading the log right, it seems like the command being run that fails is:
/usr/bin/env ios-deploy --id 5e48115b466e0b05a8fb6a934a06355074051403 --bundle build/ios/iphoneos/Runner.app --no-wifi --justlaunch --args --enable-dart-profiling --start-paused --enable-checked-mode

So I suspect if you try running this command directly it should fail in the same way? (You may need to try the normal build first to ensure the build folder is in the correct state).
If so, you could try adding --verbose to that command (https://github.com/ios-control/ios-deploy#usage) which may give more detailed output about what it's doing that might help identify why Python seems broken in there (but not from your shell normally).

@DanTup   Did the command line run.

Navigate to directory of interest.
carefully remove the app from the iphone before each deployment test.
Attempted to run $ /usr/bin/env ios-deploy --id 5e48115b466e0b05a8fb6a934a06355074051403 --bundle build/ios/iphoneos/Runner.app --no-wifi --justlaunch --args --enable-dart-profiling --start-paused --enable-checked-mode --verbose . That line is a fail, shell responds with:
ios-deploy: unrecognized option '--start-paused'    (Remove that option, run again)
ios-deploy: unrecognized option '--enable-checked-mode' (Remove that option, too...)
$ /usr/bin/env ios-deploy --id 5e48115b466e0b05a8fb6a934a06355074051403 --bundle build/ios/iphoneos/Runner.app --no-wifi --justlaunch --args --enable-dart-profiling  --verbose

CLI_flutter_test.txt
Next test:

$ pyenv install 2.7.15
$ pyenv global 2.7.15
$ /usr/bin/env ios-deploy --id 5e48115b466e0b05a8fb6a934a06355074051403 --bundle build/ios/iphoneos/Runner.app --no-wifi --justlaunch --args --enable-dart-profiling  --verbose

CLI_flutter_test2.txt
The upload seems successful in both python versions.  Perhaps the issue generating the weakref errors are the two run arguments --start-paused and --enable-checked-mode ?? Is that line generated by Flutter or perhaps by VSCode?

Ah, there's a subtle difference you can't tell from the log. The string --enable-dart-profiling --start-paused --enable-checked-mode --verbose is all being passed as a single arg, but the display of it doesn't make this clear. So to run the command the same from the terminal you'd need to quote those args, something like:
/usr/bin/env ios-deploy --id 5e48115b466e0b05a8fb6a934a06355074051403 --bundle build/ios/iphoneos/Runner.app --no-wifi --justlaunch --args '--enable-dart-profiling --start-paused --enable-checked-mode'

That will result in the args all being passed through to the app, rather than being interpreted by ios-deploy. That said, I don't think it's making any difference for what we were looking at here; I think you'll see the same results if you run that with them (though it's worth trying to eliminate them).
Unfortunately, that verbose logging doesn't look much better; I can't see any obvious difference in the working/broken one (besides the crash).
Btw, just to clarify, is this always broken when you run via Flutter, or only within VS Code?

As you thought, the test with the --arg and quotes in bash shell was fully functional, no real change to feedback.  There were no ios-deploy: unrecognized option errors or warnings.

Btw, just to clarify, is this always broken when you run via Flutter, or only within VS Code?

Broken?  What does that word mean?  To me, broken means absolutely non-functional.  In this case when ever I push an app to physical ios device (iphone) I get an error message that looks like this.
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File<EMAIL_ADDRESS>line 52, in <module>
    import weakref
  File<EMAIL_ADDRESS>line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref
Error connecting to the service protocol: HttpException: , uri = http://<IP_ADDRESS>:8100/ws
Exited (sigterm)

The app arrives on my phone, and works as intended.  I wouldn't call it broken.  It's fully functional.  The only issue I'm seeing is the mystery weakref error message.  I would not call what I'm seeing a "severe crash"; what I'm seeing is a minor inconvenience.  Note: I'm not the originator of this issue... merely a "me, too".
And to answer your question, I'm only seeing the above error message within VS code push to device (debug console). There is no weakref error when running from the bash command line interpreter.  I'm curious.. If I downloaded the IntelliJ Android IDE and ran the same flutter program there would I see the same 'weakref' error?  (ouch. How long is it going to take me to learn the Android tooling?)

Oh, I see - I misunderstood and thought it didn't work when you saw that error message.
If you're only seeing the message when run from within VS Code, I'm sure it's PATH-related. Try running which python, which ios-deploy, which xcodebuild (and anything else that might be involved) both inside and outside VS Code to see if any of them are being run from different locations.

I'm not sure, but it's possible https://github.com/flutter/flutter/pull/19281 might affect this; it's going to change the PATH when ios-deploy is invoked. Maybe worth testing on the master channel.

Terminal inside VS Code:
$ which python
/Users/userName/.pyenv/shims/python
$ which ios-deploy
/usr/local/bin/ios-deploy
$ which xcodebuild
/usr/bin/xcodebuild

Systems Bash Terminal
$ which python
/Users/userName/.pyenv/shims/python
$ which ios-deploy
/usr/local/bin/ios-deploy
$ which xcodebuild
/usr/bin/xcodebuild

I'm seeing the same error message when I run via code .

So back on beta, your issue is solved? That's a bit strange, but I guess not a bad thing.
@sahil311289 this issue got somewhat side-tracked. Are you still having the original issue you reported here?

I'm not sure about this, but when I disabled the new option available on iOS 11.4.1 (This option is under Settings > Touch Id & Passcode > USB Accessories or Settings > Face Id & Passcode). After this, I can now get enabled Network option on Xcode (Devices & Simulators > Connect via network). Maybe this is the solution.

@barcellos What happens if you don't enable that setting? Based on https://github.com/flutter/flutter/issues/15072#issuecomment-394406976 I get the impression debugging over WiFi is disabled; but I would expect it to result in a reasonable failure, not just a network exception.

Also see: https://github.com/flutter/flutter/issues/10602

Is anyone here still having this issue that is not caused by WiFi debugging or a proxy?

@DanTup ,
I have this issue even when I disabled WiFi debugging, and ensure localhost is in the NO_PROXY,
This is strange because sometimes it works, and sometimes it not work.
I need to exec flutter run many times when I want to start the app

@jiajiabingcheng There were a few issues mixed up here. Which are you seeing - the error in the issue title? If so, can you try this:

If you take the /ws off the end of the url in the error (eg. http://<IP_ADDRESS>:8100/) and paste it into your browser, does anything load?

@DanTup
I find that when I see the HttpException, I can just disconnect the connection of my iPhone and reconnect it. Then I can successfully connect in flutter.
Maybe something happened after I connect my iPhone

@jianggaocheng What happens if you opening in your browser right after getting the exception (see above about removing /ws off the url).

Simply turning off wifi debugging for my phone fixed the issue for me... (on beta channel). The issue only seems to happen in apps using method channels for me.

@sahil311289 @jianggaocheng please let us know if you can still reproduce this (and on the current beta/dev/master).

@DanTup The problem seems gone when I use the lastest version of dev channel

@DanTup I am new to this issue but I have the problem for about 2 weeks now. Today I still have the problem on latest version of dev channel (0.8.2). Here a flutter doctor summary of my setup:
[✓] Flutter (Channel dev, v0.8.2, on Mac OS X 10.13.6 17G65, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
[✓] Android Studio (version 3.1)
[✓] Connected devices (2 available)
• No issues found!

@Sonius94 Do you have a proxy and/or WiFi debugging enabled? It seems like a lot of these issues are resolved by disabling WiFi debugging and/of adding localhost/<IP_ADDRESS> to the NO_PROXY environment variable. Let me know if either of these work.

Got the same error over here, WiFi debugging is disabled and i do not use a proxy
Starting Xcode build... Xcode build done. Installing and launching... 5.1.0 - [Firebase/Analytics][I-ACS023007] Firebase Analytics v.50001000 started 5.1.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r) Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://<IP_ADDRESS>:1029/ws
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
[✓] Android Studio (version 3.2)
[✓] Connected devices (2 available)
• No issues found!

@Hypercruse Please try opening in a browser as mentioned here and post what you get.

@DanTup "website is unavailable. <IP_ADDRESS> has refused the connection. ERR_CONNECTION_REFUSED"

@Hypercruse If you create a simple Dart script, for ex.:
main() {
  print("test");
}

And then run it like:
dart --observe --pause_isolates_on_start test.dart

It should spit out a similar link - if you copy/paste that into your browser, does that one work?

@DanTup Yes that one leads me to the observatory > vm@ws://<IP_ADDRESS>:8181/ws

I am having the same issue.  I can run the project from the terminal to my connected device (iOS) simply with flutter run.  So the issue, IMO, must be with the debugger connection from VS to device. When running from debug in the console it gives me the 'Error connecting to the service protocol: HttpException: , uri = http://<IP_ADDRESS>:1040/ws'. Not sure how to resolve as I'm a newb with VSE.

@javen123 Do you have WiFi debugging enabled, or have a proxy? (see above for comments about these).
As a workaround while we figure this out, if you want to run from VS Code without the debugger, there's a Start Without Debugging option (you may also be able to add noDebug: true to launch.json to always run this way; though I haven't tested it).

Same here, android studio, everything up-to-date

I was able to find out that I had an issue in my native code. In AppDelegates function didFinishLaunchingWithOptions I created a class that leaded to shut down my app. The error code I got in Android Studio was this HttpException. I do not know why. I found it out when I used os_log to see which parts of my native code I can reach without any problems.

I was having the issue again today. I watched the logs with console.logs. The only log entry I got is:
HTHangEventCreate: HangTracing is disabled. Not creating a new event.

I think it's timeout error. When i start websocket server with 10ms io timeout i see this error 90% of time. No error then 1000ms timeout.  Try starting without debugging - the same error. And from time to time I see broadcast messages not right after send, but in the next packet, after next send
Looks like Dart just very slow and buggy.

Trying reconnect the device sometimes fix the problem. Remember to set/check "NO_PROXY=<IP_ADDRESS>,localhost" always.

Trying reconnect the device sometimes fix the problem. Remember to set/check "NO_PROXY=<IP_ADDRESS>,localhost" always.

i tried   export NO_PROXY=<IP_ADDRESS>,localhost  in terminal ,it work ,thx

Trying reconnect the device sometimes fix the problem. Remember to set/check "NO_PROXY=<IP_ADDRESS>,localhost" always.

i tried  export NO_PROXY=<IP_ADDRESS>,localhost in terminal ,it work ,thx

seems to be working, thanks.

Trying reconnect the device sometimes fix the problem. Remember to set/check "NO_PROXY=<IP_ADDRESS>,localhost" always.

Have been stuck for days on this. iOS app crashes on launch.
Launching lib/main.dart on Sahil’s iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: Q48Y4UFKL8
Starting Xcode build...
Xcode build done.
Installing and launching...
5.4.0 - [Firebase/Analytics][I-ACS023007] Firebase Analytics v.50001000 started
5.4.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://<IP_ADDRESS>:8100/ws

Flutter doctor:
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.5 17F77, locale en-IN)
[!] Android toolchain - develop for Android devices (Android SDK 28.0.0-rc1)
    ✗ Android license status unknown.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Community Edition (version 2018.1.5)
[✓] VS Code (version 1.23.1)
[✓] Connected devices (2 available)

! Doctor found issues in 1 category.
Process finished with exit code 0

getting same issue what will be solution

@Pardeep03315 since this issue is long closed, please open a new issue and include the full output of flutter doctor -v and flutter run -v with the error and @ mention me on the issue.
(if you haven't already though, please try NO_PROXY and disabling WiFi debugging as mentioned above if either apply)

I'll just change the simulator，like Nox

in my case it helped to remove the app from the device (uninstall) and then try to execute flutter run again. Also make sure that, if you work on a real device and the deploy process takes a while, that the screen doesn't turn off.

Make sure to check the Android API version of your emulator. I have issues on Q, but everything works fine on an emulator with Android API 28.

``

Make sure to check the Android API version of your emulator. I have issues on Q, but everything works fine on an emulator with Android API 28.

Indeed it works on API 28. Thanks @dustinrwh

That's is an API Level issue. You should switch to use API 28 instead of API 29 for you emulator.

YES! thanks a lot!
Encountered the same issue with API 29, solved by going back to 28

Have the same issue with API26

@afucher Closed bugs don't come up in our triage meetings. If you're seeing something wrong, please file a new bug starting at https://github.com/flutter/flutter/issues/new/choose and fill out all the information the template suggests. That's the best way to get an issue onto our radar.

I made a new Issue related to the problems with API 29 and having to downgrade to API 28.
#36723

yesterday night I faced this issue with flutter app because I tried to change the package name from main Manifest xml file, like com.example.appname to com.orgname.appname and later when I revert back, this issue gone.

I also had this issue when i was trying to add a splash screen to the android app through the launch_backgrgound.xml . the issue was the resolution. it was too high so the images memory footprint exploded and caused the app to crash hence the reason for this error. so just resize your image using a site called nativescript image builder so i got the ldpi,mdpi and all the rest and it worked fine for me.

I get this just about every other time I build on VSCode. Running on iPhone directly.
Verbose logs include:
Application launched on the device. Waiting for observatory port.

Attempting to forward device port 54257 to host port 1025
flutter/bin/cache/artifacts/usbmuxd/iproxy

And finally:
[+1010 ms] Forwarded port ForwardedPort HOST:1029 to DEVICE:54257
[   +3 ms] Installing and launching... (completed in 61.4s)
[  +10 ms] Connecting to service protocol: http://<IP_ADDRESS>:1029/
[ +114 ms] Fail to connect to service protocol: http://<IP_ADDRESS>:1029/: HttpException: , uri = http://<IP_ADDRESS>:1029/ws

Still happens even after I do flutter clean, disconnect, restart VSCode and reconnect/build.
Here is my flutter doctor -v:
[✓] Flutter (Channel beta, v1.17.0, on Mac OS X 10.15.3 19D76, locale en)
    • Flutter version 1.17.0 at /Users/admin/flutter
    • Framework revision d3ed9ec945 (7 days ago), 2020-04-06 14:07:34 -0700
    • Engine revision c9506cb8e9
    • Dart version 2.8.0 (build 2.8.0-dev.18.0 eea9717938)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/admin/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1

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

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

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

[✓] Connected device (4 available)
    • Kevin’s iPhone    • 16e0be0d98a45594d66fce5bc03767078a0adaf9 • ios            • iOS 13.3.1
    • iPhone 11 Pro Max • 035D9994-BA87-4A94-AA51-94795CF44719     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator)
    • Chrome            • chrome                                   • web-javascript • Google Chrome 81.0.4044.92
    • Web Server        • web-server                               • web-javascript • Flutter Tools

• No issues found!

Only thing that works is a fresh build in XCode, but with firebase this takes at least 5 minutes, which means 10 minutes every time I want to start developing.
Any help would be greatly appreciated on this.


Divergent Component of Motion trajectory generator

The trajectory generator of the 2D - Divergent Component of Motion was implemented following the work of Englsberger et al..
Further details can be found here #2 .
How to compile
Run the following commands to compile the repo
mkdir build
cd build
cmake ../
make

How to test
To test the new trajectory generator please run  DcmInterpolationTest (it is located in /build/tests). The results can be checked using Matlab scripts located in \misc\MATLAB\.

add to the MATLAB search path the \misc\MATLAB\ folder;
run the load_data  in the folder where DcmInterpolationTest was launched;
run the print_dcm to shown the plots of the results.

Thanks!


crossref author id to orcid id?

Hi @mfenner,
Quick question: Is there a way to map from the crossref author ids I get back in the crossref xml into ORCIDs (assuming the author has an orcid)?  Do any crossref cn types return ORCID id data for articles?  Thanks!

How do you get the Crossref XML? I do it like this<EMAIL_ADDRESS>You get the same XML in DOI content negotiation. You can see lots of ORCID IDs in the XML.

@mfenner thanks, I guess for the few records I have tried so far the journals must not have reported author ORCIDs to crossref.  Yup, I'm doing the content negotiation; interestingly while I get no identifier in application/vnd.crossref.unixref+xml, it was in the rdf+xml that I was seeing crossref author ids, though maybe these are just arbitrary strings for the sake of RDF since they don't resolve (haven't tried confirming that the same author always gets same or different strings), e.g.
"http://id.crossref.org/contributor/carl-boettiger-2cpdpe14dquid"

anyway, good to know the orcids are returned when they exist.  Looks like the rdf form still uses these id.crossref.org as the about id, but includes the ORCIDS with an owl:sameAs.


code-speeches crashes extension host on Ubuntu in parallels and Debian

Testing #205523

Install Ubuntu 22.04 on parallels (uname -a is Linux connor-Parallels-Virtual-Platform 5.19.0-40-generic #41~22.04.1-Ubuntu)
Install Copilot Chat and VS Code Speech
See a warning about the extension host crashing 3 times or more. It keeps crashing (on extension activation?) until VS Code Speech is removed

I didn't see any more detailed information in either the devtools console or output channel.

Update: this also happens on my Debian 6.1.67 machine

To figure out more about this issue related to voice recognition, can you do this:

close all instances of VS Code
open a terminal / console
define an VSCODE_SPEECH_LOGS_PATH environment variable pointing to a folder that exists

on Windows: set VSCODE_SPEECH_LOGS_PATH=<path to existing folder>
on macOS/Linux: export VSCODE_SPEECH_LOGS_PATH=<path to existing folder>

start VS Code from that terminal / console by typing code (or code-insiders)
set log level to trace for the extension (see [1])
open the output channel for the extension (see [2])
try to reproduce the issue that you had seen with voice recognition or keyword activation

Can you then share the output from the extension output channel as well as any log files in the folder of VSCODE_SPEECH_LOGS_PATH. Thanks!
[1]

[2]

@connor4312 if you run with --verbose, I think that also sets the log level to trace for extensions.

It seems like when the extension host crashes I don't get any output channels for extensions

Here is the full log from the console when running with code-insiders --verbose however:
log (6).txt

@connor4312 is this the same setup as in https://github.com/microsoft/vscode/issues/205758 where it works when you are not using Snap?

No, it crashes on both deb and snap (the Debian machine does not have snap installed)

@connor4312 I am not a bit confused about the 2 issues, would you mind helping me:

whats the difference between the 2 setups (is the one an Ubuntu in parallels and the other a real physical machine)?
does it crash the extension host immediately when the extension is installed in both machines
does it not crash the extension host immediately when using the DEB package instead of Snap
does it not crash but also not record any audio when using the Snap package but its OK with the DEB package?

Ubuntu in Parallels crashes and my physical machine running Debian crashes. The Ubuntu in Parallels is a vanilla 22.04 install, and Debian is Debian 10 with an LXDE desktop environment. My remote Ubuntu setup (with a KDE desktop) works fine with the deb package.
Yes, it crashes immediately whenever I open a VS Code window (I'm guessing the extension is activated onStartupFinished)
It crashes immediately both using deb and snap
The extension host does not live long enough to chat or do anything of use

@connor4312 I wonder if some library on the setup where it crashes might be missing. Does it work that you:

git clone https://github.com/microsoft/node-speech.git
npm ci

If there was a compilation issue, it would probably tell during compilation. Thanks!

Unfortunately that worked without issue and I was able to npm pack. Here's the resulting tarball if that tells you anything: vscode-node-speech-1.3.2.tgz

> llnode -- `which node` index.js
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'lldb.embedded_interpreter'
(lldb) target create "/run/user/1000/fnm_multishells/201300_1708556952100/bin/node"
Current executable set to '/run/user/1000/fnm_multishells/201300_1708556952100/bin/node' (x86_64).
(lldb) settings set -- target.run-args  "index.js"
(lldb) plugin load '/home/connor/.local/share/fnm/node-versions/v20.11.1/installation/lib/node_modules/llnode/llnode.so'
(lldb) settings set prompt '(llnode) '
(llnode) run
Process 209785 launched: '/run/user/1000/fnm_multishells/201300_1708556952100/bin/node' (x86_64)
Process 209785 stopped
* thread #8, name = 'node', stop reason = signal SIGILL: illegal instruction operand
    frame #0: 0x00007fffb37db58d libMicrosoft.CognitiveServices.Speech.extension.embedded.sr.runtime.so`___lldb_unnamed_symbol8400 + 77
libMicrosoft.CognitiveServices.Speech.extension.embedded.sr.runtime.so`___lldb_unnamed_symbol8400:
->  0x7fffb37db58d <+77>: vpxor  %xmm0, %xmm0, %xmm0
    0x7fffb37db591 <+81>: movq   $0x0, 0x20(%rbx)
    0x7fffb37db599 <+89>: movq   0x8(%rsp), %rax
    0x7fffb37db59e <+94>: xorq   %fs:0x28, %rax
(llnode)

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


WIP: decrease memory usage of rERPs

as discussed w/, and mostly written by, @dengemann
Cuts memory usage by approximately a factor of 2 in typical usage cases on our machine. Maybe now the example will run on @mainakjas' laptop!
Partially adresses #2331

besides LGTM

Either way, I think this is done for now. @dengemann can you take a look, and merge if it's okay?

merged by rebase after a tiny cosmit.


[Bug]: Instantiate ATProtoKit and send request imitiatlly leads to a crash

Summary
Creating a ATProtoKit instance, callign authenticate and getProfile leads to a crash
Reproduction Steps
I have following code snippet which leads to a crash of the app (see screenshot below)
    static public func authenticate(handle: String, appPassword: String) async throws(ConnectError) -> (UserSession, AppBskyLexicon.Actor.ProfileViewDetailedDefinition) {
        let config = ATProtocolConfiguration(handle: handle, appPassword: appPassword)
        let protoClient = ATProtoKit(sessionConfiguration: config)

        do {
            try await config.authenticate()
        } catch {
            throw .notAuthenticated
        }

        guard let profile = try? await protoClient.getProfile(handle) else { throw .noSession }
        guard let session = config.session else { throw .noSession }
        return (session, profile)
    }

However, if I add a short delay after the ATProtoKit.init it works as expected.
There must be a problem with the unstructured Task in the ATProtoKit.init regarding the registry setup.
Expected Results
No crash
Actual Results
Crash of the app
What operating systems did you experience this bug? (We'll count Docker as an operating system.)
macOS
Operating System Version
macOS 15.2/iOS 18.2
ATProtoKit Version
develop
Additional Context

Thanks for the report. I figured that there would be a bug like this but did think it would actually get triggered. I've been meaning to fix that but other important tasks stood in the way.
I'll work on fixing that bug and it should arrive either in the next patch release or the one after, but your workaround that you've made should suffice for now (even though it's not ideal).

I've created a temporary solution: the initializer will allow itself to complete once the code within the Task block is completed. This is also not an ideal solution as it can potentially block the main thread. Looking at your code, I don't exactly think this should be a problem, and no other developer has complained that their programs crash, so it feels like this is an edge case.
However, I don't like what I wrote as I don't want the class to block the thread, even if it's for less than 10 milliseconds (the longest I've seen the code run for; usually it's in microseconds or roughly 5 milliseconds).
I'll continue to work on fixing this issue, but for now, I will close this issue as it is resolved.


Reth primitives traits tx type

Closes #11531
Define trait reth_primitives_traits::TxType

need help with this @0xriazaka ? it's the key pr for making progress on sdk work rn

need help with this @0xriazaka ? it's the key pr for making progress on sdk work rn

check the pr


React to SDK/shared runtime custom install location changes

We would need to consume location information that is set by SDK installer to a registry key.
https://github.com/dotnet/cli/issues/10100

Discussion regarding: https://github.com/aspnet/AspNetCore/issues/3855
Reference: https://github.com/dotnet/cli/issues/10100
The SDK bundle thru Visual Studio could be installed to a different volume then the default: Program Files\dotnet.
Therefore, our muxers/resolvers will need to be able to find this custom location.
The POR is to write a registry key upon SDK bundle installation:
      <Component Id="SDKInstallLocation" Directory="TARGETDIR" Win64="no" Permanent="yes">
        <RegistryKey Root="HKLM" Key="SOFTWARE\dotnet\Setup\InstalledVersions\$(var.Platform)\sdk">
          <RegistryValue Action="write" Name="InstallLocation" Type="string" Value="[DOTNETHOME]" KeyPath="yes"/>
        </RegistryKey>
      </Component>

this key is alongside the SDK installed versions in the 32-bit registry


The system cannot find the path specified

If you have this setup:
content\mon.txt
content\tue\index.md

You get this result:
Error: Error building site: open C:\sun\public\mon.txt: The system cannot find
the path specified.

Running a second time seems to fix the problem.

You didn't fill out the New Issue Template, so we don't know what version this is. Also, I don't see .txt as a supported content type, so I wonder what you expect hugo to do here.

@thetanil

You didn't fill out the New Issue Template, so we don't know what version this
is.

ok? unless youve tried to repro my issue above (not likely given your tone), and
been unable to, your comment is not constructive.

Also, I don't see .txt as a supported content type, so I wonder what you
expect hugo to do here.

well, couple of good choices here:

ignore the file
copy file as is to output
ask user what to do
allow user to config what to do via config.yaml

a bad choice would be what Hugo is doing currently.

It is a constructive comment, because I am trying to help you get help and people don't want to waste their time asking you, which is why they give you a template. Also in the future, standard bug reports show what version, what was expected, what actually happens, and the steps to reproduce the problem. You will have better luck getting help in the future that way.
If you want a file copied to the output folder you should drop it in static
Good Luck.

It is a constructive comment, because I am trying to help you get help

Frankly I dont need you to "help me get help". I can (and have) done that just
fine myself. If you wish to actually help, rather than "help me to get help",
I would be open to that.
Perhaps you should help yourself: if you had taken even a passing glance at
my profile, you would see that I am not a stranger to Git or
GitHub. So if I post an issue in a certain way it was definitely intention,
whether it aligns with your value system or not.

and people don't want to waste their time asking you, which is why they give
you a template. Also in the future, standard bug reports show what version,
what was expected, what actually happens, and the steps to reproduce the
problem.

I understand all that, and I took that into account before posting. I am using
the latest released version of Hugo, so in lieu of information most people would
use that as a starting point. I also realize that many issues are caused by
people using old (or very new) versions, which is why I am testing with latest
stable release 0.62.0.

You will have better luck getting help in the future that way.

Thats your opinion.

If you want a file copied to the output folder you should drop it in
static

No I am not doing that. and even if I did, it doesnt fix the fact that the
current behavior is broken.
Finally I would please as you not to make any more comments unless they are on
topic and toward actually resolving the problem. I do not care to read your
views of the proper way to report issues, I am quite capable of posting "the
right way" or "the wrong way", and I am well aware of the cost/benefit of both
methods. Cheers.

I just spent some time trying to reproduce this. It appears that any file with a date in the future is filtered out. I tried

with toml and yaml
with a title and without
in the future 1 day or 100 years

If the file is dated in the future at all, it's removed from both drafts and future.
I was not able to get any configuration of a future file to show up in the list.


Error mismatched types

When I build the esp-idf-template for esp-idf 5.1 with Esp-idf 5.1, I get this error:
error[E0308]: mismatched types
--> C:\Users\lpirc.cargo\registry\src\index.crates.io-6f17d22bba15001f\esp-idf-sys-0.33.7\src\lib.rs:50:62
|
50 | const ESP_IDF_TIME64_CHECK: ::std::os::espidf::raw::time_t = 0 as crate::time_t;
|                                                              ^^^^^^^^^^^^^^^^^^ expected i32, found i64
error[E0308]: mismatched types
--> C:\Users\lpirc.cargo\registry\src\index.crates.io-6f17d22bba15001f\esp-idf-sys-0.33.7\src\lib.rs:52:51
|
52 | const ESP_IDF_TIME64_CHECK_LIBC: ::libc::time_t = 0 as crate::time_t;
|                                                   ^^^^^^^^^^^^^^^^^^ expected i32, found i64
Can anyone help me? Or does anyone have a suggestion?

against what target are you compiling? what compiler version are you using? rust libc itself has a fix for esp-idf v5 to use correct time_t as a i64, and that is activated with the rustflags that are specified inside the .cargo/config.toml. So if that is not working it can only be two things i think. Either you are using an relative old rustc compiler that uses a older rustc libc that doesn't include the esp-idf v5 fix, or you have something in your environment that messes things up.

The target is "xtensa-esp32s3-espidf", the compiler is rustc 1.79.0.
What are the rustflags that need to be added in config.toml?

The templates default add the correct one if you are choosing esp-idf 5.

I think the problem may be because I'm working the xmpp crate on esp-idf-template, so I need to replace all the dependencies to libc to the newest version. Do you think it may be a possible solution?

Ahh, so your binary also currently depends on libc like 0.2.155 or something? I can see that then there could be a simple version mismatch in your dependancy graph. In esp-idf-sys we are using the libc bindings to run this time_t version check but nothing else.
You can verify that with running cargo tree | grep libc If you see different versions than that is the core problem. You can try to add a [patch.crates-io] section for libc so everything in your graph is using the patched libc version than the problem should go away.

I can try to add the patch section and see what will happen

If one of your dependancys also pins an old libc version as a hard dependancy that can be a problem. You would have to upgrade that crate to a newer libc version.

I checked cargo tree and all the crates depend to libc 0.2.155.

That is a wild stretch here, you are on windows right? i know they had a couple of problems compiling the new xtensa 1.79.0 and 1.78.0 for the windows platform. That's why both xtensa compiler versions are still pre-release. Do you also happen to have the 1.77 version installed?

Yes, I'm using windows. I can download the 1.77 version now and try it.

In any case, if that turns out fruitless, in your shoes i would try to create a minimal reproducible setup, and have a look if some of your create dependancys use time_t in any particular manner and may have a definition based on a 32bit platform here and are ignoring our upstream esp-idf libc code that defines time_t as 64bit. Other than that if one crate doesn't get build correctly with the rustflag propagated so the compiler doesn't build with the correct time_t size is the only other option i see.

Yeah user provided env variables overriding stuff can cause a problem here, that's what i was getting at when first talked about "or you have something in your environment that messes things up."

Could you clarify something for me: on CC, should I use GCC for Windows or xtensa-esp32s3-elf-gcc.exe?

you cant use any other compiler/linker than the one provided for each esp variant. We install them automatically via embuild so usually people dont need to fiddle with anything in that respect.

The gcc versions are tied to the ESP-iDF versions, for example esp-idf 5.1 is using gcc12 while ESP-iDF 5.2 is using gcc13. So you need to be real careful here and cant just do stuff willy nilly.
So again if you are not sure what you are doing i think you should start researching more on that front upfront. And i emphasize again under normal circumstances you don't need to fiddle around here at all, it should be all handled by the buildsystem automatically. If something is not handled by the buildsystem than we need to tackle it there, not my randomly changing stuff in the ENV.
I encourage people to play around and i don't want to give the impression that you should not try to learn to understand how things work underneath, but i think that can be simpler archived by reading the sourcecode in all the different layers  of the buildsystem in the rust and C part. and see what we are actually doing.

Closing this as its not really an error on our site, if you have more questions feel free to join the matrix chat.


Create API Documentation

Use phpDocumentor

Add phpdoc-style comments
Generate the documentation

Resources:

https://www.phpdoc.org/
https://github.com/stephenr85/KenticoCloud.Deliver.PHP/tree/master/docs

Pay attention to use phpDocumentator from PEAR, it's corrupted. You will get "Fatal error: Failed opening required "dompdf_config.inc.php" in Bootstrap.php on line 178" error message. There is a workaround: https://github.com/phpDocumentor/phpDocumentor2/issues/1887

fixes with commit dfc6b9683826f101c5ab9bb2e015856a74948346

Remaining:

[ ] Hook it to the CI
[ ] Make it publicly accessible


RadioVIS service not working

RadioVIS service is working when monitoring on the web player. However, testing on the firled with a Revo Axis or Samsung Galaxy, it doesn't display. The RadioVIS service is working on these receiver with the same conditions but with stations that are on RadioDNS Manager 2.0

Seems to work only in certain conditions, when the frequency is present in My Channel. In case of there's only a wildcard (*) but not the frequency, it is not working.

Solved.


[SPARK-37039][PS][FOLLOWUP] Add migration guide for behavior change

What changes were proposed in this pull request?
This PR followup for https://github.com/apache/spark/pull/44570 to add migration guide for behavior change.
Why are the changes needed?
We should notice user about any behavior change
Does this PR introduce any user-facing change?
No API change.
How was this patch tested?
The existing CI should pass.
Was this patch authored or co-authored using generative AI tooling?
No.

cc @HyukjinKwon Sorry I missed your comments from https://github.com/apache/spark/pull/44570#discussion_r1440155270, so try addressing here.


[prim] Add Reset Synchronizer to the library

For the RDC flow, it would be easier to define reset synchronizer. The logic could be same as prim_flop_2sync or slightly modified.

CC @jdonjdon @tjaychen @msfschaffner

i think this is okay to close, @eunchan already added prim_rst_sync.


Tile based movement

Is it possible to implement tile based movement (like e.g Pokemon Red & Blue)?

I would love this to be implemented, even as an option.
I would also prefer have an option for the length of the tile - either full 16px, or by 8px.

Same.

@AsherGomez - already requested in #10 ;)

Ah, thanks.

Requested on Reddit: https://www.reddit.com/r/gbstudio/comments/bqlm56/is_there_a_way_to_make_the_player_walk_one_whole/


Error when building the app: Cannot find module '@aws-sdk/lib-storage'

Hey there! I'm having troubles when building my app. I actually had it working some weeks ago.. but I'm unable to build it now due to some errors with aws-sdk (I'm using @payloadcms/plugin-cloud-storage) the app.
This is the error I get when trying to build it:
Require stack:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /Users/ignaciomonzalvo/projects/cms/valox-admin/src/payload.config.ts
- /Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/payload/dist/config/load.js
- /Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/payload/dist/bin/generateTypes.js
- /Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/payload/dist/bin/index.js
- /Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/payload/bin.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:924:15)
    at Function.Module._load (node:internal/modules/cjs/loader:769:27)
    at Module.require (node:internal/modules/cjs/loader:996:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/@payloadcms/plugin-cloud-storage/dist/adapters/s3/handleUpload.js:45:21)
    at Module._compile (node:internal/modules/cjs/loader:1092:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
    at Object.newLoader [as .js] (/Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/pirates/lib/index.js:141:7)
    at Module.load (node:internal/modules/cjs/loader:972:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>    '/Users/ignaciomonzalvo/projects/cms/valox-admin/src/payload.config.ts',
    '/Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/payload/dist/config/load.js',
    '/Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/payload/dist/bin/generateTypes.js',
    '/Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/payload/dist/bin/index.js',
    '/Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/payload/bin.js'
  ]
}
/Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/payload/dist/bin/build.js:35
        throw new Error(`Error: can't find the configuration file located at ${rawConfigPath}.`);
              ^

Error: Error: can't find the configuration file located at /Users/ignaciomonzalvo/projects/cms/valox-admin/src/payload.config.ts.
    at build (/Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/payload/dist/bin/build.js:35:15)
    at Object.<anonymous> (/Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/payload/dist/bin/index.js:16:9)
    at Module._compile (node:internal/modules/cjs/loader:1092:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
    at Module.load (node:internal/modules/cjs/loader:972:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:996:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/Users/ignaciomonzalvo/projects/cms/valox-admin/node_modules/payload/bin.js:2:1)
    at Module._compile (node:internal/modules/cjs/loader:1092:14)

Has anyone found this issue too? I actually went to my last working and I'm unable to build it now

Workaround: Solved it be manually adding this dependency to my package.json.
    "@aws-sdk/lib-storage": "^3.267.0",

I've experienced the same issue. Solved it by adding the dependency manually as well. I needed to add @aws-sdk/client-s3 as well.

Hey @imonzalvo — yes, that is the fix. You need to manually install the AWS modules if you are using S3 as described in the docs. Happy you figured it out!


signatureKey help

Hi,
Thanks for imageproxy!
I'm getting an unexpected result when trying to use the -signatureKey option.
I'm running the docker image like this:
$ docker run -p 8080:8080 willnorris/imageproxy -addr <IP_ADDRESS>:8080 -signatureKey "secretKey"
Unable to find image 'willnorris/imageproxy:latest' locally
latest: Pulling from willnorris/imageproxy
a3f7d34f655a: Pull complete
ac31147b08dc: Pull complete
5e81671dde55: Pull complete
947ad098820e: Pull complete
Digest: sha256:7e4c77d1b64db9152591dbfd8565d5d377eb8a243040efa4e241b97ba94feb1d
Status: Downloaded newer image for willnorris/imageproxy:latest
imageproxy listening on <IP_ADDRESS>:8080

Then I'm generating a signature with:
$ echo -n "https://octodex.github.com/images/codercat.jpg" | openssl dgst -sha256 -hmac "secretkey" -binary | base64 | tr '/+' '_-'
cw34eyalj8YvpLpETxSIxv2k8QkLel2UAR5Cku2FzGM=

Which I think means that the image should be available at this URL:
http://localhost:8080/cw34eyalj8YvpLpETxSIxv2k8QkLel2UAR5Cku2FzGM=/https://octodex.github.com/images/codercat.jpg

However when requesting that URL I see this in the logs:
2021/03/29 06:01:22 request does not contain an allowed host or valid signature: https://octodex.github.com/images/codercat.jpg#0x0

Am I doing something wrong?
Thanks!

I did miss that part! Unfortunately the issue still persists.
Now the signature shows up in the log:
2021/03/29 21:15:43 request does not contain an allowed host or valid signature: https://octodex.github.com/images/codercat.jpg#0x0,scw34eyalj8YvpLpETxSIxv2k8QkLel2UAR5Cku2FzGM=

ah, once possible (likely?) option is that you have "secretKey" for your docker command, and "secretkey" (lowercase 'k') for you openssl command.  I'm not able to fully test things at the moment, but that looks like a likely suspect.

It works! I was doing too much copying and pasting and not enough reading.
Thanks for the help!


commented out code that prompts people to submit form

@anjanette can you check this out before I merge? I'm pretty sure it's all good

@anjanette I updated the manifest :(
I checked my code using a test theme, and  seems to work fine for commenting out the div containing curls
    <!--This prompts people to submit native Zendesk form-->
    <!--<div class="article-more-questions">
      {{request_callout}}
    </div>
    -->


fix(AppUpdateNotification): [ER-12060] Fix non-intractable action buttons

ER-12060
Description
Because of this change https://github.com/iamhosseindhv/notistack/blob/066cb52f2c8cbdd57e1ba9c4f7937d0d603f5e50/src/SnackbarContainer.tsx#L25 in Notistack (which is released in 1.0.7 version) our Notifications got non-interactable (we can't click on action buttons which are on the Notification). It affected mostly ApplicationUpdateNotificaton.

PR commands

List of available commands:

@toptal-bot run all - Run whole pipeline
@toptal-bot run build - Check build
@toptal-bot run visual - Run visual tests
@toptal-bot run deploy:documentation - Deploy documentation
@toptal-bot run package:alpha-release - Release alpha version

@toptal-bot run package:alpha-release


add time scale feature !

add time scale feature !

Thx. Is this ready to merge?

Yes, it's ready !

Thx again.


peformance but  an issue

hi i do every thing using class map template map doctrine memchach use module cache and every thing but still a simple page without database connection with ab -k -n 1000 -c 100 test.com shows response time near 2000 why ?  why zf2 is too heavy please give me a way to speed up i lanuch my website and i am so sad for choosing this framework its 4x slower than zf1 why ? i searched web for 3 days i open all of google links and do their works for zf2 speed up but still high cpu usage and slow response

ZF3 is in progress with massive increases.  Each specific application is different and can have different potential bottlenecks.  If you are not going to supply details or cachegrind output then we cannot help you further.  Thank you for doing your research on the active gains that we have been making in ZF3 we look forward to your future issues that supply no detail and for which you have not done your research.

@faghihian71  this video is awesome, take a look https://www.youtube.com/watch?v=QwpGPlL8oZc
time of 2000 is too large, my req. of ZF2 app is only 20ms maximum... so you have to benchmark it to find bottlenecks...

@tasmaniski —
What are you running  your benchmarks on, in terms of hardware? Is it your desktop? a virtual machine? AWS EC2? Benchmarks will vary a ton based on where you run them and where the server is that you're running them against.
Additionally, you're running with a concurrency of 100; this is emulating very heavy traffic, which you would need to a use a variety of strategies for:

static caching of pages
HTTP caching
configuration caching
opcode caching
and strategies such as proposed in EdpSuperluminal, which compiles all classfiles in your application to a single file

I have consistently had < 50ms response times from Apigility applications (Apigility runs on top of ZF2), even under load by layering caching strategies such as the above.
In order to find out where to cache, you need to use a dedicated profiler. Benchmarking only takes you so far; you need some idea of where the application is spending its time, not just the overall time it takes. That's why @mwillbanks suggested cachegrind output. You can also use tools such as XHProf or Zend Server/Z-Ray to do such profiling. These tools show you where the application is spending its time, and you can use that information to improve your performance strategies.
(This is what we've done with the event manager and service manager, allowing us to speed them up considerably for their upcoming v3 versions.)

Sorry, last was actually directed at @faghihian71  —sorry, @tasmaniski !

Ok, no prob :)

@weierophinney hi and thank you for your response ,
my total memory is 4gb
my cpu is : Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz 2 core of it (i have vps of server)
nginx,php-fpm
enabled opcache on php ,
enabled memchache for doctrine ,
module chaching ,
i get benchmark with this so
after i speaking i heard that i should profiling ,so now i am go to tutorials to find out how profiling,thank you for your response i go for cachegrind and profiling
but i have question i put die ('hello world') on bootstrap function on application module in that page i havent any db connection or controller or .... so why i have high load yet ? i use classmap autoloader template map autoloader composer dump-autoload -o (for optimizing) .

@tasmaniski thank you for your good link

@mwillbanks thank you for your helping

@faghihian71 there is so much that can be causing the load.  if you are almost out of memory or even if 1 process is not tuned and you are near a memory limit and start to swap.  All of these things can cause major changes.  Server tuning is an art and many times directly relates to how you are handling things.  Sometimes it is because the disk is slow (aka look at iostat to see your percentages of load due to disk i/o).  Other things is memory and how fast you are swapping processes.
You might want to take a look at adding this: https://github.com/Ocramius/OcraCachedViewResolver
In addition, if you are running a database server on that same machine that further complicates issues and can be due to lookup, missing it from inside of a buffer pool and far more.  Mixed servers are the hardest to configure for that sense as well.  This is where things like cachegrind certainly help when looking at it and gaining a profile of what is happening inside of the actual application.  Many times, the load is simply due to how something was done vs. the framework itself.  There are means for optimizing each step out but without a profile of the application it becomes almost impossible and even improbable to know where you had hit a bottleneck.  This is simply due to the sheer amount of variance that each application has in addition to that there is a vast amount of differences in where people initialize items and more items that several people do when building out their application.

@tasmaniski @weierophinney  @mwillbanks  after i profiling my application with xdebug and webgrind
i found this high percentage of functions
Zend\Mvc\View\Http\DefaultRenderingStrategy->render
Zend\EventManager\EventManager->trigger
Zend\EventManager\EventManager->triggerListeners
Zend\View\Renderer\PhpRenderer->render
end\Mvc\Router\Http\TreeRouteStack->assemble
for doctrine:
Doctrine\ORM\EntityManager->getClassMetadata
and another thing is my routing is with  zf2 hostname routing and in profiling i found out it takes high usage


Help to remove title bar in preview using libcamera-still

i want to remove title bar from preview window when i run libcamera-still ,can any one give me solutions

Unfortunately I don't think this is possible with the window managing APIs that we use.  If you find a way to do this, feel free to create a PR and we can integrate the change.


unexcpected output

Hello.
After testing this :
#include <stdio.h>
#include <pthread.h>
#include <stdint.h>
#include "thpool.h"
#include <time.h>

void task(void *arg){
	printf("Thread #%u working on %d\n", (int)pthread_self(), (int) arg);
	usleep(rand()%1000000+1000000); // intensive task
	printf("Thread #%u finished on %d\n", (int)pthread_self(), (int) arg);
}

int main(){
	printf("Starting program v1 ...\n");
	sleep(1);

	srand(time(NULL));
	puts("Making threadpool with 20 threads");
	threadpool thpool = thpool_init(20);

	puts("Adding 9999 tasks to threadpool");
	int i;
	for (i=0; i<9999; i++)
	{
		thpool_add_work(thpool, task, (void*)(uintptr_t)i);
	};

	thpool_wait(thpool);
	puts("Killing threadpool");
	thpool_destroy(thpool);

	return 0;
}

I saw the following output:
Thread #3019622144 working on 7865
Thread #2918909696 finished on 7845
Thread #2918909696 working on 7866
Thread #2876946176 finished on 7846
Thread #2876946176 working on 7867
Thread #3011229440 finished on 7852
Thread #3011229440 working on 7868
Thread #2944087808 finished on 7848
Thread #2944087808 working on 7869
Thread #2935695104 finished on 7856
Thread #2935695104 working on 7870
Thread #2902124288 finished on 7861
Thread #2902124288 working on 7871
Thread #3028014848 finished on 7858
Thread #3028014848 working on 7872
Thread #3002836736 finished on 7855
Thread #3002836736 working on 7873
Thread #2977658624 finished on 7851
Thread #2977658624 working on 7874
Thread #2952480512 finished on 7864
Thread #2952480512 working on 7875
Thread #2986051328 finished on 7849
Thread #2986051328 working on 7876
Thread #2969265920 finished on 7860
Thread #2969265920 working on 7877
Shouldn't be something like this :
Thread #2944087808 finished on 7848
Thread #2944087808 working on 7869
Thread #2918909696 working on 7866
Thread #2876946176 working on 7867
Thread #3028014848 working on 7872
Thread #2952480512 working on 7875
Thread #2935695104 working on 7870
Thread #3028014848 finished on 7858
Thread #2986051328 working on 7876
Thread #2977658624 finished on 7851
Thread #2935695104 finished on 7856
Thread #2952480512 finished on 7864
Thread #2977658624 working on 7874
Thread #3002836736 working on 7873
Thread #2918909696 finished on 7845
Thread #3011229440 working on 7868
Thread #2969265920 working on 7877
Thread #3011229440 finished on 7852
Thread #3019622144 working on 7865
Thread #2986051328 finished on 7849
I have a feeling that this program is executing them one task after another and not in parallel.
I basically want to run some time intensive tasks (most of the time i am waiting for network response) in parallel in this way:
int i;
for (;;)
{
    thpool_add_work(thpool, task, (void*)(uintptr_t)i);
};

I don't care about getting back any response for any of the tasks submitted.
Thank you for answer.

(Trying to help the maintainers clear out some issues...)
Why do you think your output is unexpected?  Your sleep times are between 1 and 2 seconds, so (usually) the next thing that will happen after a task returns is a new task starting on the same thread that just completed its previous task.  This is exactly what your output shows.
To see it more clearly, replace your task function with the following:
#include <sys/time.h>

double startTime;
double wallTime(void) {
    struct timeval tv;
    gettimeofday(&tv,NULL);
    return tv.tv_sec + tv.tv_usec/1e6 - startTime;
}

void task(void *arg){
	int sleep_time = rand()%1000000+1000000;
	printf("%5.2f: Thread #%p working on %3ld (%.2f)\n",
	       wallTime(), (void *)pthread_self(), (intptr_t)arg, sleep_time/1e6);
	usleep(sleep_time); // intensive task
	printf("%5.2f: Thread #%p finished on %2ld (%.2f)\n",
	       wallTime(), (void *)pthread_self(), (intptr_t)arg, sleep_time/1e6);
}

Everything is completely hunky dory:
 0.00: Thread #0x700001bd6000 working on   0 (1.87)    <-- 1.87 sec task starts on thread 0x700001bd6000
 0.00: Thread #0x7000018c4000 working on   2 (1.59)
 0.00: Thread #0x700001c59000 working on   3 (1.64)
 0.00: Thread #0x700001a4d000 working on   1 (1.26)
 0.00: Thread #0x700002177000 working on   6 (1.53)
 0.00: Thread #0x700001cdc000 working on   4 (1.74)
 0.00: Thread #0x7000019ca000 working on   8 (1.03)
 0.00: Thread #0x700001d5f000 working on  10 (1.63)
 0.00: Thread #0x700001b53000 working on   9 (1.97)
 0.00: Thread #0x700001ad0000 working on   7 (1.32)
                  .
                  .
                  .
 1.64: Thread #0x700001c59000 working on  34 (1.26)
 1.75: Thread #0x700001cdc000 finished on  4 (1.74)
 1.75: Thread #0x700001cdc000 working on  35 (1.83)
 1.78: Thread #0x7000020f4000 finished on 11 (1.78)
 1.78: Thread #0x7000020f4000 working on  36 (1.67)
 1.86: Thread #0x700001f6b000 finished on 17 (1.86)
 1.86: Thread #0x700001f6b000 working on  37 (1.64)
 1.87: Thread #0x700001bd6000 finished on  0 (1.87)    <-- 1.87 sec task finishes on thread 0x700001bd6000
 1.87: Thread #`0x700001bd6000 working on  38 (1.81)   <-- new (1.81 sec) task starts immediately on this thread
                  .
                  .
                  .
 3.58: Thread #0x700001cdc000 working on  58 (1.91)
 3.67: Thread #0x700001947000 finished on 41 (1.41)
 3.67: Thread #0x700001947000 working on  59 (1.70)
 3.68: Thread #0x700001bd6000 finished on 38 (1.81)    <-- 1.81 sec task finishes at 1.87+1.81 = 3.68 elapsed seconds
 3.68: Thread #0x700001bd6000 working on  60 (1.20)
 3.88: Thread #0x700001e65000 finished on 43 (1.20)
 3.88: Thread #0x700001e65000 working on  61 (1.30)


how can i integrate CocoaLumberjack in xamarin ios app?

Hi can you help me how to integrate in xamarin ios app?

I don't have any insight on xamarin, but we can leave this open, maybe someone else can help

Seems like no answer - closing


ReferenceError: getDefaultOpts is not defined

I'm using 1.3.0 with webpack.
I try npm install --save-dev showndown, and require it in my source file.
All the builds are fine,but when i run my app, It says ReferenceError: getDefaultOpts is not defined,
what's wrong?

I believe npm install --save-dev showndown is a typo since the library is called showdown
Regardless, more information is  needed. What file is "required" by webpack? Are you using the dist files or src files?
Can you post the relevant part of your code?

var Showdown = require("showdown");
var converter = new Showdown.converter();
var Comment = React.createClass({
render: function() {
var rawMarkup = converter.makeHtml(this.props.children.toString());
return (

{this.props.author}

<span dangerouslySetInnerHTML={{__html: rawMarkup}} />

);
}
});
package.json:
"devDependencies": {
"react-hot-loader": "~1.3.0",
"babel-core": "~5.8.25",
"babel-loader": "~5.3.2",
"showdown": "~1.3.0",
"fs": "0.0.2",
"jquery": "~2.1.4"
},
"dependencies": {
"react-dom": "~0.14.0",
"react": "~0.14.0",
"showdown": "~1.3.0",
"jquery": "~2.1.0"
}

it's my spelling mistake..sorry!


makeGalaxygineTemplate.py problems

Instructions won't work if the script isn't marked executable chmod a+x makeGalaxygineTemplate.py.
Script interpreted as shell script without any hash bang line #!/usr/bin/env python3.
Script will trash any sample directory without warning.
Suggest putting makeGalaxygineTemplate.py somewhere within this repository to make it easier to track.

Thanks for pointing out the issues!


api call using service principal doesnot work

I am using service principal which has 'collection admin' role on purview and invoking REST APIs but I am getting error:
Invoke-RestMethod -Method GET -ContentType application/json -Uri "https://SIDdmz01-dev-purview001.purview.azure.com/policystore/metadataroles?api-version=2021-07-01"
Error => Invoke-RestMethod: {"error":{"code":"ResourceNotFound","message":"Resource not found"}}
documentation is not very clear about it. I am following all the notes. Purview account name is right too. Service principal has all the roles, then where is the problem? can you please update the document with some examples or screenshots.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 57f16907-e643-4a6d-3788-bf168072fb7c
Version Independent ID: b55bc925-8ec7-5471-f2bf-823b7aab8a90
Content: Learn about Microsoft Purview collections metadata policy and roles APIs - Microsoft Purview
Content Source: articles/purview/tutorial-metadata-policy-collections-apis.md
Service: purview
Sub-service: purview-data-catalog
GitHub Login: @abandyop
Microsoft Alias: arindamba

@vivekharrai
Thanks for your feedback! We will investigate and update as appropriate.

Hallo,
Documentation need to mention about access token as authentication.
It would be much easier.
Thank you
Vivek
On Wed, 19 Jul 2023, 16:15 RamanathanChinnappan, @.***>
wrote:

@vivekharrai https://github.com/vivekharrai
Thanks for your feedback! We will investigate and update as appropriate.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/112434#issuecomment-1642170837,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADWZ7T3UD3ALFVNIK6GKENDXQ7TXNANCNFSM6AAAAAA2PSKW4E
.
You are receiving this because you were mentioned.Message ID:
@.***>

Pls check and use the latest API version from the documentation : https://learn.microsoft.com/en-us/rest/api/purview/metadatapolicydataplane/metadata-roles/list?tabs=HTTP
Will update the documentation warning users to use the latest API version

@abandyop
Thank you for your response.

@vivekharrai
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.
#Please-close


How to scroll a chart left and right on pressing the left and right arrow keys?

Question
I want to scroll the chart candles left and right on left right arrow key press events. Would you please help me with how should I go about it? Thanks for your efforts to build such a wonderful package.
Code example
No response

I was going to suggest it too. The idea of compiling this project was with that same purpose, to have a good backtesting tool, many people use indicators for backtesting but there are people who only use boxes and lines without using indicators. MR. Louis, if you could make that modification you would create one of the best trading tools that can exist.
And I also have a request, in the future you could add a rectangle like in the video
https://github.com/louisnw01/lightweight-charts-python/assets/150294229/2e2d12be-c1f0-4a0a-bd06-2b1d10ef087e

Hey @anilwarbhe,
Here is a basic example of this:
import pandas as pd
from lightweight_charts import Chart

def on_arrow(key):
    global start_time, end_time
    # the amount of time to move on each press (interval * 10)
    td = pd.Timedelta(chart._interval, unit='s') * 10
    if key == 'ArrowLeft':
        start_time -= td
        end_time -= td
    elif key == 'ArrowRight':
        start_time += td
        end_time += td
    chart.set_visible_range(start_time, end_time)

if __name__ == '__main__':
    chart = Chart()

    chart.hotkey(None, 'ArrowLeft', func=on_arrow)
    chart.hotkey(None, 'ArrowRight', func=on_arrow)

    df = pd.read_csv('ohlcv.csv', parse_dates=['date'])
    start_time = df.iloc[-100]['date']
    end_time = df.iloc[-1]['date']

    chart.set(df)
    chart.show(block=True)

Louis


Any Plan Support For Apple Privacy Manifest?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

From Apple docs:
Starting in spring 2024, you must include the privacy manifest for any SDK listed below when you submit new apps in App Store Connect that include those SDKs, or when you submit an app update that adds one of the listed SDKs as part of the update. Signatures are also required in these cases where the listed SDKs are used as binary dependencies.
Could you please add a privacy manifest for this library? See the following URLs for additional information:
https://developer.apple.com/news/?id=r1henawx
https://developer.apple.com/documentation/bundleresources/privacy_manifest_files
@pro100andrey

Hi @linhaosunny, I will add the manifest soon.
Thank you!

@linhaosunny Apple Privacy Manifest -  added in lame v1.2.0


Can't clone from GitLab

Hi,
I'm currently struggling with cloning from GitLab.
When doing so, I get following error:

This is the error in the console:

And my server shows this:

I set up my server with GitLab hosted on gitlab.example.com, and strider on strider.example.com, but using a nginx reverse proxy on the same server.
Do you have any idea why it is not working?

Have you tried this https://futurestud.io/tutorials/strider-how-to-connect-with-gitlab-and-run-tests-automatically ?

@pavethiran was the above guide able to help you through this?

Gitlab API was updated, update that plugin to get the fix


Daily Quests that change each day.

What does your feature do?
Daily Quests like there is in battlepass.   The quests do not have to be joined by the player.   Every 24 hours new quest(s) begin. If any player meets the quests goals within the time frame  they get the reward.  The quests change each day.
How would people use it?
Players would not have to select and join these quests like they usually do.  They win the rewards if they complete the tasks within the time frame.  Some kind of notice could be given in chat letting them know what the daily quest is and of course there would be the ability to see it with commands.

I do not know what "battlepass" is, but it sounds like you want to assign all players a quest simultaneously. This can be accomplished with a Denizen script, perhaps alongside Depenizen.


Support Phongo (pecl/mongodb)

As mentioned here and here, starting with PHP7, due to be released on November 12th the old pecl/mongo extension will not be supported. It's replacement will likely be the pecl/mongodb driver, codenamed Phongo.
Seeing as PHP7 is dramatically faster than PHP5(.6), I think supporting the new driver as soon as possible would be a good idea. Not sure if it's better to create two versions/branches or to abstract all the driver API calls somewhere. In any case, the "php-mongo" API shouldn't need to change.
If I have any spare time, I might start with implementation myself.

Also, the API docs are already on PHP.net.

i'm already thinking about that. will be glad for any help

PHP 7.0.0 has been released; I think this should now be prioritised.
I thought about writing a backwards-compatible layer for the new driver, but don't have much time nowadays. For the moment, I might just use https://github.com/mongofill/mongofill although performance will definitely suffer.
@sokil Thoughts?

Old pecl driver now legacy, so i see only one right way - replace it with phongo, because this extensions too differ to try use them both. Legacy extension works with collection and database objects, new extension is low lewel and want to implement database and collection objects in php side. Support of legacy extension will be moved to compatibility layer.

@sokil Any new updates/plans for this? Can help if help is needed.

No updates and currently no plans. Sorry

Currently support of PHP 7 implemented in branch https://github.com/sokil/php-mongo/tree/php7-compat-layer. Solution based on https://github.com/alcaeus/mongo-php-adapter. After few test and improvements it will be released. I will be happy about performance reports and bugs in your code.

https://github.com/sokil/php-mongo/releases/tag/1.20


Update dependencies to match those in 'functional'

Description
... and fix the few errors that the new mypy version catches.

bors try

bors try

bors try

bors try-
bors try


Added Newton Vocational School

https://www.newton.se/
https://www.newton.se/utbildning/systemutvecklare-java/

@J-Reboia I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host edu.newton.se not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!

I think there was an issue with the domain at my school, they are saying they fixed it now, so maybe we could try again?


Select, change the location of the cursor, keyboard select all  text on TextField will cause the whole screen repaint

Steps to reproduce
This is an issue that exists for a while.

Open the widget inspector
Enable the repaint highlight border
Do any behaviors below
Click the TextField and select all (Not sure if this is an issue)
Use the keyboard Command + A to select all
Long press the Space key to change the position of the cursor

Expected results
Only the TextField repaint border is highlighted.
Actual results
Not only the TextField repaint border is highlighted, but also the screen border.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  try {
    runApp(const MyApp());
  } catch (error, stackTrace) {
    print('$error $stackTrace');
  }
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> with TickerProviderStateMixin {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: RepaintBoundary(
          child: Container(
              width: 300,
              height: 40,
              decoration: BoxDecoration(
                  border: Border.all(color: Colors.black, width: 1)),
              child: const TextField(
                decoration: InputDecoration(
                    contentPadding: EdgeInsets.all(4),
                    hintText: "Please input something"),
              )),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Click the TextField and select all

https://github.com/user-attachments/assets/d8d6070c-8270-41cf-b6cb-e44b626d06d5

Use the keyboard Command + A to select all
There is an issue found on Simulator, but not be able to reproduce 100%. On iPadOS, the Command + A is totally not working on the simulator.

Here is the video for macOS
https://github.com/user-attachments/assets/e1ce0f4e-83fd-4b3b-b225-527a4de22f03

Long press the Space key to change the position of the cursor

https://github.com/user-attachments/assets/189c2235-e2e2-4fa5-b826-de858eccb89c

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel master, 3.24.0-1.0.pre.440, on macOS 15.1 24B5024e darwin-arm64, locale en-US)
    • Flutter version 3.24.0-1.0.pre.440 on channel master at /Users/suica/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a3bbb24dd5 (3 weeks ago), 2024-08-05 07:10:31 -0400
    • Engine revision 0aac603420
    • Dart version 3.6.0 (build 3.6.0-114.0.dev)
    • DevTools version 2.38.0

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/suica/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2024.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 17.0.10+0-17.0.10b1087.21-11609105)

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

[✓] Connected device (5 available)
    • iPhone 15 Pro Max (mobile)      • 3769C520-F736-476F-9552-9A7DF8470439 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-5
      (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 15.1 24B5024e darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         • macOS 15.1 24B5024e darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript • Google Chrome 127.0.6533.120

[✓] Network resources
    • All expected network resources are available.

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Thanks for the report!
This is similar to an issue at https://github.com/flutter/flutter/issues/146338. Per https://github.com/flutter/flutter/issues/146338#issuecomment-2043299781, if you have a specific case that raises a performance issue, please file a new issue. Thanks!
Closing this issue as a duplicate.

@huycozy Hi I think that the issue is not 100% the same. As I mentioned at the beginning, the issue #146338 seems to be fixed already. Previous covering RepaintBoundary doesn't prevent the repaint of the whole screen, we have to wrap the TextField with Stack. This issue seems to be fixed already, at least RepaintBoundary works.
This issue is something similar and different that some other manipulation can also cause repaint. I don't agree with just close this ticket simply.

As I mentioned at the beginning, the issue https://github.com/flutter/flutter/issues/146338 seems to be fixed already.

I can't see this mentioned there. Which comment on that issue do you see that the issue "seems to be fixed"?

@huycozy Very sorry for that mistake, I may deleted it when I submitted. I noticed the issue #146338 long time ago, and recently found that RepaintBoundry works now. As you can see in the video below.
https://github.com/user-attachments/assets/5866268a-1cf4-4abb-9017-9cde2ef5cdc3
And that is for the text input, and the problem I mentions in this issue is similar but that issue does not mentioned.
These behavior will trigger the whole screen repaint now:

When user trigger the focus event
When user click any button below (Copy, select all)

When user connect to physical keyboard and press Command + A
When user use digital keyboard and press space to move cursor in the TextField

but it still have some other issues in the ticket and https://github.com/flutter/flutter/issues/146338 did not mention.

Thanks for the update. The cases you shared are all around TextField and keyboard. Please see  https://github.com/flutter/flutter/issues/146338#issuecomment-2043299781. That being said if this causes a performance issue, please file an issue with a specific case for it.


Add nodeSelector to cronJob helm chart

Fixes https://github.com/kubernetes-sigs/descheduler/issues/479

This looks good to me.
@stevehipwell would you have time to review as well?
/kind feature

Thanks for the review @stevehipwell , I made your changes. Please check if they look good :)

Also the Chart.yaml file will need to be updated if this needs to be published.

I think this can wait to be published until the next release, so we don't need to update now

Looks good @damemi.

@seanmalloy good catch, updated

/lgtm


UNOMI-225: Add support for basic authentication on ES7 client

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/unomi-pr/80/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/unomi-pr/82/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/unomi-pr/81/


Add Fabric2Discord and Colorful Anvils

The list is now autogenerated; please create .toml files in the src/mods/ directory instead.

oh, sorry 😓


Updates documentation wording

This documentation is about migrating from Paperclip to Shrine.
In one sentence, however, documentation misspoke and referenced "CarrierWave" instead of "Paperclip"
This itty-bitty commit cleans this up

Thanks for the patch!


Use ghcr.io instead of quay.io as default registry

As most of our runs are from inside Azure, we prefer using ghcr.io
as primary registry. That affects only default settings.

TY!


[SPARK-23280][SQL][FOLLOWUP] Fix Java style check issues.

What changes were proposed in this pull request?
This is a follow-up of #20450 which broke lint-java checks.
This pr fixes the lint-java issues.
[ERROR] src/main/java/org/apache/spark/sql/vectorized/ColumnVector.java:[20,8] (imports) UnusedImports: Unused import - org.apache.spark.sql.catalyst.util.MapData.
[ERROR] src/main/java/org/apache/spark/sql/vectorized/ColumnarArray.java:[21,8] (imports) UnusedImports: Unused import - org.apache.spark.sql.catalyst.util.MapData.
[ERROR] src/main/java/org/apache/spark/sql/vectorized/ColumnarRow.java:[22,8] (imports) UnusedImports: Unused import - org.apache.spark.sql.catalyst.util.MapData.

How was this patch tested?
Checked manually in my local environment.

cc @cloud-fan

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/465/
Test PASSed.

Test build #86916 has started for PR 20468 at commit c44c477.

thanks! LGTM

LGTM

LGTM

Test build #86916 has finished for PR 20468 at commit c44c477.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/86916/
Test FAILed.

Jenkins, retest this please.

Test build #86925 has started for PR 20468 at commit c44c477.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/474/
Test PASSed.

LGTM

Test build #86925 has finished for PR 20468 at commit c44c477.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/86925/
Test PASSed.

Thanks! merging to master/2.3.


Is Taxee API updated regularly with latest changes in Tax Brackets ?

Hi Team,
Please have a look at the data i have shared in screenshot about Federal and State Tax for year 2018 that has data been calculated from 3 sources :-

My Client data calculated manually
Data calculated by Taxupdate.com API (which is paid subscription based)
Data calculated by Taxee API

My client data and Taxupdate Data matches very closely. But Taxee data varies a lot.
Can you confirm that Taxee data is accurate as per latest changes in Tax Brackets and can be relied upon for use in production environment ? If not, can you do anything to improve the results?
Regards,
Parampreet

Hi @OzzyTheGiant,
I have a similar requirement, what API did you end up using?
Thanks

Curious what you decided to go with @vbk-github ? I'm building a calculator where I'd like to use an API for all the income tax calculations, including deductions by state. Evaluating Track.tax and Hurdlr's Tax API engine.

I stuck with this API. There really isn't anything out there to fill this need. I guess there's not much intersecting interest between web developers and accountants to create a robust, free, open source API for this type of stuff, and I don't blame them as this would have to be updated every year with significant changes. Either way, I haven't updated the tax tool since I built it.

@kygwang I'm still looking for a Tax API engine.

If anyone's still looking for a tax calculation API, we at PolicyEngine serve one. Here's our API documentation. We're a nonprofit and serve this free of charge, and our rules are open source at https://github.com/PolicyEngine/policyengine-us.
Currently we have federal income tax and state income tax models in six states: MA, MD, NY, OR, PA, and WA. We'll also likely finish CA, IL, and MO in the next month. But we could pretty quickly ingest this taxee data so we can serve brackets and compute rough tax before credits in all states if there's appetite.
Feel free to reach out - I'm<EMAIL_ADDRESS>


multiline body for outlook.com/office 365

newline \n not working
Neither \r or \r\n
Have asked here: https://github.com/InteractionDesignFoundation/add-event-to-calendar-docs/issues/14

Fixed in 0.2.1


License of Assets

When apidoc is generated assets are copied next to the generated documents. These assets seems to be licensed under Apache Lisence. The license file and appropriate copyright statement for assets should be included to the assets directory.

So, this always seemed rather weird to me - putting a license in the assets folder would be confusing as some user data, which is not owned by typedoc, is also copied into the assets folder. I recently did some searching and found the following.
https://github.com/swagger-api/swagger-codegen/issues/2963#issuecomment-258559506
Which makes sense for the generated files, certainly, but doesn't really say anything about the assets... practically, I'm not sure that forcing all of typedoc's consumers to copy an extra file around is worthwhile. Other documentation generators also do not do this extra copying. We haven't had any instances of abuse that I'm aware of in the history of the project, and making every generated site larger in an attempt to preempt this seems like a bad idea. The Creative Commons foundation has a snippet on their website which I think supports this:

Creative Commons licenses are copyright licenses, enforceable by law. However, enforcement of the licenses should be a way of making sure that creators are treated fairly, not a scheme to trap well-meaning reusers who would be willing to correct errors. If users are afraid to use CC-licensed material because the cost of error is unfairly high, CC’s goals are not met. - CC

With this in mind, I'm going to close this as a won't implement. If some lawyer comes in and tells me I'm wrong, well, will deal with that in the event that it happens.


STAR-1897: Fix repair_admin summarize-pending command

It seems that repair_admin summarize-pending command had a bug which resulted in it throwing OpenDataException. This patch adds a missing composite in PendingStats.toComposite which ensures the conversion happens correctly.

http://butler-stargazer.aws.dsinternal.org/#/ci/upstream/compare/ds-cassandra-pr-gate/STAR-1897/to/ds-cassandra-pr-gate/vsearch
failures are all known flakies.