css loading gives "Error: undefined:12:20: property missing ':', Error: undefined: 12:180: property missing '}' "

Makes sure these boxes are checked befor submitting your issue - thank you!

[x] Check that your node version is >= 6 and npm version is >=5(Run npm --version and node --version).
[x] If you encounter any problems using the tool, please check if there has a new version to update(Run weex update [pluginname]@latest).
[x] Check the FAQ, make sure there have not the same issue.

Your development environment

weex-toolkit verison (Run weex -v)
platform (Win/Mac/Ubuntu..) linux
weex: v1.2.9
weexpack : v1.1.5
weex-builder : v0.3.14
weex-previewer : v1.4.6

The key error stack message.
`
(Emitted value instead of an instance of Error) Error: undefined:4:67: property missing ':',Error: undefined:4:67: missing '}',Error: undefined:4:212: property missing ':',Error: undefined:4:212: missing '}',Error: undefined:4:279: property missing ':',Error: undefined:4:279: missing '}',Error: undefined:11:5: property missing ':',Error: undefined:11:5: missing '}',Error: undefined:13:10: property missing ':',Error: undefined:13:10: missing '}',Error: undefined:13:66: property missing ':',Error: undefined:13:66: missing '}',Error: undefined:13:211: property missing ':',Error: undefined:13:211: missing '}',Error: undefined:13:278: property missing ':',Error: undefined:13:278: missing '}',Error: undefined:14:10: property missing ':',Error: undefined:14:10: missing '}',Error: undefined:14:75: property missing ':',Error: undefined:14:75: missing '}',Error: undefined:14:220: property missing ':',Error: undefined:14:220: missing '}',Error: undefined:14:287: property missing ':',Error: undefined:14:287: missing '}',Error: undefined:20:40: property missing ':',Error: undefined:20:40: missing '}',Error: undefined:21:2: missing '{'
@ ./src/components/register.vue 5:20-385
@ ./.temp/router/index.js
@ ./.temp/entry.js
@ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8081 ./.temp/entry.js
error  in ./src/components/ico/ico.vue
(Emitted value instead of an instance of Error) Error: undefined:4:70: property missing ':',Error: undefined:4:70: missing '}',Error: undefined:4:221: property missing ':',Error: undefined:4:221: missing '}',Error: undefined:4:291: property missing ':',Error: undefined:4:291: missing '}',Error: undefined:11:5: property missing ':',Error: undefined:11:5: missing '}',Error: undefined:13:10: property missing ':',Error: undefined:13:10: missing '}',Error: undefined:13:69: property missing ':',Error: undefined:13:69: missing '}',Error: undefined:13:220: property missing ':',Error: undefined:13:220: missing '}',Error: undefined:13:290: property missing ':',Error: undefined:13:290: missing '}',Error: undefined:14:10: property missing ':',Error: undefined:14:10: missing '}',Error: undefined:14:78: property missing ':',Error: undefined:14:78: missing '}',Error: undefined:14:229: property missing ':',Error: undefined:14:229: missing '}',Error: undefined:14:299: property missing ':',Error: undefined:14:299: missing '}',Error: undefined:20:40: property missing ':',Error: undefined:20:40: missing '}',Error: undefined:21:2: missing '{'
@ ./src/components/ico/ico.vue 5:20-389
@ ./.temp/router/index.js
@ ./.temp/entry.js
@ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8081 ./.temp/entry.js
error  in ./src/components/ico/icoThings.vue
(Emitted value instead of an instance of Error) Error: undefined:4:70: property missing ':',Error: undefined:4:70: missing '}',Error: undefined:4:221: property missing ':',Error: undefined:4:221: missing '}',Error: undefined:4:291: property missing ':',Error: undefined:4:291: missing '}',Error: undefined:11:5: property missing ':',Error: undefined:11:5: missing '}',Error: undefined:13:10: property missing ':',Error: undefined:13:10: missing '}',Error: undefined:13:69: property missing ':',Error: undefined:13:69: missing '}',Error: undefined:13:220: property missing ':',Error: undefined:13:220: missing '}',Error: undefined:13:290: property missing ':',Error: undefined:13:290: missing '}',Error: undefined:14:10: property missing ':',Error: undefined:14:10: missing '}',Error: undefined:14:78: property missing ':',Error: undefined:14:78: missing '}',Error: undefined:14:229: property missing ':',Error: undefined:14:229: missing '}',Error: undefined:14:299: property missing ':',Error: undefined:14:299: missing '}',Error: undefined:20:40: property missing ':',Error: undefined:20:40: missing '}',Error: undefined:21:2: missing '{'
@ ./src/components/ico/icoThings.vue 5:20-395
@ ./.temp/router/index.js
@ ./.temp/entry.js
@ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8081 ./.temp/entry.js
error  in ./src/components/ico/icoThingsStyles.vue
(Emitted value instead of an instance of Error) Error: undefined:4:70: property missing ':',Error: undefined:4:70: missing '}',Error: undefined:4:221: property missing ':',Error: undefined:4:221: missing '}',Error: undefined:4:291: property missing ':',Error: undefined:4:291: missing '}',Error: undefined:11:5: property missing ':',Error: undefined:11:5: missing '}',Error: undefined:13:10: property missing ':',Error: undefined:13:10: missing '}',Error: undefined:13:69: property missing ':',Error: undefined:13:69: missing '}',Error: undefined:13:220: property missing ':',Error: undefined:13:220: missing '}',Error: undefined:13:290: property missing ':',Error: undefined:13:290: missing '}',Error: undefined:14:10: property missing ':',Error: undefined:14:10: missing '}',Error: undefined:14:78: property missing ':',Error: undefined:14:78: missing '}',Error: undefined:14:229: property missing ':',Error: undefined:14:229: missing '}',Error: undefined:14:299: property missing ':',Error: undefined:14:299: missing '}',Error: undefined:20:40: property missing ':',Error: undefined:20:40: missing '}',Error: undefined:21:2: missing '{'
@ ./src/components/ico/icoThingsStyles.vue 5:20-401
@ ./.temp/router/index.js
@ ./.temp/entry.js
@ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8081 ./.temp/entry.js
error  in ./src/components/ico/inventoryStyles.vue
(Emitted value instead of an instance of Error) Error: undefined:4:70: property missing ':',Error: undefined:4:70: missing '}',Error: undefined:4:221: property missing ':',Error: undefined:4:221: missing '}',Error: undefined:4:291: property missing ':',Error: undefined:4:291: missing '}',Error: undefined:11:5: property missing ':',Error: undefined:11:5: missing '}',Error: undefined:13:10: property missing ':',Error: undefined:13:10: missing '}',Error: undefined:13:69: property missing ':',Error: undefined:13:69: missing '}',Error: undefined:13:220: property missing ':',Error: undefined:13:220: missing '}',Error: undefined:13:290: property missing ':',Error: undefined:13:290: missing '}',Error: undefined:14:10: property missing ':',Error: undefined:14:10: missing '}',Error: undefined:14:78: property missing ':',Error: undefined:14:78: missing '}',Error: undefined:14:229: property missing ':',Error: undefined:14:229: missing '}',Error: undefined:14:299: property missing ':',Error: undefined:14:299: missing '}',Error: undefined:20:40: property missing ':',Error: undefined:20:40: missing '}',Error: undefined:21:2: missing '{'
@ ./src/components/ico/inventoryStyles.vue 5:20-401
@ ./.temp/router/index.js
@ ./.temp/entry.js
@ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8081 ./.temp/entry.js
error  in ./src/components/ico/icoThingsOptions.vue
(Emitted value instead of an instance of Error) Error: undefined:4:70: property missing ':',Error: undefined:4:70: missing '}',Error: undefined:4:221: property missing ':',Error: undefined:4:221: missing '}',Error: undefined:4:291: property missing ':',Error: undefined:4:291: missing '}',Error: undefined:11:5: property missing ':',Error: undefined:11:5: missing '}',Error: undefined:13:10: property missing ':',Error: undefined:13:10: missing '}',Error: undefined:13:69: property missing ':',Error: undefined:13:69: missing '}',Error: undefined:13:220: property missing ':',Error: undefined:13:220: missing '}',Error: undefined:13:290: property missing ':',Error: undefined:13:290: missing '}',Error: undefined:14:10: property missing ':',Error: undefined:14:10: missing '}',Error: undefined:14:78: property missing ':',Error: undefined:14:78: missing '}',Error: undefined:14:229: property missing ':',Error: undefined:14:229: missing '}',Error: undefined:14:299: property missing ':',Error: undefined:14:299: missing '}',Error: undefined:20:40: property missing ':',Error: undefined:20:40: missing '}',Error: undefined:21:2: missing '{'
@ ./src/components/ico/icoThingsOptions.vue 5:20-402
@ ./.temp/router/index.js
@ ./.temp/entry.js
@ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8081 ./.temp/entry.js
error  in ./src/components/ico/icoSandboxThing.vue
(Emitted value instead of an instance of Error) Error: undefined:4:70: property missing ':',Error: undefined:4:70: missing '}',Error: undefined:4:221: property missing ':',Error: undefined:4:221: missing '}',Error: undefined:4:291: property missing ':',Error: undefined:4:291: missing '}',Error: undefined:11:5: property missing ':',Error: undefined:11:5: missing '}',Error: undefined:13:10: property missing ':',Error: undefined:13:10: missing '}',Error: undefined:13:69: property missing ':',Error: undefined:13:69: missing '}',Error: undefined:13:220: property missing ':',Error: undefined:13:220: missing '}',Error: undefined:13:290: property missing ':',Error: undefined:13:290: missing '}',Error: undefined:14:10: property missing ':',Error: undefined:14:10: missing '}',Error: undefined:14:78: property missing ':',Error: undefined:14:78: missing '}',Error: undefined:14:229: property missing ':',Error: undefined:14:229: missing '}',Error: undefined:14:299: property missing ':',Error: undefined:14:299: missing '}',Error: undefined:20:40: property missing ':',Error: undefined:20:40: missing '}',Error: undefined:21:2: missing '{'
@ ./src/components/ico/icoSandboxThing.vue 5:20-401
@ ./.temp/router/index.js
@ ./.temp/entry.js
@ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8081 ./.temp/entry.js
error  in ./src/components/ico/icoManifestThing.vue
(Emitted value instead of an instance of Error) Error: undefined:4:70: property missing ':',Error: undefined:4:70: missing '}',Error: undefined:4:221: property missing ':',Error: undefined:4:221: missing '}',Error: undefined:4:291: property missing ':',Error: undefined:4:291: missing '}',Error: undefined:11:5: property missing ':',Error: undefined:11:5: missing '}',Error: undefined:13:10: property missing ':',Error: undefined:13:10: missing '}',Error: undefined:13:69: property missing ':',Error: undefined:13:69: missing '}',Error: undefined:13:220: property missing ':',Error: undefined:13:220: missing '}',Error: undefined:13:290: property missing ':',Error: undefined:13:290: missing '}',Error: undefined:14:10: property missing ':',Error: undefined:14:10: missing '}',Error: undefined:14:78: property missing ':',Error: undefined:14:78: missing '}',Error: undefined:14:229: property missing ':',Error: undefined:14:229: missing '}',Error: undefined:14:299: property missing ':',Error: undefined:14:299: missing '}',Error: undefined:20:40: property missing ':',Error: undefined:20:40: missing '}',Error: undefined:21:2: missing '{'
@ ./src/components/ico/icoManifestThing.vue 5:20-402
@ ./.temp/router/index.js
@ ./.temp/entry.js
@ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8081 ./.temp/entry.js
error  in ./src/components/ico/status.vue
(Emitted value instead of an instance of Error) Error: undefined:4:70: property missing ':',Error: undefined:4:70: missing '}',Error: undefined:4:221: property missing ':',Error: undefined:4:221: missing '}',Error: undefined:4:291: property missing ':',Error: undefined:4:291: missing '}',Error: undefined:11:5: property missing ':',Error: undefined:11:5: missing '}',Error: undefined:13:10: property missing ':',Error: undefined:13:10: missing '}',Error: undefined:13:69: property missing ':',Error: undefined:13:69: missing '}',Error: undefined:13:220: property missing ':',Error: undefined:13:220: missing '}',Error: undefined:13:290: property missing ':',Error: undefined:13:290: missing '}',Error: undefined:14:10: property missing ':',Error: undefined:14:10: missing '}',Error: undefined:14:78: property missing ':',Error: undefined:14:78: missing '}',Error: undefined:14:229: property missing ':',Error: undefined:14:229: missing '}',Error: undefined:14:299: property missing ':',Error: undefined:14:299: missing '}',Error: undefined:20:40: property missing ':',Error: undefined:20:40: missing '}',Error: undefined:21:2: missing '{'
@ ./src/components/ico/status.vue 5:20-392
@ ./.temp/router/index.js
@ ./.temp/entry.js
@ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8081 ./.temp/entry.js
`
Steps to reproduce the problem.(Maybe a dotwe link,)
npm i --save-dev sass-loader node-sass
then make a component with
<style lang="sass">
.style
  height: 100px
  width: 20px
