TypeError on login

Bug report
Your Environment

Netflix add-on version:
1.0.0 https://github.com/castagnait/repository.castagnait/raw/matrix/repository.castagnait-1.0.0.zip
Operating system version/name:
LibreElec 10.0.0 on RPI4.arm

Describe the bug
Enter mail and password and got an error.
Here is the log from kodi.log
2021-11-07 15:05:35.534 T:2599    ERROR <general>: [plugin.video.netflix (1)] Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 29, in wrapper
                                                       func(*args, **kwargs)
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 245, in run
                                                       success = route(pathitems)
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 85, in lazy_login_wrapper
                                                       if _check_valid_credentials():
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 70, in _check_valid_credentials
                                                       if not login():
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/utils/api_requests.py", line 36, in login
                                                       if common.make_call('login', credentials):
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py", line 139, in timing_wrapper
                                                       return func(*args, **kwargs)
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/common/ipc.py", line 94, in make_call
                                                       return make_http_call(endpoint, func_name, data)
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/common/ipc.py", line 115, in make_http_call
                                                       _data = pickle.loads(received_data)
                                                   TypeError: __init__() missing 2 required keyword-only arguments: 'request' and 'response'

You have not fullfill the bugreport as requested in this Github
please edit it by fullfill the report by following the template or this Issue will be closed next days


ZEVA - Remove All References to Keycloak in Project ZEVA

Describe the task
The objective of this task is to remove all references to Keycloak in Project ZEVA, as the project has fully migrated to using the Gold cluster and the new government-hosted authentication service. Keycloak is no longer needed for local or in-environment testing.
Purpose
The purpose of this task is to ensure that the project's authentication process is streamlined and consistent by removing any unnecessary dependencies on deprecated services like Keycloak. This will help maintain a clean and up-to-date codebase, reduce potential security risks, and minimize confusion during development and testing.
Acceptance Criteria

[ ] Identify and list all occurrences of Keycloak references in the project, including configuration files, code, and documentation.
[ ] Remove or update the identified Keycloak references to ensure they no longer rely on Keycloak.
[ ] Verify that the authentication process still functions correctly after removing Keycloak references, both in local and in-environment testing.
[ ] Remove any unnecessary environment variables
[ ] Test the updated authentication process to ensure it works as expected and maintains the required security standards.
[ ] Update any relevant documentation to reflect the removal of Keycloak and the reliance on the new government-hosted authentication service.

Additional context

Pay special attention to maintaining the security and integrity of the authentication process while removing Keycloak references.

Not somehting that can be user tested. Close ticket.


Webhook must authenticate with AAD

Is your feature request related to a problem? Please describe.
Webhook implementation must us V2 and use AAD to validate the payload.
Describe the solution you'd like
Webhook implementation must us V2 and use App registration AAD to validate the payload.

Duplicate #118
@code4clouds please let me know if this is any different, also I can the difference to the other one to keep the ask in one place.


Question on CSS sibling selectors is partially wrong

The question css-sibling-selectors seems to give a partially wrong answer.
As per W3C spec, the ~ (tilde) combinator does not work the way it's described in the answer. Instead, it's almost the same as the + combinator except that the element following the combinator doesn't have to be placed immediately after the one before the combinator.
On a side note, the W3C seems intent on changing the combinator names, in fact this appears to have happened already in the currently active level 3 spec. The general sibling combinator (~) was renamed to subsequent-sibling combinator and the adjacent-sibling combinator (+) changed to next-sibling combinator. One might consider using these names as well.

@jkemming seems like a great and easy PR to me 😉


dev docs not updated since ~4 months

I was looking for 'differential evolution' docs on
http://docs.scipy.org/doc/scipy-dev/reference/optimize.html
but these dev docs appear to not have been updated since March 16.  If someone has time, could the website possibly be updated to reflect, for example, the changes to https://github.com/scipy/scipy/blob/master/scipy/optimize/init.py over the last few months?

up-to-date at the moment, so closing.


Could not add resources into jar

the plugin does not include the resources dir,how to fix it?

I just created a sample project and the resources ended up in the jar. Maybe something is misconfigured on your end? Do you mind sharing your build.gradle file or even your project?
Here is the sample project I created: foo-project.zip

https://github.com/ange1ann/dropwizard-rest
ENV: Gradle, IDEA ,Dropwizard FrameWork
You can see this demo,It does not include dev_config.yml
Use Idea,Just run the command: gradlew build
See The muber-core\build\libs\muber-core-1.0-release.jar

I was able to build your project successfully, and it shows your yaml file in the jar, along with the other resources added by protobuf. I also opened the project in IDEA 16.2.2 EAP and built the project using the gradle sidebar. That also completed successfully with the resources in the jar file.
When you are running the build task, do you see the processResources task also run? Does gradle put any files in the mumber-core/build/resources/main/ directory?

Theres Two Jar Files In the Dir.
muber-core-1.0.jar(small size)   ---Contains the dev_config.yml file
muber-core-1.0-release.jar(big size)   ---Not Contains the dev_config.yml file
The Release Package Use The classifier:
task fatCapsule(type: FatCapsule) {
applicationClass mainClassName
classifier = 'release'
capsuleManifest {
systemProperties['dropwizard.config'] = 'dev_config.yml'
minJavaVersion = '1.8.0'
}
}
build.dependsOn 'fatCapsule'
You can see that muber-core-1.0-release.jar has no config file.

@ange1ann, Dropwizard by default expects configuration file to be on a file system, so it should not go into src/main/resources. However, you can configure Dropwizard it to read file from classpath and the issue will go away all together.

@ange1ann The release jar is the capsule, which includes the the muber-core-1.0.jarand all of your other app dependencies.
If you want the dev_config.yaml to go in the capsule instead of the main jar:

Move it to a different directory (like muber-core/config/dev_config.yml)
Tell the capsule task to include that directory:

task fatCapsule(type: FatCapsule) {
    applicationClass mainClassName
    classifier = 'release'
    capsuleManifest {
        systemProperties['dropwizard.config'] = 'dev_config.yml'
        minJavaVersion = '1.8.0'
    }
    from 'config'
}

Thank u for your help!


Clair connecting to database with sslmode=disable

When Clair 3.2 is being setup with Operator, clair-config.yaml has by default:
source: postgres://username:password@service/clair?sslmode=disable
https://github.com/redhat-cop/quay-operator/blob/62dc01ad2ce421f794e546e1cdf3c8283bab454c/pkg/controller/quayecosystem/provisioning/provision.go#L677
Would be useful either to have a flag in QuayEcosystem for ssl true/false or set it to sslmode=require by default

I agree that it should at least have the option to use an encrypted connection. I believe the Operator would have to generate a key for the Postgres instance and then supply that key to Clair and the Postgres container. I don't have much experience with Clair but I can reach out to some of the Clair maintainers for details if needed.

