Last two from v 2.xx family: Responsiveness = Unusable

Bug Report
IMPORTANT:
Please follow this template strictly when reporting bugs. Providing detailed and accurate information helps the development team to understand and address the issue effectively.
App Version: [last 2 versions as of 2023-12-12]
Platform: [Windows 11 on  Intel(R) N95   1.70 GHz
Installed RAM	16.0 GB (15.8 GB usable)
Installation Method: [Direct Download / Other]
Bug Description:
Loading and using 2.1xxx is so sluggish and unresponsive that I had to revert back to 1.x
Expected Behavior:
normal, robust functionality
Actual Behavior:
Expected app to not take 4-12 seconds to even enter a keystroke
Plus, memory usage was very excessive.
Am I alone here?
All other apps normal.
And I really like the changes I saw in the UI!  :O  :(
Is Bizarre.

I haven't experienced any memory leaks myself nor haven't heard of any real performance issues. There was a rendering issue with very large todo file, but only during scrolling, plus it has been fixed in 2.0.3.
Without more details, I don't know what to do here. Maybe some Windows users can comment on it.

It's not so extreme in my case but I've also noticed some delays. For example when I drag sleek-2.0.4-rc.1 window to another monitor (from normal window state to maximized on 1080p display, about 70 tasks in file) it takes about 5s to redraw it.
No such issues with sleek-1.3.2-rc.1 or other app I'm using.
I'm on latest Debian Trixie.

@qalisto are you also experiencing any of the issues @qalisto is describing as well? Like a slow app start, an increased memory usage, 4 seconds to accept input from a keyboard and so forth?

Not really, just redrawing while moving. It starts in about 3.5s, so OK. No real issues with memory consumption (340MB), no keyboard delay.

No re-drawing issues on Debian 11.x either. The currently open file has around 50 todos. I'll monitor RAM usage and report if something is way off.

This could be related to https://github.com/electron/electron/issues/29868#issuecomment-1472071904. The thread is about Windows Defender slowing down Electron based apps. I was skim reading the thread and nobody found a proper solution. However at the end somebody asks, if this might be related to missing code signing. And if because of that Windows Defender might be slowing the app down.
So I checked the building pipeline of sleek and saw, that for the last releases, the code signing for the Windows builds did not happen. Was Windows asking you guys something like "if you really want to open the app", or similar?
After fixing the pipeline, the Windows builds are now properly signed again. It's a long shot, but please feel free to give it a try @qalisto  @amariusz @andrei-a-papou @swantzter: https://github.com/ransome1/sleek/releases/tag/v2.0.4-rc.3

@ransome1 well 2.0.4-rc.3 and above is signed with a certificate. But I still get a warning when trying to install the application that it comes from an unrecognised/unverified publisher.
I looked at the installer properties and (pardon me, non-work laptop is in swedish) I get a list of signatures, as expected:

Upon digging into it via "Information" I'm told that it is signed but that the certificate in the signature cannot be verified.
Looking further at the signature chain it seems the executable ahs been signed by an Apple Developer certificate
 which is not a valid/trusted windows code signing certificate
I get this error message when trying to install, it's bypassable via "More info"

I think I was mixing things up:

We are able to use the Apple Developer certificate to push sleek to the MAS and also sign the binaries.
We are able to use the Microsoft Developer certificate to push sleek to the Windows App Store but are not able to sign the binaries with it.

The pipeline trying to use the Apple certificate to sign the Windows app, was me not giving it enough attention. I removed the signing process from the Windows pipeline.
So I guess sleek's Windows binaries were never signed in the past, unless it was downloaded via the Windows App Store.
I'm refactoring a lot currently and will push an experimental pre-release of 2.4 soon. Since qalisto has gone rogue, can I ask you to check if it runs more smoothly now (on Windows)?

@swantzter could you try out rc.5 on Windows and let me know, how it runs? https://github.com/ransome1/sleek/releases/tag/v2.0.4-rc.5

Hello,  I got around to first  (today) trying 2.04 rc5 and it proved to be far more robust.  Then, in last few hours, rc.6 came and I will now test it.
Whatever was making the problems 3 weeks ago are addressed, although, the interesting UI improvements clearly came at a cost to my sys setup.
Was it expected that, for example, New ToDos would be slower to activate and tab navigation would be several milliseconds slower compared to 1.x?
In any case, 2.04 rc.6 clearly no longer presents the "molasses" issues before.
Need to get used to the new UI changes.  I do miss the "Clear" function that was used to exist at bottom of Calendar icon when setting Date.  I found it indispensable for eliminating Due Dates when the key parameter for the Task became Project Dependent vs Time Dependent.
Am relieved because I am intriged by the improvements. ###

Was it expected that, for example, New ToDos would be slower to activate and tab navigation would be several milliseconds slower compared to 1.x?

I second that. While v2.x has lots of UI and UX improvements, the new animations do take more time to execute, so it does feel somewhat less snappy than 1.x.

If it is just the animations, which make it feel less snappy to some users, and not the general performance, this could be easily solved by a setting. Since we're using React, almost all animations can be disabled by a single line of code. I could add this setting in the next release, but it would be a hidden one. You would need to change it in the config.json.

@ransome1  Under Linux, yes, it feels like just the animations, not a general kind of sluggishness. I'm using a pretty old laptop, by the way. I'd love to test this hidden setting when it's available.

@andrei-a-papou @qalisto the new setting is part of: https://github.com/ransome1/sleek/releases/tag/v2.0.4
I did not add it as a toggle in the settings window. Instead you will have to manually edit the config.json. To locate it please check this page: https://github.com/ransome1/sleek/wiki/User-data-folder-location
There is also a built in way of using the window menu's sleek entry, then About and then Reveal location of config folder.
The settings name is disableAnimations and it is set to false per default. Change it to true, save the config and restart sleek. I tested it, but if it doesn't work on your side, please let me know.

@ransome1 Thank you, it seems to be working fine! I'll keep animations disabled for now and report any issues.

@ransome1  When I toggle the navigation (e.g. via Ctrl + Alt + H), animations appear to be only partially disabled, which looks a little weird. Would it be possible to fully disable them for toggling the navigation?

That should not be a problem. I will add this to the next release.

@amariusz I was able to remove some MUI (the framework, that help me building the GUI) overhead from sleek. And looking at the performance metrics in the developer tools, it did improve for instance the startup time a little bit on my machine. But I never really had issues on that hardware, so it's hard to say, if these improvements have an impact on different, maybe older hardware, or not. But it is worth a shot I think: https://github.com/ransome1/sleek/releases/tag/v2.0.7-rc.1

Unfortunately I haven't observed any performance improvments with this version. Startup time is OK for me (3s), but as I've wrote before - maximizing Sleek's window can take up to 5s.
Resizing the drawer is not very snappy, the animation lags behind mouse curosor a bit. But that's not an issue for me.
BTW. If I resize the drawer up to the point when terminal output is showing some negative value:

Set drawerWidth to -11

.. and release the left mouse button - it becomes impossible to change drawer width. It seems the only way to get this behaviour back is to fix it manually in config file by setting e.g. "drawerWidth": 100.

Resizing the drawer is not very snappy, the animation lags behind mouse cursor a bit. But that's not an issue for me.

Have you tried deactivating animations? There is now a setting in the interface. You might need to restart the application.

BTW. If I resize the drawer up to the point when terminal output is showing some negative value:

This is interesting. How do you achieve this? On my end I cannot drag the drawer this far to the left.

Have you tried deactivating animations? There is now a setting in the interface. You might need to restart the application.
Yes, I have tried. Some animations are evidently gone but performance wise I'm not observing any significant difference.

This is interesting. How do you achieve this? On my end I cannot drag the drawer this far to the left.
While dragging the edge and shrinking the drawe UI resizes up to about 300 pixels(?). After this point resizing stops, but I if I continue dragging terminal reports lower values and then negative ones.

While dragging the edge and shrinking the drawe UI resizes up to about 300 pixels(?). After this point resizing stops, but I if I continue dragging terminal reports lower values and then negative ones.

Well observed. I can reproduce it.

but as I've wrote before - maximizing Sleek's window can take up to 5s.

@amariusz about the window operations, could you please check https://github.com/ransome1/sleek/releases/tag/v2.0.7-rc.2? In the previous versions operations like resizing or changing the position of the window were persisted while the event was firing. This did not seem to be an issue on Macs. But I read, that Windows systems tend to fire the events more frequently. And of course if resizing the window fires hundreds of events to persist the new dimensions, this could lead to a laggy resize process. v2.0.7-rc.2 has now a delay implemented, which persists the settings only once per event and only 500ms after it has finished.
Generally this should be good practice but I cannot say for sure if this solves the issue on your end. It will definitely not solve the lack of snappiness in your drawer through. It is worth a try.

That seems to be the rootcause - with v2.0.7-rc.2 maximizing and resizing is instant on my Linux (Debian Trixie, KDE)! 👏

It's good to hear that it improves the issue on Linux! If you ever come across a Windows machine, please let me know, if it has the same positive effects.

(1) Did clean install of 2.0.5
(2) Disabled Animations
But, CPU consumption jumps from avg of ~0.2 - 6.0% and RAM  jumps with v 2.x  from 161mb to 264mb on same ToDo file.
So for me ... more optimizations are hoped for.
Rolling back to 1.3.2
Again, let me note that the UI changes are very nice, but too "expensive" on my Config.
If there are any Security reasons to stop using 1.3.2 (and I should go to 2.x), please kindly advise.
If you think significant optimizations may have been made and I should give latest pre-releases a shot, please also advise.
Sorry for time lags, I can see I will be overclocked for this quarter at least.

thanks for info:
▒▓▒>>> You Said: "If you're happy with 1.3.x you could simply stick with it. But since it is not being updated anymore, I would advice you to built it from source code and before doing this, to update sleeks dependencies. Because those are outdated and may pose a security risk.
▓▒▓>>> I Comment:
(1) sorry, I am not a Coder.  Is building from the availed source code do-able by a tool within GITHUB?  Or do I need to go to Microsoft and get compiling tools for my OS/Processor config?
(2)  Is there a webpage that lists the current Dependencies for the extant versions of Sleek?

@qalisto you don't need any coding knowledge to build the app from source.
The minimum you need is to install node.js.
Next you would download the source code. You can either do this with the Git command line tools using a shell. In Windows you have PowerShell for this.
But you don't need to do this, you can also simply download the source code from GitHub:

Once you have the sleeks source code on your computer, you need to extract it and navigate into it using a shell.
Once in sleek's directory, you simply need to type:

npm install
npm run build:windows

This will build the app and the result will be placed in the /release/build/.

@qalisto you don't need any coding knowledge to build the app from source.

This will build the app and the result will be placed in the /release/build/.

@ransome1:  Clearly stated and understood.  Thank you sir!

I'm trying to get back to sleek after a long break using other todo.txt software.
I imported by todo.txt file (about 2500 entries) and I ended up getting to this issue/thread to see if others were seeing what I am seeing.
I am getting EXTREMELY sluggish performance on Windows. For example, to scroll through the 2500 unfiltered entries (which takes about 3 seconds in a text editor) took over 4 minutes. Rendering each single page of scroll took a huge amount of time. Working on a filtered subset makes things a bit faster - but not much (filtering down to about 200 entries still takes many seconds - like about 10 seconds - to view the next batch of about 20 items).
Sleek is looking great, but this problem makes it unusable for me as an alternative right now.
I don't think this is going to be a Windows defender issue as I have that turned off.


APIs have no vendor information in cbuild.yml under license: node

The Problem To Be Solved
I would recommend to add the vendor information to APIs in the license: node of the cbuild.yml files.
Currently this is the output:
    components:
        - component: ::CMSIS Driver:GPIO(API)
      :
        - component: ::CMSIS:RTOS2(API)
        - component<EMAIL_ADDRESS>        - component<EMAIL_ADDRESS>

APIs do not have vendors, API ID does not contain Cvendor prefix.

According to the specification/schema an API does not have an attribute "Cvendor" as the intention is that it is vendor independent and there is no vendor specific deviation.
see: https://github.com/Open-CMSIS-Pack/Open-CMSIS-Pack-Spec/blob/86e26a4c38ebab98e3695b039a026964a6e0ba26/schema/PACK.xsd#L1432
Nevertheless we could use the vendor of the pack representing the owner of the api or represent a standard but we have this in the Cclass above "CMSIS".

OK, thanks for clearfiy.  I would not put :: in front of it. But this is rather cosmetic.  It would be then consistent with the documentation: https://github.com/Open-CMSIS-Pack/cmsis-toolbox/blob/main/docs/YML-Input-Format.md#component-name-conventions


Added tests for Reel::Request

Added two new tests for Reel::Request class.
@digitalextremist Please check the correct context of the test comment if better position for the tests can be provided.
Code base coverage increased from 91.35% to 91.57% covered.
Coverage for lib/reel/request.rb increased from 97.01% to 100%

Code base coverage increased from 91.35% to 91.78% covered.
Coverage for lib/reel/connection.rb increased from 94.74% to 96.84%

@digitalextremist check for merging
**91.78% to 92.4% overall coverage.
Coverage for lib/reel/connection.rb increased to ••90.91%••

Once you make the change I mentioned, this is good to pull. Great work @prathmeshranaut

@digitalextremist Please take a look.


Short options are given as example for long options

Given the following code:
import configargparse
p = configargparse.ArgumentParser(default_config_files=['/etc/foo.conf'])
p.add_argument('-u', '--url')
p.parse_args()

Running it with --help results in the following text:
usage: bug.py [-h] [-u URL]

Args that start with '--' (eg. -u) can also be set in a config file
(/etc/foo.conf). Config file syntax allows: key=value, flag=true,
stuff=[a,b,c] (for details, see syntax at https://goo.gl/R74nmi). If an arg is
specified in more than one place, then commandline values override config file
values which override defaults.

optional arguments:
  -h, --help         show this help message and exit
  -u URL, --url URL

The eg. -u should be eg. --url

you're right, it should print the long option.
A pull request / fix would be appreciated.

I already had a look at the code when I created the issue and was unclear about the structure of the options array, so gave up. Could you provide some hints?

I've just made a test with regular argparse (which, as I understand, is a parent class of ConfigArgParse)
https://ideone.com/4PNHk4
This test shows the the behaviour of argparse depends on order of arguments.
import argparse
p = argparse.ArgumentParser()
p.add_argument('--test', '-t')
p.add_argument('-a', '--another-test')
p.parse_args(["-h"])

Output:
usage: prog [-h] [--test TEST] [-a ANOTHER_TEST]

optional arguments:
  -h, --help            show this help message and exit
  --test TEST, -t TEST
  -a ANOTHER_TEST, --another-test ANOTHER_TEST

A fix is to replace the code here:
https://github.com/bw2/ConfigArgParse/blob/8bbc7de67f884184068d62af7f78e723d01c0081/configargparse.py#L806-L807
with
        msg += ("Args that start with '%s' (eg. %s) can also be set in "
                "a config file") % (cc, [c[0] for c in config_settable_args if '--' in c[0]][0])

i.e. replace config_settable_args[0][0] with [c[0] for c in config_settable_args if '--' in c[0]][0]


Support for Serial

One of the nicest features of the Arduino OSC library was the support for all kind of transports, including Serial.
Its great for non networked MCUs to have a good high level protocol to speak to a PC.
The node.js (and by that also the node-red) OSC library supports it for that reason as well.
What would you think about adding Serial support to the library?

Sounds relatively straight forward. I'm not yet very proficent in developing libraries for MicroPython, I might find time next year to get into it if you don't find the time or motivation :)
Will ask in here again if nothing happened by anyone by then before coding something to avoid dupe work.


Warning: TF_OLD_DATA ignoring data from the past for....

Dear 748811693aB (are you human?) :)
This error is an internal ROS error that's usually found in simulation or when reproducing ROSBAGs.
For example, when dealing with ROSBAG you have to make sure:

The global parameter "use_sim_time" is set to true:   > rosparam set use_sim_time true
You make the rosbag util publish the recorded clock:  > rosbag play  --clock

(if you use a gazebo simulation, you only have to run the first point)
Hope it helps.
Best,

Of course, I am a humanbeing. just with a weired user name. LOL    :->
your method helps me a lot . Thank you very much.


Check for an extra leading directory in the uploaded dataset archives

My actions before raising this issue

[ ] Read/searched the docs
[ ] Searched past issues

Expected Behaviour

Current Behaviour

Users often upload an archive with an extra leading directory, which is created by an archiver when a common approach is used: select files -> make archive in the file explorer menu. There is a problem with this approach that it prevents us from locating a dataset in multiple cases. Currently, the problem is partially mitigated by making search for datasets in Datumaro recursive, but in some formats we don't just call "detect dataset", but we also do some extra actions, involving file search, and these searches are not aligned with the recursive search logic.
Possible Solution

Maybe, we should check the extracted files to only contain a single directory, and make the following actions inside that directory.

Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Next steps
You may join our Gitter channel for community support.

@kirill-sizov, @IRDonch

Makes sense to me. I think it's a better approach than trying to recursively search the archive for a dataset.

Related https://github.com/openvinotoolkit/datumaro/pull/623


Feature Request: Add prop for calling a method when in view

Hello and thanks for the great component.
I'd like to request a feature where you can pass a prop to react-lazy-load that is a function to call when the lazy load kicks in and the item comes into view.  What do you think about this?

I actually created a PR to add this, pretty simple :)