</style>

and it should give the error
This is an example of one of my components, all of my components are erroring
https://pastebin.com/ksGdftaB
I can create a repo so you can see the package.json, config.js, util.js, webpack.common.conf.js files if you'd like?
has anyone run into this?

This PR/issue doesn't received response since Weex migrated to Apache two years ago and this repository is no longer active yet.
Feel free to ask question in new repository and thanks for your contribution.

This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.


RFP - gittyup

Checklist

[x] The package I am requesting does not already exist on https://community.chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts with 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://murmele.github.io/Gittyup
Direct download URL for the software / installer : https://github.com/Murmele/Gittyup/releases/download/gittyup_v1.3.0/Gittyup-win64-1.3.0.exe
Software summary / short description:
Gittyup is a graphical Git client designed to help you understand and manage your source code history.
Gittyup is a continuation of the GitAhead client.

Package added: https://community.chocolatey.org/packages/gittyup

The package is approved.


Test coverage

Hi, have you considered adding tests for the various packages?
I'm asking because I think it would be easy to include fixtures for the different cases you would test for each package.
If you're interested I'd be happy to help and set something up that's similar to prettier.

Hi @jasonLaster, welcome.
Every rule is tested and their coverage is checked too, this is included in the badges and Travis. Tests are run based on the JSDoc comments inside each file.

If you're interested I'd be happy to help and set something up that's similar to prettier.

I like xo :) I’m fine with prettier but I don’t really see a reason in changing code-style.


Continuation - basic hardcoded strategies

~Depends on https://github.com/powdr-labs/powdr/issues/427~

Done


Local Server ERRORs

Hello!
After installing on a local server ( Laragon and OpenServer ) everything seems to be OK, but when trying to create an Entry, the  entry type option is unavailable, and after clicking on "Create" button, Flextype gave an ERROR.
But on a real server everything is working normally without any errors.
I have already checked php modules and htaccess file..
I would realy like to work with FlexType on the local server, could you please give some hint?
Thanks in advance!

please check
http://flextype.org/en/documentation/guide/basics/requirements
http://flextype.org/en/documentation/guide/basics/installation


Transfer Redesign handover

The final design can be found here.
Feel free to grab it.

Ref

https://github.com/kodadot/nft-gallery/issues/6210

Originally posted by @EthVlad in https://github.com/kodadot/nft-gallery/issues/5575#issuecomment-1600667031

hello @Jarsen136 what's stopping us to use this page (?redesign=true) instead of <TransferOld />? mobile version looks oki to me, I kinda want to delete old one.

hello @Jarsen136 what's stopping us to use this page (?redesign=true) instead of <TransferOld />? mobile version looks oki to me, I kinda want to delete old one.

Only part of the styles have been implemented, however, the functionality is still not complete. It still relies on the work of some issues.  #6466 #6468


Welcome image banner and dark theme implemented

Main welcome banner and dark theme implemented

Hey @Iamslok your merge have conflicts. If you don't know how to resolve then just ask

@PritamSarbajna can you help me to resolve the conflicts in visual studio code

@PritamSarbajna can you help me to resolve the conflicts in visual studio code

Hey @Iamslok you don't have to go to vs code. Just go to your repo and fetch the main repo from their and then do a git pull
you can refer to this tutorial

@PritamSarbajna I'm not on the contributor's list

@Iamslok you will be github takes some time to update


[Tracking] Cloud Native Sustainability Week 2024 Aarhus

Description

Location/Region: Aarhus, Denmark
Organizers: Cloud Native Aarhus meet-up group (primarily @Steiniche and @kaspernissen)
Sponsors: Hostsponsor Knowit
Date: October 7th 2024
Event link: tbd

Details
Create more awareness around Environmental Sustainability.
Currently we are looking into a meet-up with 2-3 talks by knowledgable speakers within Environmental Sustainability
To-Do

[X] Review the Meetup Organizer Guide for onboarding.
[X] Check the website.
[X] Create a PR to update the Meetup's table on the website. Example PR.
[ ] Join one of the TAG ENV Sustainability Week Syncs to talk about your event.
[X] Find a sponsor for the event.
[X] Find a location for the event.
[X] Set a date for the event.
[x] Announce the event.
[ ] Reach out to the Cloud Native Sustainability Week Organizer team to promote the event.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Comments
No response

Hello @kaspernissen
I hope you're doing well. With just a few weeks left, I wanted to check in and see if you need any help with anything.

Hi @Nancy-Chauhan,
I think we are good! The event has been published - and we have 15 signups atm.
You are of course welcome to help amplify our social media posts. 🙏

Hi! Just a reminder to submit all the speakers and organizers' information for Credly badges using this form https://forms.gle/KHizxY47h3ynEBUL9

Closing this since all the main activities were completed. Thanks to everyone who made this local event possible and contributed! 🔝


genbil adding attributes "column-index" and "type" to  tag

I have a template that has an expression tag, when the template is populated it now includes column-index and type attributes which are not part of the .xsd and cause tests suite to NOT open. using 1.18
I was using your sample code, can you see any issue with how I did this?
template:
<test name="$trunc(alias); separator=" and "$ to calculate $last(alias)$">
    <system-under-test>
      <resultSet>
        <query>
          <![CDATA[
          select
          {
         $measure; separator=",
"$
          } on 0,
          {
          [Dim Client].[ClientState].members
          } on 1
          from
          [$perspective$]
          ]]>
        </query>
      </resultSet>
    </system-under-test>
    <assert>

 <all-rows>
        $alias:{ x | <alias column-index="$i$">$x$</alias>}$
        <expression name="calculate">
           Round($expression$, $round$) = Round($last(alias)$, $round$)
        </expression>
        <predicate operand="calculate" type="boolean">
          <true />
        </predicate>
      </all-rows>
    </assert>
  </test>

Output with settings removed:
<?xml version="1.0" encoding="utf-8"?>
<testSuite xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://NBi/TestSuite">
   <test name="charge and budget to calculate variance">
    <system-under-test>
      <resultSet>
        <query><![CDATA[
          select
          {
         [Measures].[Charge Hours],
         [Measures].[BudgetHours],
         [Measures].[Budget Variance]
          } on 0,
          {
          [Dim Client].[ClientState].members
          } on 1
          from
          [CurrentSummary]
          ]]></query>
      </resultSet>
    </system-under-test>
    <assert>
      <all-rows>
        <expression name="calculate" column-index="0" type="text">
           Round(charge-budget, 2) = Round(variance, 2)
        </expression>
        <alias column-index="1">charge</alias>
        <alias column-index="2">budget</alias>
        <alias column-index="3">variance</alias>
        <predicate operand="calculate" type="boolean">
          <true />
        </predicate>
      </all-rows>
    </assert>
  </test>
</testSuite>

In case the genbiL steps have caused the issue I am including for reference:
case scope 'calcs';
case load file '..\Parameters\calculations.csv';
case scope 'env';
case load file '..\Configurations\CUR\schema.csv';
case scope 'cur';
case cross 'calcs' with 'env' on 'schema';

case split column 'alias' with value ',';
case split column 'measure' with value ',';
template load file '..\TestProject\DATA\MEASURES\METADATA\_templates\calcmember-validatexpression.nbitt';
suite generate;
setting include file '..\Configurations\CUR\settings.nbisettings';
suite save '..\TestProject\DATA\MEASURES\METADATA\CUR\calcmember-validatexpression.nbits';

I saw that you forked the project. If you want to fix this by yourself the issue is in the serialisation (project NBi.Xml folder items then calculations). There you have a file ExpressionXml with an attribute column-index. The problem is probably that at some places an expression requires a column-index but not where you are using it. You should duplicate the class with inheritance and use the light version for your case.

No I am really new at doing anything besides reading github, I didnt mean to create a fork, I will look at how to un-do it, sorry about that :)

