Windows 10 home - Says invalid username/password

I just installed rdpwrapper.
I have the config open and it says:
Wrapper state: Installed
Service State: running
Listener state: Listening
Version: 10.0.17134.1
[fully supported]
I've tried various checkboxes, at this very moment, I have it set to:
Enable remote desktop on port 3389
No other checkboxes checked here
Auth mode: I've tried all 3
Session shadowing mode: Full access with user's permission (not changed as I'm not trying to use this, I do not believe).
I've used RDPCheck.exe, and enter my username/password, and it works. It loads a new window and appears to work fine. It's resolution is very small (which I've read is intended as it's just a tester, just confirming that I do believe rdpcheck is working).
Full disclosure:
Windows 10 Home
The computer is logged in as the main account/administrator
I am currently using teamviewer on that computer to install rdpwrapper/test/make changes
From my remote pc, I am using windows Remote Desktop Connection
I enter in the IP of the windows 10 home machine
It comes up with a windows server 2008 login screen. I enter my username/password in, and it says invalid user name and password. I've tried this at least 10 times, and can confirm I have the right password (as I can log into the web, and I used the same in RDPCheck).
On the windows 10 home machine, I can confirm the allow remote connections is checked.
I'm assuming I am just missing something, but I've looked back through the readme.md and can't seem to figure it out.
Does anyone have any suggestions? Or is there more information I can provide to assist?
Thanks

Hi @Kannkor, it is little bit confusing when you mention win server 2008 login screen. You are connecting to Win 10 machine? Are you trying to connect with remote user of Win 10 machine? Check these settings of destination machine:

Hi @Kannkor, it is little bit confusing when you mention win server 2008 login screen. You are connecting to Win 10 machine? Are you trying to connect with remote user of Win 10 machine? Check these settings of destination machine:

Hi @Kannkor - Windows 10 doesn't have the 'Remote Desktop' section on the System Properties 'Remote' tab, even with RDP Wrapper installed.
@Igoricius - I suspect you're trying to log in with a local account that isn't a member of the local 'Administrators' group, which is why it works with Team Viewer as a console connection and not via RDP. That's because they're not a member of a hidden group called 'Remote Desktop Users'.
https://github.com/stascorp/rdpwrap/issues/107#issuecomment-216041697
You'll need to create this special group following the instructions in the article above, and then add your non-admin user to the group.
If your user is an admin user, you haven't completely set up RDP Wrapper for Windows 10 Home and will have to do some more reading.

I enter in the IP of the windows 10 home machine
It comes up with a windows server 2008 login screen. I enter my username/password in, and it says invalid user name and password.

Misconfiguration on your router side (port forwarding), fix it yourself.


Error with Plotly Express

On trying to run a given example in GH page, getting following error and no plot works. Using
OS: MacOS 10.15.7
Python: 3.6.4
PandasGUI ERROR — pandasgui.widgets.grapher — Plotly Express cannot process wide-form data with columns of different type.

Can you share your Plotly version?

Do you have plotly-express installed?

I recognize this error and forget the reason it happens but pretty sure it's related to me creating default empty figures using px.scatter(). Changed this, let me know if it didn't fix it


'two weeks ago' at 0:00 UTC

Currently, two weeks ago goes back to two weeks ago at the current moment. But I may prefer to align with 0:00.
Is it possible to achieve?

Does RELATIVE_BASE work?

@Gallaecio Sounds like I should calculate the start of today and use it for this setting?

@Gallaecio Thank you! I got something like this works:
    start_of_today = datetime.combine(datetime.now(UTC), time(0, 0, 0, 0, UTC))
    date_since = dateparser.parse(
        os.getenv('DATE_SINCE') or '2 weeks ago',
        settings={
            'RETURN_AS_TIMEZONE_AWARE': True,
            'RELATIVE_BASE': start_of_today,
        })
    date_until = dateparser.parse(
        os.getenv('DATE_UNTIL') or 'now',
        settings={
            'RETURN_AS_TIMEZONE_AWARE': True,
            'RELATIVE_BASE': start_of_today,
        })
    print(f"Date since: {date_since}")
    print(f"Date until: {date_until}")


Display latest value of number of rows alongside the trendline

Currently the UI shows rows as a trendline, which is a great visualization.
It would be beneficial to have the latest number of rows displayed on the UI without letting the customer hover over the trendline and figure out the number.

cc: @shahsank3t, @darth-coder00, @Sachin-chaurasiya

Possibly something like this (from Grafana)


Permission Request window don't open

Question
Permission Request window don't open.
Android CAT Error : No permissions found in manifest
Code sample
import flet as ft

def main(page: ft.Page):
    page.scroll = ft.ScrollMode.ADAPTIVE
    page.appbar = ft.AppBar(title=ft.Text("PermissionHandler Tests"))
    ph = ft.PermissionHandler()
    page.overlay.append(ph)

    def check_permission(e):
        o1 = ph.check_permission(e.control.data[0])
        page.add(ft.Text(f"Checked {e.control.data[0].name}: {o1}"))

    def request_permission(e):
        o1 = ph.request_permission(e.control.data[0])
        page.add(ft.Text(f"Requested {e.control.data[0].name}: {o1}"))

    def open_app_settings(e):
        o = ph.open_app_settings()
        page.add(ft.Text(f"App Settings: {o}"))

    page.add(
        ft.OutlinedButton(
            "Check Contacts Permission",
            data=[ft.PermissionType.PHONE,ft.PermissionType.CONTACTS],
            on_click=check_permission,
        ),
        ft.OutlinedButton(
            "Request Contacts Permission",
            data=[ft.PermissionType.PHONE,ft.PermissionType.CONTACTS],
            on_click=request_permission,
        ),
        ft.OutlinedButton(
            "Open App Settings",
            on_click=open_app_settings,
        ),
    )

ft.app(target=main,assets_dir="assets")