Check my comments in PR, and after fixes I'll accept your request;)


Make add button smaller

I propose that instead of having a large + square in each group, there could be a small + square next to the group name. Right now I have one row that is completely empty aside from the add button and it takes up a lot of space.

Thanks for the suggestion! I'll try this and may add it as an option, as I don't want to "break" the UI.

I just released v1.5 which includes an option for this! :)
Full Changelog

Works great, thank you!


Fix PyCall build in CI

Changes (likely in PyCall) have made it such that the old master does not pass CI anymore if reran. This should take care of that by upper bounding PyCall and building it properly in Travis.

For some reason, on Windows, Python 3.6 is picked, numpy is installed for Python 3.6, then pandapower is installed for Python 2.7 (causing everything to switch to Python 2.7), then at run time it tries to load Python 3.6 again.

On AppVeyor this has been failing for a really long time. Should we care, though? I did have an older version of this running fine locally on Windows before, but it has been ages since I last tried.

It's probably fine without it


Bluetooth: Audio: Update bt_audio_stream_ops

Removes the connected and disconnected callbacks.
Removes the recv callback for broadcast source.
Guards the callbacks to only exist for specific roles.
fixes https://github.com/zephyrproject-rtos/zephyr/issues/41188

@Casper-Bonde-Bose please approve if your issue is addressed