The fact that you've an unexpected column-index is a duplicate of #372 and it's already fixed and available in the last beta (see #372 to get it).
The fact that you've an unexpected type is not a bug. expression is requiring a type and the default value (not serialized) is text.
The fact that expression was serialized before alias was an error and is now fixed in https://ci.appveyor.com/project/Seddryck/nbi/build/1.19.0-beta.47.build.441


temp: add custom decorators and context interceptor

This PR
Has experiments on decorators ergonomics and context propagation for Nest.js SDK
Notes
This is WIP and shouldn't be merged.
Follow-up Tasks
Define how:

Context Should be propagated on a Nest.js app
OpenFeature Nestjs decorators API should look like

How to test
N/A (yet)

Hey @lukas-reining, I've expressed a few ideas and possibilities on this branch.
I started by the context interceptor and discovered that the current decorators would not work with service's methods.
So, a new pair of params decorator and method decorator was created to provide a simpler API to OF lookups and it already uses injected context.
The sad thing is that it doesn't work with controllers/routes at this point. I'll probably need to dive deeper into Nest decorators to come up with a way to do this (if possible).
Let me know what you think :wink:

Should we close this because of #736 @luizgribeiro?

Just for sake of completeness, this one is being closed since context propagation is being handled on #736 and I could not find a nice and ergonomic way to inject flag evaluation results as service parameters.


Update: Microsoft.LAPS version <IP_ADDRESS>

null
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-No-Executables


[v4.6.0] Installation asset enforcement

#83  👈
dev

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @GoodM4ven and the rest of your teammates on  Graphite


NEREL results

Results for train data for each relation separately, with Accuracy (ACC) parameter and amout of the related samples in brackets:
CAUSE_OF_DEATH (ACC): 0.93 (41)
DATE_OF_BIRTH (ACC): 0.92 (114)
DATE_OF_DEATH (ACC): 0.86 (87)
PLACE_OF_DEATH (ACC): 0.86 (63)
END_TIME (ACC): 0.86 (22)
START_TIME (ACC): 0.82 (38)
PLACE_OF_BIRTH (ACC): 0.76 (97)
DATE_OF_CREATION (ACC): 0.75 (117)
SCHOOLS_ATTENDED (ACC): 0.74 (84)
PART_OF (ACC): 0.73 (45)
MEMBER_OF (ACC): 0.72 (218)
WORKS_AS (ACC): 0.71 (3053)
LOCATED_IN (ACC): 0.71 (611)
TAKES_PLACE_IN (ACC): 0.7 (1222)
SUBEVENT_OF (ACC): 0.68 (212)
DATE_FOUNDED_IN (ACC): 0.68 (44)
DATE_DEFUNCT_IN (ACC): 0.67 (6)
AWARDED_WITH (ACC): 0.64 (401)
ORIGINS_FROM (ACC): 0.61 (956)
RELIGION_OF (ACC): 0.61 (31)
RELATIVE (ACC): 0.57 (30)
MEDICAL_CONDITION (ACC): 0.57 (196)
OWNER_OF (ACC): 0.54 (94)
PENALIZED_AS (ACC): 0.54 (123)
WORKPLACE (ACC): 0.53 (804)
PARENT_OF (ACC): 0.5 (200)
SIBLING (ACC): 0.48 (86)
SPOUSE (ACC): 0.47 (119)
PARTICIPANT_IN (ACC): 0.42 (2764)
HAS_CAUSE (ACC): 0.42 (481)
KNOWS (ACC): 0.41 (264)
EXPENDITURE (ACC): 0.41 (29)
ALTERNATIVE_NAME (ACC): 0.4 (942)
FOUNDED_BY (ACC): 0.37 (86)
ORGANIZES (ACC): 0.3 (123)
CONVICTED_OF (ACC): 0.22 (286)
SUBORDINATE_OF (ACC): 0.15 (105)

State of province example:


Need to #include

I am running Arch Linux distro and have installed dependencies manually.  When compiling,
p4factory/targets/basic_routing/build//bm/src/p4_pd_rpc_server.cpp:1073:7: error:  cerr’ is not a member of ‘std’
       std::cerr << "In rmt_log_level_get\n";
       ^

The following patch resolves:
diff --git a/p4c_bm/templates/src/p4_pd_rpc_server.cpp b/p4c_bm/templates/src/p4_pd_rpc_server.cpp
index 65dd034..4ecb6bd 100644
--- a/p4c_bm/templates/src/p4_pd_rpc_server.cpp
+++ b/p4c_bm/templates/src/p4_pd_rpc_server.cpp
@@ -6,6 +6,7 @@

 #include "${p4_prefix}.h"
 #include <stdlib.h>
+#include <iostream>
 #include "p4_sim/p4_pd_rpc_server.h"
 #include <thrift/protocol/TBinaryProtocol.h>
 #include <thrift/server/TSimpleServer.h>

p4factory builds thrift 0.9.1 from source. I have 0.9.2-3 installed via Arch repository.  One thought is that an include iostream was removed in this later thrift version.

Thanks for catching this. Do you want to submit a pull request or do you want me to apply your patch myself?


SRT download form: firefox does not show in browser

In the new SRT reporter, the Download type selection of "Show in browser" does not work in firefox.

I compared the response headers from attribute tabular and srt, and the only different that might have an impact here is the Content-Type header. In the former, the value is text/plain, and in the latter it is text/x-bed. I wouldn't be surprised if Firefox ignores Content-Disposition: inline when the Content-Type is not known by the browser.
@ryanrdoherty would it be possible to change the Content-Type to text/plain? I'm not sure how much value we're getting from text/x-bed, anyhow.

The same applies to the srt fasta reporter (try text/plain, instead of text/x-fasta).

@ryanrdoherty Actually, I can try this on my dev site.


MobileServiceContractResolver - InvalidOperationException on Single call

In MobileServiceContractResolver, there is a usage of Single without try catch that crashes on me.
The exact line exist in both 2.1.1 which is the version I am on as well as 3.0.3:

Upgrading to 3.0.3 did not solve the problem.

Ok, I understand what happens.

Method CreateProperties calls CreateProperty for each member of the type
Method CreateProperty does jsonpropertyCache[member] = property
Method CreateProperties do other things using jsonpropertyCache

The thing is while 3 is happening on a thread A, 1 happens for the same type in another thread B. Hence, the property in jsonpropertyCache[member] that 3 gets on thread A is not the one expected. Crash.
It leads to a question: while I don't fully understand (yet) the purpose of that contract resolver, I notice that a type is resolved EACH time it is required, overriding jsonpropertyCache[member] with a new value. Then, what is the point of the cache? How and where is it used?

Actually, all cache fields should be static (idPropertyCache, jsonPropertyCacheLock, tableNameCache, etc)

Previous proposal broke a few thinks. Indeed if class A : class B, then member of A which are from B have a DeclaringType of B not A.
So here is a new version.
protected override IList<JsonProperty> CreateProperties(Type type, MemberSerialization memberSerialization)
        {
            lock (CreatePropertiesForTypeLocks)
            {
                if (!CreatePropertiesForTypeLocks.ContainsKey(type))
                    CreatePropertiesForTypeLocks.Add(type, new List<JsonProperty>());
            }
            lock (CreatePropertiesForTypeLocks[type])
            {
                if (CreatePropertiesForTypeLocks[type].Count == 0)
                    CreatePropertiesForTypeLocks[type] = CreatePropertiesInner(type, memberSerialization);
                return CreatePropertiesForTypeLocks[type];
            }
        }

        private IList<JsonProperty> CreatePropertiesInner(Type type, MemberSerialization memberSerialization)
        {
            var properties = base.CreateProperties(type, memberSerialization);

            // If this type is for a known table, ensure that it has an id.
            var typeInfo = type.GetTypeInfo();
            if (TableNameCache.ContainsKey(type) || TableNameCache.Keys.Any(t => t.GetTypeInfo().IsAssignableFrom(typeInfo)))
            {
                // Filter out properties that are not read/write
                properties = properties.Where(p => p.Writable).ToList();

                // Set the id property in cache
                DetermineIdProperty(type, properties);

                // Set any needed converters and look for system property attributes
                var relevantProperties = FilterJsonPropertyCacheByType(typeInfo);
                foreach (var property in properties)
                {
                    try
                    {
                        var memberInfo = relevantProperties.Single(x => x.Value == property).Key;
                        SetMemberConverters(property);
                        ApplySystemPropertyAttributes(property, memberInfo);
                    }
                    catch (InvalidOperationException)
                    {
                        Debugger.Break(); //initial issue
                    }
                }

                // Determine the system properties from the property names
                // and add the system properties to the cache
                AddSystemPropertyCacheEntry(type, properties);
            }

            return properties;
        }

Do you have a GitHub repo with both backend and front end that I can fork with a reproduction of the bug?

I'll see if I can put a simple repro ase on github. Note that backend would not be required to repro the issue here.

We like a front + backend so that the repro works in isolation - we aren't guessing what sort of backend will be required to service the requests.  If your backend is only the quickstart, then we can deal with that relatively easily.

I think I'm having the same problem. My app is crashing randomly on setup. It's hard to test because it happens 3-4 times every 10 approx.
at System.Linq.Enumerable.Single[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) <0xfd8f24 + 0x00298> in <45ddf04144214dd89fc1e7215a8a94aa#ec2c4fefc64392b16533e326905243f9>:0
at Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver.CreateProperties (System.Type type, Newtonsoft.Json.MemberSerialization memberSerialization) <0xf95850 + 0x0032b> in <ab12dd35a79843cbbb4e1cdb3ddf7427#ec2c4fefc64392b16533e326905243f9>:0
at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) <0xd279cc + 0x00073> in <2781d1b198634655944cdefb18b3309b#ec2c4fefc64392b16533e326905243f9>:0
at Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver.CreateObjectContract (System.Type type) <0xf954e4 + 0x00017> in <ab12dd35a79843cbbb4e1cdb3ddf7427#ec2c4fefc64392b16533e326905243f9>:0
at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) <0xd297b4 + 0x001af> in <2781d1b198634655944cdefb18b3309b#ec2c4fefc64392b16533e326905243f9>:0
at Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver.ResolveTableName (System.Type type) <0xf94f5c + 0x0021f> in <ab12dd35a79843cbbb4e1cdb3ddf7427#ec2c4fefc64392b16533e326905243f9>:0
at Microsoft.WindowsAzure.MobileServices.MobileServiceClient.GetSyncTable[T] () <0xf8682c + 0x0004b> in <ab12dd35a79843cbbb4e1cdb3ddf7427#ec2c4fefc64392b16533e326905243f9>:0
[...]
Please help, at least a workaround, a lot of our users are experiencing this issue. Thanks!

You build the package yourself with what I described and it works 😀

We are still awaiting a repro, PR (with unit tests passing) so that we can do something about it.  I haven't been able to reproduce with the information provided.

I also experience this issue, here is the best I can describe what I am doing, you should be able to get the gist of it without all the extra wrapper classes and interfaces involved.
Executing the ToListAsync() call in parallel and awaiting WhenAll throws an exception for me.
Executing the ToListAsync() call in sequence and awaiting each one in order does NOT throw any exception for me.
I would assume reading from multiple tables concurrently from the SQLite store should work.
My tables/classes are all derived form amny other base class, so many shared/inherited properties in the class hierarchy.

I define 14 tables on the the MobileServiceSQLiteStore _store field
_store.DefineTable()  // 14 times

I then initialize the sync client
await _client.SyncContext.InitializeAsync(_store).ConfigureAwait(false);

I get 14 references of IMobileServiceSyncTable for all 14 tables/types and store them in a dictionary keyed by the table type so I can grab them easily later, similar to:
tables.add(typeof(T), _client.GetSyncTable())

