Please mention how to view help for a specific task in 'usage' output

When gradle or gradlew is run with the name of a task and an option that the program does not understand, it may print out one of two things (see 'Current Behavior', below, for a description). I assume for internal or architectural reasons that it is not feasible for these two to be the same, so in this issue I ask for one small detail to be added to the first 'usage' variant.
Expected Behavior

The output shown when one of the gradle tool's built-in options is misused should include one extra message, as shown below:
$ ./gradlew wrapper --version=6.4.1-all

Command-line option '--version' does not take an argument.
* Try:
Run gradlew help --task wrapper to get task usage details

USAGE: gradlew [option...] [task...]

-?, -h, --help                     Shows this help message.
-a, --no-rebuild                   Do not rebuild project dependencies.
-b, --build-file                   Specify the build file.
# .... and so on

Current Behavior

Running a command with an unsupported command-line option may lead to one of two outputs.

a plain message consisting of

an error message such as Command-line option '--profile' does not take an argument.
a long (and somewhat helpful) list of supported command-line options

a rich message with color and text styling consisting of

a bold FAILURE: Build failed with an exception.
an error message such as Problem configuring task :my-task from command line.
an additional detail message such as > Unknown command-line option '--use'.
a suggestion to run the help task with this as a parameter
a suggestion to view the gradle website for help
(optional) a link to some document page about deprecated warnings
(optional) advice on how to view more details about these specific warnings
a reminder that your build failed, in case you missed it
how long the process ran

Respective output:
Output with reserved option
$ ./gradlew wrapper --version=6.4.1-all

Command-line option '--version' does not take an argument.

USAGE: gradlew [option...] [task...]

-?, -h, --help                     Shows this help message.
-a, --no-rebuild                   Do not rebuild project dependencies.
-b, --build-file                   Specify the build file.
--build-cache                      Enables the Gradle build cache. Gradle will try to reuse outputs from previous builds.
-c, --settings-file                Specify the settings file.
--configure-on-demand              Configure necessary projects only. Gradle will attempt to reduce configuration time for large multi-project builds. [incubating]
--console                          Specifies which type of console output to generate. Values are 'plain', 'auto' (default), 'rich' or 'verbose'.
--continue                         Continue task execution after a task failure.
-D, --system-prop                  Set system property of the JVM (e.g. -Dmyprop=myvalue).
-d, --debug                        Log in debug mode (includes normal stacktrace).
--daemon                           Uses the Gradle Daemon to run the build. Starts the Daemon if not running.
--export-keys                      Exports the public keys used for dependency verification. [incubating]
-F, --dependency-verification      Configures the dependency verification mode (strict, lenient or off) [incubating]
--foreground                       Starts the Gradle Daemon in the foreground.
-g, --gradle-user-home             Specifies the gradle user home directory.
-I, --init-script                  Specify an initialization script.
-i, --info                         Set log level to info.
--include-build                    Include the specified build in the composite.
-M, --write-verification-metadata  Generates checksums for dependencies used in the project (comma-separated list) [incubating]
-m, --dry-run                      Run the builds with all task actions disabled.
--max-workers                      Configure the number of concurrent workers Gradle is allowed to use.
--no-build-cache                   Disables the Gradle build cache.
--no-configure-on-demand           Disables the use of configuration on demand. [incubating]
--no-daemon                        Do not use the Gradle daemon to run the build. Useful occasionally if you have configured Gradle to always run with the daemon by default.
--no-parallel                      Disables parallel execution to build projects.
--no-scan                          Disables the creation of a build scan. For more information about build scans, please visit https://gradle.com/build-scans.
--offline                          Execute the build without accessing network resources.
-P, --project-prop                 Set project property for the build script (e.g. -Pmyprop=myvalue).
-p, --project-dir                  Specifies the start directory for Gradle. Defaults to current directory.
--parallel                         Build projects in parallel. Gradle will attempt to determine the optimal number of executor threads to use.
--priority                         Specifies the scheduling priority for the Gradle daemon and all processes launched by it. Values are 'normal' (default) or 'low' [incubating]
--profile                          Profile build execution time and generates a report in the <build_dir>/reports/profile directory.
--project-cache-dir                Specify the project-specific cache directory. Defaults to .gradle in the root project directory.
-q, --quiet                        Log errors only.
--refresh-dependencies             Refresh the state of dependencies.
--refresh-keys                     Refresh the public keys used for dependency verification. [incubating]
--rerun-tasks                      Ignore previously cached task results.
-S, --full-stacktrace              Print out the full (very verbose) stacktrace for all exceptions.
-s, --stacktrace                   Print out the stacktrace for all exceptions.
--scan                             Creates a build scan. Gradle will emit a warning if the build scan plugin has not been applied. (https://gradle.com/build-scans)
--status                           Shows status of running and recently stopped Gradle Daemon(s).
--stop                             Stops the Gradle Daemon if it is running.
-t, --continuous                   Enables continuous build. Gradle does not exit and will re-execute tasks when task file inputs change.
--update-locks                     Perform a partial update of the dependency lock, letting passed in module notations change version. [incubating]
-v, --version                      Print version info.
-w, --warn                         Set log level to warn.
--warning-mode                     Specifies which mode of warnings to generate. Values are 'all', 'fail', 'summary'(default) or 'none'
--write-locks                      Persists dependency resolution for locked configurations, ignoring existing locking information if it exists [incubating]
-x, --exclude-task                 Specify a task to be excluded from execution.

Output with un-reserved option
$ ./gradlew wrapper --use=6.4.1-all

FAILURE: Build failed with an exception.

* What went wrong:
Problem configuring task :wrapper from command line.
> Unknown command-line option '--use'.

* Try:
Run gradlew help --task :wrapper to get task usage details. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.4.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s

Context

I was using gradle 6.4.1 and intended to confirm that my local wrapper installation was up-to-date. In doing so, I wanted to try out the command-line arguments offered by that task, but could not remember the exact spelling off of the top of my head.
My first attempt (using a --version= option to specify which version of the wrapper I wanted) showed me the warning above. Curious, I tried running gradlew --help wrapper and gradlew wrapper --help, which were even less helpful. Lastly, I searched wrapper on the gradle documentation site, which ultimately led me to the page I linked in the prior paragraph. Only after experimenting with nonsense options did I find the message that would have helped: Run gradlew help --task :wrapper to get task usage details.

Please, if this is possible, I would like to ask that this be done. Even with a (reasonably-modern) Gradle 7.4 the command-line output is overly verbose and does not point me towards the correct resolution.

Sorry for the late reply.
Fixed by:

#30461

Better late than never! Thanks for working on this.


Fix XML code blocks

Continuing list from #9744

@gewarren Since you have a pending review request, I'll let you finish approval+merge. 👍

Oh thank you both @gewarren @Thraka for correcting those.


Sankey plot

Please confirm that this PR has done the following:

~Tests Added~
[x] Documentation Added
[x] Name of contributors Added to AUTHORS.rst
[x] Description in RELEASE_NOTES.md Added

Description of PR
This PR introduces a function sankey() to create a basic Sankey diagram using plotly [https://plotly.com/python/sankey-diagram/].  This figure can be further modified (e.g. fig.update_traces()) or used (e.g. fig.write_html()) by the user [https://plotly.com/python/graph-objects/]
The function uses a  mapping dictionary {'variable1': ('source1', 'target1'), ...} to specify the source and the target node for the considered variables.
Currently only one region and one year can be plotted.

there was an update of the sphinxcontrib-bibtex package and a change of the WorldBank data used in the pandas_datarader test, which currently causes unit tests to fail - don't worry about that for now

Alright. I just address the recommendations of picky Mr.Sticklers

I also just realized that you need to add plotly to the dependencies explicitly, i.e. here

Ah, I forgot to add the plotly dependencies. Should not do this while sitting on the airport :)))

Merging and tackling the tests in a next iteration - thanks @mabudz!


Improve precession calculation parameters

Depends on #6
In "Astronomical algorithms" by Jean Meeus, parameters are given seconds (HMS) with scale of up to 6. While it might not be necessary, this could add some extra precision to the calculation.

The difference is insignificant and makes the algorithm less readable.
Cancel.


Don't automatically start timers

If --notif=False (default), the next timer starts immediately after the prior one finishes. Most Pomodoro apps ask the user when to begin the next timer, a feature I would like included in this project.
I recommend the following setup:

If --notif=none, the next timer starts immediately (same as current --notif=False)
If --notif=box, a message box notifies the user and the next timer waits until the box is closed (same as current --notif=True)
If --notif=cli, a notification on the command line waits for user input before continuing (new feature)

For legacy purposes, --notif=False could be equivalent to --notif=None and --notif=True could be equivalent to --notif=box.

Closed with 970644f.


Sync server routes with client routes

We need a way in the case of a spa to match on defined client routes from the server and then push to the route in the case that a user manually enters a URL

We should consider adding a NoMatch file and appending config/routes with a commented out example

closed by 599f43ccdf2b5ac4367a38e0f9c1858ef2b0d642
We didn't add to config/routes but rather added instructions to the generator


Upgrade OS on production server

This is an issue to track upgrading the OS on the production server.  Debian jessie is now at end-of-lifecycle, so I should do a reinstall on a new version of the OS, and then swap over.

Done.


Is this package still maintained?

Hello
I came across this package. Is it actively maintained? I would like to use it for a website builder-kit to share data across different domains.
Thanks

hasn't been a commit in over a year...

FWIW, I've been using it for months on a platform that gets ~50k pageviews a day with no issues.

hasn't been a commit in over a year...

Over 5 years! :D


Generate and populate open data set with the open.canada.ca platform

Just got an account created on open.canada.ca registry platform. Testing out what would be required to setup records to be able to publicly expose the api in a standard fashion.
Confirmed we can port this record from TBS department to NRCan Open Data registry.

NRCan will be handling the OD submission. They'll need to document and get approvals once the application is out of alpha in order to post it. It will be the same format as what was done with the Recalls API -
https://open.canada.ca/data/en/dataset/d38de914-c94c-429b-8ab1-8776c31643e3

Re-opening to provide a path forward for NRCan after handoff. Will unassign and move to un-scoped for post-handoff completion.