[ENH] export key objects at root

This PR adds exports at skbase root level, for BaseObject, BaseMetaObject, BaseEstimator, and all_objects.
Fixes https://github.com/sktime/skbase/issues/110
Of course it's worth discussing whether we want this, first (in #110)

Arrrghhhhh same test failure as per https://github.com/sktime/skbase/issues/114
and this time I don't even know where I would have to add the expected function in the config...

@fkiraly I personally am not a fan of having things exportable from multiple public facing modules (e.g., skbase.base or skbase.lookup and also skbase). To me it creates ambiguity in expected usage by our (eventual) downstream users.

alright then. Let's keep it as is if you feel that way - no too strong opinions.


HA install variable results

I’v been running your excellent script for some time, and have just tried it running under HA. The results have been mixed. Sometimes it works, sometimes it doesn’t. I see no errors in the HA log when it doesn’t work. The log looks OK, except it has no message indicating a successful connection, even when it works:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.

Sometimes I get a string of timeout errors after some time, but I can ping the Envoy fine from HA. Sometimes it will take quite a few minutes before it starts. All very variable really!
Can you think of any troubleshooting I can try? I can pretty easily get it to the point of not working by simply stopping and starting it a few times.

Interesting, I've never had a problem, it starts and runs reliably without any issues. It even gracefully stops/restarts after the HA OS is updated as I did this morning.
What device are you running HA on? Mine is running as a virtual machine in a macbook pro thats been repurposed and is running Linux Mint. I assume you previously ran the script outside of HA on the native host itself? I have noticed if i start the addon and then go immediately to the log, it seems to miss a lot of output - if i start it and wait about 30 second then look at the logs it will always display the full message. I doubt it's my code doing this as it seems to be a problem with the addon store panel.
Have you tried using the windows/mac/linux app called Mqtt explorer? http://mqtt-explorer.com/  - point this at your broker and you'll see the raw real-time output from the script which might help your fault finding.
Further fault-finding you could try - copy all the files to a new directory you create in addons, it will then show-up as a new Local addon section.

It's certainly weird. If you manually stop the add-on, then start it again, how long does it take to kick in? Mine sometimes starts quickly, but often doesn't seem to kick in at all, and sometimes after a few minutes. MQTT Explorer shows no activity at all on the /envoy/json topic when it doesn't start properly. Even after waiting a long while, the log doesn't show the "connected" message.
I'm running on an HA Blue box, Hassos 7.6, Core 2022.4.1 (all the latest). When I stop and restart the add-on, this appears in the main HA log, which I suppose is correct:
22-04-09 21:42:10 INFO (SyncWorker_0) [supervisor.docker.interface] Stopping addon_13e68335_envoy_to_mqtt_json application
22-04-09 21:42:11 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning addon_13e68335_envoy_to_mqtt_json application
22-04-09 21:42:45 INFO (SyncWorker_2) [supervisor.docker.addon] Starting Docker add-on 13e68335/aarch64-addon-envoy_to_mqtt_json with version 1.0.3
22-04-09 21:42:46 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqtt'
22-04-09 21:42:46 INFO (MainThread) [supervisor.auth] Successful login for 'mqtt'

Playing with stuff in Addons is a bit beyond me at present. How would I even get to that directory, and where exactly would the add-on show up?
Thanks for the follow-up!

Don't worry about adding it as a local addon, it was only if you wanted to do some of your own in depth testing. Mine starts within a few seconds and the HA log looks normal. Maybe increase the HA log detail to see if any other messages appear:

logger:
  default: warning
  logs:
    homeassistant.components.enphase_envoy: debug

This may be asking too much, but is there any chance you could add some more diagnostics to your own logging at critical steps (with time stamps)? Like “logging on to Envoy” “successful logon”, “received first stream”, “Logged on to broker” etc…

@sddgit  - there's already diagnostics within the code that will display errors in the log if there's a problem - however I just made a change to force the script to wait 10 seconds from the initial connection to the mqtt broker to when it starts streaming the data to it - can you give that a try v1.04?

I can see one change with V1.04. If I keep refreshing the log I can see the “Connected to” message now. But I still get very long wait times sometimes before the topic is published. My thought on the log messages was to try to determine if something was taking a long time to accomplish, like logging into the Envoy or the broker. I do sometimes see a bunch of Envoy timeout errors before the streaming starts to work, which doesn’t happen when using the old script. All very puzzling!

@sddgit - my log shows this - can you copy/paste yours? Also, as a test, in configuration please change the ip address of the mqtt host to a wrong ip then restart it - you should see an error after refreshing the log. Then put back the correct mqtt ip and then change the ip of the envoy to a wrong ip - you should also see many errors when refreshing the logs. Maybe copy/paste those errors here so I  can check.
s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
10/04/2022 15:46:54  Connected to <IP_ADDRESS>:1883
10/04/2022 15:46:54  Connected to <IP_ADDRESS>:1883
/envoy/json

I just stopped the add-on and started it again. It took about a minute for my power gauges to start showing any updates. During this time, I can go to the Mosquitto Broker integration, then Configure, then start listening for /envoy/json. There are no updates there either for the same length of time. Then it kicks in. After this, the log is:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
10/04/2022 19:17:45  Connected to <IP_ADDRESS>:1883

I never see the second "Connected to" message or the /envoy/json lines, even when things eventually work.
(Incidentally, if I go to Add-ons, Backups & Supervisor, System tab, then look at the Multicast or DNS logs, some of your log messages seem to be there too)
Log with bad mqtt IP address:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Traceback (most recent call last):
  File "//envoy_to_mqtt_json.py", line 131, in <module>
    client.connect(MQTT_HOST,int(MQTT_PORT), 30)
  File "/usr/lib/python3.9/site-packages/paho/mqtt/client.py", line 941, in connect
    return self.reconnect()
  File "/usr/lib/python3.9/site-packages/paho/mqtt/client.py", line 1075, in reconnect
    sock = self._create_socket_connection()
  File "/usr/lib/python3.9/site-packages/paho/mqtt/client.py", line 3546, in _create_socket_connection
    return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
  File "/usr/lib/python3.9/socket.py", line 843, in create_connection
    raise err
  File "/usr/lib/python3.9/socket.py", line 831, in create_connection
    sock.connect(sa)
OSError: [Errno 113] Host is unreachable
[cmd] /run.sh exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

