Cannot authenticate with blueair server

I'm trying to get the integration to authenticate but it keeps erroring out. I've updated my password with blueair via a "password reset" and a normal "change password" both times I synced it up in the integration but it is continues to report "invalid password".
First it reports this:
Uncaught error from Chrome WebView 119.0.6045.193 on Android 13 TypeError: Cannot read properties of undefined (reading 'friendly_name') friendly_name (src/common/entity/compute_state_name.ts:8:13) entityId (src/data/history.ts:318:6) computeGroupKey (src/data/history.ts:481:8) computeHistory (src/data/history.ts:431:28) this.hass!, (src/panels/lovelace/cards/hui-history-graph-card.ts:118:10) callbackFunction (src/data/history.ts:259:17) callback (node_modules/home-assistant-js-websocket/dist/connection.js:23:33) forEach (node_modules/home-assistant-js-websocket/dist/connection.js:15:25)

After trying a few times it then returns this:
Error setting up entry XXXXXXXXXXXXX for ha_blueair
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ha_blueair/__init__.py", line 72, in async_setup_entry
    _, devices = await get_devices(
                 ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/blueair_api/util_bootstrap.py", line 27, in get_devices
    api_devices = await api.get_devices()
                  ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/blueair_api/http_blueair.py", line 116, in get_devices
    "X-AUTH-TOKEN": await self.get_auth_token(),
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/blueair_api/http_blueair.py", line 42, in get_auth_token
    self.auth_token = await self._get_auth_token()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/blueair_api/http_blueair.py", line 100, in _get_auth_token
    raise LoginError("invalid password")
blueair_api.errors.LoginError: invalid password

This is with debug logging enabled.

More detail.
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/blueair_api/http_aws_blueair.py", line 16, in request_with_active_session_wrapper
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/blueair_api/http_aws_blueair.py", line 164, in devices
    "Authorization": f"Bearer {await self.get_access_token()}",
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/blueair_api/http_aws_blueair.py", line 156, in get_access_token
    await self.refresh_access_token()
  File "/usr/local/lib/python3.11/site-packages/blueair_api/http_aws_blueair.py", line 146, in refresh_access_token
    await self._post_request_with_logging_and_errors_raised(
  File "/usr/local/lib/python3.11/site-packages/blueair_api/http_aws_blueair.py", line 53, in request_with_errors_wrapper
    raise SessionError(response_text)
blueair_api.errors.SessionError: {"message":"Token invalid or Request Timeout"}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ha_blueair/__init__.py", line 75, in async_setup_entry
    _, aws_devices = await get_aws_devices(
                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/blueair_api/util_bootstrap.py", line 56, in get_aws_devices
    api_devices = await api.devices()
                  ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/blueair_api/http_aws_blueair.py", line 24, in request_with_active_session_wrapper
    response = await func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/blueair_api/http_aws_blueair.py", line 164, in devices
    "Authorization": f"Bearer {await self.get_access_token()}",
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/blueair_api/http_aws_blueair.py", line 156, in get_access_token
    await self.refresh_access_token()
  File "/usr/local/lib/python3.11/site-packages/blueair_api/http_aws_blueair.py", line 146, in refresh_access_token
    await self._post_request_with_logging_and_errors_raised(
  File "/usr/local/lib/python3.11/site-packages/blueair_api/http_aws_blueair.py", line 53, in request_with_errors_wrapper
    raise SessionError(response_text)
blueair_api.errors.SessionError: {"message":"Token invalid or Request Timeout"}

Getting invalid tokens or request timeout messages.

the error you have in the stack isn't about passwords, it is about timeouts.  maybe you have a firewall blocking your traffic?

it is about timeouts.

A couple of things to mention here.

I was just using the aijayadams blueair integration component previously. It worked well since September 2021 until yesterday when I uninstalled it. I did have some warnings about the wrong units being used for the entities but other than that it was working! Yesterday, when looking closer at it, I saw that his repo had been removed from HACS. Since it was no longer maintained and I saw yours which seemed to be maintained I attempted the transition. After uninstalling the old one and installing this new one I now see this error consistently.
Per your comment, I tried pulling up my live firewall logs while reloading the integration to force it to attempt to make the connection. I didn't see anything getting blocked by my firewall. Does your integration use a specifically different port to authenticate? My Home Assistant hardware should have access to the internet with which to connect and authenticate. I guess I'm not sure what else I can check on my end.

Do you have any other ideas of things I can try to figure it out?

I'm getting the same error. It was working great until we had a power outage this morning and now am seeing this.
Logger: homeassistant.config_entries
Source: config_entries.py:402
First occurred: 11:04:17 AM (1 occurrences)
Last logged: 11:04:17 AM
Error setting up entry {my email} for ha_blueair
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ha_blueair/init.py", line 72, in async_setup_entry
_, devices = await get_devices(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/blueair_api/util_bootstrap.py", line 27, in get_devices
api_devices = await api.get_devices()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/blueair_api/http_blueair.py", line 116, in get_devices
"X-AUTH-TOKEN": await self.get_auth_token(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/blueair_api/http_blueair.py", line 42, in get_auth_token
self.auth_token = await self._get_auth_token()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/blueair_api/http_blueair.py", line 100, in _get_auth_token
raise LoginError("invalid password")
blueair_api.errors.LoginError: invalid password

I've finally started to see this too, but it is intermittent so might take a few days to track down

Don’t know if it would be helpful but the only way I get it to resolve after a reboot is to disable and then re enable the integration.
On Wed, Dec 20, 2023 at 21:44, Brendan Dahl @.***(mailto:On Wed, Dec 20, 2023 at 21:44, Brendan Dahl < wrote:

I've finally started to see this too, but it is intermittent so might take a few days to track down
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Don’t know if it would be helpful but the only way I get it to resolve after a reboot is to disable and then re enable the integration.

My integration has never succeeded. I just tried the disable/re-enable method and it still doesn't seem to authenticate properly.

I think the blue air servers are just overwhelmed and often time out, every time you reload or disable/re-enable the integration just tries again, sometimes retrieving an auth token completes those methods are just allowing it to retry.  I doubt we can fix this, I'll try to look into more graceful retry methods in ha but hopefully blue fixes their servers soon

1.8.0 should wrap the error in a way that allows home assistant to gracefully retry to expo backoff etc when the login server times out
based on what I observed in while developing this fix my guess is the pool of api servers has one broken server without a health check so it isn't being removed from the pool even though it is broken. I assume blueair will fix this but no idea when, but 1.8.0 should manage the symptoms until then.

You’re awesome
On Wed, Dec 20, 2023 at 22:30, Brendan Dahl @.***(mailto:On Wed, Dec 20, 2023 at 22:30, Brendan Dahl < wrote:

1.8.0 should wrap the error in a way that allows home assistant to gracefully retry to expo backoff etc when the login server times out
based on what I observed in while developing this fix my guess is the pool of api servers has one broken server without a health check so it isn't being removed from the pool even though it is broken. I assume blueair will fix this but no idea when, but 1.8.0 should manage the symptoms until then.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

can confirm the retry is working in 1.8.0 took ha 5 tries on my setup but no intervention was required at least

I've updated to the 1.8.0 and restarted HA but I'm still getting the "Failed setup, will retry" message.
It's pretty strange, I've deleted and reloaded the integration a couple of times and it takes my username and password at the initial prompt (saying success!) but then fails to complete the setup and doesn't create any entities. I've tried entering a bad username or password and it doesn't let the initial prompt go away so I know it's taking my credentials appropriately but then fails to succeed subsequently.

"Failed setup, will retry" is the new message 1.8.0 allows, don't reload/delete etc just let it keep trying until their server works once you have a token it seems the rest of the endpoints aren't having this issue; though if you delete and then try to re-add you will have to manually keep trying if you get a bad login server while attempting to login/setup the integration for the first time

"Failed setup, will retry" is the new message 1.8.0 allows, don't reload/delete etc just let it keep trying until their server works once you have a token it seems the rest of the endpoints aren't having this issue; though if you delete and then try to re-add you will have to manually keep trying if you get a bad login server while attempting to login/setup the integration for the first time

what if it never succeeds?

@spikeygg then you have very bad luck or you haven't let it try enough; or you have a different error but that seems less likely

@spikeygg then you have very bad luck or you haven't let it try enough; or you have a different error but that seems less likely

maybe you can have it report how many times it has tried? I think it's trying and failing repeatedly because something isn't right. I'm leaving it go and retry and it isn't succeeding.

you can watch it retry either counting what's in the logs or just have the integration page on your ha instance up; :8123/config/integrations/integration/ha_blueair on the integration page you can watch the status changing from intializing to failed and back again

you can watch it retry either counting what's in the logs or just have the integration page on your ha instance up; :8123/config/integrations/integration/ha_blueair on the integration page you can watch the status changing from intializing to failed and back again

with the debug logging enabled, nothing is reported to the home assistant logs.

1.8.1 adds extra logging when it has to retry, ha has built in logging described https://developers.home-assistant.io/docs/integration_setup_failures/ referencing ConfigEntryNotReady but for convenience there is no harm in extra logging :)

So reviewing the debug logs, it looks like my login is succeeding eventually (six retries) and the debug log saysit is creating the entities but, apparently, that isn't making its way back to the integration/HA because the entities don't show up in the devices and I don't see the entities in my list. I'd post my debug log but it looks like there is a lot of sensitive information in it... is there some way to send it to you securely?

Ah ha! With your debug version I was able to see that the 'brightness' json entry didn't exist for one of my purifiers (likely because I turned it completely off, to zero on their app). This was causing problems with the integration.
I went into their app and set the brightness on all devices to something non-zero... after doing that the integration worked! I still think there's a bug in the integration because it can't handle a non-existent 'brightness' value but at least I'm operational now. 👍

@spikeygg 1.8.4 should gracefully handle missing brightness values

Thanks for the support!


There is no block's examples in "device" reference

Repro steps:

Navigate to https://pxt.microbit.org/reference/devices/tell-remote-control-to
Click the start

Observe the examples

All devices blocks have no examples.

Navigate to https://pxt.microbit.org/reference/devices
Click any blocks to observe.

Looks like adding the devices dependency is failing in docs.

Seems that package load fails for "Devices" in complieAsync for the embedded sim.

thanks @ganicke I will take a look


Create new distribution form & related (models, views, url references, tests)

This change is

Review status: 0 of 12 files reviewed at latest revision, 2 unresolved discussions.

activitydb/admin.py, line 142 [r1] (raw file):

admin.site.register(ProjectType, ProjectTypeAdmin)
admin.site.register(TrainingAttendance)
admin.site.register(Distribution)

We need to import the DistributionAdmin admin class from the model and register it here.

activitydb/views.py, line 1923 [r1] (raw file):

        return kwargs

    def get_initial(self):

I think you may want to change this to program rather then agreement.   A distribution would always be associated with a program and sometimes an agreement.  It depends on what the KWARG for ID represents in the URL though but I'm assuming a program

Comments from Reviewable

Reviewed 1 of 12 files at r1.
Review status: 1 of 12 files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable

Reviewed 11 of 12 files at r1.
Review status: all files reviewed at latest revision, 4 unresolved discussions.

activitydb/views.py, line 1923 [r1] (raw file):
Previously, glind (Greg Lind) wrote…
> I think you may want to change this to program rather then agreement.   A distribution would always be associated with a program and sometimes an agreement.  It depends on what the KWARG for ID represents in the URL though but I'm assuming a program

or have an initial for both program and agreement if it's coming from the project dashboard

activitydb/migrations/0008_distribution.py, line 50 [r1] (raw file):

                ('create_date', models.DateTimeField(blank=True, null=True)),
                ('edit_date', models.DateTimeField(blank=True, null=True)),
                ('activity_code', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='activitydb.ProjectAgreement', verbose_name='Project Initiation')),

I would rename activity_code to "initiation"

templates/activitydb/distribution_list.html, line 25 [r1] (raw file):

{{ item.create_date|date }} - {{ item.distribution_name }}

        Beneficiaries

This seems like a natural next step is to link beneficiaries to a distribution.

Comments from Reviewable


Add async compute performance sample

Description
This sample demonstrates how multiple queues should be used on TBDR (Arm) architectures to keep all queues busy with work. The sample uses a compute shader post-processing pipeline, which normally is a problem on mobile, but it can be made to work well if we use multiple queues to remove starvation of fragment hardware queue.
Also demonstrates more direct use of semaphores, queue ownership transfers.
Tested on Arm, RADV and NV.
General Checklist:
Please ensure the following points are checked:

[x] My code follows the coding style
[x] I have reviewed file licenses
[x] I have updated the header Copyright to reflect the current year (CI build will fail if Copyright is out of date)
[x] I have commented any added functions (in line with Doxygen)
[x] I have commented any code that could be hard to understand
[x] My changes do not add any new compiler warnings
[x] My changes do not add any new validation layer errors or warnings
[x] I have used existing framework/helper functions where possible
[x] My changes build on Windows, Linux, macOS and Android. Otherwise I have documented any exceptions
[x] My changes do not add any regressions
[x] I have tested every sample to ensure everything runs correctly
[x] This PR describes the scope and expected impact of the changes I am making

Sample Checklist
If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist:

[x] I have tested the sample on at least one compliant Vulkan implementation
[x] If the sample is vendor-specific, I have tagged it appropriately
[x] I have stated on what implementation the sample has been tested so that others can test on different implementations and platforms
[x] Any dependent assets have been merged and published in downstream modules
[x] For new samples, I have added a paragraph with a summary to the appropriate chapter in the samples readme

@marty-johnson59 Good to go.


Cannot Find on HomeKit iOS 10 (from Raspberry Pi)

Hey guys!
Got it all up and running here is the output:
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
[12/6/2016, 12:44:02 AM] Loaded plugin: homebridge-http
[12/6/2016, 12:44:02 AM] Registering accessory 'homebridge-http.Http'
[12/6/2016, 12:44:02 AM] ---
[12/6/2016, 12:44:02 AM] Loaded config.json with 1 accessories and 0 platforms.
[12/6/2016, 12:44:02 AM] ---
[12/6/2016, 12:44:02 AM] Loading 1 accessories...
[12/6/2016, 12:44:02 AM] [Christmas Lights] Initializing Http accessory...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘

[12/6/2016, 12:44:02 AM] Homebridge is running on port 51826.
[12/6/2016, 12:44:02 AM] [Christmas Lights] Light received power http://localhost/status/100059 state is currently NaN
[12/6/2016, 12:44:02 AM] [Christmas Lights] Setting power state to off
[12/6/2016, 12:44:02 AM] [Christmas Lights] HTTP set power function succeeded!
Im using homebridge-http as well, https://github.com/rudders/homebridge-http
To add to home kit, I'm clicking add accessory while on the same wifi as the Pi.
Whats wrong! Any help is much appreciated.

If I run sudo DEBUG=* homebridge,
It works! But without it, it does not....

Okay - Now, If I refresh the username (Mac address) it will allow me to try to add it, but it says could not add home bridge.

Erased persists, changed Mac, restarted phone, restarted pi, all at once. It then worked!


chore: tasks deps

Types

[x] 💄 Code Style Changes

Background or solution
Changelog

closed #788


Add new endpoints to the jenkins dict.

Hi,
This PR add new endpoints based on the admin panel of one of the last version of Jenkins:

Thank a lot in advance 😃

Thank you!


error

Teach BreadboardError about ErrorCapability.
docs(changeset): Teach BreadboardError about BreadboardCapability.

@aomarks PTAL. I tried to leave things better than when I started.


Couldnt load plugin

when i try to create a character and i click on what  theme to make my character, it says couldnt load plugin

even when i make a video and when i click themes it says couldnt load plugin

also i tried closing it out and opening up again but it says ffmpeg file was not found

but ffmpeg is in the folder


Updating model on paste

We have a use case where the user will paste and then hit the submit button. This would lead to the pasted content not being sent down the wire.
Note if you trigger any key press, the model is updated with the pasted content but we did not want to make the users have to rely on that.

Closing. Will take #167 if I can reproduce issue.


⚠ Bofrost.es has degraded performance

In 428d0fc, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1541 ms

Resolved: Bofrost.es performance has improved in ad66aed after 6 minutes.


Naming Conventions

Names of files and components mismatching or confusing based on usage:

BackMeUp function in  BackBtn component (Change function name to BackBtn)
Signup component should be renamed SignupForm to differ from the page Signup (both file and function)
ProfileInfo function in UserProfile component (Change file name to ProfileInfo)
DeleteHook changed to DeleteVillager
EditProf function in EditProfile (Change function name to EditProfile)
EditProfile component should be EditProfileForm to differ from the page (both file and function)
CreateVillage component should be CreateVillageForm to differ from the page (both file and function)
CreateVillages function in CreateVillage component (Change function name to CreateVillage)
CreateVillageBttn fix spelling to CreateVillageBtn
Page EditReq but function is EditRequest
EditReq component should be EditReqForm to differ from page (both file and function)
SingleRequest function in DisplaySingleRequest component (Change file name to DisplayRequest)
CreateReq page function is called Create (Change function name to be CreateReq to match file)
CreateReq component should be CreateReqForm to differ from the page (both file and function)
EditVillage page function is EditVillages (should be EditVillage)
EditVillage component should be EditVillageForm to differ from the page (both file and function)
VillageRequests function in AllRequest component (Change file to VillageRequests)

EditReq Component changed to EditReqForm completed on pull request #108


Remove issue templates that came from default theme

Decided to keep them. Updated them instead. https://github.com/open-voice-network/website/commit/b22bbf601c54d5f2b232420739231b7a55c09624


[Enhancement] Update Forms dependency to XF5

Summary
More and more good stuff is added to Xamarin.Forms 5, to make optimal use of all of that goodness, let's update our dependency to Xamarin.Forms 5 as well. This has one bigger implication for the stable release: we need to wait for a Forms 5 stable release before we can do ours, but we're close enough to the fire to make that happen on the same day.
If a lot of requests come in for effects, behaviors and/or converters for lower Forms versions we will handle it then
@pictos, you have looked into this? Were there issues with doing this?

When I tried I faced some runtime errors, one of them was caused by PancakeView and some controls also failed. I'll try it again and maybe create a XF5.0 dependency-branch here. I reported my experience on XCT discord's channel, you can find the first message here.

Testing again...
Core

Ambiguity on WeakEventManager, we need to decide which one we will use (Forms or ours), maybe change the name?

This also affects our users, because now that XF opens its implementation of WeakEventManager users can be confused about which one they would choose. I can remember that @brminnick said that ours is more robust than XF.

Android

We need to dropoff the MonoAndroid9.0 from TargetFrameworks and just compile MonoAndroid10 and above
Some ambiguity with members names in forms (it's easy to fix)
Change some references to use Xamarin.AndroidX instead of the Xamarin.Android.SupportLibs
PancakeView errors, need to upload to preview version;

Thanks @sthewissen for the quick fix you are awesome!

iOS, UWP and WPF

Just works.

GTK and Tizen

I didn't test.

Actions
Since I could make it build, I created this branch here with this update.
If you need to open a PR that needs XF5.0 use this branch as a test, but - for now - it's just a POC.

For the Android bits; does that mean we can also use the AndroidX CameraView?
Not too concerned about all of that.  Any suggestions?

@jfversluis

For the Android bits; does that mean we can also use the AndroidX CameraView?

I think that we can use CameraViewX but it's in beta right now. If we are ok with it I can do a spike on that.

Not too concerned about all of that.  Any suggestions?

I would like to wait for @brminnick input on this one.

Hi Friends!
Here's my recommendation:

Remove Xamarin.CommunityToolkit.Helpers.WeakEventManager
Keep Xamarin.CommunityToolkit.Helpers.WeakEventManager<TEventArgs>
Migrate all Xamarin.CommunityToolkit.Helpers.WeakEventManager dependencies to Xamarin.Forms.WeakEventManager

E.g. In Xamarin.CommunityToolkit.ObjectModel.BaseCommand, replace Xamarin.CommunityToolkit.Helpers.WeakEventManager with Xamarin.Forms.WeakEventManager

WeakEventManager PR done: https://github.com/xamarin/XamarinCommunityToolkit/pull/597 🎉
The plan to use extension methods was thwarted because Xamarin.Forms.EventManager uses a private field for Dictionary<string, List<Subscription>> _eventHandlers, which the extension methods could not access.
The workaround was to rename Xamarin.CommunityToolkit.Helpers.WeakEventManager to Xamarin.CommunityToolkit.Helpers.DelegateWeakEventManager

OK I think this is all done!

The plan to use extension methods was thwarted because Xamarin.Forms.WeakEventManager uses a private field for Dictionary<string, List<Subscription>> _eventHandlers, which the extension methods require but could not access.

So why does the DelegateWeakEventManager the same and keep the subscriptions private? I'm working on a project that needs to do some actions when the last handler has been removed. Thus I need to know the subscription count. For now I have to count the registrations by myself.


fix color code for black in dxf

AutoCAD does not accept files with color code 0.

Thanks! Can we find a link that is not using ftp:// ?

I looked at several options, but unfortunately as with almost anything dxf, everything is shitty.

its not in the reference
there is some odd php page that lists 0 as legit and 0 and 255 are listed as beeing rgb(0,0,0) but one is displayed as white and one as black.
there is a AutoDesk Knowledge Base Article Colors for DWG/DXF Export, but nothing about the codes in there
there is tons of forum threads, but after the fifth without any info about the actual colors I said to myself, why not ftp? ftp is great!

@DerKorb - do you have a sample DXF that demonstrates the black working?  I was able to recreate the error on 0 : Improper color number 0 for Layer on line 46.  I have not been able to get 255 to work though.  I also tried 250 because that is the AutoCad Color Index that the application appears to use, but that doesn't seem to work either.

I did not try it in AutoCAD yet, as I have to switch to windows each time. I was assuming it would work, as it appears to be a very simple fix and it was shown in two of the color tables. I managed to get it to work by replacing all occurences of 62\n0 by 62\n1 before though. (everything was red then) So in principal it should work, maybe 255 is invalid as well.

Looking at the reference link and did a search for 62, I say that:

0 = BYBLOCK; 256 = BYLAYER

so, perhaps it needs to be 256 ?

Also, maybe you can open the Index Color Tab in AutoCAD.

I think it is 250.  I am not sure why it didn't work the first time I tried it, but I was able to get that value to work when I retried it.

I think 250 is a very dark charcoal gray.

I think the screenshot states RGB 0, 0, 0

QCad seems to use 7 as black.

Yeah. There’s no documentation from Autocad, but if you search then there are some contributions of color lists. I found a couple of complete lists (and converted) for use in JSCAD.
https://github.com/jscad/io/blob/V2/packages/dxf-deserializer/autocad.js

Perhaps we can make this an option which you can specify when calling exporter.toDXF(model, options)

Perhaps we can make this an option which you can specify when calling exporter.toDXF(model, options)

Perhaps we can make this an option which you can specify when calling exporter.toDXF(model, options)

That’s probably a good choice as the color list changes based the version  of AutoCad.

Perhaps we can make this an option which you can specify when calling exporter.toDXF(model, options)

That’s probably a good choice as the color list changes based the version  of AutoCad.

I'm going to close this, until we have better definition.


Automator: update proxy@master in istio/istio@master

Generated by Automator - 2023-07-24T22:41:55+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
5139be3a952d985afbdd65021970442e36a7d1c9
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


copy-X - Further flesh out entry

Do not bother looking at this yet. I haven't even backported the final fixes from the recent merge yet.

Ready to begin actual review.


Captive Portal Customize Vouchers System

My clients are facing difficulties when trying to log in using the vouchers I provide. The current voucher format is somewhat complicated for them. Here's the current format as an example:
Voucher Format:
Username: Gj54b#
Password: v&Td4s
I'm interested in simplifying this format, perhaps by using just a voucher number or even by combining the username and password into a single numeric code. Is it feasible to use only numeric codes for authentication? Your input on this matter would be greatly appreciated.
Can someone create a plugin regarding this to enhance the experience?

please don't spam our Github on multiple repo's and use our templates in the correct one (core)


Fix curve edit set_point_position

Fixes #95752
Before
before.webm
After
after.webm

Hey there, I was just wondering if this could be merged sooner, it would mean the world for a newbie contributor like me 😀

cc. @Geometror


How to detect subscription renewal?

Is purchaseUpdatedListener called again, when a subscription is renewed? If not, what is the best way to detect this event, when not using server notifications?

@henrik-d did you figure this out already? I am asking myself the same question

My observation was that purchaseUpdatedListener as called on the next app-start after a renewal, but only on iOS! So that was not a solution for us. Instead we check the status of the subscription on every app start manually, by validating the receipt again with our server. That way we get the latest information about expiryDate etc.
Hope this helps!

@henrik-d That definitely helps! Thank you!

I have done some more research and it seems that the official way to achieve this is to use server-notifications: https://developer.apple.com/documentation/appstoreservernotifications
have you had experiences with this? @henrik-d

I have done some more research and it seems that the official way to achieve this is to use server-notifications: https://developer.apple.com/documentation/appstoreservernotifications
have you had experiences with this? @henrik-d

Using server notifications is definitely the more robust way to implement this. We decided against it, because it seems very complicated, especially when you need support for iOS and Android. It might be worth to check out https://www.iaphub.com/ or https://www.revenuecat.com/ which take the heavy lifting for you.

Using server notifications is definitely the more robust way to implement this. We decided against it, because it seems very complicated, especially when you need support for iOS and Android. It might be worth to check out https://www.iaphub.com/ or https://www.revenuecat.com/ which take the heavy lifting for you.

Thanks for confirming!

Thanks for confirming!

If anyone is using Laravel, this seems to be the best package that handles all of the server notifications and receipt validation stuff: https://github.com/imdhemy/laravel-in-app-purchases

If anyone is using Laravel, this seems to be the best package that handles all of the server notifications and receipt validation stuff: https://github.com/imdhemy/laravel-in-app-purchases

@kayamy Yes, here is the basic function:
private async checkForSubscriptionUpdates() {
    // check if user was subscribed (information is stored in redux store)
    if (!this.isUserSubscribed()) return;

    if (Platform.OS === 'ios') {
      const receipt = await IAP.getReceiptIOS();
      await this.processReceipt(receipt);
    }
    if (Platform.OS === 'android') {
      const subscriptionPurchase = await this.getMostRecentSubscriptionPurchase(); // uses IAP.getAvailablePurchases()
      if (subscriptionPurchase) {
        await this.processReceipt(subscriptionPurchase.transactionReceipt);
      } else {
        await this.store.dispatch(user.actions.revokeProSubscription());
      }
    }
  }

processReceipt() sends the receipt to the server to check if the subscription is still active.

@henrik-d thanks! I'm guessing you keep track of the subscription status serverside?

@kayamy As stated early, keeping track on the server using server notifications is the more robust solutions, but also way more complicated to implement. We only check the subscription status on the client side.

You need to validate receipt in order to do this progress which is recommended to handle in the server-side.

@henrik-d do you know if it's possible to rely on the initial receipt that you get when calling requestSubscription ?
in your approach you're not relying at all on the purchaseUpdatedListener for renewals right?
i found that the second, 3rd etc. time that purchaseUpdatedListener gets called it returns a different receipt (on iOS)
i'm wondering if i can just stop using purchaseUpdatedListener after the initial purchase and use an api call to my server to keep the subscription active.
and as a side-note, have you tested re-enabling the subscription outside of the app? (under the appstore settings)
if you're not using purchaseUpdatedListener the app will never know that the user re-enabled the subscription via the settings.
thanks so much for your help so far @henrik-d @hyochan  :)

@kayamy

do you know if it's possible to rely on the initial receipt that you get when calling requestSubscription ?

As far as I know you can use the original receipt on iOS, not sure about Android. Nevertheless we always use the latest receipt.

in your approach you're not relying at all on the purchaseUpdatedListener for renewals right?
i found that the second, 3rd etc. time that purchaseUpdatedListener gets called it returns a different receipt (on iOS)

Yes, we do not rely on purchaseUpdatedListener for renewals, but calling IAP.getReceiptIOS() will give the latest receipt.

and as a side-note, have you tested re-enabling the subscription outside of the app? (under the appstore settings)
if you're not using purchaseUpdatedListener the app will never know that the user re-enabled the subscription via the settings.

We don't use purchaseUpdatedListener for renewals, but for subscriptions made outside the app. So you should register the callback on every app start anyway.

The original receipt should work, at least in my experience. Did anyone experience something else?

Now i wonder if there is a risk in updating the receipt. Or is it going to be validated the same as the original token..didn't find any documentation on what is the healthiest approach.

I was also wondering if the transactionDate is updated on each renewal, or if its stored the same regardless of the renewal cycle. If the package gives new transaction date on each successful renewal, then it's pretty simple... Save in the server and handle by date, however the documentation doesn't state a lot of things.
Any info?

@henrik-d Hi you, I am also planning to use IAPHUB as you suggested. Can you tell me more when renew subscription is activated, how can IAPHUB call the API on my server to update a specific field, specifically isPremium true? in my database?

@henrik-d

const subscriptionPurchase = await this.getMostRecentSubscriptionPurchase(); // uses IAP.getAvailablePurchases()

does getMostRecentSubscriptionPurchase function gets the 0th element from IAP.getAvailablePurchases() ?

I was also wondering if the transactionDate is updated on each renewal, or if its stored the same regardless of the renewal cycle. If the package gives new transaction date on each successful renewal, then it's pretty simple... Save in the server and handle by date, however the documentation doesn't state a lot of things. Any info?

No, i tried and nothing updates after renewal happens.

We might need to implement web hooks , we. did but still the hook which is responsible for tracking renewal doesn’t get triggered when a renewal happens. Any one else who tried?


control item size

my use case for this package was having 3 items only in the bottom navigation bar yet the item width was limited to 60 with no way to control it which resulted in an overflow, i just added a property called itemSize with allows to control specifically the label size.

@eslamira Please refer #30 for more details on this. Thanks.


App\Models\OrderType::translator must return a relationship instance.

Hello!
I'm installed your package!
Thank you so match!
It's very useful package.
I have an problem.
use Illuminate\Database\Eloquent\Model;
use UrlHelper;
use Croppa;
use Nevadskiy\Translatable\Strategies\SingleTableExtended\HasTranslations;

class OrderType extends Model
{
	protected $translatable = [
		'name',
		'title',
		'description',
		'instruction',
		'comment',
		'youtube_video_id',
	];

	use HasTranslations;
}

I have an error
App\Models\OrderType::translator must return a relationship instance.

I'm sorry, it's my error by usign standart model


Can't complete order

Just bought some ZEC using bitcoin. Seller sent me my ZEC outside of OpenBazaar, and fulfilled the order. I received a notification that my order has been fulfilled, and I can see the fulfillment details/transaction ID, but the order is not being moved into fulfilled state, so there's no way for me to complete the order (see screenshot below).
Operating System: MacOS Sierra 10.12.5
OpenBazaar version: Version 2.2.3
Hardware: MacBook Pro (Retina, 13-inch, Early 2015)

@rmisio I think this should be it. Let me know if you need anything else!

"contract": {
"vendorListings": [
{
"slug": "zcash-zec-for-bitcoin-btc",
"vendorID": {
"peerID": "QmaW2iTEkAMhDCEm1pKtD2DXhivCvrHmkbnbwLBdsK1ccS",
"handle": "",
"pubkeys": {
"identity": "CAESII6fFoykUYoOHRjug56VRZRqP2Wn6c3WTImexZJigDer",
"bitcoin": "Arwv4quWW/XgJ7DU8SA4RBpRkaCIeBnRziGvyzzq4JyM"
},
"bitcoinSig": "MEUCIQCS8ODN8tMImxRGeyHFPEtZak+teKx77+J2vko0yEC+9wIgdO9IH3Wa0JVLPlGhIi76BIz3Uph2X+6TtP1BldBqlPk="
},
"metadata": {
"version": 4,
"contractType": "CRYPTOCURRENCY",
"format": "MARKET_PRICE",
"expiry": "2037-12-31T00:00:00.000Z",
"acceptedCurrencies": [
"BTC"
],
"pricingCurrency": "",
"language": "",
"escrowTimeoutHours": 1080,
"coinType": "ZEC",
"coinDivisibility": 100000000,
"priceModifier": 0
},
"item": {
"title": "BTC-ZEC",
"description": "Freshly mined, untainted Zcash.Buy with confidence with  the moderator of your choice.Mobile wallet for Android or iOS (tested to be compatible with the latest update): https://coinomi.com/Full Zcash node:https://z.cash/download.html",
"processingTime": "",
"price": 0,
"nsfw": false,
"tags": [
"zec",
"zcash",
"crypto",
"privacy",
"coin"
],
"images": [
{
"filename": "zec.jpg",
"original": "zb2rhfLfMaC9PfBCjBPH6ERQE3Na5JbCpShP6CQR3oyyPR4hx",
"large": "zb2rhdRks8QU9QkGnMd6R8fU5VWVahjjrwqkjhNQjwbhnY9J3",
"medium": "zb2rhZMFy4MavBwEjto9G93Fo5hKUqhnPp4GXyArtJZAaE2Wb",
"small": "zb2rhnzy4GX46rdjiQVNz2n6am2KLDqW9vTSbu2GEjFA8pAKw",
"tiny": "zb2rhbTy4LQFzyCt1hfSGZkduv2E81262MH1Wby9fuGGg983h"
}
],
"categories": [
"cryptocurrency"
],
"grams": 0,
"condition": "",
"options": [
],
"skus": [
{
"productID": "",
"surcharge": 0,
"quantity": 0
}
]
},
"shippingOptions": [
],
"coupons": [
],
"moderators": [
"QmZ8pAsnSoLNJkMVGoLrtG4qq9GeTEWBFHkwyjugPtbH4y",
"QmduBPTQNaXYWivhjNEs8fx5psgazDpH4x1DJqtTcVXhPs",
"QmZQ1etBmR8GXGey4h5xUoLtddF8yQsjVS3NgQ4FFLkGfb",
"QmUkQuY5ChYhutKuy4qmgqg6HPzqYvG4xSJtPHY7RCAcMQ",
"QmVFNEj1rv2d3ZqSwhQZW2KT4zsext4cAMsTZRt5dAQqFJ"
],
"termsAndConditions": "",
"refundPolicy": ""
}
],
"buyerOrder": {
"refundAddress": "1AGEzcmZdkcatiD8JEzMdTpHWkf13Pjcsz",
"refundFee": 1,
"shipping": {
"shipTo": "",
"address": "",
"city": "",
"state": "",
"postalCode": "",
"country": "NA",
"addressNotes": ""
},
"buyerID": {
"peerID": "QmegBGkKCgMY6J2GWJweqzDd2UQNugdGwWuEX7wKmWv1sq",
"handle": "",
"pubkeys": {
"identity": "CAESIEdjm6Cmyn0NBp/KXWCmRILphmXksskAOxFW+oZ2vJ54",
"bitcoin": "Au2s8/f24lEke9vYdWTd7iC6LNQ37RNLLyfSU+fVvHVM"
},
"bitcoinSig": "MEQCICsJLSQ4wXX93hr4LMXACAFXY1fq1mBMPpmCoM3KIhBqAiBWxwmAM+NbKgBP5ALsnCREqG+7EtdBpIfctvPX2LZheQ=="
},
"timestamp": "2018-08-03T23:14:20.644928937Z",
"items": [
{
"listingHash": "zb2rhXNHQqhEyNB4RQn8hCjLbY9rU7kTVDe5PPQaQGHRxQbBn",
"quantity": 0,
"quantity64": 100000000,
"memo": "",
"paymentAddress": "t1ZuGzHjGeSxtXgsb9VCE1wZZfh4q5gRZJB"
}
],
"payment": {
"method": "MODERATED",
"moderator": "QmZ8pAsnSoLNJkMVGoLrtG4qq9GeTEWBFHkwyjugPtbH4y",
"amount": 2499801,
"chaincode": "02db989e5a0788d2e172357751306312de48027568f3dc1c987873a012480fca",
"address": "bc1qrlkxzcsxus82rdk262wg8ct8jzggn4ygmrkhm6el7yn78kpxmxmqvucnt7",
"redeemScript": "6352210366ffea1f460ca05d9408160dabba1133d3ac37e959fe20ff7ceb5e624d7816562103427608e205459057410320f2f8bdbcf5eebdbfd7854387be47aefc7d976af57c2102ffa554a1d28ed4e4eb5da4400ed44e3d849e74cea78a0239ba285655783f545f53ae67025019b2752103427608e205459057410320f2f8bdbcf5eebdbfd7854387be47aefc7d976af57cac68",
"moderatorKey": "Av+lVKHSjtTk612kQA7UTj2EnnTOp4oCObooVlV4P1Rf",
"coin": "BTC"
},
"ratingKeys": [
"A87Fub43ssmIqYRk/PP9kdcdz/pfOq5mhqUpCGxYFedr"
],
"alternateContactInfo": "",
"version": 2
},
"vendorOrderConfirmation": {
"orderID": "QmctDA9zxMPPZftxdpGFCdKWhGGQerzmACn1RsYRnELesJ",
"timestamp": "2018-08-04T19:03:07.344395901Z",
"paymentAddress": "bc1qrlkxzcsxus82rdk262wg8ct8jzggn4ygmrkhm6el7yn78kpxmxmqvucnt7",
"requestedAmount": 2499801,
"ratingSignatures": [
{
"metadata": {
"listingSlug": "zcash-zec-for-bitcoin-btc",
"moderatorKey": "Av+lVKHSjtTk612kQA7UTj2EnnTOp4oCObooVlV4P1Rf",
"listingTitle": "BTC-ZEC",
"thumbnail": {
"tiny": "zb2rhbTy4LQFzyCt1hfSGZkduv2E81262MH1Wby9fuGGg983h",
"small": "zb2rhnzy4GX46rdjiQVNz2n6am2KLDqW9vTSbu2GEjFA8pAKw",
"medium": "zb2rhZMFy4MavBwEjto9G93Fo5hKUqhnPp4GXyArtJZAaE2Wb",
"large": "zb2rhdRks8QU9QkGnMd6R8fU5VWVahjjrwqkjhNQjwbhnY9J3",
"original": "zb2rhfLfMaC9PfBCjBPH6ERQE3Na5JbCpShP6CQR3oyyPR4hx"
}
},
"signature": "mpSE6BNgPy0/n28D+TrvoLHwasT6dkC1Roc0wncRYREO8zqNb63SO2Yn/VQQWwFNrPbLSWGwF7FBZJXjXVmbAw=="
}
]
},
"vendorOrderFulfillment": [
{
"orderId": "QmctDA9zxMPPZftxdpGFCdKWhGGQerzmACn1RsYRnELesJ",
"slug": "zcash-zec-for-bitcoin-btc",
"timestamp": "2018-08-04T09:19:31.305996771Z",
"payout": {
"sigs": [
{
"inputIndex": 0,
"signature": "MEQCICiCRQP0Rzp5qNohaQYnt0NzpPYJ0shefZ+b9zzJZuc4AiBRj+zeBdHNAF9XFTDr/rUDZHCABQsHetiJ8SudZC2wFQE="
}
],
"payoutAddress": "1HMydKmvHVhy6ekhcx7ebX7iiDhmybqtZw",
"payoutFeePerByte": 1
},
"ratingSignature": {
"metadata": {
"listingSlug": "zcash-zec-for-bitcoin-btc",
"ratingKey": "A87Fub43ssmIqYRk/PP9kdcdz/pfOq5mhqUpCGxYFedr",
"listingTitle": "BTC-ZEC",
"thumbnail": {
"tiny": "zb2rhbTy4LQFzyCt1hfSGZkduv2E81262MH1Wby9fuGGg983h",
"small": "zb2rhnzy4GX46rdjiQVNz2n6am2KLDqW9vTSbu2GEjFA8pAKw",
"medium": "zb2rhZMFy4MavBwEjto9G93Fo5hKUqhnPp4GXyArtJZAaE2Wb",
"large": "zb2rhdRks8QU9QkGnMd6R8fU5VWVahjjrwqkjhNQjwbhnY9J3",
"original": "zb2rhfLfMaC9PfBCjBPH6ERQE3Na5JbCpShP6CQR3oyyPR4hx"
}
},
"signature": "lH+cfvULQrhDXSvo1aJA3Maj/snpd7HqowdZwQd2C05D5FCpizcygAPDbBee+k3/P2UnpGPUc6DQ7xBNKKi4Bw=="
},
"note": "Your ZEC is sent. Thank you for your purchase!",
"cryptocurrencyDelivery": [
{
"transactionID": "226ad30af2ab73a5c22aee106a3b0c57762cd6491a7633e765f6d87413d43eb7"
}
]
}
],
"signatures": [
{
"section": "LISTING",
"signatureBytes": "gUUgn/Oj2Q1z5RwqKqtCCsNBwyPVAUkY53wjfYJ8MFs4bBeqxnxGs2ZeDTeKLWgjCUFTlCDepRDCl2M7d6b0CQ=="
},
{
"section": "ORDER",
"signatureBytes": "Oqo3EDWePiY9B3oUFbxDh0n0AJZwmmMcG00bCgNsz52VDfnLQ/kX1xDUjQ7YFsiWkJNS+5rR//qFTfRnPWRtAA=="
},
{
"section": "ORDER_CONFIRMATION",
"signatureBytes": "4WetSu3uu5guIwZklh/J9zf0KOw7MexpEFzzy+06jYEt+kvosCrKOOPNusTZw5gGhBR9mYIR5Twy7pvCbBGgBA=="
},
{
"section": "ORDER_FULFILLMENT",
"signatureBytes": "OOo9wZcuXQTWlsNM+nG/lDVJtVqiosaU+AuiBROhJv8RBAZIy+Us8uYunnbkIST23fOHi9bKgylLmcKbscrTCA=="
},
{
"section": "ORDER_CONFIRMATION",
"signatureBytes": "uFbq5V3oMPR9diDW2vaeoYUcdKIjAXAt2qidoPfloINAY2S++QDaQi6J5HL70ThKKndDFwed3Q/JUjfBilHbDQ=="
}
]
},
"state": "AWAITING_FULFILLMENT",
"read": true,
"funded": true,
"unreadChatMessages": 0,
"paymentAddressTransactions": [
{
"txid": "f29cf2bf903699a710a7adc407a72bc18971dbcde63e910ddf45f209b7eebb22",
"value": 2499801,
"confirmations": 456,
"height": 535077,
"timestamp": "2018-08-03T23:15:42.875208702Z"
}
]
}

p.s. Thanks for the detailed instructions + screenshot. Never would've found it otherwise......

Thanks @miboediono!

Closing as this looks to be a server issue where the order state is not properly progressing:
https://github.com/OpenBazaar/openbazaar-go/issues/1069


chore(zappr): require approval of Norris+UX to merge

Closes #273

This will be merged straight to master instead


python311Packages.aioairzone-cloud: 0.3.4 -> 0.3.6

Diff: https://github.com/Noltari/aioairzone-cloud/compare/refs/tags/0.3.4...0.3.6
Changelog: https://github.com/Noltari/aioairzone-cloud/releases/tag/0.3.6
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

5 packages built:

home-assistant-component-tests.airzone_cloud
python310Packages.aioairzone-cloud
python310Packages.aioairzone-cloud.dist
python311Packages.aioairzone-cloud
python311Packages.aioairzone-cloud.dist


Which starter kit to use?

There seems to be two starter kit repos, one was last updated 2 days ago (https://github.com/NativeVision/expo-viro-starter-kit), and another was updated 2 years ago (https://github.com/NativeVision/starter-kit).
The viro documentation and github profile link to the old 2 year project. Which one is the correct starter kit we are supposed to use?

Hi! The expo started kit is updated with the most recent version of viro react. The older starter kit hasn't been updated yet. Apologies about this we're still in the process of cleaning the repo up

I've verified the starter kits with iOS, but not with Android. Help is wanted - if you can verify with android or help with Android
Starter kits to use:

Expo + TypeScript
React Native
Expo + JavaScript


Pr/209

:tada: This PR is included in version 7.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Font of tabs too small

Issue Report Checklist

[X] Searched the issues page for similar reports
[X] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[X] Tried basic troubleshooting (if a bug/error)

[X] Restarted Spyder
[X] Reset preferences with spyder --reset
[X] Reinstalled the latest version of Anaconda
[X] Tried the other applicable steps from the Troubleshooting Guide

[X] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
It's an old issue that hasn't been solved yet.
After setting the option Tools/Preferences/Application/Interface/Enable auto high DPI scaling, the font size of the tabs (and many UI components) remain very small.
https://ibb.co/0Fkvtwy
What steps reproduce the problem?

Install Spyder with python 3.10
Activate option Tools/Preferences/Application/Interface/Enable auto high DPI scaling

What is the expected output? What do you see instead?
The font size of the tabs is too small.
 I think the Spyder interface doesn't automatically scale when that option is enabled if you have a fractional scaling enabled on Windows.
So, please try to adjust the Spyder scaling using the option
Tools > Preferences > Application >Interface > Set a custom high DPI scaling

Let us know if that works for you.

Hello,
Thanks for your message. For a reason I ignore, rebooting my laptop fixed the issue. The option "Enable auto high DPI scaling" is still checked and all tabs are now displayed correctly...
Mark

Actually, the problem reappeared... Setting a custom high DPI scaling (I tried the values 1, 2 and 5) makes the windows way too big.

@ccordoba12 This is happening to me too. I just installed Spyder as a stand-alone application in Windows 10 and no matter how I try to fiddle with the custom high DPI scaling, the fonts of the file menus, the icons in the toolbars, and the tab fonts are all mis-matched. Either too big or too small relative to one another and the screen.
Here is an example of High DPI scaling set to 1.6.

This is happening to me now as well. It just started a week ago, I don't know what caused the change.

This happened to me, started from a few weeks ago too... The file tab font is just very very small, hard for me to read, and above mentioned method doesn't help.

Hi @ccordoba12 , this issue is labelled "Awaiting follow-up", but it sounds like the method that was proposed didn't actually work for the OP, nor for others in the thread (myself included).  I think the issue needs to be reopened. Thanks.

@rpinto73, please download and install Spyder 6. I think it fixes this problem.

I am not able to download it on my work computer anymore (where the problem was originally occurring) so hopefully @geobarry or @IreneNS can confirm if this solves the problem or not.

 Hope this helps!
On Tue, Oct 8, 2024 at 3:06 PM Rebecca @.***> wrote:

I am not able to download it on my work computer anymore (where the
problem was originally occurring) so hopefully @geobarry
https://github.com/geobarry or @IreneNS https://github.com/IreneNS
can confirm if Spyder 6 solves the problem or not.
—
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/20750#issuecomment-2400903093,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGJSANPO734ZQXHZXPNROCLZ2RJONAVCNFSM6AAAAABKCLCPK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBQHEYDGMBZGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks for your feedback @wangye803! It's a bit sad that Spyder doesn't look good out of the box, but at least there's now a way to fix that in Spyder 6.


Enable Carts API

In the current codebase, the carts API is only called if a user is logged in. It would be good to enable this so it's always called in order to enable more chaos experiments to be run on the environment

I have a theory that if the code is run in app service with "easy auth" switched on, this may inject the correct headers to enable the carts API.
If so, need to consider how this may be done via the likes of our JavaScript MSAL libraries https://github.com/AzureAD/microsoft-authentication-library-for-js  or https://www.npmjs.com/package/@azure/msal-react outside of App Services.


Wrong description of ML in ASA

"What you can do with it" for ASA looks just copied from upper row.

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

ID: d0bdc71b-0a54-4cc4-1b79-f60e274e9a51
Version Independent ID: 1783570c-3545-71c8-72d3-d5657f77c070
Content: Microsoft machine learning products - Azure Architecture Center
Content Source: docs/data-guide/technology-choices/data-science-and-machine-learning.md
Service: architecture-center
Sub-service: azure-guide
GitHub Login: @EdPrice-MSFT
Microsoft Alias: pnp

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

@rsk800 thanks for calling this out! I made a pull request to fix the text. https://github.com/MicrosoftDocs/architecture-center-pr/pull/5510


Add missing .com to README.md

Add missing .com to ...crm.ondemand URLs.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Add icon to ALL dialogs

or remove from new ones wth import/export

I think this is done - but we need to test and re-check


Skip button is incorrect

Hello world!
I updated my EAIntroView from 2.6 to 2.7 and my skip button size is incorrect.
This is my code
-(void) showWalkthroughWithAnimation:(BOOL)animate {
    EAIntroPage *page1 = [self createIntroPageWithTitle:NSLocalizedString(@"ROOT_VIEW_CONTROLLER_WALKTHROUGH_STEP1_TITLE", nil) description:NSLocalizedString(@"ROOT_VIEW_CONTROLLER_WALKTHROUGH_STEP1_DESCRIPTION", nil) imageName:@"walkthrough_step1"];
    EAIntroPage *page2 = [self createIntroPageWithTitle:NSLocalizedString(@"ROOT_VIEW_CONTROLLER_WALKTHROUGH_STEP2_TITLE", nil) description:NSLocalizedString(@"ROOT_VIEW_CONTROLLER_WALKTHROUGH_STEP2_DESCRIPTION", nil) imageName:@"walkthrough_step2"];
    EAIntroPage *page3 = [self createIntroPageWithTitle:NSLocalizedString(@"ROOT_VIEW_CONTROLLER_WALKTHROUGH_STEP3_TITLE", nil) description:NSLocalizedString(@"ROOT_VIEW_CONTROLLER_WALKTHROUGH_STEP3_DESCRIPTION", nil) imageName:@"walkthrough_step3"];
    EAIntroPage *page4 = [self createIntroPageWithTitle:NSLocalizedString(@"ROOT_VIEW_CONTROLLER_WALKTHROUGH_STEP4_TITLE", nil) description:NSLocalizedString(@"ROOT_VIEW_CONTROLLER_WALKTHROUGH_STEP4_DESCRIPTION", nil) imageName:@"walkthrough_step4"];
    EAIntroView *intro = [[EAIntroView alloc] initWithFrame:self.view.bounds andPages:@[page1,page2,page3,page4]];
    intro.pageControlY=[UIScreen mainScreen].bounds.size.height-50;;
    intro.pageControl.pageIndicatorTintColor=kWhiteMenuColor;
    intro.pageControl.currentPageIndicatorTintColor=kGreenColor;
    intro.bgImage=[UIImage imageNamed:@"walkthrough_background"];
    intro.bgViewContentMode=UIViewContentModeTopLeft;

    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [button setTitle:NSLocalizedString(@"ROOT_VIEW_CONTROLLER_WALKTHROUGH_SKIP_BUTTON_TITLE", nil) forState:UIControlStateNormal];
    [button setBackgroundColor:kGreenColor];
    [button setFrame:CGRectMake(0, 0, 270, 60)];
    intro.skipButtonAlignment = EAViewAlignmentCenter;
    intro.skipButtonY = 100;
    intro.skipButton = button;
    intro.showSkipButtonOnlyOnLastPage=YES;

    intro.swipeToExit=NO;
    intro.delegate=self;
    [intro showInView:self.view animateDuration:kWalkthroughShowAnimationDuration];
    self.showingWalkthrough=YES;
}

As you can see height should be 60, but using Spark Inspector I see is 34. See attached screenshot.

I don't understand what's happening. Probably something regarding autolayout/constraints. Debugging the code I see inside the lib, the skip button frame is correct, so I don't know the reason.
Do you have any suggestion? Does anybody have the same problem? (BTW if I download sample code and change the last sample (showCustomIntro) to [btn setFrame:CGRectMake(0, 0, 270, 30)]; it doesn't work, so you can test it very easily)

Thanks for report, I'll check it out. Right now you can simply switch version back. 2.7 is huge change on way to 3.0, it can have many bugs.

agreed with this.
Another thing- the skip button appears twice for me? It appears once the tutorial has completed. Does anyone else find the same


Format Document broken in 0.40.0

In 0.40.0, Ctrl+Shift+P > Format Document shows the following error message instead of formatting:
[Error - 2:22:08 PM] Request textDocument/formatting failed.
  Message: Request textDocument/formatting failed with message: Overlapping edit
  Code: -32603

Reverting to 0.39.5 works.

I am getting same error as well. It just started today.

这个问题解决了吗？v0.40.1也出现了这个问题。

My VScode had prettier enabled in the workspace, and I was had this same problem, I disabled prettier for my Nuxt project and set the vue editor to Volar, and I don't have this error anymore.


Recent Connections: "Loading..." in the recent connections list

I'm seeing a "Loading..." entry in the Recent Connections list

I was able to repro this by triggering the "undefined" bug using a version of SQL Ops Studio before Leila's fix, attempting to connect so that the connection would be saved in my recent connections, and then opening the version that has Leila's fix.
That means this is just an artifact of using the previous buggy dev version of SQL Ops Studio. Leila's fix ensures that users won't run into the undefined bug when upgrading from January to February, so I don't think we need to do any more work here to fix this issue.
You can just delete the invalid connection from your recent history and it won't come back.

@MattIrv I'm going to go ahead and close this issue then. If I see this again, I'll open a new issue.


remove the need for auth provider env

@Striffly removed the need of AUTH_PROVIDERS here. jus letting you know


Can't capture the contents of a iframe

html2canvas 1.0.0-rc.1
`

        <iframe scrolling="yes" frameborder="0" data-html2canvas-ignore="true"
                src="<c:out value="${sysContextPath}"></c:out>/loginLog/getList.do"></iframe>

    </div>
</div>

`
thanks

With the information you've provided there is nothing we can triage


stub a module which is a function?

say I have something like
hardwork.js
module.exports = function(req, res, next) {
     // do some async-heavy work, then:
     next()
}

I want to stub this function directly. Something like
hardwork = require('./hardwork');

sinon.spy(hardwork, function(req, res, next) { next() });

Is there a way to do this? I read through the documentation, but it seems way more geared to stubbing methods on objects. Unfortunately in this case it's not straightforward to make the function a method on an object.

I had the same concern and later i had to change the code of the module a little bit so that I can stub it easily.
So according to your case thats  what I did:
hardwork.js
function thisWay(req, res, next) {
     // do some async-heavy work, then:
     next()
}

module.exports.thisWay = thisWay;

This is how I used stub on it
var hardwork = require('./hardwork');

var stub = sinon.stub(hardwork, "thisWay");

Doing this is not technically possible without faking the entire module loading system.

hi christian! thanks for writing back, and thanks for your work on the
library.
Would you consider posting this information somewhere in the documentation?
I searched for a fair amount of time today for an answer to this question -
at least to me as a Node newbie, it seemed like there shouldn't be too much
difference between stubbing a function and stubbing a property of an
object, though clearly there is.
--
Kevin Burke
phone:<PHONE_NUMBER> | twentymilliseconds.com
On Wed, Jan 28, 2015 at 11:17 PM, Christian Johansen <
<EMAIL_ADDRESS>wrote:

Closed #664 https://github.com/cjohansen/Sinon.JS/issues/664.
—
Reply to this email directly or view it on GitHub
https://github.com/cjohansen/Sinon.JS/issues/664#event-226642903.

@kevinburke here is something you might want to look at:
https://github.com/thlorenz/proxyquire

Hit the same problem today after fighting for several hours.. Can't stub vendor libraries that expose this kind of API.
Working with proxy/injecting module systems is not always possible with builds such as babeljs + webpack inside tests.
Would be great if this could be explored more - not sure why it wouldn't be possible to modify the function object reference:
// declare function foo
var foo = function (a) { alert(a); };

// modify function foo
// modify function foo
foo = new Function (
  "a",
  foo.toSource()
    .replace("alert(a)", "alert('function modified - ' + a)")
    .replace(/^function[^{]+{/i,"")  // remove everything up to and including the first curly bracket
    .replace(/}[^}]*$/i, "")  // remove last curly bracket and everything after<br>
);

According to the node docs, require has a cache property which caches required modules. If you are the first to require the stubbed module, you can stub the function right in require.cache.
https://nodejs.org/api/globals.html#globals_require_cache
If you don't want to hack node's require system, you can put your function in a property in module.exports. Then assign module.exports to a function which calls module.exports.yourOriginalFunction with the provided arguments. Then you can stub your original function.

functions don't keep their reference so stubbing it will change the ref and the original inclusion won't be updated. afaik.
What I do here is wrap function's exposed by modules inside another module that wraps the said function in an object that can be stubbed easily.

functions don't keep their reference so stubbing it will change the ref and the original inclusion won't be updated. afaik.

Exactly, but that is not a problem if your wrapper calls module.exports.functionName instead of functionName.
Then if you stub module.exports's "functionName" the function will call the stub instead.

I've been working in a webpack environment using exports default which doesn't have the same behaviour as module.exports.

I see now, that makes sense

Another options is https://www.npmjs.com/package/require-subvert but in our team we just decieed to export objects.


oCIS supports Basic Auth

% curl 'https://ocis-latest.owncloud.com/ocs/v2.php/apps/files_sharing/api/v1/sharees?search=marie&itemType=folder&page=1&perPage=200&format=json' \
-H 'Authorization:Basic ZWluc3RlaW46cmVsYXRpdml0eQ==' \
--http1.1 | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   216  100   216    0     0    951      0 --:--:-- --:--:-- --:--:--   951
{
  "ocs": {
    "meta": {
      "status": "ok",
      "statuscode": 100,
      "message": "OK"
    },
    "data": {
      "exact": {
        "users": [],
        "groups": [],
        "remotes": []
      },
      "users": [
        {
          "label": "Curie",
          "value": {
            "shareType": 0,
            "shareWith": "marie"
          }
        }
      ],
      "groups": [],
      "remotes": []
    }
  }
}

Is this only for testing? My assumption was, everything is OIDC now?

Basic-Auth must be enabled for testing. Don't use in prod.


Updated README

I updated the README file with more information and linked to the official documentation. Also please note that the README examples now use hatchways/hatchways-action@v1 instead of hatchways/hatchways-action@main.

Having issues with a secret not being passed to run the "test" workflow


Change: Improves function for packaging toolbox

Work around a bug in matlab.addons.toolbox.ToolboxOptions that prevents adding folders with only subfolders (and no files) to the toolbox path
Support adding "ToolboxImageFile" and "ToolboxGettingStartedGuide" to MLToolboxInfo

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

issue
while running:
bash travis.sh
results in error:
Working directory:  /home/xqsme/TrackerPackageDRNet/DRNet/ltr/external/PreciseRoIPooling/pytorch/prroi_pool/src Compiling prroi_pooling kernels by nvcc... Working directory:  /home/xqsme/TrackerPackageDRNet/DRNet/ltr/external/PreciseRoIPooling/pytorch/prroi_pool Building python libraries... Traceback (most recent call last):   File "build.py", line 15, in <module>     from torch.utils.ffi import create_extension   File "/home/xqsme/anaconda3/envs/pytracking/lib/python3.7/site-packages/torch/utils/ffi/__init__.py", line 1, in <module>     raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.") ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.
to reproduce
Ubuntu 20.04
python 3.7
CUDA 10.1
pytorch==1.5.1
torchvision==0.6.1
cudatoolkit=10.1
before, i also tried this:
https://github.com/visionml/pytracking/tree/pytorch041 which is running on pytorch 0.4.1 and supposed to work on ubuntu 18, doesnt work for me tho, too.
I also tried torch= 0.4.0, torchvision=0.2.0 according to https://github.com/jwyang/faster-rcnn.pytorch/issues/706 but it doesnt support python 3.7.
Is there any solution for this issue?

@xQsM3  install torch==0.4.0

The pytorch-1.0 branch works fine. I used torch=1.1.0 with that.

okay thanks @kesaroid


Add onLoadStart constructor option

Add an onLoadStart constructor option that gets called when an upload starts. This uses the XMLHttpRequest.onloadstart so will only work in browsers.

First of all, thank you for this PR, this is always greatly appreciated. However, I would also like to know your reason for such a feature. Would you mind explaining your background a bit? Maybe there is already a way to achieve what you wanted.
Besides that, here are a few thoughts from me:

onLoadStart constructor

The name onLoadStart is a bit irritating (at least for me). What about onUploadStart?

Add an onLoadStart constructor option that gets called when an upload starts.

That's not correct. In your implementation, the onLoadStart function will be invoked whenever a PATCH request starts which can happen multiple times during a single upload (e.g. if the connection is interrupted).

This uses the XMLHttpRequest.onloadstart so will only work in browsers.

I believe it should also be able to also implement this for Node, which would help keeping this package consistent.

Thanks for your comments @Acconut.
You're right, some context would definitely help. I've been looking at the Tus10 plugin in Uppy and want to be able to pause an upload/all uploads using a button. I only want to show this button when I know when an upload is in progress. Uppy emits an event when an upload starts, or more specifically, core:upload-started is emitted just after the upload method of tus-js-client is called. At this point, in tus-js-client, the XHR for the upload hasn't been created (and isn't assigned to this._xhr) as there are initial POST/HEAD requests. I'd like a way to know when the main upload starts so I know that abort can be called.
You make a good point about the potential new callback option being called multiple times, so onLoadStart isn't right. I called it this to match the XHR event listener. Something more descriptive would be onLoadStartContinueOrResume, but is a 'little' verbose!

Thank you for the detailed description. For me this sounds more like a bug in tus-js-client and we should fix it directly in the library. I will look into this right now. What do you think?

This sounds good to me. From my point of view, I'd like to be notified somehow that the 'main' part of the upload has started. Callbacks seem to be the way to go but perhaps they could be used in a different way. Another pair of eyes on this is good, thanks.

The latest commit should fix this issue. Would you be so kind and test if it works for your setup?

I'd like to be notified somehow that the 'main' part of the upload has started

You still have the progress events which also indicate this, if they work for you. Generally, I like to keep the exposed interface small to make future refactorings easier. :)

This looks good, thanks, it's a better idea to expose all XHRs. I'll have to setup something that uses tus-js-client directly to completely confirm but from looking I think it's fine.

Closing this in favour of https://github.com/tus/tus-js-client/commit/71a9fe6694048142b764e16d1f97e0d1db763826

Glad to hear that it worked for you :)


Update  table_aws_account to keep account contact/billing/security questions or create a new table

Describe the new table
Currently we are unable to get the below CIS sections information from aws_account table.
References
1.1 Maintain current contact details (Manual)
1.2 Ensure security contact information is registered (Manual)
1.3 Ensure security questions are registered in the AWS account (Manual)
1.22 Ensure IAM users are managed centrally via identity federation or AWS Organizations for multi-account environments (Manual)

@debabrat-git Only root user can be access the above configurations, and the above steps are not possible through APIs.

Closing this issue as the 4 benchmarks need to be verified manually, as per @Subhajit97 's comment.


tmux-cssh: init at 21750733c5b6fa2fe23b9e50ce69d8564f2f742a

Currently based on master because the last release doesn't work with
makeWrapper

this commit contains also a lot of changes to packer

woops !

sorry, got overly exited, fixed

@pSub : addressed all your comments and rebased in c46bc1f7e40f70b0dbd2d42f2b0c399881ec694e


TableLoader updates for the submission refactor

Summary Change Description
Cherry-picked necessary updates to TableLoader to support the coming StudyLoader class.
StudyLoader does not directly update any models.  It just calls other loaders, so TableLoader needed to be able to:

have an empty Models class attribute.
Allow StudyLoader to be able to raise 2 new exceptions: AggregatedErrorsSet and MultiLoadStatus instead of stuffing them into the member AggregatedErrors object.  The AggregatedErrorsSet exception is unchanged and its usage in StudyLoader is the same exact usage in the old load_study.py script.  Basically, it organizes all of the AggregatedErrors objects from all the different loaders into a dict keyed on study sheet name (load_study.py keyed them on file name).  And TableLoader just needs to raise AggregatedErrorsSet and MultiLoadStatus when it sees them

I also added a bunch of is_error and is_fatal arguments to the methods that handle exceptions, though I didn't end up actually using them.  The purpose at the time was to resolve an issue where animal loader warnings were somehow resulting in a rollback when it shouldn't have rolled back and the next loader (in order) couldn't access the records from the previous loader it depends on.  That problem however turned out to be that I wasn't supplying defer_rollback=True in StudyLoader when it was calling the individual loaders, so I didn't actually need to pass those new arguments.  But, it didn't hurt anything and it left the option open to treat exceptions how you want, so I left those changes in.
Affected Issues/Pull Requests

Partially addresses #829
Merges into #1007
Next PR: #1009

Review Notes

See comments in-line.
Checklist

This pull request will be merged once the following requirements are met.  The
author and/or reviewers should uncheck any unmet requirements:

Review requirements

Minimum approvals: 1
No changes requested
All blocking issues resolved by reviewers
Specific reviewers: @add_username_here

Review period: 2 days

Associated issue/pull request requirements:

[x] All requirements in affected issues marked "resolved" are satisfied
[x] All required pull requests are merged (or none)

Basic requirements

[x] All linters pass
[x] All tests pass
[x] All conflicts resolved

Overhead requirements

[x] New/changed method tests implemented/updated (or no change)
[ ] Updated Unreleased section of changelog.md (or no change)
[x] Migrations created & committed (or no change)

Merged via #1076


onKeyDown for buttons in SingleSelectList

Issue Description
Keydown is not working for buttons in a SingleSelectList. Instead of performing default action of buttons, it is selecting the item.

Issue Type

[ ] New Feature
[ ] Enhancement
[x] Bug
[ ] Other

Expected Behavior

When keydown is triggered on the button, it should perform its default action (onClick).
Current Behavior

When keydown is triggered on the button, it is selecting the row

Steps to Reproduce

In a SingleSelectList, add a button
highlight the button using keyboard navigation keys, and press (enter/space)

Environment

Component Version: terra-list 1.5.0
Browser Name and Version: Chrome 60.0
Operating System and version (desktop or mobile): macOS Sierra v10.12.6

Closing, functionality will be handled by new custom component with #930


Support running test-262 file/dir/entire-suite

This PR includes:

Two minor updates to the mujs shell (compile to have better visibility into load errors, and pass arbitrary cli arguments to the js env).
One js "runner" which runs a single test.
A shell launcher which can run a test file/dir/entire-suite, skips (by default) known bad test, and prints a summary.

PR updates to use the recently added scriptArgs and new CLI syntax.

PR updated:

Rebased on top of current master.
Removed the commit "mujs shell: support compile..." (merged upstream years ago). At this stage it was already fully functional.
Added the new commits "test262 launcher: minor improvements...", "test262: remove 5 tests...", "test262 and harness: support -s ..."

In the attached zip is the output of ./tools/test262 with current master, with and without the source code of the failed tests (unix EOL): test262-errors-mujs-1.1.1.zip
Current summary is:
Total: 11725
Pass:   9706
Skip:     21
Fail:   1998

To run the tests on a fresh system:
mkdir test262-mujs && cd test262-mujs

# create a dir with ES5 tests
git clone https://github.com/tc39/test262.git
cd test262
git checkout es5-tests
cd ..

# clone and build mujs master
git clone https://github.com/ccxvii/mujs.git
cd mujs
make release

# apply the patch of this PR and run the tests
curl https://patch-diff.githubusercontent.com/raw/ccxvii/mujs/pull/73.patch | git am
./tools/test262 ../test262  # to also print source code: ./tools/test262 -s ../test262

Thanks!


Add DateTime support for Mssql

Just a basic infrastructure to accommodate more types in the future.
Initially, the implementation itself was challenging because of the lack of documentation but luckily the tiberius project already did the heavy lifting.
Sources

https://docs.microsoft.com/en-us/sql/t-sql/functions/date-and-time-data-types-and-functions-transact-sql?view=sql-server-ver15
https://github.com/prisma/tiberius/blob/849be4d619014e7f7083b17a416c39c301b07884/src/tds/time/chrono.rs

The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 3 ("@p1"): Data type 0x3D is unknown.

Any clues?

We're extremely grateful for the effort you put into this PR. However, as we will be closing up the source of the MSSQL driver we can no longer accept outside contributions to its code. If you are currently using MSSQL for non-profit or open-source purposes, you will be able to request a free license to continue using it after the 0.5 release.

@mehcode Feel free to copy the proposed changes if you they are appropriate

Thank you. I know that dates get tricky with MSSQL in order to support older versions. But the gist of this looks right.


Adding FOSSA badge

Coverage remained the same at 90.01% when pulling be5fa7395831d10b3e848d857e0f01332ae0b5db on deniszh-patch-1 into a26c25af34bfe465ed106dfd0a0c756c65818e6b on master.


rename CreationInformation to CreationInfo and make it optional

With https://github.com/spdx/spdx-3-model/pull/175 the class CreationInformation was renamed to CreationInfo, to align with the specification we should also rename the class CreationInformation.

fixed by #659


pwrmgr_reg_pkg.sv and pwrmgr_reg_top.sv are duplicated

The two files pwrmgr_reg_pkg.sv and pwrmgr_reg_top.sv exist twice in our tree: once in ./hw/top_earlgrey/ip/pwrmgr/rtl/autogen, and once in ./hw/ip/pwrmgr/rtl.
One of them needs to go, but which one?

@imphil
This is actually the same thing being done as alert_handler, pinmux, rv_plic and clkmgr for templated files.
There exists an "ip" version for block level verification (if that is feasible, also acts as an example), and a top specific version.
Are you saying the pwrmgr setup is different from these?

Adding @msfschaffner also.

@msfschaffner and I have talked about how the way we handle top / ip splits is not the best, and that we need a better solution in the future.

Currently both modules get compiled, leading to
%Warning-MODDUP: ../../../hw/top_earlgrey/ip/pwrmgr/rtl/autogen/pwrmgr_reg_pkg.sv:7:9: Duplicate declaration of module: 'pwrmgr_reg_pkg'
    7 | package pwrmgr_reg_pkg;
      |         ^~~~~~~~~~~~~~
                 ../../../hw/ip/pwrmgr/rtl/pwrmgr_reg_pkg.sv:7:9: ... Location of original declaration
    7 | package pwrmgr_reg_pkg;
      |         ^~~~~~~~~~~~~~
                 ... Use "/* verilator lint_off MODDUP */" and lint_on around source to disable this message.
%Warning-MODDUP: ../../../hw/top_earlgrey/ip/pwrmgr/rtl/autogen/pwrmgr_reg_top.sv:9:8: Duplicate declaration of module: 'pwrmgr_reg_top'
    9 | module pwrmgr_reg_top (
      |        ^~~~~~~~~~~~~~
                 ../../../hw/ip/pwrmgr/rtl/pwrmgr_reg_top.sv:9:8: ... Location of original declaration
    9 | module pwrmgr_reg_top (
      |        ^~~~~~~~~~~~~~

The others (alert_handler & co.) probably have a different setup in terms of how the auto-generated files are (not) included in FuseSoC core files.

o they both get compiled? that's not good.
Let me look into it, there's probably a dependency reference that I forgot
to remove.
What are you running though? I did have MODDUP issues earlier, but I
thought i had fixed them (i don't recall seeing lint warnings anymore)
On Fri, Jun 19, 2020 at 9:53 AM Philipp Wagner<EMAIL_ADDRESS>wrote:

Currently both modules get compiled, leading to
%Warning-MODDUP: ../../../hw/top_earlgrey/ip/pwrmgr/rtl/autogen/pwrmgr_reg_pkg.sv:7:9: Duplicate declaration of module: 'pwrmgr_reg_pkg'
7 | package pwrmgr_reg_pkg;
|         ^~~~~~~~~~~~~~
../../../hw/ip/pwrmgr/rtl/pwrmgr_reg_pkg.sv:7:9: ... Location of original declaration
7 | package pwrmgr_reg_pkg;
|         ^~~~~~~~~~~~~~
... Use "/* verilator lint_off MODDUP */" and lint_on around source to disable this message.
%Warning-MODDUP: ../../../hw/top_earlgrey/ip/pwrmgr/rtl/autogen/pwrmgr_reg_top.sv:9:8: Duplicate declaration of module: 'pwrmgr_reg_top'
9 | module pwrmgr_reg_top (
|        ^~~~~~~~~~~~~~
../../../hw/ip/pwrmgr/rtl/pwrmgr_reg_top.sv:9:8: ... Location of original declaration
9 | module pwrmgr_reg_top (
|        ^~~~~~~~~~~~~~
The others (alert_handler & co.) probably have a different setup in terms
of how the auto-generated files are (not) included in FuseSoC core files.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/2563#issuecomment-646751971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSUTF3NYCTPXJNIT7D3RXOJZZANCNFSM4OC4E4OQ
.

It's defined once in https://github.com/lowRISC/opentitan/blob/master/hw/top_earlgrey/ip/pwrmgr/pwrmgr_only_reg.core and the other time in https://github.com/lowRISC/opentitan/blob/master/hw/ip/pwrmgr/pwrmgr_only_reg.core (since 4ba2531647c839052a20ff148cad07211b4051e4 yesterday)

yes as mentioned, the double definition is part of how our templated modules are splitting between top and ip.  The important part is to make sure top_earlgrey.core for example, doesn't have a dependency on both.
What are you running when see this warning? Because I don't see it in my lint deps-after-generators.dot or the sources.f

Hm, strange. I'll have a closer look.

yeah just let me know how you produced it, and i'll go try also and
investigate.
It's very likely I messed up something, because unlike all the other
template modules that just split it into reg + components, I'm splitting
into reg + pkg + components.
And there is some brittleness with how all this is handled (Michael and I
will probably file an issue later).
On Fri, Jun 19, 2020 at 10:05 AM Philipp Wagner<EMAIL_ADDRESS>wrote:

Hm, strange. I'll have a closer look.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/2563#issuecomment-646759613,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSRJ4ZAA2RI4SZNCAO3RXOLFBANCNFSM4OC4E4OQ
.

Oh, I just ran fusesoc --cores-root=. run --target=sim --no-export --setup --build lowrisc:systems:top_earlgrey_verilator. But I might very well have a non-clean tree (even though git doesn't show anything), so I don't want to bother you with searching for a bug which might be on my side :smile:

Ah, I think I found it: hw/ip/pwrmgr/pwrmgr.core shouldn't depend on lowrisc:ip:pwrmgr_only_reg. I'll open a PR.

Wait, that might be wrong ... Looks like Friday afternoon.

wait hold on, that's actually intended.
Because top_earlgrey.core is not supposed to depend on
ip/pwrmgr/pwrmgr.core.
Is that what you have in your area?
On Fri, Jun 19, 2020 at 10:11 AM Philipp Wagner<EMAIL_ADDRESS>wrote:

Ah, I think I found it: hw/ip/pwrmgr/pwrmgr.core shouldn't depend on
lowrisc:ip:pwrmgr_only_reg. I'll open a PR.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/2563#issuecomment-646762743,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSR3YSWRL4MGCAZZO3DRXOL5TANCNFSM4OC4E4OQ
.

do you mind attaching the fusesoc dependency yaml for whatever flow you're
running?
maybe we can track it down from there.
On Fri, Jun 19, 2020 at 10:13 AM Philipp Wagner<EMAIL_ADDRESS>wrote:

Wait, that might be wrong ... Looks like Friday afternoon.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/2563#issuecomment-646764250,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSX2MMGTBLYRFCYHKP3RXOMDZANCNFSM4OC4E4OQ
.

Argh, "Because top_earlgrey.core is not supposed to depend on" was the right comment -- I messed up a conflict resolution and added it back. Sorry for the noise, nothing is broken, except for my brain :smile:
Thanks Tim!

thanks for tracking it down so quickly philip!
and rest assured, from where i stand, your brain is never broken :)
On Fri, Jun 19, 2020 at 10:25 AM Philipp Wagner<EMAIL_ADDRESS>wrote:

Closed #2563 https://github.com/lowRISC/opentitan/issues/2563.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/2563#event-3463333503, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSUGKMH6BGOZWMJZRCLRXONO7ANCNFSM4OC4E4OQ
.


chore(main): release 1.1.0

:robot: I have created a release beep boop
1.1.0 (2024-01-05)
Features

Add AppClient (#19) (7e20fe2)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/cedricziel/mattermost-php/releases/tag/v1.1.0 :sunflower:


feat-multi-device - Multi-Device scene can't start

There are several errors present during the launch of the Multi-Device scene with a clean project, could you fix them ?
Environment :

Unity 2018.3.0f2
Orion 4.0.0+52238
Windows 10 x64

Steps to reproduce :

Copy LeapMotion folder to Unity
Launch Multi-device scene

Multi-device support was built for an earlier version of Unity; these errors don't pertain to multi-device support specifically, they're just Unity API changes in 2018.3.
If you don't need the Graphic Renderer, I would recommend commenting out the problematic sections in AtlasBuilder.cs, or deleting the Graphic Renderer folder altogether. The fixes for these issues shouldn't be tricky if you needed Graphic Renderer support, however.


Mesos

remove httpserver
add make-distribution.sh - tool for making binary distributions of flink

hi, ankurcha, I made some change on your pull request, but I can not add commit into your pr, so can you merge this commit?


Bug 2036908 - Fix cloud provider secret names

Will these changes affect MTC docs?

@apinnick Thank you for checking, this should not affect MTC docs. I checked myself and couldn't find any reference to these secrets. These secrets are managed solely from the MTC controller. The secrets the user makes are basically copied into these secrets.


Fixed issue with complex-valued inputs to LOBPCG

Fixes this issue with jax.experimental.sparse.linalg.lobpcg_standard crashing when complex dtypes are used. This is my first JAX PR, so please let me know if this is missing anything 😄

Sorry we lost track of this - looks great! Do you think you could add a test covering the new behavior? The best place would probably be in http://go/jax-github/blob/main/tests/lobpcg_test.py Thanks!

I've been a bit busy the last few days, but should have time for that later this week!

Thanks, no problem. Let me know if there's any way I can help!

It looks like this has gone stale – I'm going to close it. Feel free to re-open if you're still interested in working on this!


Add AzureCognitiveServicesToolkit to call Azure Cognitive Services API

Add AzureCognitiveServicesToolkit to call Azure Cognitive Services API: achieve some multimodal capabilities
This PR adds a toolkit named AzureCognitiveServicesToolkit which bundles the following tools:

AzureCogsImageAnalysisTool: calls Azure Cognitive Services image analysis API to extract caption, objects, tags, and text from images.
AzureCogsFormRecognizerTool: calls Azure Cognitive Services form recognizer API to extract text, tables, and key-value pairs from documents.
AzureCogsSpeech2TextTool: calls Azure Cognitive Services speech to text API to transcribe speech to text.
AzureCogsText2SpeechTool: calls Azure Cognitive Services text to speech API  to synthesize text to speech.

This toolkit can be used to process image, document, and audio inputs.
@hwchase17 and @vowelparrot Would be glad to hear your thoughts!

Thanks @hwchase17 for reviewing it!
I just updated the poetry.lock file, hope it could pass the lint check now.


Fixes issue #751, redundant code in nexus driver

Fixes issue #751.
Found redundant code in the nexus (switch) driver.

@naved001 @shwsun please review it.
small PR. We can merge it soon.

passed the deployment tests. so +1

@shwsun  this is a small PR. Can you please some time to review it.
It passes all deployment tests.

I'd also like to know how this got here, but the patch looks good to me.


[BACKLOG-24266] Correcting issue with safe stop

Non-input steps could formerly be marked as input steps, causing
early termination during "stop input processing".
https://jira.pentaho.com/browse/BACKLOG-24266

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/trans/Trans.java
  engine/src/test/java/org/pentaho/di/trans/TransTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.core.auth.core.impl.DefaultAuthenticationConsumerFactory

Branch Change: -7.2% :small_red_triangle_down:
Complexity Change: -7.7% :small_red_triangle_down:

org.pentaho.di.core.injection.bean.BeanInjector

Branch Change: -0.8% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.calculator.CalculatorMetaFunction

Branch Change: -8.7% :small_red_triangle_down:
Complexity Change: -3% :small_red_triangle_down:
Instruction Change: -0.7% :small_red_triangle_down:
Line Change: -0.9% :small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.7% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.9% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.rssinput.RssInputField

Branch Change: -2.3% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.gpload.GPLoadMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

Note: The list of offending coverage changes extends beyond the presented results and was truncated to prevent reaching the comment size limit.

@pentaho/ackbar
Unfortunately lots of formatting changes in Trans.java, but the main change is this line:
https://github.com/pentaho/pentaho-kettle/pull/5539/files#diff-03d5674af8547b1da5190f1dc812e35fL1897


corrupted functions in photo sub-menu

22-08-21 version, WEB UI, Chrome, Win11.
1/ Blank page when trying to open "without timestamp" page
2/ Recently added page return anything. In my case 1 video dated 2019...

Related to #636


Add info how long last run took on a status page.

Feature request. It would be very useful to know how long a job was executed.

@alehano This feature was originally apart of the package but got moved out because process duration should be tracked on the job's app endpoint function and not on the package level. We moved it out so that performance & duration to be tracked apart of app level log.
I'll look into bringing it back without breaking backwards compatibility.

@alehano It's added as per your request.
Side note: This will track how long the last job took to finish. So if you add time.Sleep or open-ended functions, like infinite loops, or keep alive channels or goroutines then expect the latency to be much higher than the actual truth.
It's best practice to keep time logging within the end function and log it to an external monitoring/metrics system for better accuracy.

Thank you!


[BUG] Getting error from XGB model when loading the model back and passing the booster arg to the constructor

Bug description
I get the following error from when I load back the saved XGB model and then pass the booster argument to the constructor via XGBoost(schema, booster=reloaded_model)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Input In [10], in <cell line: 7>()
      4 model.booster.save_model('mymodel.xgb')
      5 bst.load_model('mymodel.xgb')  # load model
----> 7 XGBoost(schema, booster=bst)

File /usr/local/lib/python3.8/dist-packages/merlin/models/xgb/__init__.py:66, in XGBoost.__init__(self, schema, target_columns, qid_column, objective, booster, **params)
     64 if isinstance(target_columns, str):
     65     target_columns = [target_columns]
---> 66 self.target_columns = target_columns or get_targets(schema, target_tag)
     67 self.feature_columns = get_features(schema, self.target_columns)
     69 if objective.startswith("rank") and qid_column is None:

File /usr/local/lib/python3.8/dist-packages/merlin/models/xgb/__init__.py:248, in get_targets(schema, target_tag)
    246 if len(targets) >= 1:
    247     return targets.column_names
--> 248 raise ValueError(
    249     f"No target columns in the dataset schema with tags TARGET and {target_tag.name}"
    250 )

ValueError: No target columns in the dataset schema with tags TARGET and REGRESSION

Steps/Code to reproduce bug
You can repro the error by running the code below:

from merlin.datasets.entertainment import get_movielens
import xgboost as xgb

train, valid = get_movielens(variant='ml-100k')
# remove cols from schema
schema = train.schema.without(['title', 'rating'])
xgb_booster_params = {
    'objective':'binary:logistic',
    'tree_method':'gpu_hist',
}

xgb_train_params = {
    'num_boost_round': 100,
    'verbose_eval': 20,
    'early_stopping_rounds': 10,
}

with Distributed():
    model = XGBoost(schema, **xgb_booster_params)
    model.fit(
        train,
        evals=[(valid, 'validation_set'),],
        **xgb_train_params
    )
    metrics = model.evaluate(valid)

import os
bst = xgb.Booster()  # init model
model.booster.save_model('mymodel.xgb')
bst.load_model('mymodel.xgb')  # load model

XGBoost(schema, booster=bst)

Expected behavior
I should be able to load back the saved XGB model and do offline inference with model.predict()
Environment details

Merlin version:  merlin-tensorflow:22.07 (with the latest main branches pulled)
Platform:
Python version:
PyTorch version (GPU?):
Tensorflow version (GPU?):

Additional context

@radekosmulski fyi.

Would be great to have this in 22.08, but not sure that is still feasible 🙂

For this reloading to work this way the booster params need to be passed through as well on the last line.
XGBoost(schema, booster=bst, **xgb_booster_params )

Closing this as this is resolved by the above comment. Or using the new save/load methods in #656


[WIP] Troubleshoot disabled  ironic tempest

As a pull request owner and reviewers, I checked that:

[ ] Appropriate testing is done and actually running
[ ] Appropriate documentation exists and/or is up-to-date:

[ ] README in the role
[ ] Content of the docs/source is reflecting the changes

@hjensas hello, is this still needed/active? If not, care to close it? Thanks!

Let's close this, and re-open / re-create when we have time to work on it.