They won't be posting a static data set. They'll be putting a doc and inks to the live API. Create a new issue with an appropriate title once NRCan moves/creates it in their own repo.account. This doesn't belong here and isn't named properly.


Replace chalk with picocolors

Describe the feature
Picocolors is both faster and about 6.9% of the size of chalk. There is a quite simple migration guide here
Additional information

[X] Would you be willing to help implement this feature?

https://github.com/sindresorhus/boxen/issues/95#issuecomment-2198041994

@sindresorhus, I cannot respond to your comment because you locked the issue, but

In addition, it's likely Chalk is already in the dependency tree, so Chalk is actually 100% smaller than Picocolors in most situations.

Picocolors is also very likely in the dependency tree by now, eg. with babel switching to it in babel 8. Lets not forget that it is very likely multiple versions of chalk are being installed, due to version changes. Docs are a ridiculous requirement in the context of a terminal coloring library, where the available methods are automatically inferred. The additional features point is moot as these features are not being utilized, and furthermore, I don't know why you would make your own colouring library and not use it. As noted in this issue, I am more than willing to implement the switch myself, so "You are wasting both your and maintainers' time on this effort", I am only "wasting" my own time, as instead of simply saying "I refuse" you decided to type out an entire paragraph on... why it makes sense to include a completely redundant package, then you stalked my profile to leave a reference to this on another repository.
The size of dependency trees does have transitive impacts on users, especially in serverless contexts where additional kilobytes slow down cold start times. Perhaps, there are even lower hanging fruits, but this is, indisputably, also one.

Thanks for the suggestion dear @boehs. Across unjs we use consola as standard CLI tooling (and a common dependency that is likely installed) and migrating to color and formating utils from consola/utils.
As chalk is already installed as a sub dependency of nitro dependencies that use babel v7, removal of chalk dependency has no immediate effect..

The size of dependency trees does have transitive impacts on users, especially in serverless contexts where additional kilobytes slow down cold start times

Nitro does not bundle chalk or consola or any other formatting library in the production bundles.

Nitro does not bundle chalk or consola or any other formatting library in the production bundles.

That was my misconception, thank you regardless ❤


react-native-sensors Error: Native modules for sensors not available. Did react-native link run successfully?

https://stackoverflow.com/questions/64437070/react-native-sensors-error-native-modules-for-sensors-not-available-did-react
Thanks for any help, getting error message "Error: Native modules for sensors not available. Did react-native link run successfully?" when running npx react-native start
npx react-native run-android gives this error: > Task :app:processDebugManifest FAILED right after installing react-native-sensors.
Install procedure:
npx react-native init proj8
cd proj8
npm install react-native-sensors --save
npx react-native link react-native-sensors
The last command reported successful but when I went through the manual Android procedure some parts were not done as follows:
import com.sensors.RNSensorsPackage;
was in android/app/src/main/java/[...]/MainApplication.java
new RNSensorsPackage() was not there, I added as follows:
@Override
protected List getPackages() {
@SuppressWarnings("UnnecessaryLocalVariable")
List packages = new PackageList(this).getPackages();
// Packages that cannot be autolinked yet can be added manually here, for example:
// packages.add(new MyReactNativePackage());
packages.add(new RNSensorsPackage());
return packages;
}
include ':react-native-sensors'
project(':react-native-sensors').projectDir = new File(rootProject.projectDir,  '../node_modules/react-native-sensors/android')
were both there in android/settings.gradle
dependencies {
implementation project(':react-native-sensors')
implementation fileTree(dir: "libs", include: ["*.jar"])
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+"  // From node_modules
I had to add implementation project(':react-native-sensors')
I don't think my code matters yet but App.js:
import React, {useState, useEffect, useRef} from 'react';
import { StyleSheet,ScrollView,SafeAreaView,Platform, View,Text } from 'react-native';
export default function App() {
var Rndr =
asdf
return Rndr
}
package.json:
{
"name": "proj8",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint ."
},
"dependencies": {
"react": "16.13.1",
"react-native": "0.63.3",
"react-native-sensors": "^7.0.1"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/runtime": "^7.8.4",
"@react-native-community/eslint-config": "^1.1.0",
"babel-jest": "^25.1.0",
"eslint": "^6.5.1",
"jest": "^25.1.0",
"metro-react-native-babel-preset": "^0.59.0",
"react-test-renderer": "16.13.1"
},
"jest": {
"preset": "react-native"
}
}

I encountered the same problem. This occurs because react-native-sensors has a minsdk version is 17 and react-native's default minsdk version is 16 Its quite easy to solve.

Just go to android/build.gradle
Change minSdkVersion to anything above 17

Before
 ext {
    buildToolsVersion = "29.0.2"
    minSdkVersion = 16
    compileSdkVersion = 29
    targetSdkVersion = 29
}

After
 ext {
    buildToolsVersion = "29.0.2"
    minSdkVersion = 19
    compileSdkVersion = 29
    targetSdkVersion = 29
}

same issue, how do u solve it? i try to change minSdkVersion, but it doesn't work.

same issue, how do u solve it? i try to change minSdkVersion, but it doesn't work.

yaa i have same issue but doesn't resolve @carltian do you find any solution


Deprecated operations should be able to refer to deprecated models without a warning

It's very hard to define an API with deprecations without getting warnings. For example, the following should not result in a warning, it's a cromulent declaration of deprecated API surface:
#deprecated "bad"
op Foo(): Deprecated;

#deprecated "bad"
model Deprecated {}

est: 5

@bterlson Can you help me enumerate the cases where we don't want a deprecation-on-usage to be raised inside of a deprecated "container"?
Don't emit deprecation in these case:

Deprecated model used in deprecated operation
Deprecated model used in operation defined in deprecated interface
Deprecated operation used in deprecated interface
Deprecated model used as is/extends type in deprecated model
Deprecated operation used as is type of deprecated operation

Anything else?


Fixed Tests for Lunchbreak Services

Tetsts for Lunchbreak Services

Please refactor methods and classes and add the api_token to the preferences.json


Update cool_date_picker

i really like cool_date_picker and use it all my projects. Please update cool_date_picker.
i getting below error:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':cool_datepicker' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

I've been working on this project to refactor old code. Please give me more time. It will take a few weeks.
Thank you for enjoying this library!