Or maybe, if we specify our own DB in QuayEcosystem - enforce ssl (me personally was using Azure Postgresql and I don't really want to disable ssl there), if we are asking for operator to create a DB for us, disable ssl...


[web] AppLifecycleState for web using Page Visibility API

I would like to propose using the Page Visibility API for detecting when a web app has changed its state
https://api.flutter.dev/flutter/dart-ui/AppLifecycleState-class.html
AppLifecycleState.resumed -> visibilityChange  is fired with visible param or onFocus is fired,
AppLifecycleState.inactive -> onblur is fired and is in a resumed state,
AppLifecycleState.hidden -> visibilityChange is fired with paused,
AppLifecycleState.detached -> ??,
Would love to help to build this if it is considered. I will work on a demo in the following days

A contribution would be welcome. Thank you for offering. The fix is likely on the flutter/engine side.

#53107 may be a duplicate of this issue (it was opened two weeks later). Since the other issue has more participants, perhaps this should be closed as a duplicate, and we can join the other thread.

Any update on this, rest of issues are closed and I dont see any resolution for this ?!

But to be honest it works with visibility API just fine
 if (UniversalPlatform.isWeb) {
     // Set the name of the hidden property and the change event for visibility
     html.document.addEventListener('visibilitychange', _webVisibilitychange);
   }

  void _webVisibilitychange(html.Event event) {
    print(html.document.hidden == true ? 'hidden' : 'visible');
  }

WidgetsBindingObserver - > didChangeAppLifecycleState by design, it is only for app, or apps and the web can be used

WidgetsBindingObserver - > didChangeAppLifecycleState by design, it is only for app, or apps and the web can be used

We convert Flutter to Web and run it in the same App. Is this scenario supported? Is there a plan?

Hello,
I found this but the problem is that I don't know how to make the class compatible to run on all platforms:
https://stackoverflow.com/questions/68367780/flutter-web-how-to-detect-applifecyclestate-changes
dart:html doesn't want to exist when compiling for Android for example:
Error: Dart library 'dart:html' is not available on this platform.
import 'dart:html';
       ^
Context: The unavailable library 'dart:html' is imported through these packages:

I don't really understand how we should conditionally create nor import dart:html to override the behavior in a Widget without breaking platform portability of the same...


Fix for #147.

What Is This :question:
This pull request introduces a fix for #147 by installing dos2unix as an additional dependency and running it on entrypoint.sh file once loaded into a docker image when built using Dockerfile.
This fix is limited to just ROS 2 Humble in order to simply address the scope of the aforementioned issue.
Edits Made :memo:
This pull request introduces only 3 lines in /humble/Dockerfile.

I will merge this pull request once the GitHub Action completes. :smiley:


unexpected placeholder when using object literal syntax

The below gives me unexpected placeholder:
    const user = {
          name: 'Dolly'
      }
      sprintf('Welcome back %(name)!
See if you qualify below!', user);

However, this does not give an error:
      sprintf('Welcome back %s!
See if you qualify below!','Dolly');

Why does object literal syntax give an error?

Try sprintf('Welcome back %(name)s!
See if you qualify below!', user)

Both doc and error message are inadequate here.


pit-cs: Remove extra goroutine and Mutex

Ref: #38

This deadlocks for some reason, but only when I have multiple faces/producers. Any ideas why?

I have no idea. Could you show me how you run it?

Just running two ndnputchunks on different prefixes using a 1G file. Then two ndncatchunks in parallel for both the files.

Thanks. Let me have a try.

Unfortunately I cannot reproduce this on my computer.

Another possible reason could be that there are too many expiring entries that blocks the channel expiringPitEntries.
I cannot reproduce it because my Mac is slow and this case never happens.
Let me try to fix this.

Hello. I pushed another commit. Please see if it fixes the problem.

@zjkmxy doesn't lock up for me anymore, but I'm trying to figure out why performance is 25-50% worse. Right now it seems to me that map deletes are simply slow, so doing them on the same thread makes it slower.
But that's unrelated to this PR, so this looks good to me.

@zjkmxy doesn't lock up for me anymore, but I'm trying to figure out why performance is 25-50% worse. Right now it seems to me that map deletes are simply slow, so doing them on the same thread makes it slower.
But that's unrelated to this PR, so this looks good to me.

OK. Let me see if there is solution.
BTW, I guess ndnputchunks does not provide PIT Token? It seems that PITToken is not used when I run the scenario.

Right ... maybe I need to stop testing with ndnputchunks
What I currently observe is that if I comment the following line then the aggregate throughput with two instances of putchunks-catchunks, the throughput (content store off) goes from ~3gbps to ~4.5gbps
https://github.com/named-data/YaNFD/blob/79b7e56d00715a9dc8f447ba68dfaec5dfc2f155/table/pit-cs-tree.go#L333
Though I realise now that this could simply be because of the increased GC overhead ...

Right ... maybe I need to stop testing with ndnputchunks
What I currently observe is that if I comment the following line then the aggregate throughput with two instances of putchunks-catchunks, the throughput (content store off) goes from ~3gbps to ~4.5gbps
https://github.com/named-data/YaNFD/blob/79b7e56d00715a9dc8f447ba68dfaec5dfc2f155/table/pit-cs-tree.go#L333
Though I realise now that this could simply be because of the increased GC overhead ...

Another possibility is YaNFD does not use PIT Token due to bugs. I'm not sure if this is the case.

Since this PR is closed. Let's continue further discussion (if there is) on #42.


Update to 2.11

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Cannot get license from license server? [Ubuntu 22.04] [Blender 2.83] [RenderMan 24.4]

Hello!
I have installed the latest version of the plugin, and obtained RenderMan licenses from our license server (I can render examples by calling prman from the command line). However, when trying to render a scene with Blender, I get "cannot find valid renderman license" error. Is there a way to let the plugin find the license from the license server? E.g. are there some environmental variables I need to set?
Thanks in advance!
Best,
Xianyao

Thank you, this environment variable works. Note that one needs to invoke blender from command line for it to receive this environment variable, not by clicking icons :)


Update project name in package.json.

I think you meant to send this pull request against the master branch in your fork, not the main repo? :)

yes. too many tabs open.


DDL_CONVERT工具没转成功

2023-07-05_12:37:53    [INFO]    Setting conf: DDL_SRC_FILE=/root/sctc.sql
2023-07-05_12:37:53    [INFO]    Key is not set in conf file yet, setting it now
2023-07-05_12:37:53    [INFO]    Succeeded
root@VM-16-2-debian:~# mo_ctl set_conf DDL_TGT_FILE=/root/sctc_mo.sql
2023-07-05_12:38:13    [INFO]    Setting conf: DDL_TGT_FILE=/root/sctc_mo.sql
2023-07-05_12:38:13    [INFO]    Key is not set in conf file yet, setting it now
2023-07-05_12:38:13    [INFO]    Succeeded
root@VM-16-2-debian:~# mo_ctl ddl_convert mysql_to_mo
2023-07-05_12:38:19    [INFO]    DDL_SRC_FILE is not set manually, try to get it from conf file
2023-07-05_12:38:19    [INFO]    Get conf succeeded: DDL_SRC_FILE="/root/sctc.sql"
2023-07-05_12:38:19    [INFO]    Check if source file /root/sctc.sql and /root/sctc_mo.sql exist
2023-07-05_12:38:19    [INFO]    Cleaning content of target file /root/sctc_mo.sql
2023-07-05_12:38:19    [INFO]    1. Getting content, pls wait...
2023-07-05_12:38:19    [INFO]    Getting drop and create database ...
2023-07-05_12:38:19    [INFO]    Succeeded
2023-07-05_12:38:19    [INFO]    Getting drop and create table ...
2023-07-05_12:38:19    [INFO]    Succeeded
2023-07-05_12:38:19    [INFO]    Getting drop and create view ...
2023-07-05_12:38:19    [INFO]    Succeeded
2023-07-05_12:38:19    [INFO]    Getting insert into ...
2023-07-05_12:38:19    [INFO]    Succeeded
2023-07-05_12:38:19    [INFO]    Getting content succeeded
2023-07-05_12:38:19    [INFO]    2. Deleting unwanted content, pls wait...
2023-07-05_12:38:19    [INFO]    Deleting ENGINE=xxx ...
sed: can't read s/ENGINE=MyISAM//gi: No such file or directory
sed: can't read s/ENGINE = MyISAM//gi: No such file or directory
sed: can't read s/ENGINE=InnoDB//gi: No such file or directory
sed: can't read s/ENGINE = InnoDB//gi: No such file or directory
2023-07-05_12:38:19    [ERROR]    Failed
2023-07-05_12:38:19    [INFO]    Deleting ROW_FORMAT=xxx ...
sed: can't read s/ROW_FORMAT=COMPACT//gi: No such file or directory
sed: can't read s/ROW_FORMAT = COMPACT//gi: No such file or directory
sed: can't read s/ROW_FORMAT=DYNAMIC//gi: No such file or directory
sed: can't read s/ROW_FORMAT = DYNAMIC//gi: No such file or directory
2023-07-05_12:38:19    [ERROR]    Failed
2023-07-05_12:38:19    [INFO]    Deleting DEFAULT CHARSET=xxx, CHARACTER SET xxx, COLLATE xxx ...
sed: can't read s/DEFAULT CHARSET=utf8mb3//gi: No such file or directory
sed: can't read s/DEFAULT CHARSET = utf8mb3//gi: No such file or directory
sed: can't read s/CHARACTER SET utf8mb3//gi: No such file or directory
sed: can't read s/CHARACTER SET = utf8mb3//gi: No such file or directory
sed: can't read s/CHARACTER SET=utf8mb3//gi: No such file or directory
sed: can't read s/DEFAULT CHARSET=utf8mb4//gi: No such file or directory
sed: can't read s/DEFAULT CHARSET = utf8mb4//gi: No such file or directory
sed: can't read s/CHARACTER SET utf8mb4//gi: No such file or directory
sed: can't read s/CHARACTER SET = utf8mb4//gi: No such file or directory
sed: can't read s/CHARACTER SET=utf8mb4//gi: No such file or directory
sed: can't read s/DEFAULT CHARSET=utf8//gi: No such file or directory
sed: can't read s/DEFAULT CHARSET = utf8//gi: No such file or directory
sed: can't read s/CHARACTER SET utf8//gi: No such file or directory
sed: can't read s/CHARACTER SET = utf8//gi: No such file or directory
sed: can't read s/CHARACTER SET=utf8//gi: No such file or directory
sed: can't read s/COLLATE utf8mb3_general_ci//gi: No such file or directory
sed: can't read s/COLLATE=utf8mb3_general_ci//gi: No such file or directory
sed: can't read s/COLLATE = utf8mb3_general_ci//gi: No such file or directory
sed: can't read s/COLLATE utf8mb3_bin//gi: No such file or directory
sed: can't read s/COLLATE=utf8mb3_bin//gi: No such file or directory
sed: can't read s/COLLATE = utf8mb3_bin//gi: No such file or directory
sed: can't read s/COLLATE utf8mb4_general_ci//gi: No such file or directory
sed: can't read s/COLLATE=utf8mb4_general_ci//gi: No such file or directory
sed: can't read s/COLLATE = utf8mb4_general_ci//gi: No such file or directory
sed: can't read s/COLLATE utf8mb4_unicode_ci//gi: No such file or directory
sed: can't read s/COLLATE=utf8mb4_unicode_ci//gi: No such file or directory
sed: can't read s/COLLATE = utf8mb4_unicode_ci//gi: No such file or directory
sed: can't read s/COLLATE utf8_general_ci//gi: No such file or directory
sed: can't read s/COLLATE=utf8_general_ci//gi: No such file or directory
sed: can't read s/COLLATE = utf8_general_ci//gi: No such file or directory
2023-07-05_12:38:19    [ERROR]    Failed
2023-07-05_12:38:19    [INFO]    Deleting USING xxx ...
sed: can't read s/USING BTREE//gi: No such file or directory
sed: can't read s/USING HASH//gi: No such file or directory
2023-07-05_12:38:19    [ERROR]    Failed
2023-07-05_12:38:19    [INFO]    Deleting AUTO_INCREMENT, AUTO_INCREMENT=xxx ...
sed: can't read s/AUTO_INCREMENT=\([0-9]*\)//: No such file or directory
sed: can't read s/AUTO_INCREMENT = \([0-9]*\)//: No such file or directory
sed: can't read s/AUTO_INCREMENT//g: No such file or directory
2023-07-05_12:38:19    [ERROR]    Failed
2023-07-05_12:38:19    [INFO]    Deleting unwanted content succeeded
2023-07-05_12:38:19    [INFO]    3. Formatting content, pls wait...
2023-07-05_12:38:19    [INFO]    Adding lines...
sed: can't read s/;$/;\n/g: No such file or directory
2023-07-05_12:38:19    [ERROR]    Failed
2023-07-05_12:38:19    [INFO]    Converting dos to unix...
2023-07-05_12:38:19    [ERROR]    Failed
2023-07-05_12:38:19    [INFO]    Formatting content succeeded

已修复

fixed


Line chart is not rending properly when X-axis is time stamp.

Recently I came across a situation in which I had to draw a Line chart with DateTime on the x-axis.As x-axis is not accepting string as value my chart looks dirty if there is any 1 month gap. I tried different solutions and issues present across the repository:

Having custom interval.
[Converting Date Time to timestamp](https://github.com/imaNNeo/fl_chart/issues/438#issuecomment-1706238545)
but none of the above answers works.
Actual Result

Expected Result

The expected result is achieved by using react-chartjs
I am trying following json to plot chart between score and time
@imaNNeo

Please followup this issue: #438

Don't think my issue is related to https://github.com/imaNNeo/fl_chart/issues/438 because I am looking for some support in which I can pass string in the x-axis something like this.

Don't think my issue is related to #438 because I am looking for some support in which I can pass string in the x-axis something like this.

Sorry but I couldn't understand what exactly is the issue


logrus.Flusher interface

I don't want hooks to block logging, and therefore my app. I tend to create hooks which will fire entries in go routines. In this case, if the program exits before the routine is finished, some entries are lost. I need to call a Flush func to make sure we wait until the queue is empty (ex: https://github.com/gemnasium/logrus-graylog-hook/blob/master/graylog_hook.go#L108)
That said, I wonder if we could add a logrus.Flusher interface in logrus.
If the hook implements this interface, logrus.Flush() would call hook.Flush() for each of these hooks.
This would simplify using several hooks with the same behavior. Otherwise, I'd have to call Flush() for each of them.
I'd like some feedback before working on a PR ;)

When would logrus.Flush() be called? At exit-time, or after calling hook.Fire() on each hook?

At exit-time. The goal is the put entries in channels to save logging time. Unfortunately, we need to wait these entries before exiting, hence the flush.

This might be pretty clean with alt_exit.go. There could be a default exit handler that loops through all hooks and if they implement io.Flusher, it'll call Flush() on them by default. What do you think?

I didn't know that part of logrus, thanks for pointing it out.
AFAIK, there's noio.Flusher interface :)
We have 2 choices here:

Alter the Exit function to call Flush on all hooks if implemented
Let the hooks register a Flush handler on exit

I'll have to update code in both cases :)

Yeah, what leans me towards (2) is that this issue has been open since October (sorry), and no-one else has pitched in. We can revisit this at a later time, where (1) may become desirable. You could implement (2) yourself in such a way you traverse through all the hooks and call Flush() if implemtned.

No worries. There's another issue actually: We need to make sure the Flush method is called when the program exits. Otherwise, the channel could still have entries, and they will be lost. I first thought alt_exit. We could use signal.Notify, but it won't work if the program exits by itself.
The only to achieve this is to add a defer function in the main function. That's actually what I'm already doing to flush the hooks... If you have a better idea, I'm all ears :))

Closing per the project being put into maintenance mode


[BUG] wasmCloud UI doesn't load in browser

Describe the bug
The web UI for wasmCloud doesn't load.
To Reproduce
Steps to reproduce the behavior:
0. Folowing the commands on https://wasmcloud.com/docs/installation?os=windows

Open Powershell as administrator. Run: choco install wash
Run wash new actor -t hello hello to generate a template project
change directory into '/hello'.
Run wash app deploy wadm.yaml, to deploy the app.
Navigate to localhost:8080 in your browser. It should load, displaying "Hello World" text.
In a new Powershell admin window, run wash ui --experimental. The terminal should say Washboard running on http://localhost:3030 Hit CTRL-C to stop.
Navigate to localhost:3030 in your browser. You'll receive the error message below.

Expected behavior
The web UI should load to a usable state.
Screenshots
Unexpected Application Error!
Failed to execute 'createElement' on 'Document': The tag name provided ('/assets/logo-wide-0e72ceaf.svg') is not a valid name.
Error: Failed to execute 'createElement' on 'Document': The tag name provided ('/assets/logo-wide-0e72ceaf.svg') is not a valid name.
    at UE (http://localhost:3030/assets/index-3587af0c.js:40:16783)
    at Gx (http://localhost:3030/assets/index-3587af0c.js:40:40071)
    at Wx (http://localhost:3030/assets/index-3587af0c.js:40:39824)
    at GE (http://localhost:3030/assets/index-3587af0c.js:40:39691)
    at gc (http://localhost:3030/assets/index-3587af0c.js:40:39545)
    at Fh (http://localhost:3030/assets/index-3587af0c.js:40:35913)
    at Bx (http://localhost:3030/assets/index-3587af0c.js:40:34864)
    at P (http://localhost:3030/assets/index-3587af0c.js:25:1602)
    at MessagePort.L (http://localhost:3030/assets/index-3587af0c.js:25:1973)

**Environment (please complete the following information) **

OS: Windows 11
Shell: Powershell
wasmcloud Version: 0.80.0

Additional context
N/A

Hey @jackcarey, we're working on releasing a new version of wash where the UI will be downloaded from an official release. That should be available by the end of the week. In the meantime, there are a few ways to run the UI:

check out this repo and run locally using npm: https://github.com/wasmCloud/wasmCloud/blob/main/washboard-ui/CONTRIBUTING.md#start-a-local-ui-development-server
compile wash from latest source and run wash ui, which should download the released assets
download and serve the assets yourself from https://github.com/wasmCloud/wasmCloud/releases/tag/washboard-ui-v0.1.0

@jackcarey Thank you for your patience. wash v0.23.0 has been released to chocolatey and shouldn't have this issue anymore 🙏


Add 12.18.4 base image

This PR adds a base image to support the current node LTS version 12.18.4.
https://nodejs.org/

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

@bahmutov Is there a chance that this PR will be reviewed soon?

A 12.18.4 base image is definitely needed per a NodeJS security release last month: https://nodejs.org/en/blog/vulnerability/september-2020-security-releases/

That's right, 12.18.4 was added by you in #393. 😉


fix(aws-codepipeline): update cfn example

This test is referred as example in the Cloudformation README. But the example doesn't do what it intended. Without specify the runOrder the pipelineExecuteChangeSetAction will be triggered immediately without change set being populated, which will lead to deployment failure. After adding the runOrder the 3 actions will run in order and only be deployed after manual aproval

Pull Request Checklist

[ ] Testing

Unit test added
CLI change?: coordinate update of integration tests with team
cdk-init template change?: coordinated update of integration tests with team

[X] Docs

jsdocs: All public APIs documented
README: README and/or documentation topic updated

[X] Title and Description

Change type: title prefixed with fix, feat will appear in changelog
Title: use lower-case and doesn't end with a period
Breaking?: last paragraph: "BREAKING CHANGE: <describe what changed + link for details>"
Issues: Indicate issues fixed via: "Fixes #xxx" or "Closes #xxx"

[ ] Sensitive Modules (requires 2 PR approvers)

IAM Policy Document (in @aws-cdk/aws-iam)
EC2 Security Groups and ACLs (in @aws-cdk/aws-ec2)
Grant APIs (only if not based on official documentation with a reference)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

@skinny85 can you take a look please?

Thanks for the contribution @AllanFly120 . Since this file is part of our integ tests, you also need to update its corresponding expectations file, integ.cfn-template-from-repo.lit.expected.json. You can do it by running npm run integ -- integ.cfn-template-from-repo.lit.js in the aws-codepipeline package, which will deploy, and then remove, the test Stack into your AWS account, and write out the contents of the expectation file. More info on our integ tests is here.

I updated the expected JSON file.


Fix register comparisons in QASM 3 exporter

Summary
Previously the exporter would emit code such as if(register == 3) to compare a register if given an instruction such as qc.x(0).c_if(register, 3).  This is an implicit cast of the register to an unsigned integral type, which is likely not allowed by the language.  Now, we emit an explicit cast into an unsigned type to be sure of what we meant.
Details and comments
First this adds more knowledge of classical types and proper declarations into the temporary AST we use for the exporter (again, this should be replaced in the future by the standardised Python interface maintained by the OpenQASM organisation), so that we don't introduce any coupling of the Terra -> AST and the AST -> string steps.  As a side-effect of this, it decouples some code which currently inserts raw strings into the AST, and replaces all classical declarations with the more general form.  I replaced the default float[32] for parameters with double-precision floating-point values while I was doing this decoupling, as single-precision actually just throws away some of Python's storage, and float[64] is (slightly) preferred in the OpenQASM 3 spec at the moment (in the sense that const variables are implicitly float[64]).
Most importantly, though, it just causes register comparisons to be emitted with the explicit cast in them.  Currently, we assume that the condition will certainly be an equality comparison to an integer (Terra currently enforces this).  We emit a warning if the integer literal cannot be represented by the amount of bits in the register (so the condition is guaranteed false).
Fix #7151.

Closing as not necessary right now.  The OQ 3 spec updated to allow this sort of implicit cast, and the urgency of the original tech demo request is long since expired.


issue with private=access on ferries

We got a bug report via email:

I'm curious how access=private is handled in Graphhopper because when
trying to use your engine on OpenStreetMap I was routed via a ferry
(which at that time was unspecified). However, after adding a tag saying
it is access=private I am still routed over it.
See: https://www.openstreetmap.org/directions?engine=graphhopper_bicycle&route=64.4893%2C19.3299%3B64.5037%2C19.2600#map=13/64.4941/19.2954
and the ferry way: https://www.openstreetmap.org/way/221099681

Seems to be related to #1119


Marketplace Module & Template updates

In the latest version 1.2 downloaded, the Marketplace section indicated that the Shop module needed an update, to version 0.4 which I did. However after the update it still showed as needing an update. It looks like Microweber is indicating the current module version as 0.4 but the microweber-modules/shop/config.php file still has $config['version'] = 0.3
After an update it would be great if the page could be refreshed to clear the Update button, it didn't when I updated templates.
Also in the Marketplace section, I was expecting the 'Module Updates' and 'Template Updates' tabs to filter the listing to only show the ones that need updating but instead they show the full listing.

MW 1.2.1 (dev) marketplace still shows the latest Shop module version as 0.4 but the module config.php on microweber-modules repo shows 0.3

MW 1.2.1 (dev) marketplace still shows the latest Shop module version as 0.4 but the module config.php on microweber-modules repo shows 0.3

In v1.2.2 (dev) 'Module Updates' and 'Template Updates' tabs and listings now refresh after an update.  However only when updated from the updates tab, when modules are updated from the Modules listing they still show an update available after the update!
After trying to update BxSlider and Tags modules via the listing page, the downloading of files appears to work, but those modules still show as needing an update and then would not update via the updates tab; where as other modules did update via the updates tab! So is updating via the modules listing page preventing a subsequent update via the updates listing? Is the same true for templates?
(I notice shop module is no longer listed in the Marketplace)

I think the refresh is fixed in v1.2.9


CONTRIBUTING.md's developer guide contains a build command that doesn't work

The easiest way to set this up:

Remove the local repository (%USERPROFILE%.m2)
Run the command to build and test from CONTRIBUTING.md mvn -f pom.client.xml -Dgpg.skip -DskipTests clean install
The command will fail on the verify's check goal with the following:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (default) on project azure-client-sdk-parent: Execution default of goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0 or one of its dependencies could not be resolved: Could not find artifact com.azure:sdk-build-tools:jar:1.0.0 in ossrh (https://oss.sonatype.org/content/repositories/snapshots/) -> [Help 1]
Note: This doesn't fail if we're running package instead of install.

Internally, we can run mvn install -f eng/code-quality-reports/pom.xml to install the build tools jar but it's unclear if someone external could successfully run this same command if we should recommend this at all.

@sima-zhu could you help get contributing.md back into a consistent state?  I believe devs have made updates to the java wiki, but forgot to update contributing.md as well.  If the java wiki is going to be the source of truth for the build getting started instructions then one solution is to remove the stale content from contributing.md and include a direct link to the wiki instructions.

Will work on the error in the issue and scan through whether the entire document is up to date.

Closed the issue. Fixed the command. Scanned through the doc and checked every links. They all look good.


Light mode ui

Currently in the light mode chapters bar is

ideally it should be

I am raising a pr for the same

@hkirat This issue can be closed since PR has been merged.


Request for docker arm64

I just tried to build perlite on my raspberry pi running arm64 raspiOS and it's completely compatible with it, could it be possible to have it compiled in arm64 from github/dockerhub?
Thank you for the app, looks great, just what I was looking for.

Hey @phampyk
Unfortunately I have no arm64 environment here and I also don´t want to setup an emulator and testing this. The repository also contains the Dockerfile of the perlite image, so you can try to build your own image. Let me know if you get this running then we can add this to the wiki and repo.

Yes, I am running it right now on my raspberry pi 4, built from the dockerfile, with no issues. So it's fully compatible

What are the changes you made in the docker file? Can we create a separate docker and compose file for this ? You can also create a PR if you want

I didn't do any changes, the basefiles you use are multi arch already so I only needed to build in my raspberry pi and it worked, nothing different at all.

ah ok, but then I think I can't provide a pre build arm64 image and the best way is to build it on the target environment you are using

You can build multiarch when pushing to dockerhub without having to own that environment yourself. There's one here explaining how.
That way I, and anyone who wants to use it, can pull it from dockerhub every time you update or fix bugs.
And I already tested that works on arm64 so should be easy to do.
Hope this helps! I think it would be helpful to have it multi arch so more people can benefit from perlite even if it's on a raspberry pi :)

ok thanks 👍  I will take a look at this as soon I have some time

This actually looks like it would be quite easy to setup with a github workflow, although if you are manually creating the images still not that bad

implemented from version 1.5.7, there will be also always a docker image for arm. thanks to @knorr3


Module parse failed: Unexpected token

I'm using d-forest in a javascript PowerPoint add-in with React but when i build it I've got the following error:
Module parse failed: Unexpected token (4:40)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See
https://webpack.js.org/concepts#loaders
|
| function isPlainObject(el) {

return typeof el === 'object' && el?.constructor === Object;

| }
|
seams the the syntaxt ?. is not allowed, I don't know how to fixit by adding babel loder on my webpack configuration (it is the standard generated by yo for office add in)
My you help me

Hi @roberchi I released new version (2.1.8) with temporary fix. Thank you for raising this issue.


Incorporate use of new MWDI 'device-status-metadata' service for keeping list of connected/connecting devices

MWDI will in its upcoming release v1.2.0 offer a new service /v1/provide-device-status-metadata, which provides, among other data, the exact connection status for all mount-points known to the controller (e.g. 'connected', 'connecting',...).

APTP shall make use of this service to perform a cyclic load of the the list of known mount points (with respective connection status) and store it internally

The periodical call of this service  (a callback of /v1/embed-yourself) shall replace the current calling of /v1/provide-list-of-connected-devices

For the case that the requested device is found to be in 'connecting' state,  new error code and message must be defined and added to the ApplicationPattern and to the APTP specification ( for it to be returned to APT).

Possible defintion of Error Response:
'462':
  description: 'Response in case the mountName provided in the request is in "connecting" state in the list of known devices'
  content:
    application/json:
      schema:
        type: object
        required:
          - code
          - message
        properties:
          code:
            type: integer
            minimum: 462
            maximum: 462
            format: int32
          message:
            type: string
            enum:
              - 'Connecting. Connection to the requested device has been lost or interrupted'


Unspecified node and npm versions

npm install for any of the front-end projects no longer works on current LTS versions of node and/or npm.
The book doesn't specify which version you used.
Your package.json files don't specify any engine versions either.
What do I need to get the code running?
Here's the error output from ng serve:
Compiling @angular/cdk/scrolling : es2015 as esm2015
⠸ Generating browser application bundles (phase: building)...node:internal/crypto/hash:71
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:71:19)
    at Object.createHash (node:crypto:133:10)
    at BulkUpdateDecorator.hashFactory (/home/mindplay/workspace/Reactive-Patterns-with-RxJS-for-Angular/Chapter04/recipes-book-front/node_modules/webpack/lib/util/createHash.js:145:18)
    at BulkUpdateDecorator.update (/home/mindplay/workspace/Reactive-Patterns-with-RxJS-for-Angular/Chapter04/recipes-book-front/node_modules/webpack/lib/util/createHash.js:46:50)
    at OriginalSource.updateHash (/home/mindplay/workspace/Reactive-Patterns-with-RxJS-for-Angular/Chapter04/recipes-book-front/node_modules/webpack/node_modules/webpack-sources/lib/OriginalSource.js:104:8)
    at NormalModule._initBuildHash (/home/mindplay/workspace/Reactive-Patterns-with-RxJS-for-Angular/Chapter04/recipes-book-front/node_modules/webpack/lib/NormalModule.js:868:17)
    at handleParseResult (/home/mindplay/workspace/Reactive-Patterns-with-RxJS-for-Angular/Chapter04/recipes-book-front/node_modules/webpack/lib/NormalModule.js:934:10)
    at /home/mindplay/workspace/Reactive-Patterns-with-RxJS-for-Angular/Chapter04/recipes-book-front/node_modules/webpack/lib/NormalModule.js:1026:4
    at processResult (/home/mindplay/workspace/Reactive-Patterns-with-RxJS-for-Angular/Chapter04/recipes-book-front/node_modules/webpack/lib/NormalModule.js:743:11)
    at /home/mindplay/workspace/Reactive-Patterns-with-RxJS-for-Angular/Chapter04/recipes-book-front/node_modules/webpack/lib/NormalModule.js:807:5 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v18.14.2

Installing it didn't immediately work either:
$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/rxjs
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@angular/core
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@angular/animations
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /home/mindplay/.npm/_logs/2023-02-28T14_19_12_842Z-eresolve-report.txt

npm ERR!   Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated<EMAIL_ADDRESS>flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

added 1347 packages, and audited 1348 packages in 53s

99 packages are looking for funding
  run `npm fund` for details

11 vulnerabilities (1 low, 1 moderate, 8 high, 1 critical)

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

I realize this is a pretty normal experience with any Node project that's been sitting on a shelf for 2 years (or even 6 months) and I'm fine with running older versions of Angular and other dependencies - I have nvm and I'm happy to use outdated tools while learning, but you need to tell me what to install.
I don't want to spend the first couple of days fighting to upgrade all this outdated stuff.
I'm here to learn Angular and RxJS.
Otherwise I'm considering a refund. 😕

I merged package.json from project that works for me with package.json from the Book's project.
My conf:
Angular CLI: 15.1.4
Node: 18.14.2
Package Manager: npm 9.4.1
package.json:
{
"name": "recipes-book",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test"
},
"private": true,
"dependencies": {
"@angular/animations": "~13.1.0",
"@angular/cdk": "^13.1.0",
"@angular/common": "~13.1.0",
"@angular/compiler": "~13.1.0",
"@angular/core": "~13.1.0",
"@angular/forms": "~13.1.0",
"@angular/platform-browser": "~13.1.0",
"@angular/platform-browser-dynamic": "~13.1.0",
"@angular/router": "~13.1.0",
"bootstrap": "4.6",
"font-awesome": "4.7",
"primeflex": "^3.1.3",
"primeng": "^13.1.0",
"quill": "^1.3.7",
"rxjs": "~7.5.4",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^13.3.10",
"@angular/cli": "^15.2.1",
"@angular/compiler-cli": "~13.1.0",
"@types/jasmine": "~3.10.0",
"@types/node": "^12.11.1",
"jasmine-core": "~3.10.0",
"karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.1.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "~1.7.0",
"typescript": "~4.5.2"
}
}

@everjava nice, I can confirm this works on node 18.14.2. Thanks!
Is font-awesome a required dependency?

For the record, I removed font-awesome and switched back to primeicons, which is what the book used.
I've created a PR #6 so others can get this running.
Thanks for the help! 🙏

I realized later that font-awesome shouldn't be there and I changed it to primeicons": "^6.0.1

I ran into the same issue and solved it by changing the start script in package.json to:
"start": "export NODE_OPTIONS=--openssl-legacy-provider; ng serve --proxy-config proxy.config.json"


Not sure what is happening, help?  TypeError: Cannot read property 'reset' of undefined     at Object.autoFormResetForm [as resetForm]

I get this error in the console for a simple insert form.
I have a feeling it is because of the collection hooks that I have:
ServiceProviders.after.insert(function (userId, doc) {
console.log("Updating address for inserted ServiceProvider _id=" + doc._id + ", officeaddress="+doc.officeaddress + " , location="+doc.location);
Meteor.call('UpdateAddressAndLocation', userId, doc);
});
Do you know what I am doing wrong?
Exception:
Exception in delivering result of invoking '/serviceproviders/insert': TypeError: Cannot read property 'reset' of undefined
at Object.autoFormResetForm as resetForm

Also, note: the insert actually works, its just that I am getting this error in the client.

If you are still getting this with latest autoform release, please link to a simple reproduction app.

For what it's worth, I was experiencing the same (or a very similar) error today and found - by chance - that removing the id attributes from both my reset and submit buttons solved the issue.


fix: fixed bugs within address_syscall in ollama.py

The following caused the ollama local mode to fail during a normal demo_agent invocation (i.e. the example call).

The assert (requiring the name "ollama" within the model_name is unnecessary and actually prevents normal operation). For example using phi3.5:latest in ollama neither has the name ollama in it nor needs that name. Rather than removing it, I've commented it out allowing me to use the phi3.5:latest model.

rather than using the chat_result from line 59, it was using an undefined variable 'response' in two places causing an exception. I have replaced this with chat_result and subsequent test runs shows it to operate as expected.

Oh do you run ollama models by passing ollama/llama3:8b or just passing the llama3:8b?

Yes. I just pass the name of the model.

Got it! Could you upload your screenshots of executing ollama models here? Will merge it once confirmed. Thx!

Sure - here you go:


Getting Started - Unneccessary step to replace default values

Contributions

[X] I have read the contribution docs, and understand what's expected of me.

What page(s) or areas on docs.getdbt.com are affected?
https://docs.getdbt.com/guides/getting-started/learning-more/getting-started-dbt-core
Step 6

What changes are you suggesting?
The step outlines changing default values, however these are already in place in my project file

I assume Step 6 can be removed
Additional information
This is my first time using dbt (hence the guide!) but seems to be outdated

Closing this issue as we've refreshed this guide! Please open a new issue if you see any other problems! 🙇🏻♀


Configuring and running the tests suite

Hi all,
I would like to know how to configure and run the tests suite of Propel. I have specified all my db identifiers in build.properties and runtime-conf.xml files in tests/Fixtures.
But when I prepare the tests suite with the reset_tests exectable file, I got the following error:
Execution of target "check-buildprops-for-propel-gen" failed for the following reason: /Users/Hugo/Development/Propel2/tools/generator/build.xml:95:15: No project directory specified.

BUILD FAILED
/Users/Hugo/Development/Propel2/tools/generator/build.xml:95:15: No project directory specified.
Total time: 0.1338 seconds

I suppose I need to change something in tools/generator directory but what???
Any clue to help me configure the tests suite please?
Thanks.

Wow! Is this for bookstore ?
Try the following commands:
cd tests/Fixtures/bookstore
../../../tools/generator/bin/propel-gen main

And paste the output :)
Le 21 nov. 2011 à 06:54, Hugo<EMAIL_ADDRESS>a écrit :

Hi all,
I would like to know how to configure and run the tests suite of Propel. I have specified all my db identifiers in build.properties and runtime-conf.xml files in tests/Fixtures.
But when I prepare the tests suite with the reset_tests exectable file, I got the following error:
Execution of target "check-buildprops-for-propel-gen" failed for the following reason: /Users/Hugo/Development/Propel2/tools/generator/build.xml:95:15: No project directory specified.
BUILD FAILED
/Users/Hugo/Development/Propel2/tools/generator/build.xml:95:15: No project directory specified.
Total time: 0.1338 seconds
I suppose I need to change something in tools/generator directory but what???
Any clue to help me configure the tests suite please?
Thanks.

Reply to this email directly or view it on GitHub:
https://github.com/propelorm/Propel2/issues/60

Whit this command ?
$ phing ../../../tools/generator/bin/propel-gen main

There it is...
Hugo:Fixtures Hugo$ ../../tools/generator/bin/propel-gen main
Buildfile: /Users/Hugo/Development/Propel2/tools/generator/build.xml
[resolvepath] Resolved /Users/Hugo/Development/Propel2/tests/Fixtures to /Users/Hugo/Development/Propel2/tests/Fixtures

propel-project-builder > check-project-or-dir-set:

propel-project-builder > check-project-set:

propel-project-builder > set-project-dir:

propel-project-builder > check-buildprops-exists:

propel-project-builder > check-buildprops-for-propel-gen:

     [echo] ==========================================================
     [echo]                    Welcome to Propel!
     [echo]
     [echo] The propel-gen script requires a build.properties file
     [echo] to run. Either you didn't create one already, or this file
     [echo] is not where the propel-gen script is looking for it.
     [echo]
     [echo] Expected build.properties file location is:
     [echo]   /Users/Hugo/Development/Propel2/tests/Fixturesbuild.properties
     [echo]
     [echo] The propel-gen script expects the name of a task to execute:
     [echo]
     [echo] $> propel-gen [taskname]
     [echo]
     [echo] If you call the script from another directory than the one where
     [echo] where the build.properties file is, set the path to this
     [echo] file as first argument of the script:
     [echo]
     [echo] $> propel-gen /path/to/projectdir [taskname]
     [echo]
     [echo] Available tasknames are:
     [echo]   om
     [echo]   convert-conf
     [echo]   sql
     [echo]   insert-sql
     [echo]   diff
     [echo]   status
     [echo]   migrate
     [echo]   up
     [echo]   down
     [echo]   reverse
     [echo]   ... and a few others.
     [echo] But you should start by creating a schema.
     [echo] ==========================================================
Execution of target "check-buildprops-for-propel-gen" failed for the following reason: /Users/Hugo/Development/Propel2/tools/generator/build.xml:95:15: No project directory specified.

BUILD FAILED
/Users/Hugo/Development/Propel2/tools/generator/build.xml:95:15: No project directory specified.
Total time: 0.1456 seconds

Are you in the bookstore directory ? It seems there is no build.properties ?
Le 21 nov. 2011 à 07:52, Hugo<EMAIL_ADDRESS>a écrit :

There it is...
Hugo:Fixtures Hugo$ ../../tools/generator/bin/propel-gen main
Buildfile: /Users/Hugo/Development/Propel2/tools/generator/build.xml
[resolvepath] Resolved /Users/Hugo/Development/Propel2/tests/Fixtures to /Users/Hugo/Development/Propel2/tests/Fixtures
propel-project-builder > check-project-or-dir-set:
propel-project-builder > check-project-set:
propel-project-builder > set-project-dir:
propel-project-builder > check-buildprops-exists:
propel-project-builder > check-buildprops-for-propel-gen:
    [echo] ==========================================================
    [echo]                    Welcome to Propel!
    [echo]
    [echo] The propel-gen script requires a build.properties file
    [echo] to run. Either you didn't create one already, or this file
    [echo] is not where the propel-gen script is looking for it.
    [echo]
    [echo] Expected build.properties file location is:
    [echo]   /Users/Hugo/Development/Propel2/tests/Fixturesbuild.properties
    [echo]
    [echo] The propel-gen script expects the name of a task to execute:
    [echo]
    [echo] $> propel-gen [taskname]
    [echo]
    [echo] If you call the script from another directory than the one where
    [echo] where the build.properties file is, set the path to this
    [echo] file as first argument of the script:
    [echo]
    [echo] $> propel-gen /path/to/projectdir [taskname]
    [echo]
    [echo] Available tasknames are:
    [echo]   om
    [echo]   convert-conf
    [echo]   sql
    [echo]   insert-sql
    [echo]   diff
    [echo]   status
    [echo]   migrate
    [echo]   up
    [echo]   down
    [echo]   reverse
    [echo]   ... and a few others.
    [echo] But you should start by creating a schema.
    [echo] ==========================================================

Execution of target "check-buildprops-for-propel-gen" failed for the following reason: /Users/Hugo/Development/Propel2/tools/generator/build.xml:95:15: No project directory specified.
BUILD FAILED
/Users/Hugo/Development/Propel2/tools/generator/build.xml:95:15: No project directory specified.
Total time: 0.1456 seconds

Reply to this email directly or view it on GitHub:
https://github.com/propelorm/Propel2/issues/60#issuecomment-2811901

Oops sorry, I wasn't in the bookstore directory. Everything goes fine when I run the command from the bookstore directory.

But the test script fails, right ? I guess some fails are 'normal'..
Le 21 nov. 2011 à 08:16, Hugo<EMAIL_ADDRESS>a écrit :

Oops sorry, I wasn't in the bookstore directory. Everything goes fine when I run the command from the bookstore directory.

Reply to this email directly or view it on GitHub:
https://github.com/propelorm/Propel2/issues/60#issuecomment-2812131

When I run the ./tests/reset_tests from the root of the repository, the build fails and I have the error:
Execution of target "check-buildprops-for-propel-gen" failed for the following reason: /Users/Hugo/Development/Propel2/tools/generator/build.xml:95:15: No project directory specified.

BUILD FAILED
/Users/Hugo/Development/Propel2/tools/generator/build.xml:95:15: No project directory specified.
Total time: 0.1373 seconds

Looks like the build for the bookstore is fine, this is for the other projects that fails.

At this end ? Or for the last project ?
This script repeats a command in all directories in tests/Fixtures.
Le 21 nov. 2011 à 08:22, Hugo<EMAIL_ADDRESS>a écrit :

When I run the ./tests/reset_tests from the root of the repository, the build fails and I have the error:
Execution of target "check-buildprops-for-propel-gen" failed for the following reason: /Users/Hugo/Development/Propel2/tools/generator/build.xml:95:15: No project directory specified.
BUILD FAILED
/Users/Hugo/Development/Propel2/tools/generator/build.xml:95:15: No project directory specified.
Total time: 0.1373 seconds

Reply to this email directly or view it on GitHub:
https://github.com/propelorm/Propel2/issues/60#issuecomment-2812168

So there is no problem :)
Yeah, I know..
Envoyé de mon iPhone
Le 21 nov. 2011 à 08:26, Hugo<EMAIL_ADDRESS>a écrit :

Looks like the build for the bookstore is fine, this is for the other projects that fails.

Reply to this email directly or view it on GitHub:
https://github.com/propelorm/Propel2/issues/60#issuecomment-2812194

This should be on the todo list, cleanup reset_test ;) and made configuration for testsuit easier

I'm on! I worked on a new shell script...
Envoyé de mon iPhone
Le 21 nov. 2011 à 09:27, Jérémie<EMAIL_ADDRESS>a écrit :

This should be on the todo list, cleanup reset_test ;) and made configuration for testsuit easier

Reply to this email directly or view it on GitHub:
https://github.com/propelorm/Propel2/issues/60#issuecomment-2812531

So what would be the expected result? Do we only need the bookstore or the other projects for the tests suite?

I think everything is ok if the bookstore works. Try to run phpunit.
Le 21 nov. 2011 à 09:36, Hugo<EMAIL_ADDRESS>a écrit :

So what would be the expected result? Do we only need the bookstore or the other projects for the tests suite?

Reply to this email directly or view it on GitHub:
https://github.com/propelorm/Propel2/issues/60#issuecomment-2812622

Ok so the tests suite runs but breaks in the middle...
    PHPUnit 3.6.3 by Sebastian Bergmann.

Configuration read from /Users/Hugo/Development/Propel2/phpunit.xml.dist

...........................E.................................   61 / 2305 (  2%)
.............................................................  122 / 2305 (  5%)
..........................................S..................  183 / 2305 (  7%)
.............................................................  244 / 2305 ( 10%)
.............................................................  305 / 2305 ( 13%)
.........S...S...............................................  366 / 2305 ( 15%)
.............................................................  427 / 2305 ( 18%)
.............................................................  488 / 2305 ( 21%)
.............................................................  549 / 2305 ( 23%)
.............................................................  610 / 2305 ( 26%)
.............................................................  671 / 2305 ( 29%)
.............................................................  732 / 2305 ( 31%)
.............................................................  793 / 2305 ( 34%)
.............................................................  854 / 2305 ( 37%)
.............................................................  915 / 2305 ( 39%)
.............................................................  976 / 2305 ( 42%)
............................................................. 1037 / 2305 ( 44%)
............................................................. 1098 / 2305 ( 47%)
............................................................. 1159 / 2305 ( 50%)
............................................................. 1220 / 2305 ( 52%)
............................................................. 1281 / 2305 ( 55%)
......................................F...................... 1342 / 2305 ( 58%)
....................................S..EEEE......F........... 1403 / 2305 ( 60%)
............................................................. 1464 / 2305 ( 63%)
............................................................. 1525 / 2305 ( 66%)
............................................................. 1586 / 2305 ( 68%)
............................................................. 1647 / 2305 ( 71%)
............................................................. 1708 / 2305 ( 74%)
............................................................. 1769 / 2305 ( 76%)
............................................................. 1830 / 2305 ( 79%)
............................................................. 1891 / 2305 ( 82%)
............................................................. 1952 / 2305 ( 84%)
............................................................. 2013 / 2305 ( 87%)
............................................................. 2074 / 2305 ( 89%)
............................................................. 2135 / 2305 ( 92%)
............................................................. 2196 / 2305 ( 95%)
......................................S...SSSSS.............. 2257 / 2305 ( 97%)
..............................................SS

Time: 38 seconds, Memory: 250.75Mb

There were 5 errors:

1) Propel\Tests\Generator\Behavior\AggregateColumn\AggregateColumnBehaviorWithSchemaTest::testComputeWithSchema
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'contest.bookstore_contest_entry' doesn't exist

/Users/Hugo/Development/Propel2/src/Propel/Runtime/Connection/StatementWrapper.php:66
/Users/Hugo/Development/Propel2/src/Propel/Runtime/Connection/ConnectionWrapper.php:403
/Users/Hugo/Development/Propel2/src/Propel/Runtime/Query/ModelCriteria.php:1319
/Users/Hugo/Development/Propel2/src/Propel/Runtime/Query/ModelCriteria.php:1173
/Users/Hugo/Development/Propel2/tests/Fixtures/schemas/build/classes/Propel/Tests/BookstoreSchemas/Om/BaseBookstoreContestEntryQuery.php:703
/Users/Hugo/Development/Propel2/tests/Fixtures/schemas/build/classes/Propel/Tests/BookstoreSchemas/Om/BaseBookstoreContestEntryQuery.php:636
/Users/Hugo/Development/Propel2/src/Propel/Runtime/Query/ModelCriteria.php:1612
/Users/Hugo/Development/Propel2/tests/Propel/Tests/Generator/Behavior/AggregateColumn/AggregateColumnBehaviorWithSchemaTest.php:55

2) Propel\Tests\Runtime\Adapter\Pdo\OracleAdapterTest::testApplyLimitSimple
Declaration of Propel\Runtime\Adapter\Pdo\OracleAdapter::initConnection() should be compatible with that of Propel\Runtime\Adapter\Pdo\PdoAdapter::initConnection()

/Users/Hugo/Development/Propel2/src/Propel/Runtime/Adapter/Pdo/OracleAdapter.php:35
/Users/Hugo/Development/Propel2/vendor/Symfony/Component/ClassLoader/UniversalClassLoader.php:229
/Users/Hugo/Development/Propel2/tests/Propel/Tests/Runtime/Adapter/Pdo/OracleAdapterTest.php:33

3) Propel\Tests\Runtime\Adapter\Pdo\OracleAdapterTest::testApplyLimitDuplicateColumnName
Argument 2 passed to Propel\Runtime\ServiceContainer\StandardServiceContainer::setAdapter() must implement interface Propel\Runtime\Adapter\AdapterInterface, instance of Propel\Runtime\Adapter\Pdo\OracleAdapter given, called in /Users/Hugo/Development/Propel2/tests/Propel/Tests/Runtime/Adapter/Pdo/OracleAdapterTest.php on line 45 and defined

/Users/Hugo/Development/Propel2/src/Propel/Runtime/ServiceContainer/StandardServiceContainer.php:142
/Users/Hugo/Development/Propel2/tests/Propel/Tests/Runtime/Adapter/Pdo/OracleAdapterTest.php:45

4) Propel\Tests\Runtime\Adapter\Pdo\OracleAdapterTest::testApplyLimitDuplicateColumnNameWithColumn
Argument 2 passed to Propel\Runtime\ServiceContainer\StandardServiceContainer::setAdapter() must implement interface Propel\Runtime\Adapter\AdapterInterface, instance of Propel\Runtime\Adapter\Pdo\OracleAdapter given, called in /Users/Hugo/Development/Propel2/tests/Propel/Tests/Runtime/Adapter/Pdo/OracleAdapterTest.php on line 58 and defined

/Users/Hugo/Development/Propel2/src/Propel/Runtime/ServiceContainer/StandardServiceContainer.php:142
/Users/Hugo/Development/Propel2/tests/Propel/Tests/Runtime/Adapter/Pdo/OracleAdapterTest.php:58

5) Propel\Tests\Runtime\Adapter\Pdo\OracleAdapterTest::testCreateSelectSqlPart
Argument 2 passed to Propel\Runtime\ServiceContainer\StandardServiceContainer::setAdapter() must implement interface Propel\Runtime\Adapter\AdapterInterface, instance of Propel\Runtime\Adapter\Pdo\OracleAdapter given, called in /Users/Hugo/Development/Propel2/tests/Propel/Tests/Runtime/Adapter/Pdo/OracleAdapterTest.php on line 74 and defined

/Users/Hugo/Development/Propel2/src/Propel/Runtime/ServiceContainer/StandardServiceContainer.php:142
/Users/Hugo/Development/Propel2/tests/Propel/Tests/Runtime/Adapter/Pdo/OracleAdapterTest.php:74

--

There were 2 failures:

1) Propel\Tests\Generator\Reverse\MysqlSchemaParserTest::testParse
One table and one view defined should return one as we exclude views
Failed asserting that 0 matches expected 1.