Error message
2024-06-25 18:10:29.600  1037-1037  StatusBarIconController com.android.systemui                 D  ignoring old pipeline callback because the new wifi icon is enabled
2024-06-25 18:10:32.607  1037-1037  StatusBarIconController com.android.systemui                 D  ignoring old pipeline callback because the new wifi icon is enabled
2024-06-25 18:10:33.059  1309-1309  TaplEvents              com...le.android.apps.nexuslauncher  D  TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=373.98535, y[0]=489.96094, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=17535755, downTime=17535755, deviceId=4, source=0x5002, displayId=0, eventId=98363782 }
2024-06-25 18:10:33.093 25136-25161 EGL_emulation           com.flet.per_handler                 D  app_time_stats: avg=1248.05ms min=0.43ms max=14965.32ms count=12
2024-06-25 18:10:33.166  1309-1309  TaplEvents              com...le.android.apps.nexuslauncher  D  TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=373.98535, y[0]=489.96094, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=17535863, downTime=17535755, deviceId=4, source=0x5002, displayId=0, eventId=70898747 }
2024-06-25 18:10:33.176   418-3188  audioserver             audioserver                          D  FGS Logger Transaction failed
2024-06-25 18:10:33.176   418-3188  audioserver             audioserver                          D  -129
2024-06-25 18:10:33.181 25136-25136 permissions_handler     com.flet.per_handler                 D  No permissions found in manifest for: []8
2024-06-25 18:10:33.191   589-2597  Compatibil...geReporter system_server                        D  Compat change id reported: 197654537; UID 10206; state: ENABLED
2024-06-25 18:10:33.226   418-509   AudioFlinger            audioserver                          D  mixer(0x7425dce46930) throttle end: throttle time(33)
2024-06-25 18:10:33.340   418-509   audioserver             audioserver                          D  FGS Logger Transaction failed
2024-06-25 18:10:33.340   418-509   audioserver             audioserver                          D  -129
2024-06-25 18:10:36.219   386-6361  android.ha...mpl.ranchu android.hardware.audio.service       D  threadLoop: entering standby, frames: 16011008
2024-06-25 18:10:37.118  1037-1037  StatusBarIconController com.android.systemui                 D  ignoring old pipeline callbacks, because the new mobile icons are enabled
2024-06-25 18:10:47.119  1037-1037  StatusBarIconController com.android.systemui                 D  ignoring old pipeline callbacks, because the new mobile icons are enabled
2024-06-25 18:10:50.138   589-1380  ProcessStats            system_server                        W  Tracking association SourceState{7e9f983 com.google.android.gms.persistent/10126 BFgs #29094} whose proc state 4 is better than process ProcessState{faed33b com.google.android.gms/10126 pkg=com.google.android.gms} proc state 8 (20 skipped)

### ------------------------------------------------------

- [X] I have searched for answers to my question both in the issues and in previous discussions.

_Originally posted by @burhansvural in https://github.com/flet-dev/flet/discussions/3538_

What type of android device do you test on? Please provide some more details for testing.

Pixel 8 Pro API 35 x86_64 Emulator

I also encountered a similar problem with requesting permissions on Android

I tried the basic example on the page https://flet.dev/docs/controls/permissionhandler/ for an initial test of the usage
But in practice, when clicking, no request for permissions will be opened.
It didn't show up as an option in the settings either.
In practice, permissions that were already open remained so, and blocked permissions remained blocked

Ah, @burhansvural, seems like you are trying to check/request the contacts permissions.
It doesnt work certainly because the flet-build-template doesnt contain these permissions yet.
Why?
What we were trying to avoid is to have all these permissions (contacts, camera, phone, calendar etc) in the build-template because not everyone will need, and it might also lead to rejection of apps when they are submitted to the stores: "why does your app needs all these permissions, though it seems like it doesn't makes use of all?"
In #3345 (subscribe to it), we could make everything dynamic: on could define from that file which permissions should be added to the build-template, so that only the required/used permissions are included.

However, you can download the flet-build-template and add these permissions to it yourself.
Simply add the highlighted lines below, to the corresponding files in the template:

https://github.com/Baseflow/flutter-permission-handler/blob/main/permission_handler_android/example/android/app/src/main/AndroidManifest.xml#L18-L21
https://github.com/Baseflow/flutter-permission-handler/blob/main/permission_handler_android/example/android/app/src/profile/AndroidManifest.xml#L8-L11

Then follow this when running flet build.
@NHLOCAL, can you please be more precise? What permissions did you try to request? The above explanation might also apply to you.

I would like to add write permissions on folders, including:

ACCESS_MEDIA_LOCATION
MANAGE_EXTERNAL_STORAGE
STORAGE

עקבתי אחרי ההוראות, אך קיבלתי את השגיאה הבאה:
command:
flet build apk core --template C:\Users\user\Documents\GitHub\flet-build-template --template-ref 0.23.1 --org nhlocal --company "NH Local" --copyright "© 2024 NH Local" --build-version 13.2.0 --build-number 13200 --splash-color #0E2B59 --splash-dark-color #FFC300 --project singlessorter

output:
[08:53:26] Created Flutter bootstrap project from
           C:\Users\משתמש\Documents\GitHub\flet-build-template with ref
           0.23.1 ✅
           Customized app icons and splash images ✅
[08:53:46] Generated app icons ✅
[08:53:53] Generated splash screens ✅
[08:56:45] Packaged Python app ✅
[09:01:31] Resolving dependencies...
             collection 1.18.0 (1.19.0 available)
             file_picker 8.0.5 (8.0.6 available)
             fl_chart 0.65.0 (0.68.0 available)
             flutter_lints 2.0.3 (4.0.0 available)
             flutter_markdown 0.6.23 (0.7.3 available)
             flutter_plugin_android_lifecycle 2.0.19 (2.0.20 available)
             http_parser 4.0.2 (4.1.0 available)
             intl 0.18.1 (0.19.0 available)
             js 0.6.7 (0.7.1 available)
             lints 2.1.1 (4.0.0 available)
             material_color_utilities 0.8.0 (0.12.0 available)
             meta 1.11.0 (1.15.0 available)
           ! package_info_plus 8.0.0 (overridden)
             path_provider_android 2.2.4 (2.2.6 available)
             sensors_plus 4.0.2 (5.0.1 available)
             shared_preferences_android 2.2.2 (2.2.3 available)
             url_launcher_android 6.3.2 (6.3.3 available)
           ! wakelock_plus 1.2.5 (overridden)
             web_socket_channel 2.4.5 (3.0.0 available)
             win32 5.5.0 (5.5.1 available)
           Got dependencies!
           18 packages have newer versions incompatible with dependency
           constraints.
           Try `flutter pub outdated` for more information.

           Running Gradle task 'assembleRelease'...
           Checking the license for package Android SDK Build-Tools 34 in
           C:\Users\me\AppData\Local\Android\Sdk\licenses
           License for package Android SDK Build-Tools 34 accepted.
           Preparing "Install Android SDK Build-Tools 34 v.34.0.0".
           "Install Android SDK Build-Tools 34 v.34.0.0" ready.
           Installing Android SDK Build-Tools 34 in
           C:\Users\me\AppData\Local\Android\Sdk\build-tools\34.0.0
           "Install Android SDK Build-Tools 34 v.34.0.0" complete.
           "Install Android SDK Build-Tools 34 v.34.0.0" finished.
           Running Gradle task 'assembleRelease'...
           283.2s

           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/utils/borders.
           dart:122:1: Error: Type 'WidgetStateBorderSide' not found.
           WidgetStateBorderSide? parseWidgetStateBorderSide(
           ^^^^^^^^^^^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/utils/borders.
           dart:138:45: Error: Type 'WidgetStateBorderSide' not found.
           class WidgetStateBorderSideFromJSON extends WidgetStateBorderSide
           {
                                                       ^^^^^^^^^^^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/utils/borders.
           dart:158:27: Error: Type 'WidgetState' not found.
             BorderSide? resolve(Set<WidgetState> states) {
                                     ^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/utils/colors.d
           art:242:1: Error: Type 'WidgetStateProperty' not found.
           WidgetStateProperty<Color?>? parseWidgetStateColor(
           ^^^^^^^^^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/utils/icons.da
           rt:17:1: Error: Type 'WidgetStateProperty' not found.
           WidgetStateProperty<Icon?>? parseWidgetStateIcon(
           ^^^^^^^^^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/utils/material
           _state.dart:3:1: Error: Type 'WidgetStateProperty' not found.
           WidgetStateProperty<T?>? getWidgetStateProperty<T>(
           ^^^^^^^^^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/utils/material
           _state.dart:16:38: Error: Type 'WidgetStateProperty' not found.
           class WidgetStateFromJSON<T> extends WidgetStateProperty<T?> {
                                                ^^^^^^^^^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/utils/material
           _state.dart:34:18: Error: Type 'WidgetState' not found.
             T? resolve(Set<WidgetState> states) {
                            ^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/utils/borders.
           dart:158:27: Error: 'WidgetState' isn't a type.
             BorderSide? resolve(Set<WidgetState> states) {
                                     ^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/utils/colors.d
           art:57:21: Error: The getter 'surfaceContainerHighest' isn't
           defined for the class 'ColorScheme'.
            - 'ColorScheme' is from
           'package:flutter/src/material/color_scheme.dart'
           ('../../../../first-flet-app/flutter/packages/flutter/lib/src/mat
           erial/color_scheme.dart').
           Try correcting the name to the name of an existing getter, or
           defining a getter or field named 'surfaceContainerHighest'.
                 return scheme.surfaceContainerHighest;
                               ^^^^^^^^^^^^^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/utils/material
           _state.dart:34:18: Error: 'WidgetState' isn't a type.
             T? resolve(Set<WidgetState> states) {
                            ^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/utils/theme.da
           rt:205:5: Error: No named parameter with the name
           'surfaceContainerHighest'.
               surfaceContainerHighest: parseColor(null,
           j["surface_variant"]),
               ^^^^^^^^^^^^^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/controls/check
           box.dart:117:7: Error: 'WidgetStateBorderSide' isn't a type.
                 WidgetStateBorderSide? side = parseWidgetStateBorderSide(
                 ^^^^^^^^^^^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/controls/cuper
           tino_button.dart:126:33: Error: The getter 'WidgetState' isn't
           defined for the class '_CupertinoButtonControlState'.
            - '_CupertinoButtonControlState' is from
           'package:flet/src/controls/cupertino_button.dart'
           ('../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/controls/cup
           ertino_button.dart').
           Try correcting the name to the name of an existing getter, or
           defining a getter or field named 'WidgetState'.
                     ?.resolve(selected ? {WidgetState.selected} : {});
                                           ^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/controls/cuper
           tino_button.dart:131:33: Error: The getter 'WidgetState' isn't
           defined for the class '_CupertinoButtonControlState'.
            - '_CupertinoButtonControlState' is from
           'package:flet/src/controls/cupertino_button.dart'
           ('../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/controls/cup
           ertino_button.dart').
           Try correcting the name to the name of an existing getter, or
           defining a getter or field named 'WidgetState'.
                     ?.resolve(selected ? {WidgetState.selected} : {});
                                           ^^^^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/controls/list_
           tile.dart:131:9: Error: No named parameter with the name
           'minTileHeight'.
                   minTileHeight: control.attrDouble("minHeight"),
                   ^^^^^^^^^^^^^
           ../../../../first-flet-app/flutter/packages/flutter/lib/src/mater
           ial/list_tile.dart:332:9: Context: Found this candidate, but the
           arguments don't match.
             const ListTile({
                   ^^^^^^^^
           ../../Pub/Cache/hosted/pub.dev/flet-0.23.2/lib/src/controls/highl
           ight_view.dart:97:43: Error: The getter 'surfaceContainerHighest'
           isn't defined for the class 'ColorScheme'.
            - 'ColorScheme' is from
           'package:flutter/src/material/color_scheme.dart'
           ('../../../../first-flet-app/flutter/packages/flutter/lib/src/mat
           erial/color_scheme.dart').
           Try correcting the name to the name of an existing getter, or
           defining a getter or field named 'surfaceContainerHighest'.
                       Theme.of(context).colorScheme.surfaceContainerHighest
           );
                                                     ^^^^^^^^^^^^^^^^^^^^^^^
           Target kernel_snapshot failed: Exception

           FAILURE: Build failed with an exception.

           * What went wrong:
           Execution failed for task ':app:compileFlutterBuildRelease'.
           > Process 'command
           'C:\Users\me\first-flet-app\flutter\bin\flutter.bat'' finished
           with non-zero exit value 1

           * Try:
           > Run with --stacktrace option to get the stack trace.
           > Run with --info or --debug option to get more log output.
           > Run with --scan to get full insights.
           > Get more help at https://help.gradle.org.

           BUILD FAILED in 4m 41s
           Gradle task assembleRelease failed with exit code 1

[09:01:32] Error building Flet app - see the log of failed command above.

Upgrade your flutter version to at least 3.22.2

I set --template-ref to 0.23.1 should I set it to something else?

Ah, @burhansvural, seems like you are trying to check/request the contacts permissions. It doesnt work certainly because the flet-build-template doesnt contain these permissions yet.
Why? What we were trying to avoid is to have all these permissions (contacts, camera, phone, calendar etc) in the build-template because not everyone will need, and it might also lead to rejection of apps when they are submitted to the stores: "why does your app needs all these permissions, though it seems like it doesn't makes use of all?"
In #3345 (subscribe to it), we could make everything dynamic: on could define from that file which permissions should be added to the build-template, so that only the required/used permissions are included.
However, you can download the flet-build-template and add these permissions to it yourself. Simply add the highlighted lines below, to the corresponding files in the template:

https://github.com/Baseflow/flutter-permission-handler/blob/main/permission_handler_android/example/android/app/src/main/AndroidManifest.xml#L18-L21
https://github.com/Baseflow/flutter-permission-handler/blob/main/permission_handler_android/example/android/app/src/profile/AndroidManifest.xml#L8-L11

Then follow this when running flet build.
@NHLOCAL, can you please be more precise? What permissions did you try to request? The above explanation might also apply to you.

@ndonkoHenri because I am writing an application similar to WhatsApp and these permissions are required.


Show list of uploaded files on front-end

Uploaded files will appear as soon as they get uploaded, but if page get refreshed they will not be shown any more.
Solution:
Have server look up in uploaded folder and send list of files to front-end.

@smadha I have added a function in server that returns list of uploaded files, how do you want it to return files name into front-end.

call:
http://localhost:8000/list_of_uploaded_files
to receive list of uploaded files


.is-outlined without specifying color

I noticed .is-outlined doesn't work if I don't specify a color.
Is it possible to have an .is-outlined list item without specifying the color (eg. .is-primary, .is-dark)?

Hi @janosrusiczki, thanks for raising this. What would the default colour be for the outline? Would you want it to be grey like the default background colour?

Hi @janosrusiczki, thanks for raising this. What would the default colour be for the outline? Would you want it to be grey like the default background colour?

First of all thanks for addressing this issue on a Sunday. :smile:
Yes, I was thinking about the same border as a simple button, eg: <button class="button">Button</button>

First of all thanks for addressing this issue on a Sunday. :smile:
Yes, I was thinking about the same border as a simple button, eg: <button class="button">Button</button>

This has been added in v0.4.2. Thanks

This has been added in v0.4.2. Thanks

Many thanks!


User should land on "Received VIDs" screen after receiving VID

Current behaviour:
After having received a shared VID the user will land on the main page where their own VID are displayed.
Expected behaviour:
After receiving a VID the user should land on the "Received VID" screen where all received VIDs are displayed.

Verified on 0.3.0-rc5 v1.1.2. Working as expected.


[Bug]: Ingest job failure during 1x load test 7-11-2022

Checked for duplicates
Yes - I've already checked
Describe the bug
Noticed failures of: "raise CooperationNotPossibleException( osaka.utils.CooperationNotPossibleException: No source specified. Cooperation not possible for s3://...products/HLS.L30.T17ULV.2022023T163751.v2.0.B07/_publish.context.json"
Rishi noted 54 of these during the July 11th 1X load test
These files did indeed not exist in the rs S3 bucket.
Traceback (most recent call last):
File "/home/ops/verdi/ops/osaka-1.1.0/osaka/cooperator.py", line 38, in __enter__
self.dlock.lock(lockMetadata)
File "/home/ops/verdi/ops/osaka-1.1.0/osaka/lock.py", line 78, in lock
raise osaka.utils.OsakaException("Lock file already locked")
osaka.utils.OsakaException: Lock file already locked

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/ops/verdi/ops/hysds-1.1.5/hysds/job_worker.py", line 1412, in run_job
post_processor_sigs.append(func(job, context))
File "/home/ops/verdi/ops/hysds-1.1.5/hysds/utils.py", line 692, in publish_datasets
prod_json = publish_dataset(prod_dir, dataset_file, job, ctx)
File "/home/ops/verdi/ops/hysds-1.1.5/hysds/utils.py", line 595, in publish_dataset
metrics, prod_json = get_func("hysds.dataset_ingest.ingest")(
File "/home/ops/verdi/ops/hysds-1.1.5/hysds/dataset_ingest.py", line 434, in ingest
publish_dataset(
File "/home/ops/verdi/ops/hysds-1.1.5/hysds/dataset_ingest.py", line 193, in publish_dataset
osaka.main.put(publ_ctx_file, publ_ctx_url, params=params, noclobber=True)
File "/home/ops/verdi/ops/osaka-1.1.0/osaka/main.py", line 38, in put
transfer(
File "/home/ops/verdi/ops/osaka-1.1.0/osaka/main.py", line 118, in transfer
transfer.transfer(
File "/home/ops/verdi/ops/osaka-1.1.0/osaka/transfer.py", line 128, in transfer
raise err
File "/home/ops/verdi/ops/osaka-1.1.0/osaka/transfer.py", line 104, in transfer
with osaka.cooperator.Cooperator(source, dlock, lockMetadata) as coop:
File "/home/ops/verdi/ops/osaka-1.1.0/osaka/cooperator.py", line 43, in __enter__
self.whenLocked()
File "/home/ops/verdi/ops/osaka-1.1.0/osaka/cooperator.py", line 70, in whenLocked
raise CooperationNotPossibleException(
osaka.utils.CooperationNotPossibleException: No source specified. Cooperation not possible for s3://s3-us-west-2.amazonaws.com:80/opera-dev-rs-fwd-pyoon/products/HLS.L30.T34KBU.2022023T084521.v2.0.B02/_publish.context.json

What did you expect?
Expected no errors
Reproducible steps
It's unclear if these errors are reproducible and to what extent. We will have to run the test again and see.

Environment
pcm_branch    = "1.0.0-rc.1.0"
hysds_release = "v4.0.1-beta.8-oraclelinux"
Phil's personal dev cluster

Won't fix this issue due to simplified the pipeline.


Add Windows 11 Enterprise, Fedora 36

Supercedes this PR while we wait for macOS M1 testing infrastructure to become available.
041996359d282054940a897cb148a7c1d6eddbcf is in response to this comment from @ekohl

Are the white space changes intended in lib/beaker-hostgenerator/data.rb?

Are the white space changes intended in lib/beaker-hostgenerator/data.rb?

Yes, https://github.com/voxpupuli/beaker-hostgenerator/commit/041996359d282054940a897cb148a7c1d6eddbcf is in response to https://github.com/voxpupuli/beaker-hostgenerator/pull/252#discussion_r897227461 from @ekohl. Happy to remove the commit if it makes codecov too grumpy.


Publish to PyPI via Trusted Publisher

https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect

The release failed.

@codingjoe I know, I don't have access to PyPI to update the config there. Already sent you an email about it once it failed.

I will set it up.

OK, done and uploaded.

Thank you!


chore(docs): update bartholomew module

Updates the bartholomew.wasm module for the docs website for compatibility with spin at HEAD.  In particular, uses a more recent version of bartholomew that has dropped wasi_experimental_http, as Spin has.
Fixes the behavior seen currently when trying to run the docs:
$ spin up
Error: unknown import: `wasi_experimental_http::close` has not been defined
Error: exit status: 1

The bartholomew module was built from the most recent commit of fermyon/bartholomew (as of writing).

Hi @vdice
Just tested this also, works on Spin tip.
Spin
# Install Spin tip
cd ~
git clone https://github.com/fermyon/spin.git
cd spin
cargo install --locked --path .

Bartholomew
# Use the bartholomew-site-template (clone personal copy of template)
git clone https://github.com/tpmccallum/test_bart_wasm.git
# Correctly received the error
tpmccallum@192-168-1-19 test_bart_wasm % spin up --follow-all
Error: unknown import: `wasi_experimental_http::close` has not been defined
Error: exit status: 1

Updated Bartholomew Wasm
# Fetch and use new bartholomew.wasm file from PR https://github.com/fermyon/spin/pull/731/files
cp -rp ~/Downloads/bartholomew.wasm ~/test_bart_wasm/modules/
spin up --follow-all

TL;DR LGTM

Thank you for testing @tpmccallum!


Reorganize env files in app-config to make it clearer what needs to be configured

Currently, the env files in /infra/app/app-config look like this:
https://github.com/navapbc/template-infra/blob/48c76567034b229c738730972ad35a467aa1e9f8/infra/app/app-config/dev.tf#L1-L24
As we add more features, we should consider how to make it clearer to the project admin what values they need to set and what values they should leave alone.

@lorenyu @coilysiren @doshitan Maybe something like this?
module "dev_config" {
  source = "./env-config"

  ######################################################################
  # Configuration for this environment.
  ######################################################################
  domain_name  = "platform-test-dev.navateam.com"
  enable_https = true

  # Enables ECS Exec access for debugging or jump access.
  # See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html
  # Defaults to `false`. Uncomment the next line to enable.
  # enable_command_execution = true

  ######################################################################
  # Sensible defaults.
  ######################################################################
  environment  = "dev"
  network_name = "dev"

  # If enable_identity_provider is `true`, you can change these values to modify the
  # urls that AWS Cognito will redirect to on login and logout.
  # Support local development against the dev instance.
  extra_identity_provider_callback_urls = ["http://localhost"]
  extra_identity_provider_logout_urls   = ["http://localhost"]

  ######################################################################
  # Do not modify.
  ######################################################################
  # To change this value, update /infra/project-config/main.tf.
  default_region = module.project_config.default_region

  # To change these values, update /infra/app/app-config/main.tf.
  project_name                    = local.project_name
  app_name                        = local.app_name
  has_database                    = local.has_database
  has_incident_management_service = local.has_incident_management_service
  enable_identity_provider        = local.enable_identity_provider
  enable_notifications            = local.enable_notifications
}

Nice insight, this seems like a good direction

Configuration for this environment. => Configuration unique to this environment.

Sensible defaults => Sensible defaults, you likely won't need to change these

^ some low pri wording suggestions
otherwise, looking great! ✨

I haven't thought a lot about this, but it's probably worth considering whether there's a way for us to separate the "do not change these" into a separate file from the rest of them. Perhaps by rethinking the relationships between project-config, app-config, and dev-config.
That might re-architect a lot more stuff and would definitely be a separate issue. I think the easy first step is to just re-organize the existing file without directly impacting those relationships.


[staging] stdenv: gcc_11 → gcc_12

Description of changes
This changes the default gcc version from gcc11 to gcc12
Things done
~Depends on https://github.com/NixOS/nixpkgs/pull/206805~
Pending:

custom jobset in hydra to detect other issue?
https://hydra.nixos.org/jobset/nixpkgs/pr-206907-gcc12

Tested with GNOME/GDM NixOS (about 4k-6k builds?)
Checklist:

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Been using these changes for a while now:

Linux version 6.0.13-hardened1 (nixbld@localhost) (gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39) #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 14 10:41:06 UTC 2022

Haven't noticed any issues

Jobset: https://hydra.nixos.org/jobset/nixpkgs/pr-206907-gcc12
For now just x86_64-linux with low priority.  It's likely to advance a lot while staging-next-* waits for *-darwin to catch up, but we'll see.

 Apologies :S

Status:
Currently about ~1,000 breakages total on x86_64-linux, pushed some extra patches for packages and will keep at it for a bit while but this is almost ready for review.
The 2 biggest issues:

vte no longer compiles with clang (which would require https://github.com/NixOS/nixpkgs/pull/207135 to push aarch64-linux forward)
xorg-server 1.20 doesn't compile with gcc12 and xorg-server 1.21 has some reported segfaults on NixOS (haven't experienced those through all this time using gcc12 by default)

Wow, so many -Wno-error= annotations! Thank you!

I feel uneasy about the use after free ones. Dx

Wow, so many -Wno-error= annotations! Thank you!

I feel uneasy about the use after free ones. Dx

Chances are those are false positives: https://gcc.gnu.org/PR104069. Worth a separate look as well, but it should not block a compiler update I'd say.

vte no longer compiles with clang (which would require PoC: stdenv: aarch64-linux: gcc9 -> gcc11 #207135 to push aarch64-linux forward)

There is a classic hack for this, see #210979. But is the flag still required on staging?

It's my understanding that some people still have bad issues with the new xorgserver, so why not decouple by dropping the update from this PR?  The old one is fixable trivially:
--- a/pkgs/servers/x11/xorg/overrides.nix
+++ b/pkgs/servers/x11/xorg/overrides.nix
@@ -878,6 +878,8 @@ self: super:
           "--disable-tls"
         ];

+        NIX_CFLAGS_COMPILE = [ "-Wno-error=array-bounds" ];
+
         postInstall = ''
           rm -fr $out/share/X11/xkb/compiled # otherwise X will try to write in it
           ( # assert() keeps runtime reference xorgserver-dev in xf86-video-intel and others

Dropped/decoupled xorg-server commit, I must have had a brainfart I thought there was a harder to fix error with gcc12 for xorgserver

@ofborg build patchelf

Would you mind rebasing this to latest origin/staging?  It makes it easier for me to test that #209870 still works regardless of whether it or this merges first.

It's intentionally based on recent master to avoid mixing up with (potential) regressions from master..staging.  This makes comparisons easier, e.g. now https://hydra.nixos.org/eval/1789845?compare=1789809

Doing so would also cause a mass rebuild on hydra.
Not sure I should do that resource-wise.

No, certainly not the rebuild on Hydra.

Bisect says cb5727323607dd9cc1fa12a8147ce21389df6599 stdenv: gcc_11 → gcc_12 broke dmd test on master:
$ nix build -f. -L dmd
...
Test 'runnable_cxx/cppa.d' failed. The logged output:
g++ -m64 -c runnable_cxx/extra-files/cppb.cpp -o test_results/runnable_cxx/cppb.cpp.o -std=c++11
/build/dmd/generated/linux/release/64/dmd -conf= -m64 -Irunnable_cxx -checkaction=C  -fPIC -L-lstdc++
 -L--no-demangle  -odtest_results/runnable_cxx -oftest_results/runnable_cxx/cppa_0  runnable_cxx/cppa
.d test_results/runnable_cxx/cppb.cpp.o
/nix/store/0n4dckknrk1fyvh858hyqv9bk3nhn67s-binutils-2.39/bin/ld: test_results/runnable_cxx/cppa_0.o:
 in function `_ZNSaIiE10deallocateEPim':
runnable_cxx/cppa.d:(.text._ZNSaIiE10deallocateEPim[_ZNSaIiE10deallocateEPim]+0x5): undefined referen
ce to `_ZN9__gnu_cxx13new_allocatorIiE10deallocateEPim'
collect2: error: ld returned 1 exit status
Error: linker exited with status 1
...
FAILED targets:
- runnable_cxx/cppa.d


Existence queries unable to match nested object fields

Describe the bug
The field existence query doesn't work on nested field unless the field is terminal
Steps to reproduce (if applicable)
Indexing a document like the following
{
  "foo": {
    "bar": 1
  }
, "whiz": true
}

No Matches
foo:*

Matches
foo:bar:*

Matches
whiz:*

Expected behavior
I would expect a document with a field of foo to match when using the existence query even if the field value is an object. That is the behavior seen by elasticsearch nested fields.
Version Information
{
  "build": {
    "build_date": "2024-10-29T15:18:16Z",
    "build_profile": "release",
    "build_target": "aarch64-unknown-linux-gnu",
    "cargo_pkg_version": "0.8.0",
    "commit_date": "2024-10-29T11:50:14Z",
    "commit_hash": "826f10f0d7ba1a448795890fe296941b84872c57",
    "commit_short_hash": "826f10f",
    "commit_tags": [
      "qw-airmail-20241029"
    ],
    "version": "0.8.0-nightly"
  },
  "runtime": {
    "num_cpus": 16,
    "num_threads_blocking": 14,
    "num_threads_non_blocking": 2
  }
}

@rdettai have you checked that it was working as described in elasticsearch? My understanding is that your plan si to implement in both

fast field
indexed field,
correct?

have you checked that it was working as described in elasticsearch?

yes (see test)


Error while sending and confirming transactions with nodejs

Hello, during using of Solana npm module @solana/spl-token I faced an issue. I am not be able to confirm transactions when I am using your hardcoded programId for token issuing.
Example of code I am using:
import { Token, TOKEN_PROGRAM_ID } from '@solana/spl-token'

const myAccount = // <fetching my account from ~/.config/solana/id.json>
const connection = // <connection to devnet>

// ...
// <Some logs to be sure connection established and proper account used>
// ...

const token = await Token.createMint(
        connection,
        myAccount,
        myAccount.publicKey,
        null,
        8,
        TOKEN_PROGRAM_ID
    )

And I receive an error:
><EMAIL_ADDRESS>start
> tsc && node build/index.js

Established connection with cluster: https://api.devnet.solana.com { 'feature-set':<PHONE_NUMBER>, 'solana-core': '1.6.10' }
Used account with public key: 3fru6kFEEJLcv2ddRGoZGz7bYVoNWDPLrPgbxAdPxSjA
Balance of 3fru6kFEEJLcv2ddRGoZGz7bYVoNWDPLrPgbxAdPxSjA = 32.99645912

Error: Signature verification failed
    at Transaction.serialize (/home/ubuntu/Documents/solana-test/node_modules/@solana/web3.js/lib/index.cjs.js:1105:13)
    at Connection.sendTransaction (/home/ubuntu/Documents/solana-test/node_modules/@solana/web3.js/lib/index.cjs.js:4587:41)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
    at async Object.sendAndConfirmTransaction (/home/ubuntu/Documents/solana-test/node_modules/@solana/web3.js/lib/index.cjs.js:1249:21)
    at async createToken (/home/ubuntu/Documents/solana-test/build/index.js:58:5)
    at async main (/home/ubuntu/Documents/solana-test/build/index.js:152:19)

After some investigation I figured out, that code failed inside function Token.createMint() on step sendAndConfirmTransaction().

I'm having a similar issue on createMint(..) with a React app using phantom wallet as the provider. Have you managed to sort out your issue?

same, does anyody know how do i createMint on mainNet? i am connected to Phantom wallet using @solana/wallet-adapter-react, but it doesn't have access to privateKey, so i can't use createMint, because it needs Signer which has a secretKey

Please come to https://solana.com/discord.  We don't use github for user support


Use FreeConsole instead of hiding

Issue: https://github.com/hajimehoshi/ebiten/issues/485
Using FreeConsole (https://docs.microsoft.com/en-us/windows/console/freeconsole) instead of hiding the console correctly works on my machine.
Calling it in every case, doesn't necessarily kill the console, but prevent logs from working, so it still needs to be done when we detect that current process created its own console.
From what is stated on FreeConsole's page, the console will get destroyed automatically when no process refers to it anymore.
So it works in our case, since our process created its own console.
Also if this is adopted, showWindowAsyncProc reference could be dropped

Did you confirm the process Console Window Host was gone?

Yes that's what I observed
Since the ebiten process creates its own console host, calling FreeConsole detached the only process attached to it, which gets it killed.
At least I cannot see it anymore in taskmgr under the main process
I'd be okay if someone can confirm this also, because I may have missed an edge case (I have 95% confidence)

Confirmed this worked on my Windows machine!


Nikhilfy linkfree profile

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

me making my linkfree
this community is awesome

thanks for the approval


Install without Admin Rights?

Would love for a standard user to be able to install PowerToys.

Hi @LtCmdrKeene
we are working on it ;)

Hello! Any updates or any way we could help?

Hi @cosminpolifronie
this is in the pipeline but there were more urgent matters, so it got behind.
Making PT run without admin rights is simple (just a flag in the VS solution), but we want to add the ability to restarted with admin rights.
We need to add a menu item "Restart elevated" and add the code to restart with elevated privileges.
If you want to help, we would be happy to have your contribution!
Thanks.

For the installer without admin rights we are considering to use MSIX and the Windows Store.
That requires some work in order to be able to register the PowerRename shell extension.

I don't want to clutter this conversation or waste anyone's time with chatter, but I'm curious what the use case for restarting PT as elevated would be.

@LtCmdrKeene
to allow PowerToys modules to interact with windows that are running with elevated privileges.

Hi @cosminpolifronie
this is in the pipeline but there were more urgent matters, so it got behind.
Making PT run without admin rights is simple (just a flag in the VS solution), but we want to add the ability to restarted with admin rights.
We need to add a menu item "Restart elevated" and add the code to restart with elevated privileges.
If you want to help, we would be happy to have your contribution!
Thanks.
I might be able to help with that but I'll have to look into the code to say for sure.

For the installer without admin rights we are considering to use MSIX and the Windows Store.
That requires some work in order to be able to register the PowerRename shell extension.
I have no idea how to make such an installer, though.

@cosminpolifronie
for the MSIX don't worry we will take care of it.

@enricogior, we can install without admin now for 0.15, correct?

@crutkas when installing with MSIX yes. Not with MSI since it still requires admin to write to C:/Program Files and to register the shell extension.

Fix available in v0.15.1 using the MSIX experimental installer https://github.com/microsoft/PowerToys/releases

Hi, this was closed with 0.15 but then MSIX installer was discontinued. This should be opened again.

Good call

Note: at present there is a security issue if PT is installed as a user. The workaround would require to prevent PT from running elevated, but that would be acceptable only for non-admin users.

Not sure if you want to open a separate issue for this but I'm having a related issue.
I'm using an administrator account, but when using the installer (.exe or .msi) there's a step which looks like it should create a User Account Control prompt to obtain elevation.

Clicking this doesn't create a UAC prompt and you shortly get an error (presumably trying to access something requiring elevation.

If elevating the installer isn't possible, can you look into checking if the installer is running with privileges and warning the user if not?
This is a particular issue with the .msi as to elevate it I have to run a command prompt as admin and run it from in there.
Note: I've seen this with previous versions but on this occasion I was using 0.20.1

@Xeozim
there is this issue reporting the same problem https://github.com/microsoft/PowerToys/issues/5385

Thanks @enricogior I'll keep an eye on that one instead then

Any news on re enabling install as local user? Would really appreciate to be able to upgrade from 0.15.

Push :)
I would love to be able to install without admin rights.
I use systems where I have no admin rights.

Push :)
I would love to be able to install without admin rights.
I use systems where I have no admin rights.

Any progress so far?

Yes! Very much looking forward to this to.

it would be really great if this could work without admin rights, I also have some system without admin rights and would love to be able to use it there.

This will require installer and startup adjustments. We’ve discussed areas of impact but right now we are focusing on what is on the roadmap.
The upgrade cycle will be impacted so this is a large dev and test cost.

Please consider prioritizing this.   MANY people want to use this tool at work, but can't due to administrator restrictions on their machines.

Any news? This is really important.

Push!

Any news regarding to this issue? It's really important to us, but lack of non-admin install holds me from recommending this fully to my colleagues at work

This is being improved with https://github.com/microsoft/PowerToys/issues/10126 but can't promise it will fully remove the need for UAC.
There are parts of the application that need elevation to be installed properly.  The thought is right now is those parts just won't work i believe

push, push, push!
I just formally requested for my admin to be able to install PT on my computer and it was rejected by the board whatever that means. Maybe they were afraid of the word "toys" :)
PLEASE prioritize this as many people need to install it on their machines and they don't have admin rights.

There are parts of the application that need elevation to be installed properly. The thought is right now is those parts just won't work i believe

So be it, for example I just need PT to swap some keys in my keyboard. Would would admin rights be necessary to swap keys in the user's keyboard?

Now that Monaco is integrated - thank you @crutkas and the whole team for working on that! -  even more colleagues of mine could make use of PT, if there wasn't the admin-issue. Perhaps a "Light-Version" as other programs fall into being installed without admin rights could be a solution.

Push! I'm still running v15.2 for this reason. I just need PowerToys for FancyZones, as I am sure many people would happily take the functionality that doesn't require admin privileges over nothing. Greying out the disabled parts in the UI with a short explanation could help a lot on the UX side.

@senthor Thanks for the 15.2 tip, I'll add it to my "install everything" script.
https://github.com/microsoft/PowerToys/releases/download/v0.15.2/PowerToysSetup-0.15.2-x64.msix

is this issue dead? Not doable?  It's been open for 2.5 years but with no real updates.

@kinwolfqc we did a ton of work toward making this possible.  One of the last big hurdles is runtime installs.
WebView2, WinAppSDK Runtime, VCRuntime, and .NET 6 Runtime are all required.

WebView2, WinAppSDK Runtime, VCRuntime, and .NET 6 Runtime are all required.

.NET 6 is installable for user, WebView2 I am not sure but I would bet for a Yes..
The others runtimes probably are blockers, you'right

Apologies for the tangent but this brings to mind that when you install Chrome for example, you get a UAC prompt. If you deny it the admin elevation by clicking "no", it will fall back to a per-user install. It never really advertises this fact ahead of time, but IYKYK. Perhaps PT could also prompt UAC but if it can't elevate (either because the user can't or chooses not to allow it), it'll do the same.

@LtCmdrKeene devil is in the details. if they don't install any dependencies ( I doubt they do) this is easy and possible.  We are doing file size reduction for the installer for run times.
one option could be having an installer flag or behavior above and that would just skip the runtimes.  the app itself needs to be more battle hardened for when the above runtimes aren't installed then and warn that we won't work

@24mu13 what is the command for .net to do the installer for per user without the UAC dialog? I went through the commands but I may have missed the argument.

I pasted the documentation - it's basically a PowerShell script, not exactly a .NET command...

Would it be possible to install the dependencies in a user folder rather than program files?

@superboss2300
well, looks like we can for WebView2.
https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#installing-the-runtime-as-per-machine-or-per-user
VC++ Runtime, i don't see an easy 'yes'
using the ps1 script for dotnet runtime, i don't know if that is a good solution as i'd imagine most people would scripts disabled if they don't have admin rights.  It is designed for CI

@superboss2300 well, looks like we can for WebView2. https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#installing-the-runtime-as-per-machine-or-per-user
VC++ Runtime, i don't see an easy 'yes'
using the ps1 script for dotnet runtime, i don't know if that is a good solution as i'd imagine most people would scripts disabled if they don't have admin rights. It is designed for CI

The .net runtime script could maybe be avoided by unpacking a tarball into AppData

I managed to install PowerToys on my corp machine without admin rights. Here is how I did:

Extract the installer using this Wix
.\dark.exe -x c:\temp <path>\PowerToysSetup-0.60.1-x64.exe

You should now have access to the msi bundle under AttachedContainer/PowerToysSetup-0.60.1-x64.msi

Extract the MSI bundle using msiexec /a c:\temp\AttachedContainer\PowerToysSetup-0.60.1-x64.msi /qb TARGETDIR=c:\temp\PowerToysSetup

Download latest .NET runtime binaries DONET and extract into a folder

Add new User environment variable
DOTNET_ROOT=\dotnet
DOTNET_MULTILEVEL_LOOKUP=0

Add also to your path
PATH=%DOTNET_ROOT%;%PATH%

Run C:\TEMP\PowerToysSetup\PowerToys\PowerToys.exe

Enjoy 👌
PS: I assume it just works because the other precondition to run PowerToys are full filled by my machine (EdgeWebView and probably others). It might not work for everyone.

The setup @SeriousJul suggested worked for me, too.
I installed PowerToys with Scoop, adding the .NET 6.0.7 (for PowerToys v0.61.1) binaries to my user profile directory (where I store all local user installs), and setting DOTNET_ROOT. I had figured out all the other bits except the DOTNET_ROOT variable.
I have not tested all the toys thoroughly, but Awake started automatically, and most of them appear to work as expected. I was able to use PowerToys Run and remap CapsLock to Ctrl.

At least make it updatable without admin rights so IT department only needs to install once.

@treysis issue becomes when runtimes gets updated / get added.  We are working on possible solutions now to what forces a UAC dialog for us.

@crutkas you could deliver updates via Windows Update. Or have a separate updater service running with elevated privileges.

I wrote a PowerShell script to automate installing/updating for a single user
It installs into %LocalAppData%\Programs\PowerToys by default, but that can be changed in the first line.
It doesn't install any dependencies, that needs to be done manually (as described in @SeriousJul's comment)
If you ever want to uninstall, just delete the install directory and the shortcuts if you created them (%AppData%\Microsoft\Windows\Start Menu\Programs\PowerToys.lnk and %AppData%\Microsoft\Windows\Start Menu\Programs\Startup\PowerToys.lnk)

I wrote a PowerShell script to automate installing/updating for a single user
It installs into %LocalAppData%\Programs\PowerToys by default, but that can be changed in the first line.
It doesn't install any dependencies, that needs to be done manually (as described in @SeriousJul's comment)
If you ever want to uninstall, just delete the install directory and the shortcuts if you created them (%AppData%\Microsoft\Windows\Start Menu\Programs\PowerToys.lnk and %AppData%\Microsoft\Windows\Start Menu\Programs\Startup\PowerToys.lnk)
Edit: For some reason the script behaves strangely when running with ./installPowertoys.ps1 in powershell. Right click>run works though.

Wonderful: it works!
The only issue I have is that PowerToys does not detect the .NET Desktop Runtime installed per-user in my case - see documentation

Anybody know how to make PowerToys to use/detect it?

@24mu13 create an environment variable called DOTNET_ROOT that points to where .NET is installed

@24mu13 create an environment variable called DOTNET_ROOT that points to where .NET is installed

Thank you very much: it worked fine!
I am just wondering why you need that variable if I already have that path on my PATH variable...

We should have a non-UAC install soon by doing self contained installs.  Currently our team only has the resources to support our installer.

If anyone is having problems to download the desktop runtime and set the env var just do this:
download: https://dot.net/v1/dotnet-install.ps1

We should have a non-UAC install soon by doing self contained installs.  Currently our team only has the resources to support our installer.

Thank you! This would be extremely helpful for people like me who have no way to install admin rights software on our work computers, but could really benefit from these tools.

For the installer without admin rights we are considering to use MSIX and the Windows Store.

Does that mean, that to install MSIX installer, the Windows Store should be allowed by policies?
The reason I ask this, is that I've recently recommended this to my friend, who have no administrative rights for their work PC but this project contains a utility that would be useful for them; while at my office, I have admin rights, but I do not have the rights to access anything related with Windows Store, including the start menu tiles. I do not know yet whether it is disabled for them as well, but very much could be.

We do not use MSIX with powertoys. We are working toward getting powertoys to the state where we do not need admin rights. Self containing the runtimes is one of the last major items and we are proactively working on that.

Any chance of an update? My company is about to move away from letting us gain local admin rights every 30 days to requiring a justification for each and every software install. I'm hoping that uninstalling most of my workflow and pivoting to install methods that don't require admin rights (bye-bye Chocolatey) will save me a lot of grief. VS Code and Python via the Store is hopefully going to help me out but I'll be sad to lose PowerToys Run, Bulk Rename and Fancy Zones...

@pnlrogue1 we are working on the effort. Right now we have to rework the preview panes due to just how stuff works. They require the .net runtime to be installed vs a runtime load so we are adjusted that as needed
the alternative is to remove ones that cannot easily be ported.

@crutkas thank you - appreciate the update!
PowerToys is great and I already feel withdrawl from not having Run available. Maybe I'll reinstall for now since I still can at the moment...

That last runtime installer and then it should be pretty straightforward.

Hello, I saw that 0.66 now ships with .NET self-contained. Earlier in this post there was questions about WebView2, WinAppSDK Runtime, VCRuntime, and .NET 6 Runtime. I understood that WebView2 can be installed without admin rights, so does .NET (since its now self-contained). What are the news about WinAppSDK and VCRuntime?
Thanks!

Those were done in prior releases

Hello,
I still have problems with .NET in v0.66 - any ideas?

Those were done in prior releases

Does that mean that it should now work to install without admin rights? I have tried method by @SeriousJul above and it seems that it is working fine-ish, but without the GUI. Fancy zone is working, but I cannot start the editor, neither PowerToys config window.

@sharky98 we still have a bit more work to do but we believe the hard stuff (runtimes that required UAC) is done

@Bird26 please file a bug with a bug report

Those were done in prior releases

Does that mean that it should now work to install without admin rights? I have tried method by @SeriousJul above and it seems that it is working fine-ish, but without the GUI. Fancy zone is working, but I cannot start the editor, neither PowerToys config window.

I haven't been able to make it work with any of the dotnet zip since 0.63 (the .net version error at launch)
What is curious is that the same issue happen with the version that has "embedded" .net
I am stuck with 0.62 and it works fine with .net v6 zip

Just tested on a fresh Windows 10 VM (no .net installed). PowerToys is working without needing to install .net.
How are you installing PowerToys?

Just tested on a fresh Windows 10 VM (no .net installed). PowerToys is working without needing to install .net. How are you installing PowerToys?

this method
It is not meant to be supported in any way, it is just a workaround as the .exe installer needs admin rights.
Just to be clear, I don't expect it to be fixed until I can use the proper installer (without admin right). I was answering @sharky98 for a workaround.

Scoop tries to do this as well. The installer also creates some hard links for self-contained .net.
Here's how scoop solves this as a post install, for example:
https://github.com/ScoopInstaller/Extras/blob/0999a7377dd102c0f287ec191eed4866eb075562/bucket/powertoys.json#L24-L40
(Basically, creating the hard links with PowerShell commands)

I just copy/pasted the symlink creation script into my installer script, for anyone who uses it

I just copy/pasted the hardlink creation script into my installer script, for anyone who uses it

Thank you very much! With this workaround everything works flawlessly.

I wrote a PowerShell script to automate installing/updating for a single user
It installs into %LocalAppData%\Programs\PowerToys by default, but that can be changed in the first line.
It doesn't install any dependencies, that needs to be done manually (as described in @SeriousJul's comment)
If you ever want to uninstall, just delete the install directory and the shortcuts if you created them (%AppData%\Microsoft\Windows\Start Menu\Programs\PowerToys.lnk and %AppData%\Microsoft\Windows\Start Menu\Programs\Startup\PowerToys.lnk)
Edit: For some reason the script behaves strangely when running with ./installPowertoys.ps1 in powershell. Right click>run works though.

Thanks for updating your script, it works flawless.

I just copy/pasted the hardlink creation script into my installer script, for anyone who uses it

Legend, thanks tons!  I tried for hours last week to it working with .zip runtimes to no avail.  Now I just ran the script and it is all working.  :D :D

Is this still an issue with the latest version? /needinfo

Jay there is still more work to do.

Please implement a policy to prevent user installs / enforce system installs. This is a must have for companies using SCCM.

Please implement a policy to prevent user installs / enforce system installs. This is a must have for companies using SCCM.

Why? Maybe as optional, but by default to have user installable package, eventually just like VSCode have - 2 separate installers

Please implement a policy to prevent user installs / enforce system installs. This is a must have for companies using SCCM.

Why? Maybe as optional, but by default to have user installable package, eventually just like VSCode have - 2 separate installers

Because if the admin manage and deploy the app system wide it will be a problem if the user updates/installs in its user profile.
Having two installers is a good idea and the gpo of course should be default to off/not restricted.

I just copy/pasted the hardlink creation script into my installer script, for anyone who uses it

Unfortunately I don't have access to PowerShell at all, so after extracting everything manually I made a quick batch script that creates the hardlinks. Leaving it here for anyone else who may have this issue.
powertoys-hardlinks.zip

I had my helpdesk install v0.67.0 (they have admin rights, I don't) but upon restarting my PC, the UAC prompt comes up again and I cannot run PT. Before I rebooted for the first time after the installation, I could see in PT settings that the "Run as admin" switch is off. When is UAC prompt still appearing. I only want to run FancyZones. Is there a way to run PT (or just FancyZones) without local admin?

@crutkas I had my helpdesk install v0.67.0 (they have admin rights, I don't) but upon restarting my PC, the UAC prompt comes up again and I cannot run PT. Before I rebooted for the first time after the installation, I could see in PT settings that the "Run as admin" switch is off. Why is UAC prompt still appearing. I only want to run FancyZones. Is there a way to run PT (or just FancyZones) without local admin?
According to the post https://www.windowscentral.com/powertoys-no-longer-requires-you-run-it-admin it's possible to run PT without admin rights.

Just found out that you just need to edit the json setting file in the app folder to make it run in user mode.

You've always been able to run without admin, just things like FancyZones can't interact with elevated windows if that is part of your workflow.
We are quickly approaching the point of you won't need admin during install as well.  That is what this work item is actually tracking.

I thought the whole point of this was to allow non-admin installs, specifically bullet point 1:

Be able to install PowerToys without UAC elevation

And yet I'm neither able to install the Store or winget version.
What was the point of whatever was done in that link then?

That is one part but now we have the move from machine wide and per user installer flows and upgrading.
It is not as easy as flipping a switch

I guess this can be closed now?

Yes
On Fri, Apr 7, 2023, 7:24 PM treysis @.***> wrote:

I guess this can be closed now?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/411#issuecomment-1500201429,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATUR253UPMOC6DRGE3A3FZLW772QRANCNFSM4IYO5BIA
.
You are receiving this because you commented.Message ID:
@.***>

After waiting (patiently) for months, today, I was finally able to install PowerToys without admin rights on my laptop. Thanks for making this possible! :-)

After waiting (patiently) for months, today, I was finally able to install PowerToys and start using FancyZones (among other things) without admin rights on my laptop. Thanks for making this possible! :-)

Hello @raislallmohamed ,
how did you do that? After launching the installer I immediately have to give some admin credentials to proceed. I really curious how to get this done without.

After waiting (patiently) for months, today, I was finally able to install PowerToys and start using FancyZones (among other things) without admin rights on my laptop. Thanks for making this possible! :-)

Hello @raislallmohamed ,
how did you do that? After launching the installer I immediately have to give some admin credentials to proceed. I really curious how to get this done without.

I used the per-user installer (v0.69.0), which can be found here (README):
Let me know if this also works for you.

After waiting (patiently) for months, today, I was finally able to install PowerToys and start using FancyZones (among other things) without admin rights on my laptop. Thanks for making this possible! :-)

Hello @raislallmohamed ,
how did you do that? After launching the installer I immediately have to give some admin credentials to proceed. I really curious how to get this done without.

Hi @CaptainBalou,
I used the per-user installer (v0.69.0), which can be found here (below "via GitHub with EXE [Recommended]").
Let me know if this also works for you.

Hey @raislallmohamed ,
I havent realized there is a user installer. So I took the wrong installer. Worked perfectly with the user installer. Thanks for your reply.
Regards
Marco

Fixed in 0.69 which was released in the start of April 2023.

I downloaded the latest PowerToysUserSetup-0.76.2-x64.exe installer, but it still requires admin rights to install. Log attached. Please advise.
powertoys-bootstrapper-msi-0.76.2_20240105090722.log

I downloaded the latest PowerToysUserSetup-0.76.2-x64.exe installer, but it still requires admin rights to install. Log attached. Please advise.
powertoys-bootstrapper-msi-0.76.2_20240105090722.log

I hadn't updated from 0.76.1, so I ran the installer manually to update and didn't have any issues.
Looking at your log, it doesn't appear to fail until it tries to apply the package. When you first run the installer, click the Options button and ensure that the path to AppData\Local is in your user account folder. The log shows the user folder for "first.last", so unless you modified the log file to hide your username, I doubt that's correct.

I downloaded the latest PowerToysUserSetup-0.76.2-x64.exe installer, but it still requires admin rights to install. Log attached. Please advise.
powertoys-bootstrapper-msi-0.76.2_20240105090722.log

I hadn't updated from 0.76.1, so I ran the installer manually to update and didn't have any issues.
Looking at your log, it doesn't appear to fail until it tries to apply the package. When you first run the installer, click the Options button and ensure that the path to AppData\Local is in your user account folder. The log shows the user folder for "first.last", so unless you modified the log file to hide your username, I doubt that's correct.

I modified the log to hide my user name.


Fix issue #110

hey @johnmarinelli could you look at the conflict? not sure what it wants rn. probably because of some changes weve made. let's get this in for the next patch release. :-)

made the changes are requested by @stephencorwin


Remove invalid dynamic filters in JoinNode flipChildren

When left and right children of JoinNode are flipped in ReorderJoins or DetermineJoinDistributionType, existing dynamic filters in JoinNode can become invalid and need to be removed.

CI error is unrelated.


error after update sigh 0.6.0

➜  BaiduBrowser  fastlane -v
/Library/Ruby/Site/2.0.0/rubygems/specification.rb:2100:in check_version_conflict': can't activate mime-types-2.6.1, already activated mime-types-1.25.1 (Gem::LoadError) 	from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:1276:in activate'
from /Library/Ruby/Site/2.0.0/rubygems.rb:216:in block in finish_resolve' 	from /Library/Ruby/Site/2.0.0/rubygems.rb:215:in each'
from /Library/Ruby/Site/2.0.0/rubygems.rb:215:in finish_resolve' 	from /Library/Ruby/Site/2.0.0/rubygems/rdoc.rb:14:in <top (required)>'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:121:in require' 	from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:121:in require'
from /Library/Ruby/Site/2.0.0/rubygems/commands/update_command.rb:9:in <top (required)>' 	from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:121:in require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:121:in require' 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.3.2/lib/fastlane/actions/update_fastlane.rb:2:in <top (required)>'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:121:in require' 	from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:121:in require'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.3.2/lib/fastlane/actions/actions_helper.rb:129:in block in load_default_actions' 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.3.2/lib/fastlane/actions/actions_helper.rb:128:in each'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.3.2/lib/fastlane/actions/actions_helper.rb:128:in load_default_actions' 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.3.2/lib/fastlane.rb:21:in module:Fastlane'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.3.2/lib/fastlane.rb:18:in <top (required)>' 	from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:69:in require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:69:in require' 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.3.2/bin/fastlane:5:in <top (required)>'
from /usr/bin/fastlane:23:in load' 	from /usr/bin/fastlane:23:in '

Duplicate of https://github.com/KrauseFx/fastlane/issues/249
Please try sudo gem cleanup.

cleanup unfortunately doesn't work for me
Cleaning up installed gems...
Clean Up Complete

Used to work fine before update

@KrauseFx I've followed some of the previous posts and of course tried the gem cleanup, the problem continued. I resorted to removing all of the components for fastlane individually and reinstalling them again. Nokigiri failing to install caused problems with completing the fastlane install and that required another workaround. I am now able to perform fastlane --v without any errors ;)

@scibidoo really sorry for the troubles. I always try to improve the installation process, but because of nokogiri it's often quite difficult :disappointed:


No longer detecting latest version

I cloned the repo in a local directory.
Was on Go version 1.17.6. Wanted to update it to 1.17.7.
Script installed the default v1.16.4. Did not detect the latest version.
Manually edits "1.16.4" to "1.17.7" to run the script.
Auto-detect latest version seems to be broken now.

Hi,
I have just tested it and it did upgrade correctly to 1.17.7.
The logging goes like this:
update-golang.sh: version 0.24
update-golang.sh: find_latest: found last release: 1.17.7
update-golang.sh: user: uid=0(root) gid=0(root) groups=0(root)
update-golang.sh: RELEASE_LIST=https://golang.org/dl/
update-golang.sh: SOURCE=https://storage.googleapis.com/golang
update-golang.sh: DESTINATION=/usr/local
update-golang.sh: RELEASE=1.17.7

Can you share your logging output?
Maybe you are hitting some problem when fetching the available releases from https://golang.org/dl/ ?
I have seen corporate proxies breaking communication with https://golang.org/dl/

@udhos, I think https://golang.org/dl has moved to https://go.dev/dl:
[root@fedora ~]# curl https://golang.org/dl/?mode=json
Moved Permanently.

[root@sensu01 ~]# curl https://go.dev/dl/?mode=json
[
 {
  "version": "go1.17.8",
  "stable": true,
  "files": [
   {
    "filename": "go1.17.8.src.tar.gz",
    "os": "",
    "arch": "",
    "version": "go1.17.8",
    "sha256": "2effcd898140da79a061f3784ca4f8d8b13d811fb2abe9dad2404442dabbdf7a",
[...]

@radcool, Thanks for reporting!
Fixed in https://github.com/udhos/update-golang/releases/tag/v0.24

Just in time for v1.18 :)

@N1nj4-1kt4 did it work now?

Yes - it worked like a charm. Thanks for putting this together!


Ansible Tower changed names

Ansible Tower by Red Hat is now called Red Hat Ansible Automation Platform, as they also reflect it in their marketplace offering.

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

ID: b88e2bae-a0d4-f918-4cfe-2c21656baca0
Version Independent ID: 118ef161-46e8-1625-6972-524555aca8c0
Content: Using Ansible with Azure
Content Source: articles/ansible/overview.md
Service: ansible
GitHub Login: @TomArcherMsft
Microsoft Alias: tarcher

@lanicolas Did you forget the link? :)

I found an article that talks about the name change. I'll take a look and comment back in a few minutes...

@lanicolas I decided to remove the section entirely as it adds no value to the article. Thanks again for alerting us.


Fix not-equal bug in DataModelAbstractBase

The not-equal method of DataModelAbstractBase should just be not _eq__, right? Otherwise if your class that subclasses it doesn't have a data method, it throws an error.
https://github.com/choderalab/asapdiscovery/blob/671776df4f1cbb8f24a200b175478f554e26299d/asapdiscovery-data/asapdiscovery/data/schema_v2/schema_base.py#L79-L89

Yep I think you are right, should share implementation.


also zero pad DHE public key in ClientKeyExchange message for interop

The Windows SChannel TLS stack has problems when the DHE pub key is encoded with fewer bytes than the DHE prime.
In https://github.com/openssl/openssl/pull/1320 padding has already been added to work around this problem for the OpenSSL server case, and I experimented a little and Microsoft seems to have also fixed this in their client code.
I guess that OpenSSL server <-> windows client is the more common case, but the opposite case still causes handshakes to randomly fail when a DHE suite is selected. By adding padding for the OpenSSL client key exchange I hope to fix that.
This is my first contribution to OpenSSL, I tried to follow the style guide and conventions. Any corrections are much appreciated.

@mattcaswell are you familiar with the WPACKET API and would you taking a look?

I'm going to dismiss @davidben 's review, since it was before the force-push.
(In some sense it doesn't matter, since we're both committers and this needs an OTC review in order to get merged.)

(the travis failures are the spurious "../../_srcdir/config: no such file or directory" that we've been seeing lately)

Thank you @kaduk for your comments. I wanted to ask whether there were any necessary steps on my side once marked as "approval: otc review pending"? And I figured that if I am going to do an additional round trip anyway, I will just add the changes you suggested. (Hopefully I did the fixup! correctly)

@heinzelotto the fixup looks good, thank you.
With the "approval: otc review pending" set we are not waiting on anything else from you (unless that review produces additional feedback/requested changes).  Unfortunately, OTC time is in high demand right now, with the work towards the 3.0 release, so I don't have a great estimate for you.

This PR is in a state where it requires action by @openssl/otc but the last update was 30 days ago

This pull request is ready to merge

Merged to master. Thank you for your contribution and patience when waiting for the reviews.

This makes openssl as the client send out zero padded DHE pubkey in TLSv1.2 which means it breaks the standard as leading zeros should be stripped in TLSv1.2 (as opposite to TLSv1.3 where they should be left in the stream!). Is this really what you need/want?

The spec says the resulting secret has leading zeros removed. I believe RFC5246 is silent as to whether the public key is padded. (Which is a mistake. It should have picked one, and the correct one to pick is fixed-width. But a bit late to fix that now, so implementations have to pick one.)

So on the server side, you have to support (try...) both because your clients could have picked padding and not-padding? ;-)

No, just have your parser tolerate leading zeros, as OpenSSL does. The resulting secret is different because it's a KDF input.
(Alternatively, stop doing TLS 1.2 DHE as it's beyond saving.)


Hi, thaks for your project and effort.

Hi thaks for your project.
I,ve been dealimg with It for a month or so.
First i made a mini device wich worked well, i was able to solder anything in place and connect four roller shades, by the way, IS this what you call a roller shade?,

And a "toldo", for wich i selected roller shade too; what do you call this?

Well, It worked for some days until I had to park the project for some time due to reasons.
Yesterday i was coming back to the project and the device seemed not to work.
No way to connect to It, so, after struggling with no result i ended Up reseting and starting from Scratch.
Now I encounter myself that trying to pai the shade leds me to , i have four, #4 working fine, but #3 makes #3 and #1 to move, same on #2 , and #1 works fine.
A bit confused here, does It give you any idea what IS going on?
Thanks in avance.

First i made a mini device wich worked well, i was able to solder anything in place and connect four roller shades, by the way, IS this what you call a roller shade?,

If the slats are connected together so that they do not tilt open to allow light between them then, yes I would consider that to be a roller shade.   If you can position them so that light can enter between them then they are considered a blind.

A bit confused here, does It give you any idea what IS going on?

Yes.  What is happening is that you have the shade 1 paired to the address on shade 3 as well as shade 1.   This is very easy to fix but you should know how this happens.
When you open the memory on the motor by long pressing the remote until the motor jogs, it puts the motor into a mode where it will be listening for the prog command from any remotes.  For some motors, it closes the memory and stops listing for and other remotes.  For others you must press the prog button on the original remote to have it stop listening for new remotes or wait until it times out.
For those motors that do not stop listening until you press the prog button on the original channel to stop listening for prog commands, you will often see the shade jog again when you press the prog button again on the original remote.  This indicates that it is no longer listening for new remotes.  Otherwise, when you go to pair the next shade the one that you just paired will also hear the prog command for the next shade.  So the the second remote will now control shade 1 and shade 2.
Fixing this is a matter of opening the memory with a long press on shade 1 then sending another prog command from shade to to unpair it from the motor.  You can do this using the original remote and the ESPSomfy virtual remote.  Then don't forget to close the memory on the original remote as indicated by a 3rd up/down movement on shade 1.

Hi, thanks for your quick reply.
Just to clarify
1 press back button on somfy remote
2 wait for jog
3 press back button on somfy remote
4 unpair
I guess that i have to repeat this and swap step 4 to pair it correctly.
And that's it?
By the way, what do you call the "toldo" of second picture?

Just to clarify

Not quite

Press the back (prog) button on the Somfy remote
wait for jog
Press the prog button on the virtual remote in ESPSomfy RTS for the shade that should not be moving the motor
Short press the back (prog) button on the Somfy remote

I guess that i have to repeat this and swap step 4 to pair it correctly.

Yes.  Remember every motor hears every command.  Each motor decides what to do with that command based on whether it has the address of the remote in its memory.

By the way, what do you call the "toldo" of second picture?

I believe that toldo is an awning.  I English an awning is an exterior roof or cover structure attached to the outside of a building.  In this case your toldo is a retractable awning to be specific.

WoW what a Messi, now even my original remote acts weird. I think ill have to reset everything. Ill come back later to explain what i did to solve It, if i am able 😅

You will get it.  The problem is that pairing and unpairing a remote is the same command and the same sequence.  If it is paired it will unpair.  If it is not paired then it will pair.  Sometimes the right thing to do is simply factory reset the shade and do each one, one at a time, where only the current motor you are working on has power.  This is actually the way they describe it in the Somfy documentation.  It will eliminate the possibility of selecting the wrong channel or getting the more than one motor to respond to the pairing.
Also, do not use any address from the original remote for an address assigned in ESPSomfy RTS.  If you looked in the log and captured the address then entered it into any shade definition then you are doing it wrong.  There are projects that recommend this but it will create issues with ESPSomfy RTS and for the remote.
In the end, your remotes and ESPSomfy RTS should work individually to operate your shades.  While ESPSomfy RTS reliably keeps track their position.  Regardless of how they were commanded.  When properly configured it will just work.

Hi again.
Done!!!
Now I am an expert hehehehehehehe
It took me some time to realize how actually remote and motor "comunicate". now both are working correcrly.
Even though it works fine there is something I would like to fine tune.
When my shutters go down to fully closed, there is a bit of time the motor is still working thought the shutter is fully closed, we managed to program them like this for the shutter slats to put weight on each other and close totally the, sometimes, annoying light entering through then.
This turns out in a mismatch between the actual opening and that show by the system.
I have taken the time it takes the shutter to fully open and viceversa from
1 button press
2 first gap opening
And neither of them solved the problem.
Any advice?

Sorry, dont understand what you mean, but take a look, this IS similar tom what i have
https://youtu.be/TAfZ7Vkrq3I?si=NCy-vldFvZfR56wy

this IS similar tom what i have

Ok your mechanism is how I thought you described it and not what would be a venetian blind with variable slats.
Did you set the endstops on the motor?  If so 100% should equal the shade completely closed + the time required to let the weight off the slats.  If you press the down button and it closes all the way including the motion to let the slats settle, then the timing you set on the down time should include this time.  ESPSomfy RTS does not issue a stop command when the down button is used.  That is up to the motor to determine that.

So from 100% opened i just hit down at the same time as i start taking time and wait to the motor to stop, isn't It?

Yes.  When the motor stops that is what ESPSomfy RTS views as 100%.

By the way, I have a question , another hehe, I just integrated in HA, nice translation 😉.
After adding It to HA, i added the awning to rst, but It does not appear in HA, is there anyway to add It? Or do i have to deletr and integrate again?

Click on the integration then choose reload from the menu.

Nice, everything fine, just another question, seems every shade has to be on the same área, and my awning IS on a different one.

You should be able to set any device to any area in HA.  Click on the gears icon on the top right of the entity and assign it wherever you like.
You can also define up to 16 rooms in ESPSomfy RTS then set it in the configuration for the particular shade.

Thank you

well, I am back, can´t asign toldo to other room than the assigned to the integration.
If i enter the entity toldo I see this screen

clicking the gear takes me to

disabling the last slider won´t do anything because after updating it comes back to enable, and if I choose the change device area, takes me to device area, not entity area. Wich changes all the entities area.

For me I simply put the devices in my Windows area then toggled the the bottom box and and assigned each entity to the area I wanted.  It works just fine for me and the settings stick.  Did you press the update button after making the changes?

I am going to close this for now as I believe you should be able to get the entities in any area you would like.


Stargate config generation does not work correctly for 4.0

What happened?
When implementing #130 it became clear that the tests themselves are not working. So implementing running tests against multiple versions will not pass since the tests are broken.
This is because while we do remove 4.0 properties from Cassandra deployment, it's not done correctly for Stargate which has all those 3.11 properties for Stargate 4.0 deployment and that fails.
 Caused by: org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties [start_rpc, thrift_prepared_statements_cache_size_mb] from your cassandra.yaml
	at org.apache.cassandra.config.YamlConfigurationLoader$PropertiesChecker.check(YamlConfigurationLoader.java:275)
	at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:130)
	at io.stargate.db.cassandra.Cassandra40PersistenceActivator.makeConfig(Cassandra40PersistenceActivator.java:66)

Did you expect to see something different?
I expected them to work since this type of removal of unused parameters is what cass-config-builder should do.

Is this ticket obsolete @burmanm

The offending properties were removed in bd8af171793933bea3f11c848d090433fb0642c2.
@burmanm please reopen if there is more to be done here.


Should display "Command not found" if asciidoctor is not installed

If asciidoctor is not installed, the error message does not say so.
It just says "x errors while building the book:", without outputting the actual error.
Like "command not found"

That is indeed a helpful error message!
I tried adding one. I will test on Windows this weekend.

I confirm the fix works on Windows, too.


TechNERD-simple8720's contribution(20240311-20240331)

Hey Simple, the contributions here look good. Can you please break these out into two different files? You can model the file format after Chom's

Sure


logo overflow fixed

I have fixed the overflow of the image from the navbar . I have attached the pic below.

@TheNinza i have tried to fix the logo overflowing using transform property .Its working better than before and havent disturbed the navabr height . Also i have formatted the code using prettier.

Hey @ImAnshuJoshi,
This looks good. Merging


Min height breaking site for users with screen res of 768

Name: @melanthriel#4568

Corrected with abbda80c63e596b8211037976037337854e19300 now results in:

Items in result not showing due to lag when scrolling fast, this can be closed when dev is merged into master


Fix typo

"explaination" -> "explanation"

Thanks much!

Go team SimSpace!

Oh.. what do you know.. =P


[Package Request]: Add PowerIAST

Package Requested

[X] I would like someone else to build the manifest.
[X] I would like help so I can submit the manifest.
[ ] I have performed a search and couldn't find this package.
[X] I have checked that the installer for this package is not contained in a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: Alphayama
Publisher Url: https://github.com/alphayama
Package Name: Alphayama.PowerIAST
Description: Easily create diacritic letters to transliterate Sanskrit (and other Indian languages). Based on the PowerAccent project.
Package Version: 1.0
Installer URL: https://github.com/alphayama/PowerIAST/releases/download/1.0/PowerIASTSetup.exe
Current Package Identifier (for new versions): N/A
Note:
Silent installation can be done by running PowerIASTSetup.exe /S (case sensitive)

You can use wingetcreate. Since you are using NSIS, winget will know the silent switch for it. So just install the tool using winget install wingetcreate and then run the command wingetcreate new https://github.com/alphayama/PowerIAST/releases/download/1.0/PowerIASTSetup.exe.

Thank you for the information


#236 Table - Review functionality

There is a responsive class in tabler that I think we need on our side. Let's discuss.

classes function MUST have true value in the last argument


Add a verification example restarting atmospheric CO2 from a pickup file

There are currently no examples in the repository of the pickup file required to restart interactive atmospheric CO2. A pickup_dic_co2atm file is not created unless we already have dic_int1=3.
The pickup file contains the total number of moles of carbon in the atmosphere and the atmospheric CO2, so it is not particularly difficult to create if one studies dic_atmos.F, dic_read_co2_pickup.F, and dic_write_co2_pickup.F, although the meta file is not so easily understood from these routines.
However, having a working example would give guidance to someone who would like to restart from an experiment either using a pickup for the 278 ppm default (dic_int1=0) or creating a new pickup based on this template.

There are currently 2 experiments,  tutorial_global_oce_biogeo and so_box_biogeo (+ one adjoint only), that uses pkg/dic. We could think of adding a secondary test in  tutorial_global_oce_biogeo (better there than in so_box_biogeo since the interactive CO2 does not mean much in a regonal set-up) to test this CO2 thing.