telegram_media_downloader version or commit
2.1.9
What OS are you seeing the problem on?
Windows
Python Version
3.8.10
What happened?
Yesterday I ran into a problem. On neighboring computers - in one your program works, and in the other it ends with a timeout. A day ago, both there and there worked fine. Works on win7, stops on win10. Everything else is the same - settings, session, provider, telegram_media_downloader version, Python version, etc.
Proxies and VPNs don't help. Moreover, Telegram Desktop works both there and there, I don’t use ProxyMTProto.
On win10, only Chrome, Opera, TeamViewer and Microsoft Defender Antivirus (KB2267602) was updated yesterday.
Folders \Python38\Lib\site-packages\pyrogram and \telegram_media_downloader added to Defender exceptions - does not help.
I tried to delete media_downloader.session and start a new session - the program only asks for the Telegram login code, it does not ask for a cloud password - it exits by timeout.
Windows 10 Enterprise LTSC Edition
Version 21H2
OS Build 19044.3086
Interoperability Windows Feature Experience Pack 1000.19041.1000.0
git log --oneline
* 1280550 (HEAD -> master, origin/master, origin/HEAD) fix: download error (#88)
Expected Behavior
2023-06-29 21:16:09.270 | INFO     | utils.meta:print_meta:22 - Device: CPython 3.8.10 - Telegram Media Downloader 2.1.9
2023-06-29 21:16:09.271 | INFO     | utils.meta:print_meta:23 - System: Windows 10 (EN)
2023-06-29 21:18:42.708 | ERROR    | __main__:main:610 -
Traceback (most recent call last):

  File "media_downloader.py", line 632, in <module>
    main()
    L <function main at 0x0000023646561C10>

> File "media_downloader.py", line 594, in main
    client.start()
    │      L <function Start.start at 0x0000023644921CA0>
    L <pyrogram.client.Client object at 0x0000023646572CA0>

  File "C:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\sync.py", line 66, in async_to_sync_wrap
    return loop.run_until_complete(coroutine)
           │    │                  L <coroutine object Start.start at 0x0000023646558E40>
           │    L <function BaseEventLoop.run_until_complete at 0x0000023642989C10>
           L <ProactorEventLoop running=False closed=False debug=False>

  File "C:\Users\user1\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete
    return future.result()
           │      L <method 'result' of '_asyncio.Task' objects>
           L <Task finished name='Task-1' coro=<Start.start() done, defined at C:\Users\user1\AppData\Local\Programs\Python\Python38\lib\s...

  File "C:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\methods\utilities\start.py", line 62, in start
    await self.authorize()
          │    L <function Client.authorize at 0x00000236448B64C0>
          L <pyrogram.client.Client object at 0x0000023646572CA0>

  File "C:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\client.py", line 346, in authorize
    signed_in = await self.sign_in(self.phone_number, sent_code.phone_code_hash, self.phone_code)
                      │    │       │    │             │         │                │    L '26729'
                      │    │       │    │             │         │                L <pyrogram.client.Client object at 0x0000023646572CA0>
                      │    │       │    │             │         L '1c8crgrd22267439ff'
                      │    │       │    │             L pyrogram.types.SentCode(type=pyrogram.enums.SentCodeType.APP, phone_code_hash='1c8crgrd22267439ff')
                      │    │       │    L '+79121112233'
                      │    │       L <pyrogram.client.Client object at 0x0000023646572CA0>
                      │    L <function SignIn.sign_in at 0x0000023644921940>
                      L <pyrogram.client.Client object at 0x0000023646572CA0>

  File "C:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\methods\auth\sign_in.py", line 63, in sign_in
    r = await self.invoke(
              │    L <function Invoke.invoke at 0x00000236449164C0>
              L <pyrogram.client.Client object at 0x0000023646572CA0>

  File "C:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\methods\advanced\invoke.py", line 79, in invoke
    r = await self.session.invoke(
              │    │       L <function Session.invoke at 0x00000236444D33A0>
              │    L <pyrogram.session.session.Session object at 0x00000236465ABA90>
              L <pyrogram.client.Client object at 0x0000023646572CA0>

  File "C:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\session\session.py", line 378, in invoke
    return await self.invoke(query, retries - 1, timeout)
                 │    │      │      │            L 15
                 │    │      │      L 5
                 │    │      L pyrogram.raw.functions.auth.SignIn(phone_number='79121112233', phone_code_hash='1c8crgrd22267439ff', phone_code='26729')
                 │    L <function Session.invoke at 0x00000236444D33A0>
                 L <pyrogram.session.session.Session object at 0x00000236465ABA90>

  File "C:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\session\session.py", line 378, in invoke
    return await self.invoke(query, retries - 1, timeout)
                 │    │      │      │            L 15
                 │    │      │      L 4
                 │    │      L pyrogram.raw.functions.auth.SignIn(phone_number='79121112233', phone_code_hash='1c8crgrd22267439ff', phone_code='26729')
                 │    L <function Session.invoke at 0x00000236444D33A0>
                 L <pyrogram.session.session.Session object at 0x00000236465ABA90>

  File "C:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\session\session.py", line 378, in invoke
    return await self.invoke(query, retries - 1, timeout)
                 │    │      │      │            L 15
                 │    │      │      L 3
                 │    │      L pyrogram.raw.functions.auth.SignIn(phone_number='79121112233', phone_code_hash='1c8crgrd22267439ff', phone_code='26729')
                 │    L <function Session.invoke at 0x00000236444D33A0>
                 L <pyrogram.session.session.Session object at 0x00000236465ABA90>
  [Previous line repeated 2 more times]

  File "C:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\session\session.py", line 371, in invoke
    raise e from None

  File "C:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\session\session.py", line 358, in invoke
    return await self.send(query, timeout=timeout)
                 │    │    │              L 15
                 │    │    L pyrogram.raw.functions.auth.SignIn(phone_number='79121112233', phone_code_hash='1c8crgrd22267439ff', phone_code='26729')
                 │    L <function Session.send at 0x00000236444D3310>
                 L <pyrogram.session.session.Session object at 0x00000236465ABA90>

  File "C:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pyrogram\session\session.py", line 323, in send
    raise TimeoutError

TimeoutError

Current Behavior
A bug happened!
Possible Solution
No response
Steps to Reproduce
No response
Relevant log output
No response

@40OIL hi, from the logs you gave, I can't determine what is causing the problem

Try a few more times, it looks like a network issue

A similar problem at the same time manifested itself with github.com/iyear/tdl - there the author advised me to synchronize local time. And indeed, I suddenly discovered that the time was not synchronized for 3 weeks. After synchronization, everything worked!
You can close the issue.


Form Data with Blobs - TypeError: source.on is not a function

Adding a blob to form data produces the following error:
node . -x none https://childlike-serpent.glitch.me/
A-Frame Version: 0.8.0 (Date 2018-03-11, Commit #82934b02)
three Version: github:dmarcos/three.js#r90fixPose
WebVR Polyfill Version: ^0.9.40
THREE.WebGLRenderer 90
THREE.WebGLRenderer: .shadowMap.renderReverseSided has been removed. Set Material.shadowSide instead.
THREE.WebGLRenderer: .shadowMap.renderSingleSided has been removed. Set Material.shadowSide instead.
TypeError: source.on is not a function
    at Function.DelayedStream.create (C:\workspace\expanse-app\exokit\node_modules\delayed-stream\lib\delayed_stream.js:33:10)
    at FormData.CombinedStream.append (C:\workspace\expanse-app\exokit\node_modules\combined-stream\lib\combined_stream.js:44:37)
    at FormData.append (C:\workspace\expanse-app\exokit\node_modules\form-data\lib\form_data.js:74:3)
    at https://childlike-serpent.glitch.me/:16:14
    at Object._runJavascript (C:\workspace\expanse-app\exokit\src\utils.js:67:15)
    at Resource.ownerDocument.resources.addResource [as getCb] (C:\workspace\expanse-app\exokit\src\DOM.js:1639:13)
    at Promise (C:\workspace\expanse-app\exokit\src\core.js:92:12)
    at new Promise (<anonymous>)
    at Resource.get (C:\workspace\expanse-app\exokit\src\core.js:91:12)
    at Resources.drain (C:\workspace\expanse-app\exokit\src\core.js:170:16)
    at Promise (C:\workspace\expanse-app\exokit\src\core.js:163:12)
    at new Promise (<anonymous>)
    at Resources.addResource (C:\workspace\expanse-app\exokit\src\core.js:143:12)
    at HTMLScriptElement.runNow (C:\workspace\expanse-app\exokit\src\DOM.js:1638:41)
    at HTMLScriptElement.<anonymous> (C:\workspace\expanse-app\exokit\src\DOM.js:1655:21)
    at C:\workspace\expanse-app\exokit\src\Document.js:120:17
    at Document._addRun (C:\workspace\expanse-app\exokit\src\Document.js:134:7)
    at element.traverse.el (C:\workspace\expanse-app\exokit\src\core.js:664:41)
    at _recurse (C:\workspace\expanse-app\exokit\src\DOM.js:1118:22)
    at _recurse (C:\workspace\expanse-app\exokit\src\DOM.js:1124:28)
    at HTMLBodyElement.traverse (C:\workspace\expanse-app\exokit\src\DOM.js:1135:12)
    at Promise (C:\workspace\expanse-app\exokit\src\core.js:657:15)
    at new Promise (<anonymous>)
    at Object._runHtml (C:\workspace\expanse-app\exokit\src\core.js:654:12)
    at process.nextTick (C:\workspace\expanse-app\exokit\src\Document.js:176:29)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Not sure if this one is in the scope. I could work around by posting strings instead of files/blobs.

It's in scope, but node supports neither Blob nor FormData and we source them from different repos and they don't play with each other.
The root of the bug is that the FormData implementation has no concept of Blob and therefore no Blob support.

According to my research forking the FormData implementation and pulling off the .buffer from the Blob here should work.

I actually was trying that myself with something along the lines of;
if(value.buffer&&Buffer.isBuffer(value.buffer)){
  value = value.buffer;
}

It was truncating the string that was uploaded and i couldn't figure out why - maybe the buffer length was too short.
I have since reverted to sending the data as strings in the form data.

Interesting, how was this Blob acquired? Was it large (e.g megabytes)?
On Wed, Dec 5, 2018 at 5:41 PM Shane Harris<EMAIL_ADDRESS>wrote:

I actually was trying that myself with something along the lines of;
if(value.buffer&&Buffer.isBuffer(value.buffer)){
value = value.buffer;
}
It was truncating the string that was uploaded and i couldn't figure out
why - maybe the buffer length was too short.
I have since reverted to sending the data as strings in the form data.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/webmixedreality/exokit/issues/627#issuecomment-444679584,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGmu6WDN7FTdrGb5XpWFHUhZQrWN_Sl3ks5u2EuMgaJpZM4ZFDe3
.

It could be that this check was't passing -- quite likely if the prototype wasn't mutated to normalize to outer the global as we have to do for all typed array views pre-node 11.

Sorry i missed this somhow, so the blob size would have been pretty small but could get large. The one i was testing with would have been kilobytes.
I had thought it was the below failing too.
Buffer.isBuffer(value)

so i tried
Buffer.isBuffer(value.buffer) // The blob has a buffer inside

but it didnt work. I got the data but it was always truncated. I could not figure out why.

Yeah I think it should be solved by https://github.com/webmixedreality/exokit/pull/628. It was a Buffer identity check that elided a length set.


Add Spark Protocol

Revision checks

[x] Used smart contracts were audited.
[x] Your Safe App include a manifest.json file at the root with the required data.
[x] The app can be loaded as a custom Safe App in the Apps section of https://app.safe.global.
[x] The app auto-connects to the Safe.
[x] You are able to trigger and execute one transaction with a Safe.
[X] RPC requests are optimized (not triggering many requests in a very short time period).

Name/Description
Spark Protocol is the DAI centric money market protocol
Type

New addition

Compatible Networks
- Mainnet
- Goerli

Audit document
https://docs.sparkprotocol.io/developers/deployed-contracts/security-and-audits
Code for review
https://github.com/marsfoundation/sparklend
https://github.com/marsfoundation/spark-interface
IPFS hash/App URL
https://app.sparkprotocol.io/
Team information
- Project logo: https://www.sparkprotocol.io/images/spark_webclip.png
- Project landing page: https://sparkprotocol.io/
- Team or discord contact: https://discord.gg/BvfMGCvfzJ
- Twitter link: https://twitter.com/spark_protocol
- Github link: https://github.com/marsfoundation

Hey @tadeongmi  thank you for the submission!
I've been testing the application on the Goerli chain using my Safe Account, but it appears the App isn't accurately detecting the Safe balance. I've attached a screenshot:

I see also the Please switch to Ethereum. warning. Can we test the App in Goerli or it is only available in mainnet?

Hi @DaniSomoza!
Can you check in settings if you have testnet mode activated?
Unfortunately, it doesn't change automatically

Hi thanks!
It seems that you are using a deprecated package @gnosis.pm/safe-apps-web3-react in your package.json file:
could you use the new one? @web3-react/gnosis-safe instead?
https://www.npmjs.com/package/@web3-react/gnosis-safe

@DaniSomoza I just tested it and it works correctly.  You need to change manually to testnet mode if you're on goerli (i believe it's exactly the same for Aave UI). Here's a video:
https://www.dropbox.com/s/ftnc4gj1dg92ot6/Built-in Retina Display.mp4?dl=0

yes @krzkaczor is working fine !!
Are you able or have time to update the package @DaniSomoza commented @gnosis.pm/safe-apps-web3-react ?

@yagopv does it really make sense to upgrade since it works just fine? We are working on a brand-new UI while this is in maintenance mode.

For me is fine, we can continue. Remember to change the package in the new UI
Going to ping @JagoFigueroa from our QA team for the final approval

Hello @tadeongmi!
The app has been published


Task: add a way to override the Scheduler used

Context: August 15, 2016 11:56 PM by @Diagoras

What about something like Task(someExpensiveIoCall())? I'd expect cancelling that Task to try and cancel the thread the IO call is running on, so if it uses wait() or an InterruptibleChannel we stop waiting.

We need the equivalent of Observable.subscribeOn, but for Task.

@alexandru I think you may have quoted the wrong part of our conversation, you probably wanted:

I'm considering switching from ScalaZ's Task to Monix's - props for all the awesome work! I've looked through the documentation and one thing still confuses me - since runAsync is the only place we pass a Scheduler and it effectively completes your Task, how do you specify which thread pool to run specific functions?

For example, with ScalaZ I might do:

for {
result1 <- Task(someExpensiveCpuCall())(cpuThreadPool)
result2 <- Task(someExpensiveIoCall())(ioThreadPool)
} yield (result1, result2)

Can Monix Task do that? If so, how?

Not that an issue about interrupting threads when cancelled wouldn't be appreciated as well! ;)

@Diagoras that's fine. There's already a solution on master, will be available in the next release.
On interrupting threads, it won't happen. For one because there is no correspondence between threads and Task. Tasks don't require the presence of multi-threading. But also because nobody does it, not even Java's own CompletableFuture.cancel. And as I tried explaining, you don't even have a way to do it, as stop() is deprecated and will go away, whereas interrupt() doesn't work as you think it does.
Cheers,

@alexandru That's great to hear, looking forward to the new release. I understand your reasons for avoiding interrupting threads, as you pointed out not only does CompletableFuture not do this but neither does ScalaZ's Task. I don't think I'm the person you talked to about Thread.stop() and Thread.interrupt() in Gitter, but those are still good points.

@Diagoras cool. So the ability to override the Scheduler is in 2.0-RC11. You now have executeOn as a method on Task instances and an override of fork that accepts a Scheduler.


Cannot change shadow effect for progress overlay/ activity indicator for android

While attempting to style the activity indicator we discovered that it was impossible to totally remove the shadow of the box around in android. Examining the core files: styles/native/js/core/widgets/navigation.js we can see in this file (and below) that only backgroundColor and shadowColor are editable props while the rest is hardcoded.
shadowColor has no effect on android and leaves us with an awkward grey box surrounding our spinner.
Is it possible to add more editable props to the core files here?
progressOverlay: {
        container: {
            // All ViewStyle properties are allowed
            backgroundColor: navigation.progressOverlay.containerBackgroundColor,
            paddingHorizontal: spacing.largest,
            paddingVertical: spacing.large,
            borderRadius: border.radius,
            elevation: 1.5,
            shadowColor: navigation.progressOverlay.shadowColor,
            shadowOpacity: 0.1,
            shadowRadius: 10,
            shadowOffset: {
                width: 0,
                height: 2,
            },
        },
}

Hi Robert,
I've added some more variables. They will be included with the next release. Hopefully that suits your needs.
Feel free to make a PR if you think anything else is missing :)


Change master to main

Need to switch the primary branch of this repo from master to main. I still don't have permissions to do this, but should be easy to do.

you should have permissions now  @nkorinek !!

you should have permissions now  @nkorinek !!

I don't see the option still, just fyi

I don't see the option still, just fyi

@nkorinek please try again! i gave you full superpowers 🚀

@nkorinek please try again! i gave you full superpowers 🚀

@lwasser renamed!

@lwasser renamed!

great - closing! t hank you!

great - closing! t hank you!


Update bubbleSort.py

What does the program do?

In what programming language it is written?
Python

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


Unable to select a notebook file when adding a notebook component

Describe the issue
Unable to select a notebook file when attempting to add a nodebook note component to the pipeline editor, can only select *.R files
To Reproduce
Steps to reproduce the behavior:

Go to Palette in the properties panel
Drag a new notebook component to the canvas
go to properties and click on browse, for filename section
See error

Screenshots or log output

Expected behavior
to be able to select a *.ipynb file from the browser
Deployment information
Describe what you've deployed and how:

Elyra version: master/ component-registry
Operating system: macOS
Installation source: source
Deployment type:

I know why this is happening -- looks like I have a typo in registry.py! Will be an easy fix


Update walkthrough-analyzing-c-cpp-code-for-defects.md

fix typo

@drvoss : Thanks for your contribution! The author, @mikeblome, has been notified to review your proposed change.


Terraform and other code to automate ADF pipeline job (Databricks) schedule trigger

Added ADF pipeline terraforms
Add Databricks job definition terraforms
Renamed transform/pipeline to transform/features
Added Terraform to ./infrastructure/transform/pipeline.tf that deploys ADF pipeline(s) and Databricks job(s)
Changed so that root makefile deploy and deploy-transform calls ./transform make build as a dependency
Tests conducted:
Here is the successful trigger run after deploying lates from the changed code in the PR

And here is the trigger running job after every 5 minutes:

And here us the trigger running job after every 10 minutes after the value in terraform resource was changed to 10.

Also tested that the newly introduced make file blocks work. And the terraform file deploys the components for which new resource blocks are introduced in the main.tf file.
Please let me know if you could think of any other way I could test this.

I think the entrypoint.py isn't getting uploaded? Does this work in CI?
I would also like to make sure that when the .whl file changes, this Terraform configuration does indeed upload a new file

I have now added and tested resource block which uploads entry point to dbfs.

make /test

make test

/test

/test

/test

/test


JBTM-2749 Update ejb3 to use txn SPI

https://issues.jboss.org/browse/JBTM-2749
Requires jbosstm/narayana#1068

Closing but still useful as an example

The ejb subsystem has been updated to use WFTC in place of the jboss-transaction-spi which means this PR is now out of date.


[QST] For triton inference, how to load model from checkpoint?

❓ Questions & Help
Details
During training, the trainer automatically saves checkpoints as such:
Saving model checkpoint to ./tmp/checkpoint-500
Trainer.model is not a `PreTrainedModel`, only saving its state dict.
Saving model checkpoint to ./tmp/checkpoint-1000
Trainer.model is not a `PreTrainedModel`, only saving its state dict.

Using just these local artifacts, I want to load one checkpoint into a Transformers4Rec model, so that I can pass it in into the following export function to do some inference with triton.
from nvtabular.inference.triton import export_pytorch_ensemble
export_pytorch_ensemble(
    model,
    workflow,
    sparse_max=sparse_features_max,
    name= "t4r_pytorch",
    model_path= "/workspace/models",
    label_columns =[],
)

My question is how can I load a checkpoint into a model? My guess is that after defining the model definitions, there's a way to load the checkpoint artifacts / state dicts into the model:
# model defs go here
model = tr.Model(head)

# unsure how to do this...load_checkpoint is my guess and obviously not working
model.load_checkpoint('tmp/checkpoint-1000')

Is there a simple built-in function that can do this?

Thank you for the question @peterkim95 !
To load a general checkpoint, PyTorch provides a built-in function load_state_dict that you can call as follow:
checkpoint = torch.load('tmp/checkpoint-1000')
model.load_state_dict(checkpoint['model_state_dict'])

In Transformers4rec, we additionally simplified the model saving in the transformers4rec Trainer class (here) with a builtin method _save_model_and_checkpoint  where you can save the checkpoints but the model class as well. By doing so, you don't have to re-define the model class.
An example of usage would be:
import cloudpickle
#Train and save the model
recys_trainer = tr.Trainer(model, ...)
...
recsys_trainer._save_model_and_checkpoint(save_model_class=True)

# Load the model class and its checkpoint
checkpoint_path = 'tmp/checkpoint-1000'
model = cloudpickle.load(open(os.path.join(checkpoint_path, "model_class.pkl"), "rb"))

# Restoring model weights
model.load_state_dict(torch.load(os.path.join(checkpoint_path, "pytorch_model.bin")))

Let us know if those examples help you with your use-case :)

Works like a charm. Thanks @sararb !

@peterkim95 can we close this issue if you have no further questions? thanks.

Hey I am running into a Runtime Error
This is how I stored the model
trainer._save_model_and_checkpoint(save_model_class=True)
import cloudpickle
import os

# Load the model class and its checkpoint
checkpoint_path = 'tmp/checkpoint-5806'
model = cloudpickle.load(open(os.path.join(checkpoint_path, "model_class.pkl"), "rb"))

import torch

# Restoring model weights
model.load_state_dict(torch.load(os.path.join(checkpoint_path, "pytorch_model.bin")))

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-10-0d2adb3d1e40> in <module>
      2
      3 # Restoring model weights
----> 4 model.load_state_dict(torch.load(os.path.join(checkpoint_path, "pytorch_model.bin")))

~/anaconda3/envs/merlin/lib/python3.8/site-packages/torch/nn/modules/module.py in load_state_dict(self, state_dict, strict)
   1495
   1496         if len(error_msgs) > 0:
-> 1497             raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
   1498                                self.__class__.__name__, "\n\t".join(error_msgs)))
   1499         return _IncompatibleKeys(missing_keys, unexpected_keys)