/Users/Hugo/Development/Propel2/tests/Propel/Tests/Generator/Reverse/MysqlSchemaParserTest.php:57

2) Propel\Tests\Runtime\Collection\ArrayCollectionTest::testToArray
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     'Id' => 450
     'Title' => 'Harry Potter and the Order of...hoenix'
     'ISBN' => '043935806X'
-    'Price' => 10.99
+    'Price' => 10.989999771118
     'PublisherId' => 338
     'AuthorId' => 357
 )

/Users/Hugo/Development/Propel2/tests/Propel/Tests/Runtime/Collection/ArrayCollectionTest.php:150

FAILURES!
Tests: 2305, Assertions: 5476, Failures: 2, Errors: 5, Skipped: 12.

Seems to be better ;)

I still have 3/4 tests that don't pass but no more major errors.

En fait non, je fais comment pour builder maintenant ?

Look at ci.propelorm.org and compare results.
<EMAIL_ADDRESS>a écrit :

I still have 3/4 tests that don't pass but no more major errors.

Reply to this email directly or view it on GitHub:
https://github.com/propelorm/Propel2/issues/60#issuecomment-2817373

502 Bad Gateway
nginx


Issue 1 - improve logging around missing/empty config files

That was quick, thank you! I am happy with the change


Add Arduino-based SNES to USB gamepad by UltimateMister.