Log with bad Envoy IP address:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
10/04/2022 19:28:55  Connected to <IP_ADDRESS>:1883
10/04/2022 19:28:55  Connected to <IP_ADDRESS>:1883
/envoy/json
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb7003400>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb8179e80>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb817c040>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb81809a0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb81811f0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb8188b80>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb8180700>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb817be50>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb8179df0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb8188a30>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb70032b0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb7003d00>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb8179f40>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb817bd30>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb81805b0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb81811c0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb8188f70>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb7003190>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb81888b0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb8181070>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb8180550>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb8180ac0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb817ba90>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb8174f40>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
10/04/2022 19:28:55  Exception fetching stream data: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /stream/meter (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffb6dbe550>: Failed to establish a new connection: [Errno 113] Host is unreachable'))

It took a while and a lot of refreshes until the errors popped up though.

Thanks for that, the errors are correct but you should be seeing the second "Connected to" message and the /envoy/json message.
So you're saying if you put in wrong IP details it takes a while for the logs to display? There should be a delay of only 10 seconds from when you start till you see the logs - if it takes longer then there's something funny happening locally within your HA Blue box. Are there any configuration options in Blue box for connections or networking?

Yes, with the wrong IP address, the logs take quite a while to display. But notice that the time stamp on the Exception messages is the same as the “Connected” messages, so it looks like it’s a logging delay rather than some sort of network issue. Although whatever is causing that delay might be responsible for the overall delay when it works I guess. The HA Blue is just like a Rpi - runs a complete flashed image, so there’s nothing to configure other than what’s in HA.
I have an HA that runs in a VirtualBox VM. When I get some time, I’ll crank that up, update it, and test the add-on there. Are you running 2022.4.1?

Yes I'm on 2022.4.1  - yes if you try running on a different machine it might help pinpoint where the issues are

OK. I got my VM up to date, and the add-on worked fine. It started publishing the topic after the 10 second wait after starting the add-on. The log file also showed the 2 connected message and /envoy/json. However, after a few tests, there were instances where the last one or two lines were missing.
So I went back to my production HA. I have done lots of HA restarts, but this time I did a host reboot (which I think I've tried before). It seems to be working now - starts publishing after 10 seconds. However, on this instance the log file is always missing the last 2 lines, unless something else happens, like Envoy timeouts, in which case things get flushed out. Not sure where the fault with this lies!
Thanks for bearing with me. I'll keep testing over the next couple of days - hopefully things will remain stable.

@sddgit - how has your testing gone, is it stable now?

Hi @sddgit, I have noticed Home Assistant sometimes struggles with hostnames when I reboot my router.
Have you tried replacing the MQTT_HOST and envoy_host with an IP address instead?

Yes - I had one incident where HA wasn't able to resolve the hostname envoy.local so I've now using the IP address. Since this isn't related to this integration I'll close off this issue, thanks for your help.

@vk2him @del13r Thanks for following up. I have only ever used IP addresses. The add-on seems to be working fine now. The last few times I’ve started it, there is just the 10 second delay before it starts reporting. Still always missing the last couple of log lines, but that’s no big deal. Great to have this working inside HA!


Can you share the wiring of diagram of the connections?

Can you take a picture of the soldering and arrangement of the leds?
I printed it but I don't know how to arrange the LEDs with the solders (I can't find an exact explanation on github)
And do segments need to be defined?

Sorry for the late reply! I attach an image of the led arrangement.

You do not need to define segments by default. I hope this helps, let me know if you need more info!

Thanks, I think it's fine
Where did you connect the data of the LED and the buzzer? in esp32

You can find the schematic and PCB here: https://github.com/imeszaros/ledclock/tree/master/ledclock/sch-pcb
Wiring of the ESP can be found here: https://github.com/imeszaros/ledclock/blob/master/ledclock/sch-pcb/schematic-main-board.pdf

@razserv2010 did you managge to build the clock? If yes, would you mind sharing some pictures? I'd be happy to see it!

@razserv2010 did you managge to build the clock? If yes, would you mind sharing some pictures? I'd be happy to see it!

I haven't managed to build it yet, I hope that this weekend I will have time, I will update with pictures the installation process..


sdk:python:cidrsubnet: Incorrect syntax on docstring

What happened?
Error output:
Diagnostics:
  pulumi:pulumi:Stack (test_program-dev):
    error: Program failed with an unhandled exception:
    Traceback (most recent call last):
      File "/root/test_program/./__main__.py", line 5, in <module>
        print(pulumi_std.cidrsubnet("<IP_ADDRESS>/8", 8, 2))
      File "/root/test_program/venv/lib/python3.10/site-packages/pulumi_std/cidrsubnet.py", line 55, in cidrsubnet
        __ret__ = pulumi.runtime.invoke('std:index:cidrsubnet', __args__, opts=opts, typ=CidrsubnetResult).value
      File "/root/test_program/venv/lib/python3.10/site-packages/pulumi/runtime/invoke.py", line 115, in invoke
        return _invoke(tok, props, opts, typ, run_async=False)
      File "/root/test_program/venv/lib/python3.10/site-packages/pulumi/runtime/invoke.py", line 255, in _invoke
        raise invoke_error
    Exception: invoke of std:index:cidrsubnet failed: invocation of std:index:cidrsubnet returned an error: prefix extension of 2 does not accommodate a subnet numbered 8

Example
podman/docker run --name pulumi_std_cidrsubnet_test --rm -d -i -t ubuntu:22.04
podman/docker exec -it pulumi_std_cidrsubnet_test bash
cd && apt update && apt -y install curl python3 python3-venv && curl -fsSL https://get.pulumi.com | sh
export PATH=$PATH:~/.pulumi/bin
mkdir test_program && cd test_program
pulumi login --local
pulumi new python
venv/bin/pip install -U pulumi-std

Using the example
import pulumi
import pulumi_std

print(pulumi_std.cidrsubnet("<IP_ADDRESS>/8", 8, 2))
print(pulumi_std.cidrsubnet("2607:f298:6051:516c::/64", 8, 2))

Output of pulumi about
CLI
Version      3.115.2
Go Version   go1.22.2
Go Compiler  gc

Plugins
KIND      NAME    VERSION
language  python  unknown
resource  std     1.6.2

Host
OS       ubuntu
Version  22.04
Arch     x86_64

This project is written in python: executable='/usr/bin/python3' version='3.10.12'

Backend
Name           22068974a4c9
URL            file://~
User           root
Organizations
Token type     personal

Dependencies:
NAME        VERSION
pip         24.0
pulumi_std  1.6.2
setuptools  69.5.1
wheel       0.43.0

Pulumi locates its logs in /tmp by default
warning: Failed to get information about the current stack: No current snapshot

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

We should update the doc comment because the order of the params isn't the same as the example shown in the doc comment. It works as expected when passing the args correctly. Here's an example using named args:
import pulumi_std

print(pulumi_std.cidrsubnet(
    input="<IP_ADDRESS>/8",
    newbits=8,
    netnum=2).result)
print(pulumi_std.cidrsubnet(
    input="2607:f298:6051:516c::/64",
    newbits=8,
    netnum=2).result)

This outputs the expected values:
<IP_ADDRESS>/16
2607:f298:6051:516c:200::/72

@justinvp,
Thanks for the attention and helpful answer!
@mikhailshilkov,
Thanks a lot for the quick fix!
It seems to me that the examples on the proposed PR is not meant for Python's syntax still.
Can we use explicitly use all keyword arguments in the same order defined in the sdk/python/pulumi_std/cidrsubnet.py?
example input:
__main__.py
import pulumi
from pulumi_std import cidrsubnet

# Examples for
# cidrsubnet(input="<IP_ADDRESS>/8", netnum=2, newbits=8)
# cidrsubnet(input="2607:f298:6051:516c::/64", netnum=2, newbits=8)

ipv4_cidr_block = cidrsubnet(input="<IP_ADDRESS>/8", netnum=2, newbits=8)
ipv6_cidr_block = cidrsubnet(input="2607:f298:6051:516c::/64", netnum=2, newbits=8)

pulumi.export("ipv4_cidr", ipv4_cidr_block.result)
pulumi.export("ipv6_cidr", ipv6_cidr_block.result)

example output:
$ pulumi preview
Enter your passphrase to unlock config/secrets
    (set PULUMI_CONFIG_PASSPHRASE or PULUMI_CONFIG_PASSPHRASE_FILE to remember):
Enter your passphrase to unlock config/secrets
Previewing update (testing):
     Type                 Name          Plan
 +   pulumi:pulumi:Stack  gh56-testing  create

Outputs:
    ipv4_cidr: "<IP_ADDRESS>/16"
    ipv6_cidr: "2607:f298:6051:516c:200::/72"

Resources:
    + 1 to create

It seems to me that the examples on the proposed PR is not meant for Python's syntax still.

Yes. Unfortunately, there is no simple way to make examples in comments language-specific. So, I have to pick up a syntax that would be readable for everyone.

Can we use explicitly use all keyword arguments in the same order defined in the sdk/python/pulumi_std/cidrsubnet.py

I think I did that?
 cidrsubnet("2607:f298:6051:516c::/64", netnum: 2, newbits: 8)

So you just need to replace : with = in Python.
Are you asking to add input: too? Or what do you mean?

So you just need to replace : with = in Python.

Are you asking to add input: too? Or what do you mean?

Since the order is cidrsubnet(input="2607:f298:6051:516c::/64", newbits=8, netnum=2) on @justinvp 's reply (which is the same with Terraform cidrsubnet) and It is cidrsubnet("2607:f298:6051:516c::/64", netnum: 2, newbits: 8) on the proposed PR.
I proposed a bit middle of those, explicit input and the same order how they are declared on the source of python sdk.

Yes. Unfortunately, there is no simple way to make examples in comments language-specific. So, I have to pick up a syntax that would be readable for everyone.

I see. Since, It's generated, feel free to close it the with proposed PR.
I hope this will be improved in future.
Thanks a lot for awesome work and replies!


[$500] [CRITICAL] Create a reusable and stylable MoneyRequestAmountInput

Problem
the MoneyRequestAmountForm is currently designed to be used from the Amount pages where it is displayed in a view that takes up the whole page, and has specific style for that. We'd like to reuse this input without any extra style and be able to re-style it with ease.
Solution
Decouple the logic that handles accepting and formatting amounts from MoneyRequestAmountForm, by creating a new MoneyRequestAmountInput that doesn't have any custom styles and looks like a basic input.

Move all the logic for handling input from MoneyRequestAmountForm should be moved into the new input.
The MoneyRequestAmountForm should only keep navigation and form logic.
The input should have a new callback onAmountChange that can be used by parent components.
Display currency as part of the input as in the mocks. For this we can simply use the prefixCharacter that should be prop drilled into the underlying TextInput used in this component. We will need to configure the padding of the prefix text to accomodate for both single character currencies and 3 characters currencies. (e.g. $ and AED). Since the prefix is absolutely positioned, this is necessary.
The new input should accept styles so that it can be reused from the Amount full pages, e.g. no borders, increased font, etc.

Here's a mock of how the input should look like when used from the Splits page:

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f6b340c95c53b510
Upwork Job ID:<PHONE_NUMBER>038550528
Last Price Increase: 2024-04-17

@ZhenjaHorbach Are you able to give this your top priority? The deadline is very tight for this one, if yes, I'm happy to assign you!

That sounds good!

This new feature so I don't think we need regression test for this one.

@jliexpensify increasing bounty here as @ZhenjaHorbach has been very kind to help out with styling the input further for my specific use case.

No worries, here's an updated Summary (I assume C+ gets the same?):

C: @ZhenjaHorbach $750
C+: @hungvu193 $750

Upwork job

Ah, thanks for clarifying - fixed!

Thanks!

All paid and job removed!


Problem using eloquent

Laravel Version: 5.3.10
PHP Version: 7.0.9
Database Driver & Version: mysql 5.0.12

Description:
Why eloquent guarding all the attributes of a table I think that's why I can't create any new resource.

Here is my fillable array in model:
protected $fillable = [
        'name',
        'description',
        'parent_id',
        'user_id',
        'wiki_id',
        'created_at',
        'updated_at',
];

Eloquent checks the $fillable attribute first, so if you have the field in your fillables the update should work fine.


[BUG]

Affected platform
Online Version
Describe the bug
I can not find a working link. each one takes me here

None of the black buttons are working and some of the side buttons are not working either.

Expected behavior
when I clicked on the black and green buttons/links I expected that they would take me to where they said they would take me but none of them worked.
Additional information
I love and enjoy playing your game but with most of the black or green buttons/links not working i don't have the ability to do half of the stuff on quadradius.

Sadly most of the links here are embedded in the SWF. We are hosting an original file with our own server, but since the links are hard-coded we are quite limited in terms of rewriting those. You can access most of them using webarchive.com. The base game itself should work without any issues. The original domain that you have sent in first screenshot is up for sale since the original author has not renewed it. We'll see if it'll become possible to add redirects to these buttons maybe via Ruffle at some point (is it doable @kjarosh?)

It is doable, probably a lot of content would take advantage of it. I'll see what I can do


test(encoding-decoding): improve test coverage for encoding/decoding

First shot at complete coverage for all currently supported scalar
and collection types. Switched to using ForcedType's for all the
encoding to make sure we're covering what we think we're covering.
There were a few changes made to tests, mostly where null values
were being encoded incorrectly as full values rather than their
-null variant.

@noodlefrenzy updated to include some commented out tests, and to add missing tests to verify e.g. that Int64s are accepted (per discussion)

@noodlefrenzy not sure what was up with that, but the 0x44 fix in as well now


Add docs to parse.hpp

Adding simple doxygen comments to parse.hpp

This is done, thanks! There's a few doxygen warnings but we can sort them later.


relax elixir version requirement to ~> 1.0

tests pass on elixir 1.1.0-dev

Not sure about including mix.lock here.  I included it for now for completeness, since it was automatically updated by mix.  I can resubmit without it.

The second commit is just a suggestion, food for thought.  I meant for it to be a separate pull request, but I am still learning a few things.  The first commit is the only one I care about.


TileLoadError did not fires when tile does not exist

I have a Zoomify server that creates the tiles from a big image (max 4gb) and uploads the tiles in an accessible place for the web application. Tiles are uploaded in chunks of zoom levels, so when I load the page only few levels of tiles are uploaded.
The problem is that if the user try to zoom in the map, the request for getting the tiles is failing but the 'tilelioaderror' event from the Zoomify source is not triggered.
My idea is to use this event to retry loading the missing tiles later every 2 seconds.
If I am missing anything or there is another way to achieve this functionality please let me know.
Thanks,

The tileloaderror event is correctly dispatched for the ol.source.Zoomify source.
Tested with the zoomify example
source.on('tileloaderror', function(event) {console.log('tileloaderror');})
source.setUrl('invalid');


Implement prefix_detection in build section

Files are detected as either "binary" or "text" files based on the appearance of \0 in the first couple of bytes.
When installing a text- or binary file, the prefix is replaced in different ways (for binary files it is padded with \0).
conda-build has an option to override wether a file should be detected as binary or text file.
https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#binary-has-prefix-files
build:
  # settings concerning the prefix detection in files
  prefix_detection:
    # force the file type of the given files to be TEXT or BINARY
    # for prefix replacement
    force_file_type:
      # force TEXT file type
      # was `???`
      text: [glob]
      # force binary file type
      # was `???`
      binary: [glob]

    # ignore all or specific files for prefix replacement
    # was `ignore_prefix_files`
    ignore: bool | [path] (defaults to false)

    # wether to detect binary files with prefix or not
    # was `detect_binary_files_with_prefix` (note: logic reversed!).
    ignore_binary_files: bool (defaults to false on Unix and (always) true on Windows)

https://github.com/search?q=org%3Aconda-forge+binary_has_prefix_files+language%3AYAML&type=code
https://github.com/search?q=org%3Aconda-forge+has_prefix_files+language%3AYAML&type=code
https://github.com/search?q=org%3Aconda-forge+ignore_prefix_files+language%3AYAML&type=code
https://github.com/search?q=org%3Aconda-forge+detect_binary_files_with_prefix+language%3AYAML&type=code

fixed in #598


NACK xDS updates where transport_name is not recognized

NACK xDS updates where transport_name is anything other than "envoy.transport_sockets.tls".
Based on latest updates at https://github.com/grpc/proposal/pull/243

Issues: #26595, #26637
Thanks for reviewing!


Vulkan: Crash when setting Reflection Roughness Layers to a low value

Godot version
v4.0.dev.20220105.official [8f6cba3a4]
System information
Windows 11, Vulkan, Nvidia Quadro K2000 472.84
Issue description
When Roughness Layers are set to 1,2 when trying to manipulate object materials the editor crashes (in VMR, didn't test VCR)
Steps to reproduce
Set Roughness Layers to 1 or 2, restart the editor, Make a Mesh Instance and try to manipulate a Material for it. This will Result in a Crash.
Notes: Mobile Renderer was tested
Minimal reproduction project
No response

Retested on Beta 14 on a GTX 1050 Ti (don't have the Quadro anymore to test with sadly) and Unable to Reproduce this.

As luck would have it I just reproduced this in the mobile renderer with a ReflectionProbe in the scene. So I will leave this open


react-parcel in angularJs

Hi @joeldenning ,
I am trying to introduce react-parcel inside a angularJs application.
Can you please tell me how can I do that using single-spa.

This repository is for Angular 2 (not AngularJS). It's better to transfer the issue to single-spa-react or single-spa-angularjs.


[Discussion] Is it possible to make C#/WinRT projection generation semantics identical to Cpp/WinRT?

I know we've generally settled on the fact that the C#/WinRT projection has to be generated by the provider of the component to solve the PIA problem. This is in contrast to how Cpp/WinRT does it, where the projection is generated on the client. I'm wondering if it's possible to generate the projection assembly during app compilation and add it as a reference to the project. The key difference here is that any C# project that references a WinRT component, would still reference the assembly by name, and not compile the interop code into their assembly. For libraries that ship on Nuget, the assembly is discarded and not bundled with their nuget, then when their Nuget is referenced by an app, the same WinRT interop assembly is generated at app compilation time and we don't have a PIA problem.
Pros of this approach

There is a single model for distributing WinRT components. They ship the winmd in the nuget, and the consumer adds a nuget reference to the projection generation technology of their choice:

Microsoft.Windows.CppWinRT
Microsoft.Windows.AbiWinRT
Microsoft.Windows.CsWinRT
Microsoft.Windows.RustWinRT

Nugets are smaller because they don't have large interop assemblies embedded in them.
We don't have to worry about the projection generation technology and the projection itself being out of sync. C#/WinRT can make breaking changes to the internal implementation of the generated projection and not worry about versioning issues.
If Component A doesn't have an interop assembly, there's no worry about incompatibility between Library A and the App that both want to use Component A.

Cons of this approach

Assemblies can't be strong name signed since this affects the assembly identity. However, it's unclear from the link if we really need or want them to be.
It adds complexity to the build
Potential dragons that I'm unaware of

How it would work?
I'm thinking we'd run a target after Restore (or before/after ResolveReferences) that does something similar to what we do for generating the WinUI interop assembly: https://dev.azure.com/microsoft/winui/_git/microsoft-ui-xaml-lift?path=%2Feng%2Fcswinrt.targets
/cc @AaronRobinsonMSFT @jkoritzinsky

So to summarize: at app build time, cswinrt msbuild support would collect the transitive closure of all referenced winmd files and generate a single set of projection sources?  A projection assembly would no longer be neede dthen - source could be compiled directly into the app.
Nugets are smaller, but to be fair, these were shared to begin with (global nuget package cache) and would just be replaced by generated code.  And I assume this would override/obsolete any framework package distributions of interops?  So the build footprint and the app install footprint would both grow quite a bit.
This is reminiscent of LTCG, and by deferring code gen until app build time, we do gain certain advantages.  With the closure, lots of reflection code could be omitted (as Jan Kotas suggested).  I think it would also enable culling unreferenced types (IL linking).  Cons would include increased build times, larger install images, more challenge with interop customizations (like DispatcherQueueSyncContext), but these are all solveable.

This would also simplify cswinrt command line params.  It wouldn't be as necessary to carefully isolate type collections to ensure they don't overlap (Windows & WinUI).  It may still be necessary to filter a bit, and a winrt component nuget could provide custom targets to collect that data.  But in general, just gathering all referenced winmds and projecting everything should just work.

the same WinRT interop assembly is generated at app compilation time and we don't have a PIA problem.

I don't see how this solves the PIA problem. There is no guarantee that the assembly is the same. Flags that are passed to CsWinRT would need to be described because the local run would need to be identical. It would also need to ensure no custom modifications were performed during the official run. This approach is actually why PIAs were invented - they are singular and the source of truth. The TlbImp tool had a flag, /primary, that made an interop assembly a PIA. We need to make sure we don't confuse those two topics a PIA is the "Primary"/Official truth. If that isn't the case then we aren't dealing with PIAs we are working with interop assemblies.
I admit this is a complex scenario so I could be missing something, but I don't see how anyone can say for certain a local generation and the official generation will be the same. This is the C/C++ problem with consuming libs from an unknown compiler.

A projection assembly would no longer be neede dthen - source could be compiled directly into the app.

I think an assembly still has to be generated because if I'm Telerik and building a .NET library on top of WinUI, I would reference the Microsoft.WinUI assembly.

And I assume this would override/obsolete any framework package distributions of interops? So the build footprint and the app install footprint would both grow quite a bit.

I'm not sure, I had thought about that. I don't see a reason why we couldn't keep the interop assemblies in the framework packages around to prevent the extra app size. This is an important consideration, we do have people complaining about the install size of their app. If we don't, I was thinking IL Linking could help only include what's actually used.

I was thinking IL Linking could help only include what's actually used.

IL Linking is very sensitive to reflection. Once reflection is detected what it is capable of is limited unless a good/bad list is provided. That could be generated by CsWinRT via some analysis but IL Linker would need a fair amount of hints given the use of reflection.

I don't see how this solves the PIA problem. There is no guarantee that the assembly is the same. Flags that are passed to CsWinRT would need to be described because the local run would need to be identical.

I may be overloading the term PIA here (so please correct me if I am), but I just meant that there will only ever be one assembly and it has the same assembly name and types. I agree there could be issues if someone changes the parameters to cswinrt and removes a type, so maybe we modify the tool to prevent improper usage?

I was thinking IL Linking could help only include what's actually used.

IL Linking is very sensitive to reflection. Once reflection is detected what it is capable of is limited unless a good/bad list is provided. That could be generated by CsWinRT via some analysis but IL Linker would need a fair amount of hints given the use of reflection.

Nugets are smaller, but to be fair, these were shared to begin with (global nuget package cache) and

Regarding both of these, we have this issue for implementing custom COM Wrappers for WinUI to remove the use of reflection and enable IL Linking scenarios: https://github.com/microsoft/CsWinRT/issues/136. Scott, are you suggesting that we could update cswinrt.exe to produce these more generically, and thus remove the need for WinRT component authors to generate these themselves? When we talked about WinUI including our own custom COM Wrappers, one issue that cropped up was the bloat this would add to our Nuget. If we could generate these on the client side that would be ideal. I don't know if that's possible though.

I may be overloading the term PIA here (so please correct me if I am), but I just meant that there will only ever be one assembly and it has the same identity because it's generated on the client and not strong name signed.

It isn't really much of an issue other than the fact that a PIA specifically implies there is only one. This means that if the owner and client are both generating definitions the concept of a PIA is no longer valid.

I agree there could be issues if someone changes the parameters to cswinrt and removes a type, so maybe we modify the tool to prevent improper usage?

Perhaps, but I think we would entering a place where owner may need to customize something for a bug in CsWinRT or perhaps handle a special case. If this occurred then the client would also need to know use version X.Y.Z of CsWinRT for your scenario so it works. Whereas the owner should really be the owner of that issue.

This means that if the owner and client are both generating definitions the concept of a PIA is no longer valid.

The key thing with this proposal is that the owner is not generating a definition. The client is always generating the definition. The only definition the owner is responsible for is the .winmd(s).

The client is always generating the definition. The only definition the owner is responsible for is the .winmd(s).

Ah. I think I missed that - thanks for the clarification.
Then the next question would be consumption of WinRT types defined in .NET?
I would still be a bit concerned about modification of the generated code, but if consumers are the owners of that I am bit less since that is considered a no-no in general.

You don't have full information at build time. You must be able to interop with runtime-loaded assemblies (aka plugins).

You don't have full information at build time.

Yep. That is the reflection piece of this. The plugin model is the practical example.

Extensibility is a key concept for a lot of our applications and I'd expect WinUI as a UI framework to support extensible application models.

Agreed.

Then the next question would be consumption of WinRT types defined in .NET?

Is this the scenario where I'm a .NET app with a reference to a .NET WinRT Component? I'm not 100% sure what the production side for .NET WinRT components looks like. I don't see a reason why this would change anything, but it's a good thing to call out and keep in mind.

You don't have full information at build time.

Yep. That is the reflection piece of this. The plugin model is the practical example.

Extensibility is a key concept for a lot of our applications and I'd expect WinUI as a UI framework to support extensible application models.

Agreed.

Unless I'm missing something, I don't think we would be preventing that scenario with this approach?

Maybe I'm misunderstanding, but it sounded like libraries are not supposed to distribute the projection, the application is doing it at build time. But the application doesn't have full information over what extensions will be using, so if application extensions needed interop thats not part of the base application that would cause either missing references (when extensions are viewed as libraries and nobody distributes the interop definition) or duplicates (when extensions are viewed as clients and multiple extensions deploy the same generated interop, perhaps even using different version of tooling to generate it).

Not sure what this is referring to, couldn't find where this is discussed in this context.

Mentioned when talking about the IL Linker above for type pruning - which would cause certain types to be pruned away. Otherwise all needed types should be kept as I can't see why they would be removed by default. Perhaps your concern here was for the mentioned CsWinRT analysis engine that could prune?

Perhaps your concern here was for the mentioned CsWinRT analysis engine that could prune?

No I think I just misunderstood the discussion, sounded like you wanted to reduce footprint by having the projection only exist in transient form on library level, just built to be referenced but not included inline in the assembly or deployed with the library - only the final application build generating the closure of all required projections.
Anyways I don't want to derail the discussion, I'm fine having made my point about extensibility and will follow along and see what you'll come up with.

only the final application build generating the closure of all required projections.

I do think that was implied - at least that is how I interpret what a CsWinRT analysis engine would do. The plug-in model does then hinder both IL Linker and analysis in CsWinRT for an application.
@stevenbrix I think both @weltkante and I are concerned about the same issue just coming at it from two different angles. Are we both confused here as to what is the suggestion or does this concern make sense?

Are we both confused here as to what is the suggestion or does this concern make sense?

Nope! I think the concern makes total sense. It was never my intention to make IL Linking + type pruning the only way to consume WinRT components in .NET, it should always be an option.
I am far and wide not the expert on plug-in models, so I appreciate your experience @weltkante

But the application doesn't have full information over what extensions will be using, so if application extensions needed interop thats not part of the base application that would cause either missing references (when extensions are viewed as libraries and nobody distributes the interop definition)

I would imagine in this scenario an extension could ship the WinRT component interop then. Although that would probably lead to the next thing you described...

or duplicates/conflicts (when extensions are viewed as clients and multiple extensions deploy the same -or overlapping- generated interop, perhaps even using different version of tooling to generate it).

Can you explain what happens when there are conflicts for existing .NET assemblies in this scenario? I don't think WinRT interop assemblies would be any different in this scenario.

Can you explain what happens when there are conflicts for existing .NET assemblies in this scenario? I don't think WinRT interop assemblies would be any different here.

As far as we are concerned, so far we only have experience on Desktop Framework. We have an .exe.config in place with redirections for dependencies in our base application. This mostly works out but if conflicts happen anyways the user has to go through our support and we update the .exe.config accordingly.
I think VS has a more automated model to handle and resolve conflicts in extensions? I don't know it that well though.
For .NET Core the dependency configuration file looks too complicated to adjust by hand so I'd probably attempt to put extensions in separate AssemblyLoadContext and try finding a resolution logic by trial and error as conflicts come up in practice. Maybe inventing some configuration file for extensions whether they want an isolated or shared copy of a dependency?
For interop I'd expect RCWs to be shareable between extensions, as has come up in one of the other discussions of this topic, where the response was that there should be a PIA-style resolution where the author of a COM visible definition will build and deploy the interop assembly. For the Windows interop you'd refer to the CsWinRT package.
This kinda goes counter what is proposed here so I was raising the usecase of extensions again to make sure they are not overlooked. Making interop a primary source of dependency conflicts would be a problem for us.

@Scottj1s & @AaronRobinsonMSFT, is this approximately the same problem as https://github.com/microsoft/CsWinRT/issues/304, related, or distinct?

@BenJKuhn it's distinct, because this issue isn't talking about embedding the sources into the app. They are related in the sense that we'd be generating the code on the client in both cases, but that's about it.
I love that @richlander opened #310, perhaps we need to wait for that to fully understand what the right thing to do here is. I feel like we're all hovering in the same ballpark, and a scenario driven spec will really help us understand where to go.

BTW, I wouldn't advocate for the projection assemblies for any interop assembly that ships with .NET to be generated by the client. Those can all be generated ahead of time and cross-gen'd.
The point of this is so that cswinrt.exe always generates assemblies that match the winrt.runtime.dll it's paired with. As soon as people put interop assemblies in Nuget, you lose this guarantee.

I really dislike the idea of having to publish .NET versions of every Windows Runtime component. As a component author, it almost defeats the point of the Windows Runtime to have to create special cases for certain platforms. Generating and maintaining a separate interop assembly to use components from .NET is a pain, and the "tools" for doing that (which amount to just invoking cswinrt.exe with command line arguments) are difficult to set up.
For NuGet package authors, maintaining two versions of a package is annoying, and I think many will just pass the buck for generating the interop assembly onto the consumers anyway. However, I have used the Windows Runtime on a number of occasions just for standard cross-language interop. It is by far the cleanest and richest choice for communicating between components written in different languages like C++ and C#. The tools as-is are even worse for this, and you often need to spend several hours tinkering with MSBuild to get a good workflow.
Strong thumbs up for having projections being generated on the client.

For NuGet package authors, maintaining two versions of a package is annoying, and I think many will just pass the buck for generating the interop assembly onto the consumers anyway.

This is great feedback, because this wouldn't be the guidance. You can ship your .winmd and interop assembly in the same package.
As for the difficulty in setting up the tools, I imagine we'll have support so that there isn't any extra setup. @scottj1s is there an issue for this?

For 1.0, the component author must build the projection. Based on feedback we can consider future options.


QXlsx::Document can't open Excel file with a lot of columns

If the Excel file has some data in the column AA and further QXlsx::Document will encounter SIGSEGV error

Dear @cherevon

Thanks for reporting.

Can I see the example code that you created? I think I or others can help you.


Calculate PeakROR

Basic calc is created in the point_df with some errors. Investigate errors and fix it so it reliably picks the peak

current issue with how peak ROR is being picked. Commonly displays '0'


Move duplicated code to method in TaskManagementHandler.java

small refactoring to get rid of duplicated code

@renatoh  can you look at the precommit failure?  I think a tidy is needed ;-)

Good questions @renatoh..  I am not possiitve, however if you run gradlew tidy then it applies our spotless code formatter....

@epugh  so what tool is used within gradlew tidy to format the code? I am wondering  it is possible to load these code style rules into a Intellij Code Style schema
I ran tidy and pushed the changes to my feature branch. is it possible to add the commit to the current PR or do I need to open a new PR?

I think you pushed your tidy fixes up to the PR right?  (Which is great!)..   I clicked the "run precommit" github action...

In the log I see:
error: patch failed: gradlew.bat:80
error: gradlew.bat: patch does not apply
Not sure what this means, but given the checks were successful last week I assume it is because my branch got out of sync with main-branch thus I merged the main-branch into my branch. How do I run the checks again?

sometimes "crave" get's in a odd state..   well, I should say "frequently" with how it merges stuf....    I see the precommit passed.    How would you like to credited in the CHANGES.txt file?

I actually want to look a bit more at the method name...   And if it should actually be on the SearchComponent or elsewhere...  it isn't (I don't think!) specific to TaskManagement???

so in which class should the method be in?

From a very quick look only, maybe ModifiableSolrParams.java could be a home for it?

i like @cpoerschke  suggestion, let's do that @renatoh and then we can merge!

@cpoerschke @epugh
As suggested I have move the method to ModifiableSolrParams.java
I had to change the method-signature slightly in order not to depend on org.apache.solr.handler.component.ShardRequest

@epugh I have done 2 or 3 very small commits before, e.g. fixing a typo or doing a minor change to 1 or 2 lines of code.
Yes, that is OK, I would like to be referenced with my full name, which is Renato Haeberli.
Any idea why the job is failing again? I do not see any meaning full error message in the log

I don't know why, but yeah, Crave gets confused at times...

@risdenk Could you please have a look at it any time soon, thanks

Going to merge today once checks run!

See https://github.com/apache/solr/pull/2486 where I move it.  Would love a +1


Individual icon components prevent library usage

Let's assume a component library provides a leptos component Foo, which may display an icon.
The library may give the user the option to choose the specific icon to show.
But: How does Foo incorporate/display an "arbitrary" icon. And how should the user specify the icon to use?
One could imagine something like this, where Foo just takes some arbitrary View and includes that in its output:
<Foo icon=move || view! {cx <BsFolder />}/>

But the user might not even create an Icon here... Could also be a benefit (easy prarmeterization of the icon), but most likely not what a library author inteded. The library auther would also have no control over the icon in this case.
The author can only accept an arbitrary nested view, as the user currently has no other means to specify an icon.
In this case, a selection of an icon by enum variant would be much more ergonomic and would allow any library authors to simply take an enum variant as a prop.  (I followed this approach as well when doin some limited icon stuff in the Yew framework.)
<Foo icon=Icon::BsFolder/>

The problem lies in the fact that, right now, all icons are represented by individual leptos-components (functions) and no enum exists.
I think that an enum, defined as non_exhaustive , and with all it's variant feature-gated, is required for this library.
Two things are required:

The enum itself: Probably a single one in the library root, containing a variant for each feature name of the library (feature name can be reused)
A generalized Icon component which can take that enum as a prop and display the proper icon.

I'm unsure on how to implement the second and welcome any suggestions! :)
A simple solution would be to generate a huge match statement inside the Icon component, where each arm is feature-gated and displays one icon by reusing the icon-components which are already getting generated, forwarding all possible arguments.
The efficiency of such a match statement should be high. With the enum variants all having zero data, it should be a simple jump table at runtime.

This is a great idea!
The first method that came to my novice mind was to use a sort of runtime macro (I don't know if such a thing exists), to generate the icon declaration with the enum identifier. Your method seems way more stable though.

Thought about that too. One could write an icon! macro which would then simply contain the match. But if the component approach does not lead to a binary size increase or a runtime performance hit then we should probably prefer the component approach.

Can work on this tomorrow.

I will make a branch for this feature.


MODEL: Verify SDXL Turbo full model correctness via ROCm

Has essentially the same success and issues as SDXL base:

CPU Compile
CPU Runtime
Vulkan Compile
Vulkan Runtime
ROCM Compile
ROCM Runtime

clip1
Good
Good
Fail
NA
Good
gist

clip2
Good
Good
Fail
NA
Good
gist

unet
Good
Fail (possibly just fp16 vs fp32 casting issue)
Fail
NA
Fail
NA

vae
Good
Fail, all zeros output
Fail
NA
Good
gist

Closing this one given that Turbo has the same model architecture so https://github.com/nod-ai/SHARK-Turbine/issues/412 is good in tracking.


Contact Page📝 Documentation Improvement:

📝 Description

There is no contact page

Proposal

I will make it
It help people to reach you easily.

🖼 Screenshots
No response
📋 Additional Information

@Guneetsinghtuli @GDSC-adgitm Please assign this issue to me.


There is no source code for the book

There is no source code fore the second edition, although there is a link to github source code in the book.
This is a screen shot from Safari online subscription

Hi @neman, the code is in progress. It'll be finished asap. Thanks for your feedback.

Still no finished code repository, almost one year after release of the 2nd edition. That's a shame. The potential buyer should know that beforehand. It should be clearly stated on the Microsoft Press Store page about this book.


How to blacklist/whitelist ?

Hi,
I'm currently playing with whitelist/blacklist functionality.
I want to whitelist some emails, and deny all the rest, how I do this ?
<EMAIL_ADDRESS>NGO_BLACKLIST=*

is i.e. not working
With
<EMAIL_ADDRESS>
I can still access with<EMAIL_ADDRESS>With
<EMAIL_ADDRESS>
I can no longer access with<EMAIL_ADDRESS>

This isn't entirely clear from the docs but currently in order for NGO_WHITELIST to work, NGO_DOMAIN must also be set to something (even NGO_DOMAIN=false would fix this example).
@tulequ has a fix for this in https://github.com/cloudflare/nginx-google-oauth/pull/44


Errors sending email

I'm using this in a panamax template ("GitLab 7.3.0 with PostgreSQL and Redis") and everything works fine except for the email messages.
No email messages are sent (e.g. when you create a new user or ask for a password reset) and by looking at sidekiq.log I find this:
2015-06-20T18:01:53Z 834 TID-b41vs WARN: {"retry"=>true, "queue"=>"mailer", "class"=>"Devise::Async::Backend::Sidekiq", "args"=>["reset_password_instructions", "User", "2", "BRLWr5swJQGZKx4e39Jn", {}], "jid"=>"77069f3bb405d472beec953b", "enqueued_at"=>1434823291.862682, "error_message"=>"getaddrinfo: Name or service not known", "error_class"=>"SocketError", "failed_at"=>"2015-06-20 18:01:31 UTC", "retry_count"=>1, "retried_at"=>2015-06-20 18:01:53 UTC}

Special relevance to: getaddrinfo: Name or service not known
Any idea what might be causing this?

I've been reading the documentation for
and I've found this https://github.com/sameersbn/docker-gitlab#mail
which I haven't done, so maybe that's the reason why sending email doesn't work, still not sure about the getaddrinfo error though.

I confirm that the previous email problems were being caused by trying to use SMARTTLS on a TLS only port. The Gitlab docker image doesn't seem to support configuration for TLS so I needed to revert to plain text (port 25/26) in order to be able to send emails.
Closing the issue.


Memory leakage

i try loading  a csv file which file length is of to 6000+ am having some error in which not all file in the csv file loaded properly
.
this is the error am getting (
Finished with error: Bad UTF-8 encoding found while decoding string: [1040, Franklyn, Mees<EMAIL_ADDRESS>Argentina, Citro��n, 1948, Yellow, Male, Help Desk Operator, In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue.]
.  Please consider increasing available heap.

@ugochukwumartins
can you provide your flutter doctor -v, your flutter run -v and a complete runnable minimal reproducible code sample

@ugochukwumartins
Please provide above requested details to properly address this issue.
Thanks.

[√] Flutter (Channel master, 1.26.0-18.0.pre.128, on Microsoft Windows
[Version 10.0.21292.1010], locale en-US)
• Flutter version 1.26.0-18.0.pre.128 at C:\Users\samson\flutter
• Framework revision 502ff3dbfe (6 weeks ago), 2021-02-02 05:41:03 -0500
• Engine revision 7334085fc1
• Dart version 2.12.0 (build 2.12.0-281.0.dev)
[!] Android toolchain - develop for Android devices (Android SDK version
30.0.3)
• Android SDK at C:\Users\samson\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b01)
! Some Android licenses not accepted.  To resolve this, run: flutter
doctor --android-licenses
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 3.5)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b03)
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio1
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b01)
[√] IntelliJ IDEA Ultimate Edition (version 2018.2)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.2
• 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
[√] VS Code (version 1.52.1)
• VS Code at C:\Users\samson\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.19.0
[√] Connected device (2 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.82
• Edge (web)   • edge   • web-javascript • Microsoft Edge 88.0.705.74
! Doctor found issues in 1 category.
[ +172 ms] executing: [C:\Users\samson\flutter/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[ +151 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +1 ms] 502ff3dbfec73677aa4bee2a9dd1129075a39aab
[   +2 ms] executing: [C:\Users\samson\flutter/] git tag --points-at
502ff3dbfec73677aa4bee2a9dd1129075a39aab
[ +126 ms] Exit code 0 from: git tag --points-at
502ff3dbfec73677aa4bee2a9dd1129075a39aab
[   +3 ms] executing: [C:\Users\samson\flutter/] git describe --match ..*
--long --tags 502ff3dbfec73677aa4bee2a9dd1129075a39aab
[ +163 ms] Exit code 0 from: git describe --match ..* --long --tags
502ff3dbfec73677aa4bee2a9dd1129075a39aab
[   +1 ms] 1.26.0-17.0.pre-128-g502ff3dbfe
[  +87 ms] executing: [C:\Users\samson\flutter/] git rev-parse --abbrev-ref
--symbolic @{u}
[ +112 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/master
[        ] executing: [C:\Users\samson\flutter/] git ls-remote --get-url
origin
[  +84 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +183 ms] executing: [C:\Users\samson\flutter/] git rev-parse --abbrev-ref
HEAD
[  +96 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] master
[ +244 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not
required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not
required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not
required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not
required, skipping update.
[ +139 ms] executing:
C:\Users\samson\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +91 ms] List of devices attached
[   +8 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not
required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not
required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required,
skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not
required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not
required, skipping update.
[  +79 ms] "flutter run" took 389ms.
[  +31 ms] Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
[   +4 ms]
#0      FlutterCommand.validateCommand
(package:flutter_tools/src/runner/flutter_command.dart:1291:11)
#1      RunCommand.validateCommand
(package:flutter_tools/src/commands/run.dart:434:19)
#2      FlutterCommand.verifyThenRunCommand
(package:flutter_tools/src/runner/flutter_command.dart:1131:11)

#3      FlutterCommand.run.
(package:flutter_tools/src/runner/flutter_command.dart:1026:27)

#4      AppContext.run.
(package:flutter_tools/src/base/context.dart:152:19)

#5      AppContext.run
(package:flutter_tools/src/base/context.dart:151:12)

#6      CommandRunner.runCommand
(package:args/command_runner.dart:197:13)

#7      FlutterCommandRunner.runCommand.
(package:flutter_tools/src/runner/flutter_command_runner.dart:280:9)

#8      AppContext.run.
(package:flutter_tools/src/base/context.dart:152:19)

#9      AppContext.run
(package:flutter_tools/src/base/context.dart:151:12)

#10     FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)

#11     run..
(package:flutter_tools/runner.dart:66:9)

#12     run.
(package:flutter_tools/runner.dart:64:12)

#13     AppContext.run.
(package:flutter_tools/src/base/context.dart:152:19)

#14     AppContext.run
(package:flutter_tools/src/base/context.dart:151:12)

#15     runInContext
(package:flutter_tools/src/context_runner.dart:75:10)

#16     main (package:flutter_tools/executable.dart:92:3)

[ +312 ms] ensureAnalyticsSent: 307ms
[   +4 ms] Running shutdown hooks
[   +1 ms] Shutdown hooks complete
[   +6 ms] exiting with code 1
On Wed, Mar 17, 2021 at 9:39 AM darshankawar @.***>
wrote:

@ugochukwumartins https://github.com/ugochukwumartins
Please provide above requested details to properly address this issue.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/78331#issuecomment-800902046,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALKT6XKHCHIOKFJ2H5KGIWLTEBTELANCNFSM4ZIZEIYQ
.

@ugochukwumartins
Please also provide a complete minimal reproducible code sample that we can directly use to verify the issue you are facing.
Thanks.

Here is the link to my repo:https://github.com/ugochukwumartins/decagontest
Try loading the CSV file
On Wed, 17 Mar 2021, 2:18 pm darshankawar, @.***> wrote:

@ugochukwumartins https://github.com/ugochukwumartins
Please also provide a complete minimal reproducible code sample
https://stackoverflow.com/help/minimal-reproducible-example that we can
directly use to verify the issue you are facing.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/78331#issuecomment-801072980,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALKT6XN2D6CARDWYTX7NJLLTECTZVANCNFSM4ZIZEIYQ
.

Here is the link to my repo:https://github.com/ugochukwumartins/decagontest Try loading the CSV file
…
On Wed, 17 Mar 2021, 2:18 pm darshankawar, @.***> wrote: @ugochukwumartins https://github.com/ugochukwumartins Please also provide a complete minimal reproducible code sample https://stackoverflow.com/help/minimal-reproducible-example that we can directly use to verify the issue you are facing. Thanks. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#78331 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKT6XN2D6CARDWYTX7NJLLTECTZVANCNFSM4ZIZEIYQ .

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.1
  http: ^0.12.2
  csv:  ^4.1.0

@ugochukwumartins
csv is a 3rd party plugin, please open an issue in the dedicated github
or provide your flutter doctor -v, your flutter run -v
and a minimal reproducible code sample without 3rd party plugins

Please open this issue in dedicated repo as suggested above.
I am closing this as third party issue. If you disagree or think this is indeed flutter issue, write in comments and I'll reopen it.
Thanks.