RuntimeError: Error(s) in loading state_dict for Model:
	Missing key(s) in state_dict: "heads.0.body.0.to_merge.categorical_module.embedding_tables.news_id-list_seq.weight", "heads.0.body.0.to_merge.categorical_module.embedding_tables.category-list_seq.weight", "heads.0.body.0.to_merge.categorical_module.embedding_tables.sub_category-list_seq.weight", "heads.0.body.0._masking.masked_item_embedding", "heads.0.body.1.0.0.weight", "heads.0.body.1.0.0.bias", "heads.0.body.2.module.weight_ih_l0", "heads.0.body.2.module.weight_hh_l0", "heads.0.body.2.module.bias_ih_l0", "heads.0.body.2.module.bias_hh_l0", "heads.0.prediction_task_dict.next-item.embeddings.embedding_tables.news_id-list_seq.weight", "heads.0.prediction_task_dict.next-item.embeddings.embedding_tables.category-list_seq.weight", "heads.0.prediction_task_dict.next-item.embeddings.embedding_tables.sub_category-list_seq.weight", "heads.0.prediction_task_dict.next-item.item_embedding_table.weight", "heads.0.prediction_task_dict.next-item.masking.masked_item_embedding", "heads.0.prediction_task_dict.next-item.task_block.0.0.weight", "heads.0.prediction_task_dict.next-item.task_block.0.0.bias", "heads.0.prediction_task_dict.next-item.pre.module.output_layer_bias", "heads.0.prediction_task_dict.next-item.pre.module.item_embedding_table.weight".
	Unexpected key(s) in state_dict: "module.heads.0.body.0.to_merge.categorical_module.embedding_tables.news_id-list_seq.weight", "module.heads.0.body.0.to_merge.categorical_module.embedding_tables.category-list_seq.weight", "module.heads.0.body.0.to_merge.categorical_module.embedding_tables.sub_category-list_seq.weight", "module.heads.0.body.0._masking.masked_item_embedding", "module.heads.0.body.1.0.0.weight", "module.heads.0.body.1.0.0.bias", "module.heads.0.body.2.module.weight_ih_l0", "module.heads.0.body.2.module.weight_hh_l0", "module.heads.0.body.2.module.bias_ih_l0", "module.heads.0.body.2.module.bias_hh_l0", "module.heads.0.prediction_task_dict.next-item.embeddings.embedding_tables.news_id-list_seq.weight", "module.heads.0.prediction_task_dict.next-item.embeddings.embedding_tables.category-list_seq.weight", "module.heads.0.prediction_task_dict.next-item.embeddings.embedding_tables.sub_category-list_seq.weight", "module.heads.0.prediction_task_dict.next-item.item_embedding_table.weight", "module.heads.0.prediction_task_dict.next-item.masking.masked_item_embedding", "module.heads.0.prediction_task_dict.next-item.task_block.0.0.weight", "module.heads.0.prediction_task_dict.next-item.task_block.0.0.bias", "module.heads.0.prediction_task_dict.next-item.pre.module.output_layer_bias", "module.heads.0.prediction_task_dict.next-item.pre.module.item_embedding_table.weight".