Added support for Arduino Leonardo based SNES to USB adapter by UltimateMister (https://ultimatemister.com/product/ultimate-deamon-x3-player-snes-sfc) which is designed for the MiSTer FPGA platform but works perfectly fine on GNU/Linux and other OSes.

The Leonardo is an extremely common microcontroller and prescribing a mapping to it without an explicitly reassigned vendor and product ID would harm more than help


Packaging for rancher-metadata

This needs the v0.1.0 release of rancher-metadata which I can do once @vincent99 adds by name support.
@alena1108

@sonchang


在对视频进行向量化时如何对多个视频同时进行处理？

Is there an existing issue for this?

[X] I have searched the existing issues

What would you like to be added?
towhee团队你们好。经过测试，如果一条一条视频进行处理，使用cpu的效率和使用gpu的效率差不多，甚至cpu略快于gpu。假设我现在有数十万条视频数据，我该如何对数据进行批处理呢？如果一条条进行处理不仅费时还无法利用gpu的性能。
Why is this needed?
No response
Anything else?
No response

hi @Terran0629 , the performance bottleneck of video processing is video decoding. https://towhee.io/video-decode/VPF, this decoding operator uses GPU to accelerate video decoding.  You can also process multiple videos at once through the batch interface

您好，有没有具体的例子可以提供一下呢


Counter in objective function

I'm trying to implement a loss function with a temperature parameter that changes over time, eg
def my_loss(y_true, y_pred):
  a =  K.mean(K.abs(y_pred - y_true), axis=-1) * temp
  b =  K.mean(K.square(y_pred - y_true), axis=-1) * (1 - temp)
  return a + b

but I can't figure out how to get temp to change inside the function.  This does not work (presumably because non-Theano variables get fixed at compile time -- but I'm a Theano novice so that's as far as I can reason)
def temp():
  global temp_
  temp_ -= 0.1
  return temp_

def my_loss(y_true, y_pred):
  a =  K.mean(K.abs(y_pred - y_true), axis=-1) * temp()
  b =  K.mean(K.square(y_pred - y_true), axis=-1) * (1 - temp())
  return a + b

Any help would be much appreciated.
EDIT : Also, if this is the wrong way/place to try to set this kind of temperature parameter, I'm open to other suggestions.

Writing the post helped me get it. For anyone who is interested:
import numpy as np
from pprint import pprint
from keras.models import Sequential
from keras.layers.core import Dense
from keras import backend as K

from theano import shared, function
from theano.tensor.shared_randomstreams import RandomStreams

# Fake data
X = np.random.uniform(0, 1, (1000, 10))
y = np.random.choice((0, 1), 1000)

# Define loss
temp = shared(1.)
def my_loss(y_true, y_pred):
  a =  K.mean(K.abs(y_pred - y_true), axis=-1) * temp
  b =  K.mean(K.square(y_pred - y_true), axis=-1) * (1 - temp)
  return (a * 0) + (b*0) + temp

# Define model
model = Sequential()
model.add(Dense(10, input_dim=10, trainable=False))
model.add(Dense(1, activation='sigmoid', trainable=False))
model.compile(optimizer='rmsprop', loss=my_loss)

# Train while decreasing temperature
while temp.get_value() >= 0:
  fitist = model.fit(X, y, nb_epoch=1)
  temp.set_value((temp.get_value() - 0.1))


minor additions

Coverage remained the same at 43.247% when pulling 2db0214386cb522ff1e238c02b8a1917ea98abf1 on gabrielburnworth:master into 1c14c4958fc22bb45126094e9ba423d10a709947 on FarmBot:master.


test: simulate SQL-backend meta store

As we are migrating meta store backend from ETCD to SQL #12449, deterministic test should also be adapted.
There are 2 possible solutions for this task:

We may use temporary-file-based sqlite backend in the simulation. If we are lucky, there will be no need to hack any code.
If the above method doesn't work, or there are still uncertainties inside, we have to patch the sqlx crate or mock a backend using in-memory sqlite, like we did for etcd-client before.

Basically done but there is one remaining issue: https://github.com/madsim-rs/madsim/issues/228


Update astropy-helpers to v2.0.2

This is an automated update of the astropy-helpers submodule to v2.0.2. This includes both the update of the astropy-helpers sub-module, and the ah_bootstrap.py file, if needed.
This is intended to be helpful, but if you would prefer to manage these updates yourself, or if you notice any issues with this automated update, please let @bsipocz or @astrofrog know!

Coverage remained the same at 63.504% when pulling f6f48a3392ba32f530133f8ae5cd09d497282bd0 on bsipocz:update-helpers-v2.0.2 into 7bde9dd1561c5b1a47b989a3a57232b6f15f7754 on astropy:master.

Looks good to me, merging.
@bsipocz or @astrofrog  - One suggestion: can you add a link to https://github.com/astropy/astropy-helpers/blob/master/CHANGES.rst in the message from the bot for future astropy-helpers updates? Many maintainers will want to skim the changes before merging the update in, no?

@cdeil - Good idea, thanks!


propagator not mentioned or used

The propagator package correctly implements a necessary component in hooking user spans into GCP-generated traces. However, it is not mentioned in the README and not used in the examples. In fact, no code in the repo refers to it.
Please modify both the README and the example to use it.

On a related note, maybe the recommended sampler should be different. https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/blob/main/example/trace/http/server/server.go#L45 mentions a ProbabilitySampler, but that doesn't actually exist (at least as of go.opentelemetry.io/otel/sdk/trace v1.3.0). It seems to be replaced by TraceIDRatioBased. But also, if you want your spans to be children of the incoming one, then you probably want to sample iff the parent is sampled. So I would suggest
sdktrace.WithSampler(sdktrace.ParentBased(sdktrace.TraceIDRatioBased(SOME_FRACTION))

which will use the parent, and fall back to a fraction of traces if there is no parent.

There's actually an issue we've been trying to decide on the right way to solve, which has lead to us not advertising this propagator.
Specifically, the "sampled" flag in X-Cloud-Trace-Context has different meaning from w3c trace context.
Specifically:

w3c trace context sampled flag means "mean have recorded trace data", and allows flexible downstream sampling
x-cloud-trace context sampled flag means "force collect trace data" or "do not sample"

In practice, we've found that for some customers just attaching traceparent <-> x-cloud-trace-context leads to oversampling, which is why we don't advertise it right now.
A few notes from your comments:

TraceIdRatioBased is a probability sampler that assumes randomness in your trace_id.  OTel is looking to modify the w3c spec to require randomness for this to work w/ non-otel trace_ids.
If we have OpenTelemetry only attach to w3c-trace-context incoming spans (and not set x-cloud-trace-context for downstream GCP services), then we shouldn't see the oversampling issue.
If you only use OTel's parent-based + trace-id-ratio based samplers you likely won't see the issue (although I need to go verify a few assumptions there).

@punya sure!
So here are couple of topics mentioned above:

Refer XCTC in README (update README)
Mapping of traceSampled flag between XCTC and W3C.

For 1, I can take it with the warnings that XCTC's flag is not 100% compat with W3C. If the action include 2., I would like to have a consensus on how we should map the flags between headers.

I'd suggest that the actual action item we should take (in the near term) is the following:

Document how to use XCTC propagator in the README with the following changes:

It will only attach to parent XCTC spans, but will not synthesize/send new XCTC for downstream requests (i.e. it reads, but doesn't write)
We're "ok" for the minor discrepency in the flag if we use the above scenario.

We'll likely need to create some kind of "vendor extension" for w3c tracestate that allows us to communicate meaning from XCTC properly if we want.   That's in our longer term path, as we should coordinate with how GCP creates traces + XCTC headers.

Is anyone actively working on this, and/or would you mind if I picked it up?
I'm happy to turn the existing propagator package into a one-way XCTC->traceparent. This would let OTel users have the same Trace ID as GCP, and make traces more valuable for interactions with GCP support.
Regarding the traceSampled flag discrepancy, I think a README paragraph offering the strategy @jsuereth mentioned to avoid the oversampling is the right short-term action. Users already control sampling on their own, and it never hurts to offer a recommended strategy, IMO.

Thanks @muncus.  We can go ahead with the addition of the one-way propagator.  Let's make sure we don't break the current propagator package's public API, though.
As for documentation, we should:

Document the discrepancy between the two definitions of sampled in XCTC vs w3c
Recommend using the one-way over the two-way propagator, and make sure it is set first (?) in the composite propagator list in examples to ensure the W3C context takes precedence, if it exists.
Document the resulting difference in behavior when using one-way vs two way


Add desktop shortcut in Windows

Is there a way to have electron-forge add a Windows desktop shortcut when the user installs the app?

This is handled via a separate module, please see the documentation in electron/windows-installer's README.

Thank you, this is exactly what I needed. It works perfectly.

The name of the shortcut defaults to Electron is there a way to change it?

@Armageddonas check out the issue tracker for electron-squirrel-startup, that should be more helpful.

@Armageddonas You need to configure the win32Metadata options of packagerConfig to change the details the shortcut uses 👍

MarshallOfSound I have added the metadata to the packagerConfig section and it's still showing 'Electron' for the shortcut name. I might be using the incorrect fields. Could you check over my config section and see if i'm doing it right? I also have the "name" and "productName" at the top of the package.json file.
"config": {
    "forge": {
      "make_targets": {
        "win32": [
          "squirrel"
        ],
        "darwin": [
          "zip"
        ],
        "linux": [
          "deb"
        ]
      },
      "electronPackagerConfig": {
        "packageName": "MyApp",
        "name": "MyApp",
        "productName": "MyApp"
      },
      "electronWinstallerConfig": {
         "packageName": "MyApp",
        "name": "MyApp",
        "productName": "MyApp"
      },
      "electronInstallerDebian": {},
      "electronInstallerRedhat": {},
      "github_repository": {
        "owner": ""
      },
      "windowsStoreConfig": {
        "packageName": "MyApp",
        "name": "MyApp",
        "productName": "MyApp"
      }
    }
  },

Here is the Squirrel setup log showing it's creating the shortcut but doesn't change the name.
SquirrelSetup.log
2017-02-07 09:44:25> Program: Starting Squirrel Updater: --createShortcut=MyApp.exe
2017-02-07 09:44:25> ApplyReleasesImpl: About to create shortcuts for MyApp.exe, rootAppDir D:\Users\parkour86\AppData\Local\MyApp
2017-02-07 09:44:25> ApplyReleasesImpl: Creating shortcut for MyApp.exe => D:\Users\parkour86\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\GitHub, Inc.\Electron.lnk
2017-02-07 09:44:25> ApplyReleasesImpl: About to save shortcut: D:\Users\parkour86\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\GitHub, Inc.\Electron.lnk (target D:\Users\parkour86\AppData\Local\MyApp\MyApp.exe, workingDir D:\Users\parkour86\AppData\Local\MyApp\app-0.0.3, args , toastActivatorCSLID c2b9ff11-e8c9-57ce-9b4d-d4793aaffa03)
2017-02-07 09:44:25> ApplyReleasesImpl: Creating shortcut for MyApp.exe => D:\Users\parkour86\Desktop\Electron.lnk
2017-02-07 09:44:25> ApplyReleasesImpl: About to save shortcut: D:\Users\parkour86\Desktop\Electron.lnk (target D:\Users\parkour86\AppData\Local\MyApp\MyApp.exe, workingDir D:\Users\parkour86\AppData\Local\MyApp\app-0.0.3, args , toastActivatorCSLID c2b9ff11-e8c9-57ce-9b4d-d4793aaffa03)
2017-02-07 09:44:25> ApplyReleasesImpl: Examining Pin: Sublime Text 3.lnk

@parkour86 when @MarshallOfSound mentioned win32metadata, he meant the parameter in Electron Packager.

@MarshallOfSound  @malept Thank you both for your answers i am glad. The following configuration worked
      "electronPackagerConfig": {
        "version-string":{
          "ProductName": "MG Downloader",
          "CompanyName": "mgd"
        }
      }

Productname defines the name of the shortcut, not sure if the companyName is needed. version-string works but it is deprecated, i don't remember if i tried with win32metadata.

@Armageddonas version-string is now named win32metadata.

Your awesome @Armageddonas. It worked. For anyone else having this issue the variables are case sensitive. I tried it lowercase and it didn't work.
Feel free to resolve this issue as everything seems to be working nicely.

Using this (with win32metadata), I'm able to get Windows shortcuts but have two issues that I'm wondering if anybody can help me with. The packaged version of the app has a custom icon, but when I use make and then run the installer, it loses the icon. This causes the short cut not to have an icon either. Also, the start menu shortcut ends up in the GitHub folder for some reason...

Also don't forgot to pass FileDescription, otherwise the value will defaults to "Electron"
"electronPackagerConfig": {
"version-string":{
"FileDescription": "MG Downloader",
"ProductName": "MG Downloader",
"CompanyName": "mgd"
}
}

@thecuriousdev version-string has been removed in Forge v4, and also win32metadata.FileDescription defaults to the app name, see the corresponding changes in Electron Packager for details.


Support Testing of  Non-Modular JS Code

🚀 Feature Proposal
As a developer of a static server-rendered web site, I want to be able to test my JS code with Jest.
Motivation
I love Jest and I use it at work for testing Angular code in SPAs. In my private life, I run my own blogging software based on Python/Django that ships static JS files that contain classes code that I want to test.
Example
Let's say I have:
./app/static/stuff.js

which contains some old style classes like this:
function Stuff() {
  this.do = function() {return 42};
}

Now, I want to test that code there without copying files and without having test files in the same directory and without the need to run that in the browser. So I created an npm module and added jest.
Now I added a test file
./__test__/stuff.test.js

with the following content
require('../app/static/stuff.js');

describe('Stuff', () => {
  if('should do stuff', () => {
    const stuff = new Stuff();
    expect(stuff.do()).toEqual(42);
  }
}

This does not work, because stuff.js is not a node module. So what I did to get this running in the browser (prod code) and tests itself is the following, which is quite hacky IMO but works:
function Stuff() {
  this.do = function() {return 42};
}

/* Hack to test this code, global is not available in the browser */
if (typeof global !== 'undefined') {
    global.Stuff = Stuff;
}

Now, I would like to have a more clean way to do this without the hack. Since the hack is just 2.5 lines, I would guess it should be fairly easy for Jest to support this. But maybe I miss some complexity there :)
Pitch
I think this would allow the usage of Jest in more use cases than it currently supports with maybe relative low effort.

Currently a custom transformer to add module.exports + your file content, similar to this https://jestjs.io/docs/next/code-transformation#writing-custom-transformers would work for your case.
Since require default behavior in Node requiring the file to be a Node module to be valid, I don’t think Jest should change that default behavior.
Maybe ESM can also give what you need?

So, basically, I don’t specifically need require. I need something to bring a JS file in the workspace into test scope. If there is an easier way, I’m happy to use that!

To define something for test scope, you can use https://jestjs.io/docs/next/configuration#setupfiles-array . I use this for some global stuffs which I want them to be available in test scope.

Put this

function Stuff() {
  this.do = function() {return 42};
}

/* Hack to test this code, global is not available in the browser */
if (typeof global !== 'undefined') {
    global.Stuff = Stuff;
}

to your setup files. In my project, I do this global[ '$' ] = require('jquery'); which allows me to use $ sign in test file.

Ok, I get what you mean, but Stuff ist my example for prod code. So I obviously don’t want to copy all my prod code into the setup file. I want to include it similar to what C++ includes do.

Another option is creating a file which reexports your prod code as nodejs module.

@ahnpnl Since require('my-prod-code') does not return anything (see my Stuff example above) you cannot assigned it to global['test'] and then do new test.Stuff().  It will result in
TypeError: Stuff is not a constructor

Regarding the code transformers. That would require to first know about what should be exported, as in which class or constant. Not sure if this is easily possible.
So I'm still stuck with my hack or Jest probably supporting that.

Could you put together a minimal repo with a simple version of your setup? I.e. a test file and a "production" app you want to test, showing how your workaround helps you achieve that. I'm having some trouble understanding what you want to do 🙂

#11295 is talking about similar thing

Hi, I’m still interested in that feature. 😉 @SimenB you asked for the example repo, any feedback from your side, yet?


Wrong instructions in the article Tutorial: Create an application gateway with path-based routing rules using the Azure portal

In the Tutorial: Create an application gateway with path-based routing rules using the Azure portal article, inside the Create virtual machines section, Install IIS subsection, step 3 the instructions read:

Create two more virtual machines and install IIS using the steps that you just finished.

The two more virtual machines were created when performing step 11 from the Create virtual machines top section, where the instructions read:

Create two more virtual machines, myVM2 and myVM3 and place them in the MyVNet virtual network and the myBackendSubnet subnet.

In Install IIS step 3 the text should instruct to run the same command from step 2, but with myVM2 and myVM3 as the VMName param. Otherwise, step 11 from the Create virtual machines top section should be removed. and the Install IIS step 3 should instruct to repeat all the above steps (the 10 steps from Create virtual machines and the 2 steps from Install IIS).

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

ID: 7c5c94a5-2548-b3a2-3a43-d52bc0892227
Version Independent ID: 01e9c2bc-3265-447c-5d0f-488039c60e87
Content: Tutorial: URL path-based routing rules using portal - Azure Application Gateway
Content Source: articles/application-gateway/create-url-route-portal.md
Service: application-gateway
GitHub Login: @vhorne
Microsoft Alias: victorh

@cox-antohi Thank you for bringing this to our attention. The Networking team is investigating this issue and will engage the content team or have updates published as appropriate.

@cox-antohi , Appreciate your feedback. The doc has been edited accordingly and it would take some time for the changes to get reflect over the doc.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Pmdarima can't be installed via conda alongside sktime

Currently pmdarima and sktime are incompatible when installing through conda. Therefore pmdarima can't be included in the feedstock as it will fail to install all dependencies due to conflicts.
This issue tracks that conflict.

Yep. Thanks for filing. Tracks known limitation. Hopefully the community can resolve this. Let's check back on this soon.

May be fixed. Marking as tech debt.
https://github.com/alkaline-ml/pmdarima/issues/429
Closing criteria is to add pmdarima to our feedstock recipe?


Move qsiprep's docker url to pennlinc?

definitely! I have put in the wrong docker address numerous times since we moved qsirecon to pennlinc

I'm not sure that was ready to close. I just opened #869, but I'm betting it will fail because qsiprep_build is on pennbbl.

wrong button :facepalm:


Better vessel warp

Improvements

Relative spawning when warping with vessel just like vanilla
No more wake up effects for vessel warping

Bug fixes

Fixed nomai lamps on custom vessel looking like they are off
Fixed broken black and white holes on custom vessel
Fixed vessel coordinate orb not unlocking on start

https://github.com/Outer-Wilds-New-Horizons/new-horizons/assets/34462599/b5708992-3352-48e9-8412-23949052152d

Reverse
https://github.com/Outer-Wilds-New-Horizons/new-horizons/assets/34462599/0811a7c1-93ea-459b-b17e-4d3d0a8aecab

Eye
https://github.com/Outer-Wilds-New-Horizons/new-horizons/assets/34462599/01ac9ad5-61ad-4239-802b-1b91b8240921


Black screen when running 'sudo startxfce4'

name: trusty
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trusty...
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: amd64
xmethod: xorg
targets: xfce
host: version 9000.50.0 (Official Build) beta-channel cyan
kernel: Linux localhost 3.18.0-13506-ge9db8d0 #1 SMP PREEMPT Wed Jan 4 22:05:42 PST 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.

Please describe your issue:
I'm new to linux/crouton/etc, so I don't know much. I'm in the process of learning.
I did sudo sh ~/Downloads/crouton -e trusty -t xfce, it installed, then I did sudo startxfce4. My screen changed to black. I can move back and forth between the black screen and chromeos using the ctrl+alt+shift+back/forward combo.
I'm on an Acer Chromebook R11.

Version 56.0.2924.53 beta (64-bit)
Platform 9000.50.0 (Official Build) beta-channel cyan
ARC Version 3612333
Firmware Google_Cyan.7287.57.92

Here's what appears in the crosh terminal:

chronos@localhost / $ sudo startxfce4
Entering /mnt/stateful_partition/crouton/chroots/trusty...
/usr/bin/startxfce4: Starting X server
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.18.0-13506-ge9db8d0 #1 SMP PREEMPT Wed Jan 4 22:05:42 PST 2017 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3584000 verity payload=PARTUUID=b7f1f5ca-6733-774e-81eb-71170bfa4cb2/PARTNROFF=1 hashtree=PARTUUID=b7f1f5ca-6733-774e-81eb-71170bfa4cb2/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=213fb79dbd78458ea73c4f9d493444b1d1e57759 salt=c7fe8a5bd88f9f07e66c8488b1b895966deb003bcb24a0b4284eaad2989b3825" noinitrd vt.global_cursor_default=0 kern_guid=b7f1f5ca-6733-774e-81eb-71170bfa4cb2 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Tue Jan 10 18:36:10 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: amd64
xmethod: xorg
targets: xfce
host: version 9000.50.0 (Official Build) beta-channel cyan
kernel: Linux localhost 3.18.0-13506-ge9db8d0 #1 SMP PREEMPT Wed Jan 4 22:05:42 PST 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created.
xfce4-session: No gpg or ssh authentication agent found
(xfwm4:11224): GLib-CRITICAL **: g_str_has_prefix: assertion 'prefix != NULL' failed
(xfwm4:11224): xfwm4-WARNING **: The property '/general/double_click_distance' of type int is not supported
/usr/bin/xbindkeys_autostart: line 24: CONF: unbound variable
(polkit-gnome-authentication-agent-1:11236): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed
(polkit-gnome-authentication-agent-1:11236): polkit-gnome-1-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(xfsettingsd:11256): GLib-CRITICAL **: g_str_has_prefix: assertion 'prefix != NULL' failed
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) AIGLX: Suspending AIGLX clients for VT switch

It looks like you're running into the same blackscreen issue (#2923) that others are having.
For a temporary workaround, try this metod: https://github.com/dnschneid/crouton/issues/2923#issuecomment-268418795

Can you help run me through the steps to edit the file? I apologize - I'm a complete noob.

@GoRacerGo,
The /etc/crouton/ directory is inside your chroot.
First get into the chroot using: sudo enter-chroot
Then cd /etc/crouton to get into that directory and work on the file.
Hope this helps,
-DennisL

@GoRacerGo,
seems your X11 uses another directory for config files:

"(==) Using system config directory "/usr/share/X11/xorg.conf.d""

please try to copy your (edited) /etc/crouton/xorg-intel-sna.conf to this directory. Both paths are inside the chroot as DennisL mentioned above.

(trusty)thomas@localhost:~$ /usr/share/X11/xorg.conf.d -su: /usr/share/X11/xorg.conf.d: Is a directory
that is the stage that I got to. How can I edit the file?

You can use nano (apt-get Install nano, then "sudo nano /Path/to/File", exit n save with Ctrl+x and answering yes) or if apt-get not working "sudo vi /Path/File", but vi is a bit complicated to operate.

used vi to change the file, but the error is still there!

Just had this issue last night; editing the xorg-intel-sna.conf file as per the other thread and copying it to /usr/share/X11/xorg.conf.d/ appears to have worked. Thanks!

I can also confirm that editing xorg-intel-sna.conf and copying it to /usr/share/X11/xorg.conf fixes the issue for me.

@MegaWalls make sure xorg.conf.d is a directoy and you moved the file inside it. Can you post output of "ls -alh /usr/share/X11/xorg.conf.d/“ and  "ls -alh /usr/share/X11/" please?

For those using the 'trusty' release with black screen issues, please update your chroot.
The latest crouton patches have fixed it.

Dennis hasn't tested, he's making assumptions.
See #2978 for something that will actually work.

@w-barath,

Dennis hasn't tested, he's making assumptions.

Actually, @DennisLfromGA has tested it along with others and it has worked.
If you are still having problems then I'd suggest following this guide:
'Common issues and reporting'
If that doesn't help then please file a new issue and provide all the details you can, like croutonversion, xorg log, what you have tried, etc., etc.
Hope this helps,
-DennisL

I was having this same issue after ChromeOS updated.
I updated my chroot by first deleting crouton and re-downloading it, then running
sudo ~/Downloads/crouton -u -n trusty
That churned for a while with a bunch of downloading and installing (even Java 8), and when it was over, I could get back to my kde session.
Try what @DennisLfromGA said, "Update your CHROOT"


Supported old error codes

Fixes issue :
https://github.com/dooboolab/react-native-iap/issues/583
Did not check iOS completely due to unavailability of account. Please let me know how I can help.

@Rinkuk1993 Thanks for your contribution! If you tell me your apple developer account, I'll add your account to our test app as a developer.

Here is my Apple ID -<EMAIL_ADDRESS>

@Rinkuk1993 I've just added you to doobooTest app.

Hey, I am unable to test it. I think the account does not have developer access.

@rikur I've added you as an App Manager previously it was developer. Could you try again?

Wrong person highlighted :)

@rikur Hey sorry for the mistake :cold_sweat: @Rinkuk1993 Please see my update above.

Checked. I did not get access yet.
Just in case if you missed, you can check if you have checked the option "development, certificate..." (I don't remember the sentence exactly). This should solve the issue as Xcode is checking if I have permission for provisioning profile for the account.

@Rinkuk1993 Oh you are right. I will send you a development certificate via email.

@Rinkuk1993 I've just sent you and email.