I then loop through all 14 IMobileServiceSyncTable references in the dictionary and store the returned task from PullAsync() in a list and await on that, similar to:
var tasks = tables.Select(t => t.Value.PullAsync(t.Key.Name, t.Value.CreateQuery()).ToList()

I then await them all:
await Task.WhenAll(tasks).ConfigureAwait(false);

I then loop through all 14 IMobileServiceSyncTable references in the dictionary and store the returned task from ToListAsync() in a list and await on that, similar to:
var tasks = tables.Select(t => t.Value.ToListAsync()).ToList()

I then await them all:
await Task.WhenAll(tasks).ConfigureAwait(false);

Exception thrown when awaiting on step 7, same stack trace as mentioned previously above (included below)

Executing the ToListAsync() call in sequence and awaiting each one in order does NOT throw any exception for me.

System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.Single[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) [0x0008c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/System.Core/System/Linq/Enumerable.cs:1091
at Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver.CreateProperties (System.Type type, Newtonsoft.Json.MemberSerialization memberSerialization) [0x000a8] in <42e24ce875d34485ad11c4f8aebb904a>:0
at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) [0x00035] in <2781d1b198634655944cdefb18b3309b>:0
at Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver.CreateObjectContract (System.Type type) [0x00000] in <42e24ce875d34485ad11c4f8aebb904a>:0
at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) [0x000c9] in <2781d1b198634655944cdefb18b3309b>:0
at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) [0x00038] in <2781d1b198634655944cdefb18b3309b>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.GetContractSafe (System.Type type) [0x00005] in <2781d1b198634655944cdefb18b3309b>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x0000e] in <2781d1b198634655944cdefb18b3309b>:0
at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <2781d1b198634655944cdefb18b3309b>:0
at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <2781d1b198634655944cdefb18b3309b>:0
at Newtonsoft.Json.Linq.JToken.ToObject (System.Type objectType, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00012] in <2781d1b198634655944cdefb18b3309b>:0
at Microsoft.WindowsAzure.MobileServices.MobileServiceSerializer+<>c__DisplayClass30_0.b__0 (Newtonsoft.Json.Linq.JToken jtoken) [0x00000] in <42e24ce875d34485ad11c4f8aebb904a>:0
at System.Linq.Enumerable+c__AnonStorey1D3[TSource,TMiddle,TResult].<>m__0 (TSource x) [0x00000] in <7e733344809544cdb96fb85d3fa04558>:0    at System.Linq.Enumerable+WhereSelectEnumerableIterator2[TSource,TResult].MoveNext () [0x00064] in <7e733344809544cdb96fb85d3fa04558>:0
at System.Collections.Generic.List1[T]..ctor (System.Collections.Generic.IEnumerable1[T] collection) [0x0008b] in <54e129cad3ee4c61a6b46c3680ddc69a>:0
at Microsoft.WindowsAzure.MobileServices.QueryResultList1[T]..ctor (System.Collections.Generic.IEnumerable1[T] sequence) [0x00000] in <42e24ce875d34485ad11c4f8aebb904a>:0
at Microsoft.WindowsAzure.MobileServices.Sync.MobileServiceSyncTable`1+d__23[T].MoveNext () [0x00067] in <42e24ce875d34485ad11c4f8aebb904a>:0
I hope that can help.

I cloned the source, made the changes I described and it works since then.
I wish I could find the time to a proper PR but unfortunately I can't right now :-(

Thanks Francois - I'll see if I can do this and get a PR out.

I built the solution with FrancoisM's modifications, but I'm experiencing problems when adding it into my project. How did you reference the new assembly? Did you create a whole new nuget? Thanks, any help would be appreciated.

I uninstalled the nuget package from my solution and just added references to the custom build.
What problems do you encounter?

I also have to uninstall the SQLiteStore and Mobile.Client.Files nugets, so I added those builds manually with their .ext, it seems to resolve all errors but the error below appears. I also tried deleting the reference of Mobile.Client and add my custom build manually, without uninstalling any nugets, and it seems to resolve all errors but this one:
Microsoft.WindowsAzure.MobileServices.Sync.MobileServiceLocalStore' is defined in an assembly that is not referenced. Consider adding a reference to assembly Microsoft.WindowsAzure.Mobile, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' (CS0012)
I have also tried adding a custom nuget, but I’m also getting compilation time conflicts… :/

I've done it on 2.1.1.
And I built the whole solution with azure-client and azure-files-client projects.

Any new on this issue? My users are still experiencing this issue randomly. Please let me know if I can do something to accelerate the process. Thanks!

We are just running through the 4.0.0 release.  You can build the library yourself to correct (instructions are above), so it isn't a high priority release for us.

I have also been experiencing the InvalidOperation issue. I am happy to see that the 4.0.0 release is out with this fix. However, I am unable to install the 4.0.0 release in my project due to the following error:
Could not install package 'Microsoft.Azure.Mobile.Client 4.0.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile111', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Is there something that needs to be done in order to make the package compatible with my project?

@mjsmith26 You might upgrade your PCL library to .NET Standard 1.4.

.NET Standard 1.4 is the version that supports UWP, Xamarin Android, Xamarin iOS
You will still able use PCL libraries like Xamarin.Forms in .NET Standard 1.4 project. To do that add this(imports) to your project.json:

"frameworks": {
  "netstandard1.4": {
    "imports": "portable-win8+net45+wpa81"
  }
}

Dont use "change target framework" in VS
You need to create new library project and migrate manually for VS2017 project follow this


Flux caption typo Error

##I believe the sentence was supposed to be It is a default component to display image caption.

Yes thank you!, I will update it asap.
Regards!

cheers
On Wed, 28 Oct 2020, 18:20 Oscar<EMAIL_ADDRESS>wrote:

Yes thank you!, I will update it asap.
Regards!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/deulos/vue-flux/issues/90#issuecomment-718006164, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AE7AYAGMORYN4Q2ZLN64RXTSNAZFHANCNFSM4TCOTA4A
.

Cheers, thanks
Regards Mpwanyi Samuel
+256706523078
+256780101601
On Tue, Nov 3, 2020 at 1:21 AM Oscar<EMAIL_ADDRESS>wrote:

Closed #90 https://github.com/deulos/vue-flux/issues/90.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/deulos/vue-flux/issues/90#event-3950319156, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AE7AYAGSKR4NU7UEPPA7ONTSN4WHVANCNFSM4TCOTA4A
.


You should update the feature to add, delete, edit the library

You should update the feature to add, delete, edit the library <3

Hmmm. Not sure what to make of this haha.


Local mode execution should report Exception right away

Currently, Exceptions are being caught and reported at the very end of the jobs as parallel execution is assumed. However, that's not useful behaviour in local mode because you will only learn about an exception after all iterative executions have been finished.

Fixed in the upcoming driver API


[RealmSwift] Using Map properties in a predicate does not work as expected

Goals
I want to filter a Results collection based on the string value of a specific key in a Map property on that class
I'm trying to create a predicate that lets me do that, but realm doesn't seem to support these kinds of predicates.
Expected Results
It should be possible to use predicates to filter based on a Map property's key-value pairs.
Actual Results
Realm throws an exception, saying that the objectFrom:withIndex: (which is what NSPredicate (or, rather, NSExpression) uses to implement the map['intKey'] part of the predicate) is not supported by realm.
I get that it probably would not be possible for realm to support map predicates for dynamic (i.e. non-constant) keys, but IMO it should be possible to use this kind of syntax in cases where the key into the map is a static string constant.
Steps for others to Reproduce
Run the second code sample below.
Code Sample
The default NSPredicate+NSDictionary behaviour (this works fine, and is what I'm using as reference here):
class TestClassObjC: NSObject {
    @objc let map: NSDictionary

    init(intValue: Int) {
        self.map = ["intKey": intValue]
        super.init()
    }
}

let objects: NSArray = [
    TestClassObjC(intValue: 0),
    TestClassObjC(intValue: 1),
    TestClassObjC(intValue: 2)
]
let filtered = objects.filtered(using: NSPredicate(format: "map['intKey'] == 0"))
precondition(filtered.count == 1 && (filtered[0] as! TestClassObjC) == (objects[0] as! TestClassObjC))

The NSPredicate+RealmSwift.Map behaviour:
We're using the exact same predicate in here, and since the class hierarchy is equivalent (class contains a dictionary-like property; we're filtering an array of instances of the class based on a value in the dict) i'd expect it to work the same way as the program above does.
class TestClassRealm: RealmSwift.Object {
    let map = Map<String, Int>()

    convenience init(intValue: Int) {
        self.init()
        self.map["intKey"] = intValue
    }
}

let realm = try! Realm()
let filtered = realm
    .objects(TestClass.self)
    .filter(NSPredicate(format: "map['intKey'] == 0")) // realm throws an exception bc it doesn't like the predicate

Version of Realm and Tooling

Realm framework version: 10.9.0
Xcode version: 12.5.1 (12E507)
iOS/OSX version: iOS 14.6
Dependency manager + version: SPM, the version that comes with the above-mentioned Xcode release

You are using the wrong datatype, for objective-c RLMDictionary should be used in place of NSDictionary

This is a limitation with our query engine, use dot notation to achieve the desired query. Example here

@leemaguire in the example you linked, stringCol is the name of another property, rather than a literal key into the map, right?
If i adjust my sample code to use the dot syntax instead, it still doesn't work, and realm throws an exception

Property 'map' is not a link in object of type 'TestClassRealm'

class TestClassRealm: RealmSwift.Object {
    let map = Map<String, Int>()

    convenience init(intValue: Int) {
        self.init()
        self.map["intKey"] = intValue
    }
}

let filtered = realm
    .objects(TestClassRealm.self)
    .filter("map.intKey > 0") // raises an exception

Am i missing something here?

Hi @lukaskollmer sorry for the confusion. As the bracket syntax is not supported, here is a work around for your issue:
class TestClassRealm: Object {
    let map = Map<String, Int>()
}

func testFoo() {
        let realm = try! Realm()
        try! realm.write {
            realm.create(TestClassRealm.self, value: [["intKey": 1]])
            realm.create(TestClassRealm.self, value:  [["intKey": 2]])
            realm.create(TestClassRealm.self, value: [["intKey": 3]])
        }

        let filtered = realm.objects(TestClassRealm.self).filter("map.@allKeys == 'intKey' AND map.@allValues > 1")
        print(filtered)
    }

@leemaguire The snippet you posted simply checks whether the map's keys contain the specified string and whether the map's values contain the specified value, but it does not check whether the specified value is in fact associated with the specified key.
Example:
class TestClassRealm: RealmSwift.Object {
    let map = RealmSwift.Map<String, Int>()

    convenience init(intValue1: Int, intValue2: Int) {
        self.init()
        self.map["intKey1"] = intValue1
        self.map["intKey2"] = intValue2
    }
}

try! realm.write {
    realm.add(TestClassRealm(intValue1: 1, intValue2: 2))
}

let filtered = realm
    .objects(TestClassRealm.self)
    .filter("map.@allKeys == 'intKey1' AND map.@allValues == 2")
print("#filtered: \(filtered.count)") // <-- this prints '1', should be '0' if the predicate was matching for only that specific key

Is there a reference somewhere listing the predicate types realm supports for maps?
Is it at all possible to write a query that filters based on the value associated with a specific key?

Hi @lukaskollmer
We cannot currently query dictionaries specifying a key, and we should look into it and see if it's something we can achieve. It also looks like theres a bug in combining @allKeys and @allValues so we will need to look into that too. For the best reference on NSPredicates and Map the best place to look is our query tests.
Although not as efficient as using queries (or as pretty) I was able to achieve something with value(forKeyPath:)
        try! realm.write {
            realm.add(TestClassRealm(intValue1: 1, intValue2: 2))
            realm.add(TestClassRealm(intValue1: 3, intValue2: 4))
            realm.add(TestClassRealm(intValue1: 5, intValue2: 6))

        }

        let nilValue = (realm.objects(TestClassRealm.self).value(forKeyPath: "map.intKey3") as! [Int?])
            .filter { $0 != .none }
            .map { $0! }
            .filter { $0 > 2 }
        print("value: \(nilValue)") // nil

        let hasValue = (realm.objects(TestClassRealm.self).value(forKeyPath: "map.intKey2") as! [Int?])
            .filter { $0 != .none }
            .map { $0! }
            .filter { $0 > 2 }
        print("value: \(hasValue)") // [4, 6]


VCM toolbar freeze

Microsoft PowerToys version
0.49.1
Running as admin

[X] Yes

Area(s) with issue?
Video Conference Mute
Steps to reproduce
Install,
trigger mic mute shortcut
✔ Expected Behavior
When both camera and mic are unmuted, toolbar should disappear.
Muting/unmuting should be represented by correct mic mute icon.
❌ Actual Behavior
Toolbar shows up on the main screen and stays there - toolbar click mutes/unmutes, but "Microphone off" button stays always marked as muted. Toolbar never hides.
Other Software
No response

I had the same issue.
To resolve the issue I've selected another microphone and then again selected [All].

Works!
Workaround confirmed.

Failed to reproduce this.
Could you add some more details? Thanks!

This is reproduces for me when I use Microsoft Teams:

Make a call in teams
play with mute button inside Teams (mute/unmute/...)
at the same time play with VCM mute

At some point the state of VCM mute and teams mute button will not be synced.
After the call the toolbar freezes.

@yuyoyuppe I see a few issues with the toolbar not functioning properly (some in combination with the "Hide toolbar if..." check box, like #15253 and #14278 and #13983). Do you know what could be the cause and what can be done?

Thanks for the feedback but VCM is moving to maintenance only in the 0.67 timeframe. Our team will only directly address critical bugs, security and accessibility issues.
We'll accept community PRs for enhancements.


First commit :) Removed duplicated lines in build-support/make/core/r…

…esolver.mk

awesome, thank you @caseyclements


install guide turns off NetworkManager wifi

Version Information: $ linux-lts is being used I think

Distribution Information ( run uname -a ) Linux archlinux 6.6.46-1-lts #1 SMP PREEMPT_DYNAMIC Wed, 14 Aug 2024 15:21:14 +0000 x86_64 GNU/Linux
swhkd version ( swhkd -V ) Simple-Wayland-HotKey-Daemon 1.3.0-dev

Describe the bug:
tldr: pkexec swhkd causes "NetworkManager $nmcli general" to show "Wifi: Disabled" and errors
background: During installtion, I ran into a few error after doing make setup, which I ignored, then I did make clean, which cleaned 0 files, then doing make resulted in another error that chat GPT said was due to me missing "pkgconf" which I then proceeded to use pacman to reinput "make" which I think gave me two warnings at the end but overall seemed successful.
main issue: pkexec swhkd errors and turns off my wifi in nmcli aka "NetworkManager"
Expected behavior:
to be able to config swhkd and use hotkeys
Actual behavior:
the last step of the install procedure results in error and my wifi being turned off
To Reproduce:
$ pkexec swhkd
Additional information:
[horizon@archlinux ~]$ pkexec swhkd
[2024-08-18T17:25:14Z WARN  swhkd::environ] XDG_CONFIG_HOME not found, using hardcoded /etc
[2024-08-18T17:25:14Z WARN  swhkd::environ] XDG_RUNTIME_DIR not found, using hardcoded /run/user
[2024-08-18T17:25:14Z WARN  swhkd::environ] XDG_RUNTIME_DIR not found, using hardcoded /run/user
[2024-08-18T17:25:14Z WARN  swhkd] Running swhkd as root!
[2024-08-18T17:25:15Z ERROR swhkd] Could not open evdev device at /dev/input/mouse3: Inappropriate ioctl for device (os error 25)
:^H^C[2024-08-18T17:25:29Z WARN  swhkd] Received SIGINT signal, exiting...

+1 happens to me

also happens to me

Yes, this is a known issue, pr #254  will hopefully fix this soon. till then you can use release 1.21(or some not so old commit) which does not seem have this problem


[BUG] EyeGaze scene does not show hand ray

Describe the bug
EyeGaze scene does not show hand ray
To reproduce
Steps to reproduce the behavior:

Go to EyeGaze scene
Point with your hand to the scene description box
See error the hand ray should be visible as in other scenes

Expected behavior
When using the hand to point inside the scene a pointing ray should be rendered
Your setup (please complete the following information)

Unity Version [e.g. 2021.3.21f1]

MRTK Version 3 or Commit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/commit/d74d59f828d9eb6a169a29e6693ba32439d9c068

HoloLens 2

Additional context
This was detected as part of manual testing for next release signoff.

Going to close this one as "by design". Since the demo scene is intended to highlight eye gaze, we intentionally turned off hand rays.


issues downloading pretrained models for example/fcn-xs

First of all congrats for the great library and variety of examples!! I'm having trouble downloading the pre-trained models from the current location (the connection just crashes and it's extremely slow). Perhaps this is because my current location (Argentina), a bit far from baidu servers.
A few ideas:

Add or Move the VGG models to another server. The dmlc server works fine for me, I can upload them from my google drive if needed.
Use the original link for VOC2102. I believe this is the data link

@martinbel hello, here is the dropbox link: https://github.com/dmlc/mxnet/issues/1823  i made the example but i have no permission to upload the model/data, so sorry for the inconvenience.

your data link is correct.

thanks!!


Added ansible-lint and rubycop to the devcontainer

Added ansible-lint to the devcontainer
Added rubocop to the devcontainer
Added ansible-lint task to devcontainer to produce junit output
Added rubocop task to devcontainer to produce junit output
Moved running of Pytest and Pylint to tasks instead of debug configuration

Notes:

Running ansible-lint is pretty slow, running over all playbooks takes about half an hour. I checked and this seems to be a known issue which is being worked on by the creators. Thi is the reason it does not play will with showing results in the problems tab of VSCode for open  source files and only work when running it as a task.
Rubocop works fine as tasks or from the problems tab:

Task running:
To run tasks to ctrl+shift+p and search for run tasks

Select that option and then select the task you want to run:

Merging as this does not require QA testing from a product perspective.


Identifying mixture sub-graphs defined with a Switch Op

Closes #77.
Currently, I am opening this PR to ask for pointers. So far, many lines are copy pasted from mixture_replace in the same file. Hopefully, this attempt is on the right track, although it is not working at the moment. The output of a mixture defined by switch is showcased in this gist

I think the code in the notebook is short enough to include it directly in your comment (it's easier to follow when possible). Besides that do you have a specific question/problem or is this just work in progress?

I think the code in the notebook is short enough to include it directly in your comment (it's easier to follow when possible). Besides that do you have a specific question/problem or is this just work in progress?

Both! I'm writing them as a code review, I'm just a bit slow

I spent the time since our last meeting thinking about this problem from a mathematical perspective (and other PyMC-related things). Most of my progress is not yet in code.
Problem
I believe that graphs of nested switches can be thought as binary trees where each node has 0 or 2 children. In the case of 0 children, that is if the node is a component and, in the case of 2 children, the node is another switch statement. To my understanding, the problem becomes the following: given a binary tree with $k$ switches, $k$ index variables $I_1, \dots, I_k$ and $k + 1$ leaves $A_1, \dots, A_{k+1}$, can we come up with a general function $h: \{0, 1\}^k \rightarrow \{0, \dots, k \}$ such that $h(I_1, \dots, I_k)$ yields the correct node $A_j$ as in the binary tree defined by nested switches?
Examples
Here are three basic examples that I've written by hand. All of these are graphs of depth 2, but it's a start. Let srng = at.random.RandomStream(seed=2320) in all examples below.
Example 1
I1_rv = srng.bernoulli(0.5, name="I1")
A_rv = srng.normal(-5, 0.1, name="A")
B_rv = srng.normal(5, 0.1, name="B")

C_rv = at.switch(I1_rv, A_rv, B_rv)
C_rv.name = "C"

I2_rv = srng.bernoulli(0.5, name="I2")
D_rv = srng.normal(10, 0.1, name="D")

Z_rv = at.switch(I2_rv, C_rv, D_rv)
Z_rv.name = "Z"

*Below, $I_2 = 1$ label missing for C/A edge and $I_2 = 0$ label missing for C/B edge

Here, $h(I_1, I_2) = I_1 + I_1 I_2$.
Example 2

Here, $h(I_1, I_2) = 2I_1 + I_2(1 - I_1)$.
Example 3

I believe that graphs of nested switches can be thought as binary trees where each node has 0 or 2 children.

Yes, your high-level scalar binary arithmetic characterization looks like it's on track, but don't forget that switches take arbitrary tensors as arguments, which means that you'll need to extend your characterization to—at least—vector spaces.
Regardless, the things that need to be addressed for an implementation often have more to do with the graph traversal and reuse of existing logic.
For instance, it might not be reasonable to walk a graph and attempt to identify nested switch subgraphs and directly implement the binary arithmetic you've outlined here.  The end result could easily involve a lot of custom logic and make this feature very difficult to maintain (e.g. see Scan in Aesara).
Ideally, a "local" rewrite of the relevant switches would suffice, and, when those rewrites are applied repeatedly, they would cover all nested switch-containing graph cases as well.
This is why the indexing/Subtensor-based approach is so appealing.  If we can convert switches into equivalent Subtensor graphs (e.g. switch(a, b, c) converted to stack([b, c])[a_new]), then we can reuse all the existing Subtensor-based mixture code and address the nested switch cases via stacks (i.e. Join or MakeVector Ops) and Subtensor rewrites—some of which may already exist.  This approach has the added benefit that any missing stack/Subtensor rewrites we implement for these purposes will then be available for more general use, which would also expand the capabilities of Aesara more broadly.

Actually, if I'm understanding this correctly, you could also be attempting to describe the logic for nested mixtures, which might be helpful for rewrites that target our MixtureRV IR more directly.
More specifically, once we identify stack([b, c])[a_new] as a mixture, it's turned into a single MixtureRV node, so nested switches would ultimately look like mixture(a_new, mixture(a_2, b_2, c_2), mixture(a_3, b_3, c_3)), and those could be rewritten much more directly, but the question is "How?"

Okay I see... I was wondering. I just re-polished test_switch_mixture in test_mixture.py

I've rebased and squashed this, so you'll need to pull your remote.

Looks like this needs tests for the test value and name parts.

Thanks, I just added one in test_compute_test_value


Detail complex technical problems

[ ] Non-custodial wallets https://github.com/lbryio/lbry-sdk/issues/3442
[ ] "LBRY 2.0?"

core LBRY promises
types of data we store
stack components and what they do

[ ] First-class subscriptions
[ ] https://github.com/lbryio/lbry-desktop/issues/7243
[ ] LIP process

Next output is activity pub document/proposal

Does first class subscriptions also include a patreon like private sharing system?
Private / unlisted videos (only available via direct link or even via some password/key).
How to store view / subscription data on subs
Third party/deterministic transcofding


a11y: allow users to tab across the search button (and release: v2.8.6)

:heart: Thank you for your contribution!
Close #198
Description

Please describe briefly your pull request.

Fix https://github.com/zenodo/rdm-project/issues/634
Previously as soon as you select the search button via tab it would execute the search. Now we only look for onMouseDown.
We cannot use onClick because the button moves as soon as it is focused via mouse down.
The behaviour is now:

The button will search with a single click
The button will search with enter or spacebar
The input will search if the user presses enter

Video:
https://github.com/inveniosoftware/invenio-search-ui/assets/6676843/961dbcdb-8585-412f-8937-79d6ed9db0c4

Description: I tab across the interface and use shift tab to go back to the search box. I then select the search button and press enter to search

https://github.com/inveniosoftware/invenio-search-ui/assets/6676843/66fa8b52-4a2b-4066-aa80-1e432fb1c6ff

Description: Single clicking on the button and single clicking on the expanded search button both result in navigating to the search results

Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

[x] I'm aware of the code of conduct.
[x] I've created logical separate commits and followed the commit message format.
[x] I've added relevant test cases.
[x] I've added relevant documentation.
[x] I've marked translation strings (for relevant code).
[x] I've followed the CSS/JS and React guidelines (for relevant code).
[x] I've followed the web accessibility guidelines (for relevant code).
[x] I've followed the user interface guidelines (for relevant code).
[x] I've identified the copyright holder(s) and updated copyright headers for touched files (>15 lines contributions).
[x] I've NOT included third-party code (copy/pasted source code or new dependencies).

Third-party code
If you've added third-party code (copy/pasted or new dependencies), please reach out to an architect.
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

You license your contribution under the same terms as the current repository’s license.
You agree that you have the right to license your contribution under the current repository’s license.

Pushed the tag and released on PyPI: https://pypi.org/project/invenio-search-ui/2.8.6/


Ideally the buttons will be in the same line with some spacing based on the webpages size.

Hi, I am not sure if this has been fixed yet but I did some work on the buttons and submitted a PR if you'd like to check it out.

closed by #125 thanks @SageJasinski


WEBSITE_RUN_FROM_PACKAGE value is not a SAS token, but 1

Hello
There is a part of this documentation that says the following
Azure Functions may suddenly stop working if more than one year has passed since the last deployment. If you deploy with "RunFromPackage" in "deploymentMethod", a SAS with an expiration date of 1 year is generated and set as the value of "WEBSITE_RUN_FROM_PACKAGE" in the application configuration. Azure Functions uses this SAS to reference the package file for function execution, so if the SAS has expired, the function will not be executed. To resolve this issue, deploy again to generate a SAS with an expiration date of one year.
However, after using runFromPackage as my deployment method the value of WEBSITE_RUN_FROM_PACKAGE is 1, not a SAS token. Will my function still have issues after one year of the deployment?

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

ID: cbd2779f-df70-05e1-0589-8220f850a44f
Version Independent ID: c1118090-18b5-f630-d4b0-c588328a4b5a
Content: Run your functions from a package file in Azure
Content Source: articles/azure-functions/run-functions-from-deployment-package.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@magoicochea Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.


Exclude goo.gl/maps/ from URL shortener (#3720)

Also refactors URL shorteners so they are only defined in one place.
#3720 asks for /forms/ but I am not including that for now; see comment in the ticket.

@makyen Is the latest change sufficient for the time being? If so I'll rebase and merge.


support for Snowflake - upgrade from previous 5.0.7-based PR

This PR upgrades the work from @billwanjohi on #1914 to v5.2.4.
I'm still in the process of testing it

Will this be merged soon? My company is eagerly looking at using this for our Snowflake environment

Unfortunately this is unlikely, per @axelfontaine's comment on a previous pull request:

At this point we would probably need some kind of commercial agreement to account for our testing, maintenance, documentation and support costs. Please get in touch if your company is willing to explore options.

The PR itself is useful as an advertisement to others of a snowflake-compatible fork, but until Flyway changes strategy, don't hold your breath about it getting merged.

Looks like I might have to upgrade this to the 6.0 beta (not sure how much has changed). However, I'm sure that someone from Snowflake could make this work / upgrade it (they do have engineers) and / or they could provide credits to test this out. It's not that difficult really with a cloud-based database.

Eagerly waiting for this to be available.

I work with snowflake and would like to use flyway for the versioning.  how do I install flyway from this branch?

You can make yourself a jar with the maven wrapper script in this repository. Flyway doesn't have their own instructions for this, but you can get some general guidance from this readme.

thank you @billwanjohi. I will give it a try.

Is there any timeline for when this might be officially supported?

Thanks to all contributors on this. Snowflake biggest up-tick on DBEngines top 100 last month and second behind Presto for the past year.

This PR is probably redundant now as we're working on building Snowflake support into v6.1 .

I'm going to close this - 6.1 will be out with Snowflake support next week. Thanks to everyone who contributed!


[Bug] Config of Application can't be copied

Search before asking

[X] I had searched in the issues and found no similar issues.

Java Version
1.8
Scala Version
2.11.x
StreamPark Version
2.0.0
Flink Version
all
deploy mode
None
What happened
When I copy a Application , the config not be copied. I guess it's a Bug.
Because the condition is always false###
Error Exception
No response
Screenshots
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!(您是否要贡献这个PR?)

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks for your feedback, it is a bug.I think you already know how to fix it, welcome to fix this bug


Cherry picking PR #28618 into 2.51.0

Cherry picking PR #28618 into 2.51.0

Run Python_Xlang_Gcp_Dataflow PostCommit

Run Python_Xlang_Gcp_Direct PostCommit

R: @kennknowles

retest this please

Run Python_Xlang_Gcp_Direct PostCommit

Run Python_Xlang_Gcp_Dataflow PostCommit

Run Python_Xlang_Gcp_Direct PostCommit

Previous iteration of xlang direct GCP tests failed because it was running on another PR concurrently.. shows another occurrence of #27445

fyi test passed on GitHub Action also: https://github.com/apache/beam/actions/workflows/beam_PostCommit_Python_Xlang_Gcp_Direct.yml?query=event%3Aissue_comment
Though current phrase trigger on GitHub Action is not conveniently visible (we're investigating a solution)

Run Python_Xlang_Gcp_Dataflow PostCommit

PreCommit Python Dataframes / Test Results (pull_request_target) only has the option to re-run all jobs. I don't know what causes that but I'm afraid of causing flakiness by rerunning too much. WDYT? Is that the way to go? Is there a real problem? It didn't dump me to the console I was expecting to see in order to triage it.

Ah, I see the failures are still Fhir. Why is it running in the dataframes precommit? Well anyhow I will merge this cherrypick also. However, those jobs should be disabled until they are healthy.


Expiration date parsing exception not handled

When testing modifying the expiration date in the license file, it appears that the DateTime parsing exceptions are not handled and translated into a proper IValidationResult. Instead, an exception is thrown as soon as the result is accessed. An example exception: "String was not recognized as a valid DateTime because the day of week was incorrect."
I'm working around this by surrounding my validation check in a try block, but it would be nice for invalid expiration dates to trigger the normal "License signature validation error" message.
Great work, thanks for this!

Could you please post a complete stack trace of that exception?

Sure:
System.FormatException: String was not recognized as a valid DateTime because the day of week was incorrect.
Stack trace:
at System.DateTimeParse.ParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style)
at System.DateTime.ParseExact(String s, String format, IFormatProvider provider, DateTimeStyles style)
at Portable.Licensing.License.get_Expiration()
at Portable.Licensing.Validation.LicenseValidationExtensions.b__1(License license)
at Portable.Licensing.Validation.ValidationChainBuilder.d__1.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

I'm having the same issue...
Fri, 31 Dec 9999 23:59:59 GMT
This date blows up on just some of my customer's machines. I have not been able to repro on any environment. Below is a screenshot that one of them sent me.

.

Looks like when you have a license with a expiration date of DateTime.MaxValue which is (Fri, 31 Dec 9999 23:59:59 GMT), some version of visual studio/.net fail. I was unable to replicate this on vs 2012, 2013, 2015 but other user's of my project were.
My solution was to generate a permanent license that expires in a 100 years instead of using DateTime.MaxValue.


pypy can not support cantools

pypy3  successfully pip cantools
however,  import cantools,
error : can have no Listerner.
pypy not support cantools?

There is a naming clash with some tool called "can" that people usually install by accident. Remove the can package, remove cantools, reinstall cantools.

@juleq
uninstall  can and cantools,
inpypy ,   reinstall cantools, so there's only cantools,no can . but ,when it runs ,it warning  have no can mode .
in CPython, when install cantools, there's only cantools,no can. when it run, there is no wrong.
i think, when install  cantools ,  can should be installed in right version。because when install only  can , it installs can-0-0-0(version) in pypy, the version is wrong.
i don't know where is the fault, or how to pip the right version can (in pypy, the version can  needed by    cantools )?

add
in CPython or pypy ,when  install cantools , python-can is automatically installed .
and then ,
in CPython, run it ,there's no warning.
in pypy ,  warning 1: no can ; warning 2: can have no listerner .

python 3.9
pypy is the latest version   for python3.9


Overlapping checking multiple checkboxes on mobile

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
On mobile
if you select two checkboxes in a row, then when you click on the second one, it will affect the first
Expected behavior 🤔
if you select two checkboxes in a row, then when you click on the second one, it should affect the second
Steps to reproduce 🕹
Steps:

Open Link on mobile
Try to click two checkboxes in the row

https://user-images.githubusercontent.com/17977396/188072283-db5e9c19-41d2-41ac-ad4b-5ac38306259c.mp4
Context 🔦
I have faced issues when I use table with checkboxes on mobile
Your environment 🌎

npx @mui/envinfo
  System:
    OS: macOS 12.4
  Binaries:
    Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
  Browsers:
    Chrome: 104.0.5112.101
    Edge: Not Found
    Firefox: Not Found
    Safari: 15.5
  npmPackages:
    @emotion/react: ^11.10.0 => 11.10.0
    @emotion/styled: ^11.6.0 => 11.10.0
    @mui/base:  5.0.0-alpha.92
    @mui/icons-material: ^5.4.2 => 5.8.4
    @mui/material: ^5.4.2 => 5.10.0
    @mui/private-theming:  5.9.3
    @mui/styled-engine:  5.10.0
    @mui/system:  5.10.0
    @mui/types:  7.1.5
    @mui/utils:  5.9.3
    @types/react: ^18.0.17 => 18.0.17
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    typescript: ^4.7.4 => 4.7.4

I have faced it in mobile safari and chrome

Is this an edge case that would not happen in practice?

I faced this issue when I used table with checkboxes on mobile in my real project

ios 15.4.1
both safari and chrome
it happens only when you trying click checkboxes quickly
try to check/uncheck them multiple times as fast as you can


Writing to file vs writing to stdout - or, working with buf

I came across this library while trying to resolve some copylocks lints - It seems perfect for what I'm trying to do. However, trying to use it as part of buf generate, with a template like so:
version: v1beta1
plugins:
  - name: go-copy
    out: gen/go
    opt:
      - paths=source_relative

The run fails with a flood of messages like this:
open grpc/health/v1/health_copy.pb.go: no such file or directory

buf executes the plugin directly, rather than going through protoc, and the directory it gives to the plugin doesn't actually exist. So this call fails: https://github.com/joeycumines/protoc-gen-go-copy/blob/master/main.go#L74
Reading through https://rotemtam.com/2021/03/22/creating-a-protoc-plugin-to-gen-go-code/ , it does seem that having a plugin write to the filesystem is unexpected - instead we "should" be calling f := gen.NewGeneratedFile(filename, file.GoImportPath) and then f.P(...) to write the file to stdout, rather than to disk. protoc or buf then writes the file to disk on our behalf.
Is this a change you'd be willing to make? I experimented with this minimal change:

diff --git a/main.go b/main.go
index 08afaaa..2b6c873 100644
--- a/main.go
+++ b/main.go
@@ -190,7 +190,6 @@ generated for the receiver type, with a name starting with Get.`, x.ShallowCopyM
                }

                if err := func() error {
-                       var reader io.Reader
                        if write {
                                r, w := io.Pipe()
                                defer r.Close()
@@ -206,9 +205,12 @@ generated for the receiver type, with a name starting with Get.`, x.ShallowCopyM
                                        }
                                        _ = w.CloseWithError(err)
                                }()
-                               reader = r
+                               g := x.Plugin.NewGeneratedFile(filename, file.GoImportPath)
+                               _, err := io.Copy(g, r)
+                               return err
                        }
-                       return x.Write(filename, reader)
+
+                       return nil
                }(); err != nil {
                        return err
                }

This made buf Just Work[tm], and I got a flood of generated files, written to where I expected them to be. An example:

// Code generated by protoc-gen-go-copy. DO NOT EDIT.
// source: grpc/status/status.proto

package status

import "google.golang.org/protobuf/types/known/anypb"

// Proto_ShallowCopy copies fields, from v to the receiver, using field getters.
// Note that v is of an arbitrary type, which may implement any number of the
// field getters, which are defined as any methods of the same signature as those
// generated for the receiver type, with a name starting with Get.
func (x *Status) Proto_ShallowCopy(v interface{}) {
	switch v := v.(type) {
	case *Status:
		x.Code = v.GetCode()
		x.Message = v.GetMessage()
		x.Details = v.GetDetails()
	default:
		if v, ok := v.(interface{ GetCode() rune }); ok {
			x.Code = v.GetCode()
		}
		if v, ok := v.(interface{ GetMessage() string }); ok {
			x.Message = v.GetMessage()
		}
		if v, ok := v.(interface{ GetDetails() []*anypb.Any }); ok {
			x.Details = v.GetDetails()
		}
	}
}

// Proto_ShallowClone returns a shallow copy of the receiver or nil if it's nil.
func (x *Status) Proto_ShallowClone() (c *Status) {
	if x != nil {
		c = new(Status)
		c.Code = x.Code
		c.Message = x.Message
		c.Details = x.Details
	}
	return
}

Hey @nick-kentik, cheers for the well written issue, I'll take a closer look at this over the weekend.
What you're saying sounds reasonable. I haven't used this plugin with buf before, so I'm not surprised you ran into an issue.
It has been a while and I've forgotten why I wrote the file directly - it's plausible that there's a reason I'll need to retain the existing behavior. That said, even if that's the case, it seems an option to switch the behavior would resolve your issue. I'll investigate.

Great, thanks for looking! This would have been a PR but I couldn't understand the nil reader thing :sweat_smile:

It appears to have been a simple fix @nick-kentik, basically just your proposed solution.
For whatever reason, I had decided I didn't want it generating files in cases where there was no content (avoiding empty source files). The nil reader thing was just to handle deleting files, as part of that behavior, since otherwise it might leave the old file there, in certain edge cases. Strange choice, in hindsight.

Amazing, thanks for that @joeycumines ! I can confirm that v0.1.1 works as expected with the buf generate we're using internally.


RuntimeError: cusolver error: CUSOLVER_STATUS_INTERNAL_ERROR, when calling cusolverDnCreate(handle)

Hello, as I reimplement the model, there is a error. I don't know how to solve it. Could you give me some advices? thx
2024-01-24 21:19:05,448 - mmdet.detr_ssod - INFO - workflow: [('train', 1)], max: 120000 iters
2024-01-24 21:19:05,448 - mmdet.detr_ssod - INFO - Checkpoints will be saved to /root/autodl-tmp/Semi-DETR/work_dirs/detr_ssod_dino_detr_r50_coco_120k/1/1 by HardDiskBackend.
Traceback (most recent call last):
File "tools/train_detr_ssod.py", line 201, in
main()
File "tools/train_detr_ssod.py", line 189, in main
train_detector(
File "/root/autodl-tmp/Semi-DETR/detr_ssod/apis/train.py", line 224, in train_detector
runner.run(data_loaders, cfg.workflow)
File "/root/autodl-tmp/env/semi_detr/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 134, in run
iter_runner(iter_loaders[i], **kwargs)
File "/root/autodl-tmp/env/semi_detr/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 61, in train
outputs = self.model.train_step(data_batch, self.optimizer, **kwargs)
File "/root/autodl-tmp/env/semi_detr/lib/python3.8/site-packages/mmcv/parallel/distributed.py", line 52, in train_step
output = self.module.train_step(*inputs[0], **kwargs[0])
File "/root/autodl-tmp/Semi-DETR/thirdparty/mmdetection/mmdet/models/detectors/base.py", line 238, in train_step
losses = self(**data)
File "/root/autodl-tmp/env/semi_detr/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "/root/autodl-tmp/env/semi_detr/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 98, in new_func
return old_func(*args, **kwargs)
File "/root/autodl-tmp/Semi-DETR/thirdparty/mmdetection/mmdet/models/detectors/base.py", line 172, in forward
return self.forward_train(img, img_metas, **kwargs)
File "/root/autodl-tmp/Semi-DETR/detr_ssod/models/dino_detr_ssod.py", line 144, in forward_train
self.foward_unsup_train(
File "/root/autodl-tmp/Semi-DETR/detr_ssod/models/dino_detr_ssod.py", line 173, in foward_unsup_train
return self.compute_pseudo_label_loss(student_info, teacher_info)
File "/root/autodl-tmp/Semi-DETR/detr_ssod/models/dino_detr_ssod.py", line 177, in compute_pseudo_label_loss
M = self._get_trans_mat(
File "/root/autodl-tmp/env/semi_detr/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 186, in new_func
return old_func(*args, **kwargs)
File "/root/autodl-tmp/Semi-DETR/detr_ssod/models/dino_detr_ssod.py", line 811, in _get_trans_mat
return [bt @ at.inverse() for bt, at in zip(b, a)]
File "/root/autodl-tmp/Semi-DETR/detr_ssod/models/dino_detr_ssod.py", line 811, in
return [bt @ at.inverse() for bt, at in zip(b, a)]
RuntimeError: cusolver error: CUSOLVER_STATUS_INTERNAL_ERROR, when calling cusolverDnCreate(handle)
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 16209) of binary: /root/autodl-tmp/env/semi_detr/bin/python
ERROR:torch.distributed.elastic.agent.server.local_elastic_agent:[default] Worker group failed
INFO:torch.distributed.elastic.agent.server.api:[default] Worker group FAILED. 3/3 attempts left; will restart worker group
INFO:torch.distributed.elastic.agent.server.api:[default] Stopping worker group
INFO:torch.distributed.elastic.agent.server.api:[default] Rendezvous'ing worker group
INFO:torch.distributed.elastic.agent.server.api:[default] Rendezvous complete for workers. Result:
restart_count=1
master_addr=<IP_ADDRESS>
master_port=29630
group_rank=0
group_world_size=1
local_ranks=[0]
role_ranks=[0]
global_ranks=[0]
role_world_sizes=[1]
global_world_sizes=[1]
INFO:torch.distributed.elastic.agent.server.api:[default] Starting worker group
INFO:torch.distributed.elastic.multiprocessing:Setting worker0 reply file to: /tmp/torchelastic_ecpui8ya/none_fw6d5udg/attempt_1/0/error.json

We have already posted the validated environment we used, you can try to check whether it can address your issue.

We have already posted the validated environment we used, you can try to check whether it can address your issue.

我这边也出了相同的问题，请帮忙解决一下

@johnnylecy Have you ever tried our provided conda environment? We have already validated this environment and the code can run smoothly with this conda environment on the NVIDIA A100 with CUDA12.1 without any problems.

需要权限才能下载你们提供的环境，已经申请权限，请提供下载权限
---Original---
From: @.>
Date: Thu, Aug 15, 2024 12:15 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [JCZ404/Semi-DETR] RuntimeError: cusolver error:CUSOLVER_STATUS_INTERNAL_ERROR, when calling cusolverDnCreate(handle) (Issue#18)
@johnnylecy Have you ever tried our provided conda environment? We have already validated this environment and the code can run smoothly with this conda environment on the NVIDIA A100 with CUDA12.1 without any problems.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@johnnylecy Already approved, feel free to have a try~

@johnnylecy Already approved, feel free to have a try~

使用了你们的虚拟环境也还是出现同样的问题

我的机器是4090+cuda12.3

@johnnylecy Already approved, feel free to have a try~

使用了你们的虚拟环境也还是出现同样的问题

你好，请问你跑起来了吗

跑不起来
---Original---
From: @.>
Date: Tue, Aug 27, 2024 16:57 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [JCZ404/Semi-DETR] RuntimeError: cusolver error:CUSOLVER_STATUS_INTERNAL_ERROR, when calling cusolverDnCreate(handle) (Issue#18)
@johnnylecy Already approved, feel free to have a try~
使用了你们的虚拟环境也还是出现同样的问题
你好，请问你跑起来了吗
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@johnnylecy You can follow the practice of @Yuanyan266969, utilize our provided conda environment, and then solve the potential problem of AttributeError: module 'distutils' has no attribute 'version' by referring to https://blog.csdn.net/weixin_46133643/article/details/125344874.


Add elasticsearch check for loopback

Current coverage is 96.00%

Merging #10 into master will not affect coverage as of c048470

@@            master    #10   diff @@
=====================================
  Files            1      1
  Stmts           75     75
  Branches        14     14
  Methods         10     10
=====================================
  Hit             72     72
  Partial          0      0
  Missed           3      3

Review entire Coverage Diff as of c048470

Powered by Codecov. Updated on successful CI builds.

Current coverage is 96.00%

Merging #10 into master will not affect coverage as of bece471

@@            master    #10   diff @@
=====================================
  Files            1      1
  Stmts           75     75
  Branches        14     14
  Methods         10     10
=====================================
  Hit             72     72
  Partial          0      0
  Missed           3      3

Review entire Coverage Diff as of bece471

Powered by Codecov. Updated on successful CI builds.


Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.

Codacy detected an issue:
Message: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Occurred on:

Commit:  4814af84e5b19ac45216cc9da3b70713f5055a56
File:    test/release_local.sh
LineNum: 1
Code:    cd /tmp

Currently on:

Commit:  914094d864c21e659302ccd9bfa172ec35961e7d
File:    test/release_local.sh
LineNum: 1

Fixed

Fixed


URIs displayed as links

URIs now links that open in new tabs.

Thanks, might have to look into adding some new styling as the links don't look great in dark mode.


added check for trajectories to see if they terminated.

Codecov Report

Merging #7 (7f210d1) into master (3c16f29) will decrease coverage by 1.97%.
The diff coverage is 20.00%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
- Coverage   67.70%   65.73%   -1.98%
==========================================
  Files           7        6       -1
  Lines         353      356       +3
==========================================
- Hits          239      234       -5
- Misses        114      122       +8

Impacted Files
Coverage Δ

src/history.jl
39.39% <20.00%> (-5.44%)
:arrow_down:

src/mdps/chains.jl
88.57% <0.00%> (-5.72%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a99a0bd...7f210d1. Read the comment docs.


Fix touch support for examples

I forget to rename some things when i was moving things around.
Fixes #310

cc @wlis @jbonta @dehamilton

Thanks for fixing this @pieterv!


"Start kicking out code!" on main page leads to About Foundation page

It was a bit surprising that the link/section leads to information about the Foundation, incl. Board members, etc. ... but maybe it is by design
Originally I was confused because Edge Chromium (latest update) does not show the menu on the top of the page at all (so no link to About, etc.), it shows up only if you hover over the menu items. Chrome works fine, so likely browser problem.
@jongalloway

Closing as by-design for now. The about page has links to finding projects, resources, etc.
Will see what happens whenever the site is redesigned again.


xSQLServerDatabaseOwner: Increase code coverage

xSQLServerDatabaseOwner: Increase code coverage
This Pull Request (PR) fixes the following issues:
Fixes #365

[x] Change details added to Unreleased section of CHANGELOG.md?
[x] Added/updated documentation, comment-based help and descriptions in .schema.mof files where appropriate?
[x] Examples appropriately updated?
[x] New/changed code adheres to Style Guidelines?
[x] Unit and (optional) Integration tests created/updated where possible?

This change is

Codecov Report

Merging #409 into dev will increase coverage by <1%.
The diff coverage is 92%.

@@         Coverage Diff          @@
##            dev   #409    +/-   ##
====================================
+ Coverage    68%    69%   +<1%
====================================
  Files        31     31
  Lines      3171   3159    -12
====================================
+ Hits       2180   2187     +7
+ Misses      991    972    -19

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0af7566...694e35b. Read the comment docs.

It is hard keeping up with you pace, my friend 😉
Thanks for sending in yet another one. 😄

And it's not over yet 😋

I review the test tomorrow. Time for bed now. :)

Reviewed 6 of 7 files at r1.
Review status: 6 of 7 files reviewed at latest revision, 9 unresolved discussions.

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 27 at r1 (raw file):

    (
        [Parameter(Mandatory = $true)]
        [System.String]

ValidateNullOrEmpty here to?

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 52 at r1 (raw file):

    {
        # Check database exists
        if ( -NOT($getSqlDatabase = $sqlServerObject.Databases[$Database]) )

-not ( -lower case letters, and space before '('

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 52 at r1 (raw file):

    {
        # Check database exists
        if ( -NOT($getSqlDatabase = $sqlServerObject.Databases[$Database]) )

$getSqlDatabase change to $sqlDatabaseObject

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 61 at r1 (raw file):

        try
        {
            $getSqlDatabaseOwner = $getSqlDatabase.Owner

change to $sqlDatabaseOwner

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 105 at r1 (raw file):

        [Parameter(Mandatory = $true)]
        [System.String]
        $Database,

Validate NullOrempty here too?

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 129 at r1 (raw file):

    {
        # Check database exists
        if ( -NOT($getSqlDatabase = $sqlServerObject.Databases[$Database]) )

-not ( -lower case letters, and space before '('

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 129 at r1 (raw file):

    {
        # Check database exists
        if ( -NOT($getSqlDatabase = $sqlServerObject.Databases[$Database]) )

Chnage $getSqlDatabase to $sqlDatabaseObject

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 135 at r1 (raw file):

        # Check login exists
        if ( -NOT($sqlServerObject.Logins[$Name]) )

-not ( -lower case letters, and space before '('

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 179 at r1 (raw file):

        [Parameter(Mandatory = $true)]
        [System.String]
        $Database,

ValidateNullOrEmpty here too?

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: 6 of 7 files reviewed at latest revision, 9 unresolved discussions.

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 27 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
ValidateNullOrEmpty here to?

Done.

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 52 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
-not ( -lower case letters, and space before '('

Done.

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 52 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
$getSqlDatabase change to $sqlDatabaseObject

Done.

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 61 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
change to $sqlDatabaseOwner

Done.

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 105 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
Validate NullOrempty here too?

Done.

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 129 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
-not ( -lower case letters, and space before '('

Done.

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 129 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
Chnage $getSqlDatabase to $sqlDatabaseObject

Done.

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 135 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
-not ( -lower case letters, and space before '('

Done.

DSCResources/MSFT_xSQLServerDatabaseOwner/MSFT_xSQLServerDatabaseOwner.psm1, line 179 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
ValidateNullOrEmpty here too?

Done.

Comments from Reviewable

Reviewed 1 of 7 files at r1, 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 8 unresolved discussions.

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 41 at r2 (raw file):

        $mockSqlServerLogin                     = 'Zebes\SamusAran'
        $mockSqlServerLoginType                 = 'WindowsUser'
        $mockForSetOwnerProperty                = 'Elysia\Chozo'

Maybe $mockDatabaseOwner is enough?

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 43 at r2 (raw file):

        $mockForSetOwnerProperty                = 'Elysia\Chozo'
        $mockInvalidOperationForSetOwnerMethod  = $false
        $mockExpectedForSetOwnerMethod          = 'Elysia\Chozo'

Maybe $mockExpectedDatabaseOwner is enough? So it could be used for other methods in the future (if there are any)

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 43 at r2 (raw file):

        $mockForSetOwnerProperty                = 'Elysia\Chozo'
        $mockInvalidOperationForSetOwnerMethod  = $false
        $mockExpectedForSetOwnerMethod          = 'Elysia\Chozo'

Tip 1: By the way, if you think you need to initalize the "dynamic variables" here, then I can tell you that you don't need to. :) You can assign the "dynamic variable" just before the It-block where it should be used. If you do that, then it easy to see what values you set for the parameter, and what value you expect (see Tip 2 comment).  That said, it is totally okay to assign it here.
No need to change anything! Just a knowledge transfer :wink:

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 67 at r2 (raw file):

                                            if ($mockInvalidOperationForSetOwnerMethod)
                                            {
                                                throw 'Mock SetOwner Method was called with invalid operation.'

'Mock SetOwner Method was...' change to 'Mock of method SetOwner() was....

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 70 at r2 (raw file):

$mockExpectedSetOwner

Should this not be $this.Owner -ne $mockExpectedDatabaseOwner (after changing it in a previous comment)?

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 72 at r2 (raw file):

                                            if ( $this.Owner -ne $mockForSetOwnerProperty )
                                            {
                                                throw "Called mocked Drop() method without dropping the right database. Expected '{0}'. But was '{1}'." `

Drop() should be SetOwner(). Please revise the entire error message.

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 72 at r2 (raw file):

                                            if ( $this.Owner -ne $mockForSetOwnerProperty )
                                            {
                                                throw "Called mocked Drop() method without dropping the right database. Expected '{0}'. But was '{1}'." `

Hmm.. maybe we should add a test to test the test ;) Thought about that yesterday. Just call the Set-method with wrong expected variable and make sure it throws the correct error message. What do you think? If you think it is a good idea I could start to enforce that.

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 233 at r2 (raw file):

            }

            $mockInvalidOperationForSetOwnerMethod  = $false

Tip 2: This is what I meant by assigning the "dynamic variable" values just before the It-block (in this case the context block).
No need to change anything! Just a knowledge transfer :wink:

Comments from Reviewable

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 8 unresolved discussions.

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 41 at r2 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
Maybe $mockDatabaseOwner is enough?

Done.

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 43 at r2 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
Maybe $mockExpectedDatabaseOwner is enough? So it could be used for other methods in the future (if there are any)

Done.

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 43 at r2 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
Tip 1: By the way, if you think you need to initalize the "dynamic variables" here, then I can tell you that you don't need to. :) You can assign the "dynamic variable" just before the It-block where it should be used. If you do that, then it easy to see what values you set for the parameter, and what value you expect (see Tip 2 comment).  That said, it is totally okay to assign it here.
No need to change anything! Just a knowledge transfer :wink:

Good to know :+1:

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 67 at r2 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
'Mock SetOwner Method was...' change to 'Mock of method SetOwner() was....

Done.

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 72 at r2 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
Drop() should be SetOwner(). Please revise the entire error message.

Done.

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 72 at r2 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
Hmm.. maybe we should add a test to test the test ;) Thought about that yesterday. Just call the Set-method with wrong expected variable and make sure it throws the correct error message. What do you think? If you think it is a good idea I could start to enforce that.

Very Good idea. I will add it in the next commit

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 233 at r2 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
Tip 2: This is what I meant by assigning the "dynamic variable" values just before the It-block (in this case the context block).
No need to change anything! Just a knowledge transfer :wink:

Good to know again :+1:

Comments from Reviewable

Reviewed 1 of 1 files at r4.
Review status: all files reviewed at latest revision, 8 unresolved discussions.

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 70 at r2 (raw file):
Previously, johlju (Johan Ljunggren) wrote…

$mockExpectedSetOwner

Should this not be $this.Owner -ne $mockExpectedDatabaseOwner (after changing it in a previous comment)?

Done.

Tests/Unit/MSFT_xSQLServerDatabaseOwner.Tests.ps1, line 72 at r2 (raw file):
Previously, luigilink (Jean-Cyril Drouhin) wrote…
Very Good idea. I will add it in the next commit

Done. Test added.

Comments from Reviewable

@johlju "Waiting for the author" tag can be removed.

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

Comments from Reviewable