We created an HFWrapper  class that makes sure the forward signature of the models meets the requirements of the HugginFace Trainer class.
The saved weights are then related to this wrapper. So before loading back the states you need to call :
from transformers4rec.torch.trainer import HFWrapper
wrapped_model = HFWrapper(model)
wrapped_model.load_state_dict(torch.load(os.path.join(checkpoint_path, "pytorch_model.bin")))

Then the inference call would be:
from nvtabular.inference.triton import export_pytorch_ensemble
export_pytorch_ensemble(
    model.module,
    workflow,
    sparse_max=sparse_features_max,
    name= "t4r_pytorch",
    model_path= "/workspace/models",
    label_columns =[],
)

Let us know if that resolves your issue.

Thank you so much! It now works and all the keys are successfully matched.
I have a test dataset file stored as parquet and I want to be able to now generate predictions for it. Is there a way I can do that directly in the notebook without using the triton inference server?

I do understand that I need to convert my dataframe into a batch and then do this
wrapped_model.eval()
wrapped_model(batch, training=False)

However I am struggling to create the batch and I am not sure how to go about it. Any suggesstions?

@SaadAhmed433   the following script will generate a batch:
next(iter(recsys_trainer.get_eval_dataloader()))


Compiled js does not contain updates with isLibraryComponent = true

Hi there,
using SPFx version 1.12.1 and spfx-fast-serve 3.0.2 with the setting isLibraryComponent = true and port = 4322, I get the lib to be recompiled with no error at each save, but when I use Chrome's developer tools to check the compiled js from localhost:4322/dist, I see that the js doen't reflect the changes in the source file.
Actually the compiled file does not change from the first execution of npm run serve.
Everything is ok for non library component

Hi,
How have you setup library components - using Lerna or a regular approach? Have you tried running a sample from here? The sample should work for you without any problems.

HI!
Yes I followed the guide for the simple scenario (not using Lerna). My config.json is infact
{   "$schema": "https://raw.githubusercontent.com/s-KaiNet/spfx-fast-serve/master/schema/config.latest.schema.json",   "cli": {     "isLibraryComponent": true,     "port": 4322   },   "serve": {     "open": false,     "fullScreenErrors": true   } }
the only different thing I have is the use of mklink to point to the lib inside node_modules instead of npm install.
I even started the lib first and the web parts later.
The compilation of the lib is super fast and outputs no error but after the auto-reload of the page, the version served is the first obtained after npm run serve. If you look at the dist folder the compiled js files never changes the timestamp which remains the one of the first compilation fired by "npm run serve". This problem doesn't occur in the web parts solution

Why do you need mklink? When you install using npm install ../spfx-library --save it also creates symlinks, but npm does it in a safer way. Could you try just regular npm install? Alternatively, you can try different parameters for mklink (maybe that's the problem, however, I'm not good at mklink command).

Hi! I tried but npm install outputs many errors in my case and does not add the link in node_modules while a simple symlink works fine with everything build included. I'm not sure why this should break your solution which works for the package consuming the lib but bot for the lib itself.  It would be great to test your sample setup against mklink and the lib package manually saved in the package.json

I think you should fix npm install problem first, otherwise, it's difficult to guess what's wrong there. Since npm install gives errors, then definitely something not good. Maybe that's the reason why fast-serve doesn't work for you (even in the case when mklink seems to work).

I'm having pressure on time right now so I need to postpone the npm install question. Anyway I want to thanks and compliment because I was able to use some of your advices to speed up the gulp serve process in a way that is acceptable in my case.
Could you tell me how to implement the webpack process in memory so that the infamous  Starting subtask 'webpack' will be faster and for changed files only?

Could you tell me how to implement the webpack process in memory so that the infamous Starting subtask 'webpack' will be faster and for changed files only?

This process is implemented inside fast-serve, however, if you want to speed up the default webpack command, then it's not easy, because you have to hook into the task internals. I don't have a good recipe for it.

I will close the issue, since it's more related to the specific configuration problem, rather than to the tool itself. It works with proven tools like npm, everything beyond is just too hard to track, maintain and fix.
Please feel free to reopen if you have any further problems with npm, fast-serve and library components setup.


Hi,I meet a problem when using accelerate to pretrain baichuan-7B with multigpu.

The details are as below:
RuntimeError: Expected to have finished reduction in the prior iteration before starting a new one. This error indicates that your module has parameters that were not used in producing loss.
Thank you!!!

Please provide your training arguments and environments.

my training arguments are below,thank you:

We recommend to use the Baichuan model saved in the LLaMA format: https://huggingface.co/fireballoon/baichuan-llama-7b

Yes,I used that model ,I just download it locally.


Issue with make install on macOS

Error viewing app in browser:

Make log is as follows:
opencopilot-dashboard-1   | AxiosError: connect ECONNREFUSED <IP_ADDRESS>:8888
opencopilot-dashboard-1   |     at AxiosError.from (/app/.next/server/chunks/1522.js:11:11992)
opencopilot-dashboard-1   |     at RedirectableRequest.<anonymous> (/app/.next/server/chunks/1522.js:13:8687)
opencopilot-dashboard-1   |     at RedirectableRequest.emit (node:events:517:28)
opencopilot-dashboard-1   |     at u.<computed> (/app/.next/server/chunks/1522.js:1:14914)
opencopilot-dashboard-1   |     at ClientRequest.emit (node:events:517:28)
opencopilot-dashboard-1   |     at Socket.socketErrorListener (node:_http_client:501:9)
opencopilot-dashboard-1   |     at Socket.emit (node:events:517:28)
opencopilot-dashboard-1   |     at emitErrorNT (node:internal/streams/destroy:151:8)
opencopilot-dashboard-1   |     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
opencopilot-dashboard-1   |     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
opencopilot-dashboard-1   |   port: 8888,
opencopilot-dashboard-1   |   address: '<IP_ADDRESS>',
opencopilot-dashboard-1   |   syscall: 'connect',
opencopilot-dashboard-1   |   code: 'ECONNREFUSED',
opencopilot-dashboard-1   |   errno: -111,
opencopilot-dashboard-1   |   config: {
opencopilot-dashboard-1   |     transitional: {
opencopilot-dashboard-1   |       silentJSONParsing: true,
opencopilot-dashboard-1   |       forcedJSONParsing: true,
opencopilot-dashboard-1   |       clarifyTimeoutError: false
opencopilot-dashboard-1   |     },
opencopilot-dashboard-1   |     adapter: [ 'xhr', 'http' ],
opencopilot-dashboard-1   |     transformRequest: [ [Function (anonymous)] ],
opencopilot-dashboard-1   |     transformResponse: [ [Function (anonymous)] ],
opencopilot-dashboard-1   |     timeout: 0,
opencopilot-dashboard-1   |     xsrfCookieName: 'XSRF-TOKEN',
opencopilot-dashboard-1   |     xsrfHeaderName: 'X-XSRF-TOKEN',
opencopilot-dashboard-1   |     maxContentLength: -1,
opencopilot-dashboard-1   |     maxBodyLength: -1,
opencopilot-dashboard-1   |     env: { FormData: [Function], Blob: [class Blob] },
opencopilot-dashboard-1   |     validateStatus: [Function: validateStatus],
opencopilot-dashboard-1   |     headers: Object [AxiosHeaders] {
opencopilot-dashboard-1   |       Accept: 'application/json, text/plain, */*',
opencopilot-dashboard-1   |       'Content-Type': undefined,
opencopilot-dashboard-1   |       'User-Agent': 'axios/1.6.0',
opencopilot-dashboard-1   |       'Accept-Encoding': 'gzip, compress, deflate, br'
opencopilot-dashboard-1   |     },
opencopilot-dashboard-1   |     baseURL: 'http://localhost:8888/backend/copilot',
opencopilot-dashboard-1   |     method: 'get',
opencopilot-dashboard-1   |     url: '/',
opencopilot-dashboard-1   |     data: undefined
opencopilot-dashboard-1   |   },
opencopilot-dashboard-1   |   request: <ref *1> Writable {
opencopilot-dashboard-1   |     _writableState: WritableState {
opencopilot-dashboard-1   |       objectMode: false,
opencopilot-dashboard-1   |       highWaterMark: 16384,
opencopilot-dashboard-1   |       finalCalled: false,
opencopilot-dashboard-1   |       needDrain: false,
opencopilot-dashboard-1   |       ending: false,
opencopilot-dashboard-1   |       ended: false,
opencopilot-dashboard-1   |       finished: false,
opencopilot-dashboard-1   |       destroyed: false,
opencopilot-dashboard-1   |       decodeStrings: true,
opencopilot-dashboard-1   |       defaultEncoding: 'utf8',
opencopilot-dashboard-1   |       length: 0,
opencopilot-dashboard-1   |       writing: false,
opencopilot-dashboard-1   |       corked: 0,
opencopilot-dashboard-1   |       sync: true,
opencopilot-dashboard-1   |       bufferProcessing: false,
opencopilot-dashboard-1   |       onwrite: [Function: bound onwrite],
opencopilot-dashboard-1   |       writecb: null,
opencopilot-dashboard-1   |       writelen: 0,
opencopilot-dashboard-1   |       afterWriteTickInfo: null,
opencopilot-dashboard-1   |       buffered: [],
opencopilot-dashboard-1   |       bufferedIndex: 0,
opencopilot-dashboard-1   |       allBuffers: true,
opencopilot-dashboard-1   |       allNoop: true,
opencopilot-dashboard-1   |       pendingcb: 0,
opencopilot-dashboard-1   |       constructed: true,
opencopilot-dashboard-1   |       prefinished: false,
opencopilot-dashboard-1   |       errorEmitted: false,
opencopilot-dashboard-1   |       emitClose: true,
opencopilot-dashboard-1   |       autoDestroy: true,
opencopilot-dashboard-1   |       errored: null,
opencopilot-dashboard-1   |       closed: false,
opencopilot-dashboard-1   |       closeEmitted: false,
opencopilot-dashboard-1   |       [Symbol(kOnFinished)]: []
opencopilot-dashboard-1   |     },
opencopilot-dashboard-1   |     _events: [Object: null prototype] {
opencopilot-dashboard-1   |       response: [Function (anonymous)],
opencopilot-dashboard-1   |       error: [Function (anonymous)],
opencopilot-dashboard-1   |       socket: [Function (anonymous)]
opencopilot-dashboard-1   |     },
opencopilot-dashboard-1   |     _eventsCount: 3,
opencopilot-dashboard-1   |     _maxListeners: undefined,
opencopilot-dashboard-1   |     _options: {
opencopilot-dashboard-1   |       maxRedirects: 21,
opencopilot-dashboard-1   |       maxBodyLength: Infinity,
opencopilot-dashboard-1   |       protocol: 'http:',
opencopilot-dashboard-1   |       path: '/backend/copilot/',
opencopilot-dashboard-1   |       method: 'GET',
opencopilot-dashboard-1   |       headers: [Object: null prototype],
opencopilot-dashboard-1   |       agents: [Object],
opencopilot-dashboard-1   |       auth: undefined,
opencopilot-dashboard-1   |       family: undefined,
opencopilot-dashboard-1   |       beforeRedirect: [Function: dispatchBeforeRedirect],
opencopilot-dashboard-1   |       beforeRedirects: [Object],
opencopilot-dashboard-1   |       hostname: 'localhost',
opencopilot-dashboard-1   |       port: '8888',
opencopilot-dashboard-1   |       agent: undefined,
opencopilot-dashboard-1   |       nativeProtocols: [Object],
opencopilot-dashboard-1   |       pathname: '/backend/copilot/'
opencopilot-dashboard-1   |     },
opencopilot-dashboard-1   |     _ended: true,
opencopilot-dashboard-1   |     _ending: true,
opencopilot-dashboard-1   |     _redirectCount: 0,
opencopilot-dashboard-1   |     _redirects: [],
opencopilot-dashboard-1   |     _requestBodyLength: 0,
opencopilot-dashboard-1   |     _requestBodyBuffers: [],
opencopilot-dashboard-1   |     _onNativeResponse: [Function (anonymous)],
opencopilot-dashboard-1   |     _currentRequest: ClientRequest {
opencopilot-dashboard-1   |       _events: [Object: null prototype],
opencopilot-dashboard-1   |       _eventsCount: 7,
opencopilot-dashboard-1   |       _maxListeners: undefined,
opencopilot-dashboard-1   |       outputData: [],
opencopilot-dashboard-1   |       outputSize: 0,
opencopilot-dashboard-1   |       writable: true,
opencopilot-dashboard-1   |       destroyed: true,
opencopilot-dashboard-1   |       _last: true,
opencopilot-dashboard-1   |       chunkedEncoding: false,
opencopilot-dashboard-1   |       shouldKeepAlive: false,
opencopilot-dashboard-1   |       maxRequestsOnConnectionReached: false,
opencopilot-dashboard-1   |       _defaultKeepAlive: true,
opencopilot-dashboard-1   |       useChunkedEncodingByDefault: false,
opencopilot-dashboard-1   |       sendDate: false,
opencopilot-dashboard-1   |       _removedConnection: false,
opencopilot-dashboard-1   |       _removedContLen: false,
opencopilot-dashboard-1   |       _removedTE: false,
opencopilot-dashboard-1   |       strictContentLength: false,
opencopilot-dashboard-1   |       _contentLength: 0,
opencopilot-dashboard-1   |       _hasBody: true,
opencopilot-dashboard-1   |       _trailer: '',
opencopilot-dashboard-1   |       finished: true,
opencopilot-dashboard-1   |       _headerSent: true,
opencopilot-dashboard-1   |       _closed: true,
opencopilot-dashboard-1   |       socket: [Socket],
opencopilot-dashboard-1   |       _header: 'GET /backend/copilot/ HTTP/1.1\r\n' +
opencopilot-dashboard-1   |         'Accept: application/json, text/plain, */*\r\n' +
opencopilot-dashboard-1   |         'User-Agent: axios/1.6.0\r\n' +
opencopilot-dashboard-1   |         'Accept-Encoding: gzip, compress, deflate, br\r\n' +
opencopilot-dashboard-1   |         'Host: localhost:8888\r\n' +
opencopilot-dashboard-1   |         'Connection: close\r\n' +
opencopilot-dashboard-1   |         '\r\n',
opencopilot-dashboard-1   |       _keepAliveTimeout: 0,
opencopilot-dashboard-1   |       _onPendingData: [Function: nop],
opencopilot-dashboard-1   |       agent: [Agent],
opencopilot-dashboard-1   |       socketPath: undefined,
opencopilot-dashboard-1   |       method: 'GET',
opencopilot-dashboard-1   |       maxHeaderSize: undefined,
opencopilot-dashboard-1   |       insecureHTTPParser: undefined,
opencopilot-dashboard-1   |       joinDuplicateHeaders: undefined,
opencopilot-dashboard-1   |       path: '/backend/copilot/',
opencopilot-dashboard-1   |       _ended: false,
opencopilot-dashboard-1   |       res: null,
opencopilot-dashboard-1   |       aborted: false,
opencopilot-dashboard-1   |       timeoutCb: null,
opencopilot-dashboard-1   |       upgradeOrConnect: false,
opencopilot-dashboard-1   |       parser: null,
opencopilot-dashboard-1   |       maxHeadersCount: null,
opencopilot-dashboard-1   |       reusedSocket: false,
opencopilot-dashboard-1   |       host: 'localhost',
opencopilot-dashboard-1   |       protocol: 'http:',
opencopilot-dashboard-1   |       _redirectable: [Circular *1],
opencopilot-dashboard-1   |       [Symbol(kCapture)]: false,
opencopilot-dashboard-1   |       [Symbol(kBytesWritten)]: 0,
opencopilot-dashboard-1   |       [Symbol(kNeedDrain)]: false,
opencopilot-dashboard-1   |       [Symbol(corked)]: 0,
opencopilot-dashboard-1   |       [Symbol(kOutHeaders)]: [Object: null prototype],
opencopilot-dashboard-1   |       [Symbol(errored)]: null,
opencopilot-dashboard-1   |       [Symbol(kHighWaterMark)]: 16384,
opencopilot-dashboard-1   |       [Symbol(kRejectNonStandardBodyWrites)]: false,
opencopilot-dashboard-1   |       [Symbol(kUniqueHeaders)]: null
opencopilot-dashboard-1   |     },
opencopilot-dashboard-1   |     _currentUrl: 'http://localhost:8888/backend/copilot/',
opencopilot-dashboard-1   |     [Symbol(kCapture)]: false
opencopilot-dashboard-1   |   },
opencopilot-dashboard-1   |   cause: Error: connect ECONNREFUSED <IP_ADDRESS>:8888
opencopilot-dashboard-1   |       at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
opencopilot-dashboard-1   |       at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
opencopilot-dashboard-1   |     errno: -111,
opencopilot-dashboard-1   |     code: 'ECONNREFUSED',
opencopilot-dashboard-1   |     syscall: 'connect',
opencopilot-dashboard-1   |     address: '<IP_ADDRESS>',
opencopilot-dashboard-1   |     port: 8888
opencopilot-dashboard-1   |   }
opencopilot-dashboard-1   | }
opencopilot-dashboard-1   | [Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
opencopilot-dashboard-1   |   digest: '2385381294'
opencopilot-dashboard-1   | }
opencopilot-nginx-1       | <IP_ADDRESS> - - [29/Nov/2023:06:51:01 +0000] "GET / HTTP/1.1" 200 11761 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
opencopilot-nginx-1       | 2023/11/29 06:51:01 [error] 29#29: *50 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /backend/copilot/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:8002/backend/copilot/", host: "localhost:8888", referrer: "http://<IP_ADDRESS>:8888/"
opencopilot-nginx-1       | <IP_ADDRESS> - - [29/Nov/2023:06:51:01 +0000] "GET /backend/copilot/ HTTP/1.1" 502 559 "http://<IP_ADDRESS>:8888/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"

Does not seem to be any errors in the console while running make install
tpmccallum@192-168-1-21 OpenCopilot % make install
=== 🟢 Putting the services down (if already running) ===
docker-compose down #--remove-orphans
[+] Running 11/10
 ✔ Container opencopilot-nginx-1            Removed                                                                                0.2s
 ✔ Container opencopilot-workers-1          Removed                                                                                10.2s
 ✔ Container redis_cache                    Removed                                                                                0.3s
 ✔ Container opencopilot-adminer-1          Removed                                                                                0.2s
 ✔ Container opencopilot-selenium-1         Removed                                                                                3.9s
 ✔ Container opencopilot-llm-server-1       Removed                                                                                10.2s
 ✔ Container opencopilot-dashboard-1        Removed                                                                                0.2s
 ✔ Container opencopilot-mysql-1            Removed                                                                                1.0s
 ✔ Container opencopilot-qdrant-1           Removed                                                                                0.2s
 ✔ Container mongodb                        Removed                                                                                0.3s
 ✔ Network opencopilot_opencopilot_network  Removed                                                                                0.1s
=== 🟢 Setting up Docker environment ===
=== 🟢 Copying .env files ===
cp -n dashboard/.env.example dashboard/.env 2>/dev/null || true
docker-compose build #--no-cache
[+] Building 114.3s (38/38) FINISHED                                                                                docker:desktop-linux
 => [workers internal] load build definition from Dockerfile                                                                                0.1s
 => => transferring dockerfile: 552B                                                                                0.0s
 => [dashboard internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 924B                                                                                0.0s
 => [workers internal] load metadata for docker.io/library/python:3.9-slim                                                                                2.0s
 => [dashboard internal] load metadata for docker.io/library/node:18-alpine                                                                                0.8s
 => [llm-server internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 550B                                                                                0.0s
 => [dashboard internal] load .dockerignore                                                                                0.0s
 => => transferring context: 112B                                                                                0.0s
 => [dashboard internal] load build context                                                                                0.0s
 => => transferring context: 13.23kB                                                                                0.0s
 => [dashboard base 1/3] FROM docker.io/library/node:18-alpine@sha256:3428c2de886bf4378657da6fe86e105573a609c94df1f7d6a70e57d2b51de21f                                                                                0.0s
 => => resolve docker.io/library/node:18-alpine@sha256:3428c2de886bf4378657da6fe86e105573a609c94df1f7d6a70e57d2b51de21f                                                                                0.0s
 => CACHED [dashboard base 2/3] RUN corepack enable                                                                                0.0s
 => CACHED [dashboard base 3/3] RUN corepack prepare<EMAIL_ADDRESS>--activate                                                                                0.0s
 => CACHED [dashboard builder 1/4] WORKDIR /app                                                                                0.0s
 => CACHED [dashboard deps 1/4] RUN apk add --no-cache libc6-compat                                                                                0.0s
 => CACHED [dashboard deps 2/4] WORKDIR /app                                                                                0.0s
 => CACHED [dashboard deps 3/4] COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./                                                                                0.0s
 => CACHED [dashboard deps 4/4] RUN pnpm i --frozen-lockfile                                                                                0.0s
 => CACHED [dashboard builder 2/4] COPY --from=deps /app/node_modules ./node_modules                                                                                0.0s
 => [dashboard builder 3/4] COPY . .                                                                                0.1s
 => [dashboard builder 4/4] RUN pnpm run build                                                                                79.6s
 => [workers internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [llm-server internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2.52kB                                                                                0.0s
 => [workers common 1/5] FROM docker.io/library/python:3.9-slim@sha256:da575a948dc8bedb079db83aae9c1d7ccb0d792ba51218abcb1cdf03ac95c755                                                                                4.2s
 => => resolve docker.io/library/python:3.9-slim@sha256:da575a948dc8bedb079db83aae9c1d7ccb0d792ba51218abcb1cdf03ac95c755                                                                                0.0s
 => => sha256:ec926eb426a4a498f7ee46020e53da3210bb124c47ebb568206828ac272aa1ae 2.93MB / 2.93MB                                                                                1.1s
 => => sha256:57b3e82cff54cc371f8552487e2d528f14c27ee8177e768fc784e286128258db 232B / 232B                                                                                0.7s
 => => sha256:342f11d60b1e5fa9671af8474bbd959d419fc7ad2fd68d2f9b096acae58fb560 11.89MB / 11.89MB                                                                                3.4s
 => => sha256:442c5d63eafd969b755d7c8e0914319677ca8d5112a84e851b16677a4fc1d189 3.32MB / 3.32MB                                                                                1.6s
 => => extracting sha256:442c5d63eafd969b755d7c8e0914319677ca8d5112a84e851b16677a4fc1d189                                                                                0.1s
 => => extracting sha256:342f11d60b1e5fa9671af8474bbd959d419fc7ad2fd68d2f9b096acae58fb560                                                                                0.4s
 => => extracting sha256:57b3e82cff54cc371f8552487e2d528f14c27ee8177e768fc784e286128258db                                                                                0.0s
 => => extracting sha256:ec926eb426a4a498f7ee46020e53da3210bb124c47ebb568206828ac272aa1ae                                                                                0.2s
 => [llm-server internal] load build context                                                                                0.0s
 => => transferring context: 15.05kB                                                                                0.0s
 => [workers internal] load build context                                                                                0.0s
 => => transferring context: 2.54kB                                                                                0.0s
 => [llm-server common 2/5] WORKDIR /app                                                                                0.1s
 => [llm-server common 3/5] COPY requirements.txt /app/                                                                                0.0s
 => [workers 3/5] COPY requirements.txt /app/                                                                                0.0s
 => [workers 4/5] RUN pip install --no-cache-dir -r requirements.txt                                                                                77.2s
 => [llm-server common 4/5] RUN pip install --no-cache-dir -r requirements.txt                                                                                82.8s
 => CACHED [dashboard runner 2/6] RUN addgroup --system --gid 1001 nodejs                                                                                0.0s
 => CACHED [dashboard runner 3/6] RUN adduser --system --uid 1001 nextjs                                                                                0.0s
 => CACHED [dashboard runner 4/6] COPY --from=builder /app/public ./public                                                                                0.0s
 => [dashboard runner 5/6] COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./                                                                                0.3s
 => [dashboard runner 6/6] COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static                                                                                0.1s
 => [dashboard] exporting to image                                                                                1.5s
 => => exporting layers                                                                                1.0s
 => => exporting manifest sha256:1520fbb2e2d99ff73b3bbcc66ff931989e5ce52982ffbd845da7027cd4893570                                                                                0.0s
 => => exporting config sha256:f3e413b6a054073b818a34a5f2888df793d90a977b669f0f088ca6bdce5b3589                                                                                0.0s
 => => exporting attestation manifest sha256:08a1b76abc69815f7295c4c82b45a7f8259aeeb2464ea4781f3f31a7623bbe8d                                                                                0.0s
 => => exporting manifest list sha256:eb3f80f2782ec356900e33c62b1175ef7913db4c7f84e869d54cfda68a99e955                                                                                0.0s
 => => naming to docker.io/codebanesr/dashboard:latest                                                                                0.0s
 => => unpacking to docker.io/codebanesr/dashboard:latest                                                                                0.5s
 => [workers 5/5] COPY . /app/                                                                                0.1s
 => [workers] exporting to image                                                                                21.4s
 => => exporting layers                                                                                16.8s
 => => exporting manifest sha256:39d4417ce0ed67c5ec5bcb6cda8d3d538bf8af76d8b426458eed4adf52651335                                                                                0.0s
 => => exporting config sha256:52ef112d846bfb26dd900a37a1c3be17b4743acb1849150afec7ef32da51c463                                                                                0.0s
 => => exporting attestation manifest sha256:187c5b1e37b839db1becd04d664d7f590b10f537e8e945af7c7b10717fe8042c                                                                                0.0s
 => => exporting manifest list sha256:d67f0fbfa2ae260397436c1b5d92f47ced15b5b3de89424d61fbda8aef95d686                                                                                0.0s
 => => naming to docker.io/codebanesr/workers:latest                                                                                0.0s
 => => unpacking to docker.io/codebanesr/workers:latest                                                                                4.6s
 => [llm-server common 5/5] COPY . /app/                                                                                0.2s
 => [llm-server] exporting to image                                                                                21.8s
 => => exporting layers                                                                                16.6s
 => => exporting manifest sha256:02cd26aa425059ca29b20671c7a94679feadd9a613c660daf6eef7714f9f8bec                                                                                0.0s
 => => exporting config sha256:56e35fb24cb5ccc89ce9818bdee0662e25532af3a3330d82708aa3f4fe18e30a                                                                                0.0s
 => => exporting attestation manifest sha256:b126c8e63b827fd743ad3c00a276b2b7c4b1d0ab6addac8b58071ad35ba30a5e                                                                                0.0s
 => => exporting manifest list sha256:e449974991e89da2dea229d1d384dde40f0aa9bcc8861d1d85775ca81f1511cf                                                                                0.0s
 => => naming to docker.io/codebanesr/llm-server:latest                                                                                0.0s
 => => unpacking to docker.io/codebanesr/llm-server:latest                                                                                5.2s
docker-compose up -d #--force-recreate
[+] Building 0.0s (0/0)                                                                                docker:desktop-linux
[+] Running 11/11
 ✔ Network opencopilot_opencopilot_network  Created                                                                                0.3s
 ✔ Container redis_cache                    Started                                                                                0.3s
 ✔ Container opencopilot-selenium-1         Started                                                                                0.3s
 ✔ Container opencopilot-qdrant-1           Started                                                                                0.3s
 ✔ Container opencopilot-mysql-1            Started                                                                                0.3s
 ✔ Container mongodb                        Started                                                                                0.3s
 ✔ Container opencopilot-adminer-1          Started                                                                                0.2s
 ✔ Container opencopilot-dashboard-1        Started                                                                                0.2s
 ✔ Container opencopilot-workers-1          Started                                                                                0.2s
 ✔ Container opencopilot-llm-server-1       Started                                                                                0.2s
 ✔ Container opencopilot-nginx-1            Started                                                                                0.1s
=== 🟢 Waiting for services to start (~20 seconds) ===
=== 🟢 Running Alembic migrations ===
docker-compose exec llm-server sh -c "cd models && python setup_alembic.py && alembic upgrade head"
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
=== Installation completed ===
=== 🔥🔥 You can now access the dashboard at -> http://localhost:8888 ===
=== Enjoy! ===

Thanks @gharbat
I will try again later on tonight.

Hi @gharbat
Thanks for the update.
I have reinstalled using the latest code and get the following error:
workers_1     | Usage: celery [OPTIONS] COMMAND [ARGS]...
workers_1     | Try 'celery --help' for help.
workers_1     |
workers_1     | Error: Invalid value for '-A' / '--app':
workers_1     | Unable to load celery application.
workers_1     | While trying to load the module celery_app the following error occurred:
workers_1     | Traceback (most recent call last):
workers_1     |   File "/usr/local/lib/python3.9/site-packages/pymysql/connections.py", line 644, in connect
workers_1     |     sock = socket.create_connection(
workers_1     |   File "/usr/local/lib/python3.9/socket.py", line 823, in create_connection
workers_1     |     for res in getaddrinfo(host, port, 0, SOCK_STREAM):
workers_1     |   File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo
workers_1     |     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
workers_1     | socket.gaierror: [Errno -3] Temporary failure in name resolution
workers_1     |
workers_1     | During handling of the above exception, another exception occurred:
workers_1     |
workers_1     | Traceback (most recent call last):
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 145, in __init__
workers_1     |     self._dbapi_connection = engine.raw_connection()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3292, in raw_connection
workers_1     |     return self.pool.connect()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 452, in connect
workers_1     |     return _ConnectionFairy._checkout(self)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 1269, in _checkout
workers_1     |     fairy = _ConnectionRecord.checkout(pool)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 716, in checkout
workers_1     |     rec = pool._do_get()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/impl.py", line 170, in _do_get
workers_1     |     self._dec_overflow()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
workers_1     |     raise exc_value.with_traceback(exc_tb)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/impl.py", line 167, in _do_get
workers_1     |     return self._create_connection()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 393, in _create_connection
workers_1     |     return _ConnectionRecord(self)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 678, in __init__
workers_1     |     self.__connect()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 903, in __connect
workers_1     |     pool.logger.debug("Error on connect(): %s", e)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
workers_1     |     raise exc_value.with_traceback(exc_tb)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 898, in __connect
workers_1     |     self.dbapi_connection = connection = pool._invoke_creator(self)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 637, in connect
workers_1     |     return dialect.connect(*cargs, **cparams)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 616, in connect
workers_1     |     return self.loaded_dbapi.connect(*cargs, **cparams)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/pymysql/connections.py", line 358, in __init__
workers_1     |     self.connect()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/pymysql/connections.py", line 711, in connect
workers_1     |     raise exc
workers_1     | pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'mysql' ([Errno -3] Temporary failure in name resolution)")
workers_1     |
workers_1     | The above exception was the direct cause of the following exception:
workers_1     |
workers_1     | Traceback (most recent call last):
workers_1     |   File "/usr/local/lib/python3.9/site-packages/celery/bin/celery.py", line 58, in convert
workers_1     |     return find_app(value)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/celery/app/utils.py", line 383, in find_app
workers_1     |     sym = symbol_by_name(app, imp=imp)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/kombu/utils/imports.py", line 59, in symbol_by_name
workers_1     |     module = imp(module_name, package=package, **kwargs)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/celery/utils/imports.py", line 104, in import_from_cwd
workers_1     |     return imp(module, package=package)
workers_1     |   File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
workers_1     |     return _bootstrap._gcd_import(name[level:], package, level)
workers_1     |   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
workers_1     |   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
workers_1     |   File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
workers_1     |   File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
workers_1     |   File "<frozen importlib._bootstrap_external>", line 850, in exec_module
workers_1     |   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
workers_1     |   File "/app/celery_app.py", line 2, in <module>
workers_1     |     from shared.models.opencopilot_db import create_database_schema
workers_1     |   File "/app/shared/models/opencopilot_db/__init__.py", line 1, in <module>
workers_1     |     from .chat_history import ChatHistory
workers_1     |   File "/app/shared/models/opencopilot_db/chat_history.py", line 21, in <module>
workers_1     |     Base.metadata.create_all(engine)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/sql/schema.py", line 5828, in create_all
workers_1     |     bind._run_ddl_visitor(
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3242, in _run_ddl_visitor
workers_1     |     with self.begin() as conn:
workers_1     |   File "/usr/local/lib/python3.9/contextlib.py", line 119, in __enter__
workers_1     |     return next(self.gen)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3232, in begin
workers_1     |     with self.connect() as conn:
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3268, in connect
workers_1     |     return self._connection_cls(self)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 147, in __init__
workers_1     |     Connection._handle_dbapi_exception_noconnection(
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2430, in _handle_dbapi_exception_noconnection
workers_1     |     raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 145, in __init__
workers_1     |     self._dbapi_connection = engine.raw_connection()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3292, in raw_connection
workers_1     |     return self.pool.connect()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 452, in connect
workers_1     |     return _ConnectionFairy._checkout(self)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 1269, in _checkout
workers_1     |     fairy = _ConnectionRecord.checkout(pool)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 716, in checkout
workers_1     |     rec = pool._do_get()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/impl.py", line 170, in _do_get
workers_1     |     self._dec_overflow()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
workers_1     |     raise exc_value.with_traceback(exc_tb)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/impl.py", line 167, in _do_get
workers_1     |     return self._create_connection()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 393, in _create_connection
workers_1     |     return _ConnectionRecord(self)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 678, in __init__
workers_1     |     self.__connect()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 903, in __connect
workers_1     |     pool.logger.debug("Error on connect(): %s", e)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
workers_1     |     raise exc_value.with_traceback(exc_tb)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 898, in __connect
workers_1     |     self.dbapi_connection = connection = pool._invoke_creator(self)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 637, in connect
workers_1     |     return dialect.connect(*cargs, **cparams)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 616, in connect
workers_1     |     return self.loaded_dbapi.connect(*cargs, **cparams)
workers_1     |   File "/usr/local/lib/python3.9/site-packages/pymysql/connections.py", line 358, in __init__
workers_1     |     self.connect()
workers_1     |   File "/usr/local/lib/python3.9/site-packages/pymysql/connections.py", line 711, in connect
workers_1     |     raise exc
workers_1     | sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'mysql' ([Errno -3] Temporary failure in name resolution)")
workers_1     | (Background on this error at: https://sqlalche.me/e/20/e3q8)

Is there something else I should be doing other than just make install (aside from adding my OPENAI_API_KEY to the `.env; which I already did)?

@tpmccallum This should disappear after sometime, btw can you share your mysql environment variable value ?

Thanks @codebanesr
That makes sense (that the MySQL needed time).
The make install is almost there; am getting the following error:
Creating redis_cache            ... done
Creating opencopilot_selenium_1 ... done
Creating mongodb                ... done
Creating opencopilot_mysql_1    ... done
Creating opencopilot_dashboard_1  ... done
Creating opencopilot_adminer_1    ... done
Creating opencopilot_workers_1    ... done
Creating opencopilot_llm-server_1 ... done
Creating opencopilot_nginx_1      ... done
=== 🟢 Waiting for services to start (~20 seconds) ===
=== 🟢 Running Alembic migrations ===
docker-compose exec llm-server sh -c "cd models && python setup_alembic.py && alembic upgrade head"
/usr/lib/python3/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
  "class": algorithms.Blowfish,
make: *** [Makefile:32: install] Error 137

Oh, I just did make logs and it was generating output, I waited a while (even after the above error which seemed like the install had failed) and then went to the localhost:8888 after a couple of minutes and it started working. Advice to others trying this out, just wait for a couple of minutes and then visit the URL.

Thanks so much for your help @gharbat and @codebanesr
Greatly appreciated!


Doom -y upgrade keeps printing -Confirmations auto-accept enabled

What did you expect to happen?
The upgrade finishing successfully as it usually does.
I always run doom sync first followed by doom -y upgrade, which usually works out fine.
Today it did not
What actually happened?
this:

Additional details:

my init.el

System information:

```
((system
  (type . gnu/linux)
  (config . "x86_64-pc-linux-gnu")
  (shell . "/bin/bash")
  (uname . "Linux 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64")
  (path "~/perl5/bin" "~/.cabal/bin" "~/.ghcup/bin" "~/.cargo/bin" "~/bin" "/usr/local/sbin" "/usr/local/bin" "/usr/sbin" "/usr/bin" "/sbin" "/bin" "/usr/games" "/usr/local/games" "/snap/bin" "~/.emacs.d/bin/" "~/scripts/" "~/.cargo/bin/" "~/.cabal/bin/" "~/.local/bin/" "/usr/local/go/bin" "/usr/lib/emacs/26.3/x86_64-linux-gnu"))
 (emacs
  (dir . "~/.emacs.d/")
  (version . "26.3")
  (build . "Mar 26, 2020")
  (buildopts . "--build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.3/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.3/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs-mEZBk7/emacs-26.3+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'")
  (features . "XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD LCMS2")
  (traits batch envvar-file))
 (doom
  (dir . "~/.doom.d/")
  (version . "2.0.9")
  (build . "HEAD -> develop 6e22a15e4 2020-08-24 23:36:11 -0400")
  (elc-files . 0)
  (modules :completion company ivy :ui doom doom-dashboard doom-quit hl-todo modeline neotree ophints (popup +defaults) ligatures tabs unicode vc-gutter vi-tilde-fringe workspaces :editor (evil +everywhere) file-templates fold multiple-cursors snippets word-wrap :emacs dired electric (undo +tree) vc :checkers syntax :tools (eval +overlay) lookup magit :lang cc emacs-lisp (haskell +dante) javascript markdown org raku php python (ruby +rails) rust sh web :config (default +bindings +smartparens))
  (packages "n/a")
  (unpin "n/a")
  (elpa "n/a")))
```

There have been a number of updates to bin/doom in the last two days. You may have somehow landed in one of the bad commits. Try upgrading manually:
git -C ~/.emacs.d pull
doom sync -u

yeah that did it, thanks a bunch!

Glad I could help!


Second Integration

We still need to complete another integration. This is one potential candidate who seems to have most of the spec implemented properly: https://github.com/CMPUT410W15/cmput410-project. There is a funky issue with their authorization headers in that they expect you to do: Their_author_display_name:host:password for the basic auth header, but that should be easy enough to do with a hardcoded if statement in the integrator. I don't really like any of the options as many of them take many liberties with the spec and do a lot of hacking around that makes it hard to implement a generalized solution.

[ ] check that both integrations are returning "content-type".