deck version fails if no git it is available

What happened?
I am running deck version on a system without git available:
One thing we might want to do is checking for a git executable as well, since deck version will fail if its not available:

Traceback (most recent call last):
  File "git", line 87, in <module>
  File "git", line 76, in refresh
  File "git.cmd", line 341, in refresh
ImportError: Bad git executable.
The git executable must be specified in one of the following ways:
    - be included in your $PATH
    - be set via $GIT_PYTHON_GIT_EXECUTABLE
    - explicitly set via git.refresh()

All git commands will error until this is rectified.

This initial warning can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
    - quiet|q|silence|s|none|n|0: for no warning or exception
    - warn|w|warning|1: for a printed warning
    - error|e|raise|r|2: for a raised exception

Example:
    export GIT_PYTHON_REFRESH=quiet

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "getdeck.__main__", line 114, in main
  File "getdeck.api", line 2, in <module>
  File "getdeck.api.get", line 7, in <module>
  File "getdeck.api.hosts", line 10, in <module>
  File "getdeck.utils", line 10, in <module>
  File "getdeck.deckfile.fetch.deck_fetcher", line 11, in <module>
  File "git", line 89, in <module>
ImportError: Failed to initialize: Bad git executable.
The git executable must be specified in one of the following ways:
    - be included in your $PATH
    - be set via $GIT_PYTHON_GIT_EXECUTABLE
    - explicitly set via git.refresh()

All git commands will error until this is rectified.

This initial warning can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
    - quiet|q|silence|s|none|n|0: for no warning or exception
    - warn|w|warning|1: for a printed warning
    - error|e|raise|r|2: for a raised exception

Example:
    export GIT_PYTHON_REFRESH=quiet

What did you expect to happen?
Since git is only required for a subset of commands, it might be useful to be able to run deck version even if no git is installed and fail as late as possible, eg when I try to execute a command which actually needs git.
How can we reproduce it (as minimally and precisely as possible)?
docker run -it debian bash
apt update
apt install curl sudo unzip
curl -sSL https://raw.githubusercontent.com/getdeck/getdeck/main/install.sh | sh -
deck version

What is the content of the Deckfile you are using?
Doesn't matter
OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Anything else we need to know?
No response

#116 might solve this problem. This should be tested with the new release.

@buschNT Which release exactly?

This issues was fixed in version 0.11.1 . I managed to run the provided docker example without getting the error.


[Windows] crc setup fails in case 2 user from same system try to use crc

Note: This is not the blocker issue but someone might experience it ( so putting it for record).
There are many reason why crc setup can fails and preflight check can detect and let user know what can be done to resolve it. Recently we added the task scheduler logic to start the daemon process as task and found out following scenario which is kind of hard for preflight check to understand what causing the issue.
Assume there are 2 different user (foo and bar) on this windows system

User logged in with foo and run crc setup
crc setup succeed and user start using crc instance
User logout from foo without crc cleanup and logged in with bar
Again try to do crc setup but noticed it is failing

> .\crc.exe setup
[...]
INFO Checking if daemon task is installed
INFO Installing the daemon task
failed to register crcDaemon task, exit status 1: Register-ScheduledTask : Cannot create a file when that file already exists.
At line:1 char:43
+ ... yContinue'; Register-ScheduledTask -Xml '<?xml version="1.0" encoding ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceExists: (PS_ScheduledTask:Root/Microsoft/...S_ScheduledTask) [Register-ScheduledTask], CimException
    + FullyQualifiedErrorId : HRESULT 0x800700b7,Register-ScheduledTask

Thought crc cleanup would fix it but it doesn't because user bar doesn't able to read the tasks which started/running by foo user

> .\crc.exe cleanup --log-level debug
[...]
DEBU Running 'Get-ScheduledTask -TaskName crcDaemon'
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: Get-ScheduledTask : No MSFT_ScheduledTask objects found with property 'TaskName' equal to 'crcDaemon'.  Verify the value of the property and reAt line:1 char:43
+ ... reference = 'SilentlyContinue'; Get-ScheduledTask -TaskName crcDaemon
+                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (crcDaemon:String) [Get-ScheduledTask], CimJobException
    + FullyQualifiedErrorId : CmdletizationQuery_NotFound_TaskName,Get-ScheduledTask

If user try to open the task schedular then he can see from UI crcDeamon is running.

How to solve

User logout from bar and log back in to foo and then use crc cleanup

Or

User open the task schedular UI from the administrator and delete the task manually
Also user have to open task manager UI from the adminstrator and kill the daemon process.

Or maybe we should stop the scheduled task when the user logs out?

@cfergeau not only stop the schedule task but need to remove it because Register-ScheduledTask will always fail until task is deleted from that user.

Hi,
there is my result :

crc cleanup, crc delete ... - does not help/work.
User open the task schedular UI from the administrator and delete the task manually - does not help/work.
Also user have to open task manager UI from the adminstrator and kill the daemon process - - does not help/work.
On the Windows [Version 10.0.22000.613].

@zsery Can you put the steps you used to install the crc and also what you want to do? Does crc setup not working for you, what error are you getting?

@praveenkumar My installation steps:
1, run crc-windows-amd64.msi
2, under admin rights run crc setup
There is Debug log:
DEBU CRC version: 2.2.2+be1af25f
DEBU OpenShift version: 4.10.9
DEBU Podman version: 3.4.4
DEBU Running 'crc setup'
CRC is constantly improving and we would like to know more about usage (more details at https://developers.redhat.com/article/tool-data-collection)
Your preference can be changed manually if desired using 'crc config set consent-telemetry <yes/no>'
Would you like to contribute anonymous usage statistics? [y/N]: n
No worry, you can still enable telemetry manually with the command 'crc config set consent-telemetry yes'.
INFO Using bundle path C:\Users\zdenek.sery.crc\cache\crc_hyperv_4.10.9_amd64.crcbundle
INFO Checking if current user is in Hyper-V Admins group
DEBU Running '$sid = New-Object System.Security.Principal.SecurityIdentifier("S-1-5-32-578")
@([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole($sid)'
INFO Checking if CRC bundle is extracted in '$HOME/.crc'
INFO Checking if C:\Users\zdenek.sery.crc\cache\crc_hyperv_4.10.9_amd64.crcbundle exists
DEBU error getting bundle info for crc_hyperv_4.10.9_amd64.crcbundle: could not find cached bundle info in C:\Users\zdenek.sery.crc\cache\crc_hyperv_4.10.9_amd64: CreateFile C:\Users\zdenek.sery.crc\cache\crc_hyperv_4.10.9_amd64: The system cannot find the file specified.
DEBU could not find cached bundle info in C:\Users\zdenek.sery.crc\cache\crc_hyperv_4.10.9_amd64: CreateFile C:\Users\zdenek.sery.crc\cache\crc_hyperv_4.10.9_amd64: The system cannot find the file specified.
INFO Getting bundle for the CRC executable
DEBU Ensuring directory C:\Users\zdenek.sery.crc\cache exists
INFO Downloading crc_hyperv_4.10.9_amd64.crcbundle
DEBU Downloading https://mirror.openshift.com/pub/openshift-v4/clients/crc/bundles/openshift/4.10.9/crc_hyperv_4.10.9_amd64.crcbundle to C:\Users\zdenek.sery.crc\cache\crc_hyperv_4.10.9_amd64.crcbundle
3.16 GiB / 3.16 GiB [--------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00% 26.50 MiB p/s
DEBU Download saved to C:\Users\zdenek.sery.crc\cache\crc_hyperv_4.10.9_amd64.crcbundle
INFO Uncompressing C:\Users\zdenek.sery.crc\cache\crc_hyperv_4.10.9_amd64.crcbundle
DEBU Uncompressing C:\Users\zdenek.sery.crc\cache\crc_hyperv_4.10.9_amd64.crcbundle to C:\Users\zdenek.sery.crc\cache\tmp-extract
crc.vhdx: 14.05 GiB / 14.05 GiB [----------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00%
oc.exe: 96.65 MiB / 96.65 MiB [------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00%
DEBU retry loop: attempt 0
INFO Checking if daemon task is installed
DEBU Running 'Get-ScheduledTask -TaskName crcDaemon'
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: Get-ScheduledTask : �loha XML obsahuje hodnotu, kter� nen� spr�vn� naform�tovan� nebo je mimo rozsah.
At line:1 char:43

... reference = 'SilentlyContinue'; Get-ScheduledTask -TaskName crcDaemon

                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (MSFT_ScheduledTask:Root/Microsoft/...T_ScheduledTask) [Get-ScheduledTask], CimException
FullyQualifiedErrorId : HRESULT 0x80041318,Get-ScheduledTask

DEBU crcDaemon task is not installed: exit status 1 : Get-ScheduledTask : �loha XML obsahuje hodnotu, kter� nen� spr�vn� naform�tovan� nebo je mimo rozsah.
At line:1 char:43

... reference = 'SilentlyContinue'; Get-ScheduledTask -TaskName crcDaemon

                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (MSFT_ScheduledTask:Root/Microsoft/...T_ScheduledTask) [Get-ScheduledTask], CimException
FullyQualifiedErrorId : HRESULT 0x80041318,Get-ScheduledTask

DEBU exit status 1
INFO Installing the daemon task
DEBU Running 'Get-ScheduledTask -TaskName crcDaemon'
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: Get-ScheduledTask : �loha XML obsahuje hodnotu, kter� nen� spr�vn� naform�tovan� nebo je mimo rozsah.
At line:1 char:43

... reference = 'SilentlyContinue'; Get-ScheduledTask -TaskName crcDaemon

                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (MSFT_ScheduledTask:Root/Microsoft/...T_ScheduledTask) [Get-ScheduledTask], CimException
FullyQualifiedErrorId : HRESULT 0x80041318,Get-ScheduledTask

DEBU crcDaemon task is not installed: exit status 1 : Get-ScheduledTask : �loha XML obsahuje hodnotu, kter� nen� spr�vn� naform�tovan� nebo je mimo rozsah.
At line:1 char:43

... reference = 'SilentlyContinue'; Get-ScheduledTask -TaskName crcDaemon

                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (MSFT_ScheduledTask:Root/Microsoft/...T_ScheduledTask) [Get-ScheduledTask], CimException
FullyQualifiedErrorId : HRESULT 0x80041318,Get-ScheduledTask

DEBU Running 'Register-ScheduledTask -Xml '

Run crc daemon as a task
2.2.2

false
false
true
IgnoreNew

PT10M
PT1H
true
false

true

powershell.exe
-WindowStyle Hidden -Command & 'C:\Program Files\Red Hat OpenShift Local\crc.exe' daemon

' -TaskName crcDaemon'
INFO Checking if daemon task is running
DEBU Running '(Get-ScheduledTask -TaskName "crcDaemon").State'
DEBU expected crcDaemon task to be in 'Running' but got ''
INFO Running the daemon task
DEBU Running 'Start-ScheduledTask -TaskName crcDaemon'
INFO Checking admin helper service is running
DEBU Running '(Get-Service crcAdminHelper).Status'
Your system is correctly setup for using CRC. Use 'crc start' to start the instance

@zsery I will try those steps and get back to. Meanwhile why you are running the crc setup under admin right? you just open powershell (without run as administrator) and run it and it should pop as UAC prompt if some command executed as admin.

@praveenkumar  I can try it without administrator rights. I'm an admin and I assumed it was necessary. The settings I understood as not a user process, but the system process :-)

@praveenkumar There are crc_start (user rights) and crc_start files in the debug level logging.
crc_start.txt
crc_setup.txt

@praveenkumar There are crc_start (user rights) and crc_start files in the debug level logging.

@zsery Going through the setup and start logs doesn't look like this issue should justify it. As per logs setup works and even start able to start the VM but it is failed to update the pull secret, because of slow IO? For this better to create a new issue with issue template.

I also tested following scenario and that doesn't have any issue.

Created a user which also have admin privilleges
Run the powershell.exe as administrator and executed crc setup
Run the powershell.exe without administrator and executed crc start
Above steps works as expected so I think @zsery your issue doesn't related to this one, this only happen as I described in the issue.


Changing the color of the resources cards

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?
I will make the text color of the resources card white for dark mode and black for light mode

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

@Ayushmaanagarwal1211 assigned

The color of the text should be black in light mode, but the text color should be white in dark mode.


Please invite me to the Recode-Hive GitHub Community Organization

Name
from13
Discord Username (if applicable)
NA
Additional Context
No response

Invitation sent to join the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. You can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/recodehive/people


What about Security Monitoring?

There is no mention of security event monitoring. Please add some content about how Microsoft Sentinel should be used to monitor AKS.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 47583913-d1e3-7169-8a91-ac90281d4091
Version Independent ID: 47583913-d1e3-7169-8a91-ac90281d4091
Content: Kubernetes monitoring and logging - Azure Architecture Center
Content Source: docs/aws-professional/eks-to-aks/monitoring.yml
Service: architecture-center
Sub-service: azure-guide
GitHub Login: @ketan-chawda-msft
Microsoft Alias: kechaw

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

#please-close


[FR] Add last updated column for supplier parts

This PR:

Moves the different updated model fields to a mixin
Adds updated column for supplier parts
Add this column to the tables where it is needed

Fixes #3327

@SchrodingersGat updated the api version and text


How to get user-specific information using the API?

Hi @cachecleanerjeet,
I really liked your project. It's a shame that such a popular music streaming service doesn't have an official API.
Anyway, I think that it would be great if you could somehow add the functionality of getting user-specific information from your API.
For example, it would be great if I could get my playlists information from your API. And it would be awesome if you could somehow figure out ways to post changes to saavn through the API. For example, one could use your API to add new songs to a particular playlist. It would be very useful in a large number of projects.
I really liked your project. Good work. Think about this suggestion :)

That's definitely possible, but it requires user login, I will be research on it and maybe I will add this. Thanks for the suggestion

Hi @cachecleanerjeet
how to get Trending songs list, Newly added song list.
Thank You


Remove project column from production stats on project page

If these are the prod stats for a proj, why display the project? It doesn't seem to be working anyway.

This needs to be fleshed out but it should be populated with any projects and sites linked to the production. This sort of predates the production/transfer as direct ref so it probably makes more sense to call title this column sites in this case. We could also lose it, though its meant to show cases where a payment or production record is linked to both a site and a project.

I agree we can lose it as for soft launch: all our production data is only linked to a project (and not to sites)


:sparkles:Use provider config field for provider client

Summary
This will allow provider client to access the provider by using config from provider description object.
Related issue(s)
Fixes #

Why don't you pass the Desc into the New() of all providers ?  This will allow you to use it in the providers that needs it.

/lgtm
/approve


Rectangle Colors

Hi All,
I'd like to add an option field for changing the rectangle colors.
GitHubCalendar(domObject, uName,       { summary_text: 'blah',        global_stats: true,        responsive: true,        base_color: '#FF5733' });
Base color would correspond to the current #239a3b slot (2nd to last). It would overwrite the last three values, leaving the base gray (#ebedf0) in place. Other colors would be calculated from the base color (darker, lighter).
The legend would also be changed to correspond.

This is already possible via CSS, like explained here.
Perhaps we should update the docs regarding this.

Hi @IonicaBizau, sorry, yes it had been in documentation I think I might not have bothered you with it :)


Recover from connection resets when iterating through playlist

iterate_forever should probably be able to recover gracefully from exceptions raised due to the Pandora server closing the connection for some reason:
File "/var/lib/git/pydora/pydora/utils.py", line 120, in iterate_forever
output = func(*args, **kwargs)
File "/var/lib/git/pydora/pandora/models/pandora.py", line 24, in get_playlist
return iter(self._api_client.get_playlist(self.token))
File "/var/lib/git/pydora/pandora/client.py", line 117, in get_playlist
includeTrackLength=True))
File "/var/lib/git/pydora/pandora/client.py", line 88, in call
return self.transport(method, **kwargs)
File "/var/lib/git/pydora/pandora/transport.py", line 170, in call
result = self._make_http_request(url, data, params)
File "/var/lib/git/pydora/pandora/transport.py", line 122, in _make_http_request
r = self._http.post(url, data=data, params=params)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 511, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 370, in send
timeout=timeout
File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
body=body, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 376, in _make_request
httplib_response = conn.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1034, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
line = self.fp.readline()
File "/usr/lib/python2.7/socket.py", line 447, in readline
data = self._sock.recv(self._rbufsize)
File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 179, in recv
data = self.connection.recv(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 1320, in recv
self._raise_ssl_error(self._ssl, result)
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 1178, in _raise_ssl_error
raise SysCallError(errno, errorcode.get(errno))
SysCallError: (104, 'ECONNRESET')
Perhaps simply retrying the API call up to n times with a short delay in between as suggested in https://github.com/kennethreitz/requests/issues/2543 might be an option?

Could be that this is something that should be handled in either urllib3 or requests (also see shazow/urllib3#367)

These types of errors should be handled by the HTTPAdapter in RetryingSession, or at least that was the theory. I'll try subclassing that to provide better error handling for this case.

I've been hacking on something at https://github.com/jcass77/pydora/blob/709904df881b5d96bf13b1d592d64db1214aedb5/pandora/transport.py#L27-L83
It uses a generic retry decorator to retry the call if the specified exception(s) occur. It is not HTTP session aware at all, so not sure if it will be suitable as a retry handler.
@mcrute is this approach worth considering or would you prefer to handle it differently?

That seems like a pretty good approach. The API is already aware of login timeout exceptions and will retry those so unless there's some other class of error that can't be fixed with a retry this should work.
You may also be able to simplify the logic by using a while loop and decrementing an integer like:
retries_left = 10
while retries_left > 0:
   ... retry ...
   retries_left -= 1

Merged #31


Function size limit exceeded on vercel

Bug description
@janpio as requested, here's a newly opened issue.
I am running into this error on 2.23 WITHOUT nexus-plugin-prisma so #6932 wont solve it for me.
My bundle size has increased a lot recently and I am not sure why. Vercel logs below with NEXT_DEBUG_FUNCTION_SIZE=1
I am using nx workspace with my prisma client in a lib. It worked fine until recent versions of prisma (2.20 if I recall).
Not sure if it has an effect, but I am using pnpm

18:03:19.224 | Analyzing source code...
-- | --
18:03:20.168 | Installing build runtime...
18:03:22.602 | Build runtime installed: 2.434s
18:03:24.917 | Looking up build cache...
18:03:25.135 | Build cache found. Downloading...
18:03:35.334 | Build cache downloaded [187.60 MB]: 10198.752ms
18:03:36.475 | Running "install" command: `npx pnpm i --frozen-lockfile`...
18:03:37.301 | Lockfile is up-to-date, resolution step is skipped
18:03:37.597 | Progress: resolved 1, reused 0, downloaded 0, added 0
18:03:37.792 | Packages: +20 -16
18:03:37.793 | ++++++++++++++++++++----------------
18:03:38.597 | Progress: resolved 20, reused 0, downloaded 18, added 18
18:03:39.257 | WARN  Failed to find "/fsevents/2.3.2" in lockfile during hoisting. Next aliases will not be hoisted: fsevents
18:03:39.819 | Progress: resolved 20, reused 0, downloaded 20, added 20, done
18:03:39.920 | .../node_modules/@prisma/engines postinstall$ node download/index.js
18:03:43.274 | .../node_modules/@prisma/engines postinstall: Done
18:03:43.277 |<EMAIL_ADDRESS>preinstall$ node scripts/preinstall-entry.js
18:03:43.349 |<EMAIL_ADDRESS>preinstall: Done
18:03:43.350 |<EMAIL_ADDRESS>install$ node scripts/install-entry.js
18:03:43.422 |<EMAIL_ADDRESS>install: Done
18:03:43.469 | .../node_modules/@prisma/client postinstall$ node scripts/postinstall.js
18:03:43.989 | .../node_modules/@prisma/client postinstall: Environment variables loaded from .env
18:03:44.786 | .../node_modules/@prisma/client postinstall: prisma:warn The postinstall script automatically ran `prisma generate` and did not find your `prisma/schema.prisma`.
18:03:44.786 | .../node_modules/@prisma/client postinstall: If you have a Prisma schema file in a custom path, you will need to run
18:03:44.786 | .../node_modules/@prisma/client postinstall: `prisma generate --schema=./path/to/your/schema.prisma` to generate Prisma Client.
18:03:44.786 | .../node_modules/@prisma/client postinstall: If you do not have a Prisma schema file yet, you can ignore this message.
18:03:45.125 | .../node_modules/@prisma/client postinstall: Done
18:03:45.863 | dependencies:
18:03:45.863 | - @prisma/client 2.22.1
18:03:45.863 | + @prisma/client 2.23.0
18:03:45.863 | - @sentry/nextjs 6.3.6
18:03:45.863 | + @sentry/nextjs 6.3.6
18:03:45.863 | - @trpc/next 6.1.1
18:03:45.863 | + @trpc/next 6.1.1
18:03:45.863 | - babel-plugin-superjson-next 0.3.0
18:03:45.863 | + babel-plugin-superjson-next 0.3.0
18:03:45.863 | - next 10.2.2
18:03:45.864 | + next 10.2.0
18:03:45.864 | - next-auth 3.23.0
18:03:45.864 | + next-auth 3.23.0
18:03:45.864 | - storybook-addon-next-router 2.0.4
18:03:45.864 | + storybook-addon-next-router 2.0.4
18:03:45.864 | devDependencies:
18:03:45.864 | - @nrwl/next 12.3.4
18:03:45.864 | + @nrwl/next 12.3.4
18:03:45.864 | - prisma 2.22.1
18:03:45.864 | + prisma 2.23.0
18:03:45.885 | Detected Next.js version: 10.2.0
18:03:46.072 | Running "npx nx build agent-pay --with-deps --prod --skip-nx-cache"
18:03:48.233 | > nx run agent-pay:build:production
18:03:49.103 | >  NX  Running target codegen for 3 project(s):
18:03:49.103 | - legacy-mimir
18:03:49.103 | - legacy-vor
18:03:49.104 | - db
18:03:49.104 | ———————————————————————————————————————————————
18:03:49.132 | > nx run db:codegen
18:03:49.748 | Environment variables loaded from .env
18:03:50.521 | Prisma schema loaded from libs/db/prisma/src/schema.prisma
18:03:52.901 | ✔ Generated Prisma Client (2.23.0) to ./dist/libs/db/prisma in 270ms
18:03:52.901 | ✔ Generated DBML Schema to ./libs/db/prisma/src/dbml in 17ms
18:03:52.901 | You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client
18:03:52.902 | ```
18:03:52.902 | import { PrismaClient } from './dist/libs/db/prisma'
18:03:52.902 | const prisma = new PrismaClient()
18:03:52.902 | ```
18:03:52.963 | > nx run legacy-vor:codegen
18:03:53.884 | [16:03:53] Parse configuration [started]
18:03:53.885 | [16:03:53] Parse configuration [completed]
18:03:53.885 | [16:03:53] Generate outputs [started]
18:03:53.886 | [16:03:53] Generate ./libs/legacy/vor/src/generated/graphql.ts [started]
18:03:53.886 | [16:03:53] Load GraphQL schemas [started]
18:03:58.586 | [16:03:58] Load GraphQL schemas [completed]
18:03:58.586 | [16:03:58] Load GraphQL documents [started]
18:03:58.601 | [16:03:58] Load GraphQL documents [completed]
18:03:58.601 | [16:03:58] Generate [started]
18:03:58.755 | [16:03:58] Generate [completed]
18:03:58.756 | [16:03:58] Generate ./libs/legacy/vor/src/generated/graphql.ts [completed]
18:03:58.756 | [16:03:58] Generate outputs [completed]
18:04:04.868 | > nx run legacy-mimir:codegen
18:04:05.765 | [16:04:05] Parse configuration [started]
18:04:05.766 | [16:04:05] Parse configuration [completed]
18:04:05.766 | [16:04:05] Generate outputs [started]
18:04:05.767 | [16:04:05] Generate ./libs/legacy/mimir/src/generated/graphql.ts [started]
18:04:05.767 | [16:04:05] Load GraphQL schemas [started]
18:04:06.594 | [16:04:06] Load GraphQL schemas [completed]
18:04:06.594 | [16:04:06] Load GraphQL documents [started]
18:04:06.619 | [16:04:06] Load GraphQL documents [completed]
18:04:06.619 | [16:04:06] Generate [started]
18:04:06.836 | [16:04:06] Generate [completed]
18:04:06.836 | [16:04:06] Generate ./libs/legacy/mimir/src/generated/graphql.ts [completed]
18:04:06.836 | [16:04:06] Generate outputs [completed]
18:04:13.275 | ———————————————————————————————————————————————
18:04:13.275 | >  NX   SUCCESS  Running target "codegen" succeeded
18:04:13.933 | > nx run agent-pay:next-build:production --outputPath=.
18:04:15.363 | info  - Loaded env from apps/agent-pay/.env
18:04:16.102 | info  - Using webpack 4. Reason: custom webpack configuration in next.config.js https://nextjs.org/docs/messages/webpack5
18:04:16.430 | withNx() plugin: Detected Vercel build environment, applying "experimental-serverless-trace" target
18:04:17.177 | info  - Using webpack 4. Reason: custom webpack configuration in next.config.js https://nextjs.org/docs/messages/webpack5
18:04:17.179 | info  - Checking validity of types...
18:04:30.186 | info  - Creating an optimized production build...
18:04:30.979 | info  - Using external babel configuration from /vercel/path0/apps/agent-pay/.babelrc
18:04:33.485 | info  - Using external babel configuration from /vercel/path0/libs/utils/sentry/.babelrc
18:04:33.905 | info  - Using external babel configuration from /vercel/path0/libs/authentication/.babelrc
18:04:33.925 | info  - Using external babel configuration from /vercel/path0/libs/common/.babelrc
18:04:37.460 | info  - Using external babel configuration from /vercel/path0/libs/utils/segment/.babelrc
18:04:37.464 | info  - Using external babel configuration from /vercel/path0/libs/utils/rollout/.babelrc
18:04:37.489 | info  - Using external babel configuration from /vercel/path0/libs/authorization/.babelrc
18:04:37.537 | info  - Using external babel configuration from /vercel/path0/libs/db/trpc/client/.babelrc
18:04:37.972 | info  - Using external babel configuration from /vercel/path0/libs/legacy/moment/.babelrc
18:04:37.974 | info  - Using external babel configuration from /vercel/path0/libs/legacy/mimir/.babelrc
18:04:37.976 | info  - Using external babel configuration from /vercel/path0/libs/legacy/vor/.babelrc
18:04:46.420 | [BABEL] Note: The code generator has deoptimised the styling of /vercel/path0/dist/libs/db/prisma/index.js as it exceeds the max of 500KB.
18:04:53.840 | [BABEL] Note: The code generator has deoptimised the styling of /vercel/path0/dist/libs/db/prisma/runtime/index.js as it exceeds the max of 500KB.
18:05:04.259 | > Found 29 release files
18:05:04.272 | > Analyzing 29 sources
18:05:04.503 | > Rewriting sources
18:05:04.815 | > Adding source map references
18:05:05.975 | > Bundled 29 files for upload
18:05:06.749 | > Uploaded release files to Sentry
18:05:06.909 | > File upload complete (processing pending on server)
18:05:06.910 | Source Map Upload Report
18:05:06.910 | Scripts
18:05:06.910 | ~/_next/server/13.9f1052b17cb133a980ef.js
18:05:06.910 | ~/_next/server/pages/_app.js
18:05:06.910 | ~/_next/server/pages/_document.js
18:05:06.910 | ~/_next/server/pages/_error.js
18:05:06.910 | ~/_next/server/pages/agent/[id].js
18:05:06.911 | ~/_next/server/pages/agents.js
18:05:06.911 | ~/_next/server/pages/api/mimir/graphql.js
18:05:06.911 | ~/_next/server/pages/api/vor/graphql.js
18:05:06.911 | ~/_next/server/pages/auth/signin.js
18:05:06.911 | ~/_next/server/pages/auth/signout.js
18:05:06.911 | ~/_next/server/pages/index.js
18:05:06.911 | ~/_next/server/pages/logged-in.js
18:05:06.911 | ~/_next/server/pages/yard.js
18:05:06.912 | ~/_next/server/ssr-module-cache.js
18:05:06.912 | Minified Scripts
18:05:06.912 | ~/_next/server/pages/api/auth/[...nextauth].js (sourcemap at [...nextauth].js.map)
18:05:06.912 | Source Maps
18:05:06.912 | ~/_next/server/13.9f1052b17cb133a980ef.js.map
18:05:06.912 | ~/_next/server/pages/_app.js.map
18:05:06.912 | ~/_next/server/pages/_document.js.map
18:05:06.913 | ~/_next/server/pages/_error.js.map
18:05:06.913 | ~/_next/server/pages/agent/[id].js.map
18:05:06.913 | ~/_next/server/pages/agents.js.map
18:05:06.913 | ~/_next/server/pages/api/auth/[...nextauth].js.map
18:05:06.913 | ~/_next/server/pages/api/mimir/graphql.js.map
18:05:06.913 | ~/_next/server/pages/api/vor/graphql.js.map
18:05:06.913 | ~/_next/server/pages/auth/signin.js.map
18:05:06.914 | ~/_next/server/pages/auth/signout.js.map
18:05:06.914 | ~/_next/server/pages/index.js.map
18:05:06.914 | ~/_next/server/pages/logged-in.js.map
18:05:06.914 | ~/_next/server/pages/yard.js.map
18:05:32.510 | > Found 84 release files
18:05:32.526 | > Analyzing 84 sources
18:05:32.860 | > Rewriting sources
18:05:33.537 | > Adding source map references
18:05:35.288 | > Bundled 84 files for upload
18:05:36.427 | > Uploaded release files to Sentry
18:05:36.607 | > File upload complete (processing pending on server)
18:05:36.608 | Source Map Upload Report
18:05:36.608 | Scripts
18:05:36.608 | ~/_next/server/13.9f1052b17cb133a980ef.js
18:05:36.608 | ~/_next/server/pages/_app.js
18:05:36.608 | ~/_next/server/pages/_document.js
18:05:36.608 | ~/_next/server/pages/_error.js
18:05:36.608 | ~/_next/server/pages/agent/[id].js
18:05:36.608 | ~/_next/server/pages/agents.js
18:05:36.609 | ~/_next/server/pages/api/mimir/graphql.js
18:05:36.609 | ~/_next/server/pages/api/vor/graphql.js
18:05:36.609 | ~/_next/server/pages/auth/signin.js
18:05:36.609 | ~/_next/server/pages/auth/signout.js
18:05:36.609 | ~/_next/server/pages/index.js
18:05:36.609 | ~/_next/server/pages/logged-in.js
18:05:36.609 | ~/_next/server/pages/yard.js
18:05:36.609 | ~/_next/server/ssr-module-cache.js
18:05:36.609 | ~/_next/static/r3WPQUx_0chYrCCjPlK9i/_ssgManifest.js
18:05:36.609 | Minified Scripts
18:05:36.609 | ~/_next/server/pages/api/auth/[...nextauth].js (sourcemap at [...nextauth].js.map)
18:05:36.609 | ~/_next/static/chunks/25.63c289130052019be216.js (sourcemap at 25.63c289130052019be216.js.map)
18:05:36.609 | ~/_next/static/chunks/2f179c7d.f775645be48a42584449.js (sourcemap at 2f179c7d.f775645be48a42584449.js.map)
18:05:36.609 | ~/_next/static/chunks/385447c0e4e0be4775d546b7e9af718844e69059.221f163af54b57da42dd.js (sourcemap at 385447c0e4e0be4775d546b7e9af718844e69059.221f163af54b57da42dd.js.map)
18:05:36.609 | ~/_next/static/chunks/54ed3978.39d5688ac57ec0c2b2ba.js (sourcemap at 54ed3978.39d5688ac57ec0c2b2ba.js.map)
18:05:36.609 | ~/_next/static/chunks/674b5c70.a751003776842146359a.js (sourcemap at 674b5c70.a751003776842146359a.js.map)
18:05:36.609 | ~/_next/static/chunks/6a2ce0ce60a6102ea546b195b77a435e750d1c95.3d8fa2f111f4e08339e3.js (sourcemap at 6a2ce0ce60a6102ea546b195b77a435e750d1c95.3d8fa2f111f4e08339e3.js.map)
18:05:36.609 | ~/_next/static/chunks/a22d7b0a0b0507f6daaa624ec1e650cc133cfbd1.407724b6ac81118411d0.js (sourcemap at a22d7b0a0b0507f6daaa624ec1e650cc133cfbd1.407724b6ac81118411d0.js.map)
18:05:36.609 | ~/_next/static/chunks/c85c00a3.d986baad68475c70246d.js (sourcemap at c85c00a3.d986baad68475c70246d.js.map)
18:05:36.609 | ~/_next/static/chunks/ce61a669ffb34e930a63f5bd17c6e5157d8dde99.47d4c5618f66e6abdf44.js (sourcemap at ce61a669ffb34e930a63f5bd17c6e5157d8dde99.47d4c5618f66e6abdf44.js.map)
18:05:36.609 | ~/_next/static/chunks/commons.a7bff84a38aa419f0fe5.js (sourcemap at commons.a7bff84a38aa419f0fe5.js.map)
18:05:36.609 | ~/_next/static/chunks/db9c4727d218a8b6788016e90f400f0b0902933d.a06ccc125cbfcfaeab9f.js (sourcemap at db9c4727d218a8b6788016e90f400f0b0902933d.a06ccc125cbfcfaeab9f.js.map)
18:05:36.609 | ~/_next/static/chunks/e431992a3e33d6fda88663cff8ac4a148672e11f.e95f2d85352b1d347228.js (sourcemap at e431992a3e33d6fda88663cff8ac4a148672e11f.e95f2d85352b1d347228.js.map)
18:05:36.609 | ~/_next/static/chunks/f69bbb46.c05b59d304144231d6ae.js (sourcemap at f69bbb46.c05b59d304144231d6ae.js.map)
18:05:36.609 | ~/_next/static/chunks/f9c45baebc58af58b2d09b0511999eefe683b72f.3b63ff200b4c09e0aa33.js (sourcemap at f9c45baebc58af58b2d09b0511999eefe683b72f.3b63ff200b4c09e0aa33.js.map)
18:05:36.609 | ~/_next/static/chunks/main-6296c5822161096325e8.js (sourcemap at main-6296c5822161096325e8.js.map)
18:05:36.609 | ~/_next/static/chunks/pages/_app-3f779f649f767130855d.js (sourcemap at _app-3f779f649f767130855d.js.map)
18:05:36.609 | ~/_next/static/chunks/pages/_error-82bbca6c00087b20a0ca.js (sourcemap at _error-82bbca6c00087b20a0ca.js.map)
18:05:36.609 | ~/_next/static/chunks/pages/agent/[id]-67744440d97ab280982d.js (sourcemap at [id]-67744440d97ab280982d.js.map)
18:05:36.609 | ~/_next/static/chunks/pages/agents-359fbecb79aa467d1e90.js (sourcemap at agents-359fbecb79aa467d1e90.js.map)
18:05:36.609 | ~/_next/static/chunks/pages/auth/signin-c04e9cbe089eabf69f9b.js (sourcemap at signin-c04e9cbe089eabf69f9b.js.map)
18:05:36.609 | ~/_next/static/chunks/pages/auth/signout-dc1b85d20939f631c4ed.js (sourcemap at signout-dc1b85d20939f631c4ed.js.map)
18:05:36.609 | ~/_next/static/chunks/pages/index-9de4cbd0fc990c47da95.js (sourcemap at index-9de4cbd0fc990c47da95.js.map)
18:05:36.609 | ~/_next/static/chunks/pages/logged-in-cfd9eebfd7078a294cc3.js (sourcemap at logged-in-cfd9eebfd7078a294cc3.js.map)
18:05:36.610 | ~/_next/static/chunks/pages/yard-e14e6d323c32769a57d6.js (sourcemap at yard-e14e6d323c32769a57d6.js.map)
18:05:36.610 | ~/_next/static/chunks/polyfills-2439cf82be4a08c0281b.js (sourcemap at polyfills-2439cf82be4a08c0281b.js.map)
18:05:36.610 | ~/_next/static/chunks/webpack-f87ffba474f0bb3449c6.js (sourcemap at webpack-f87ffba474f0bb3449c6.js.map)
18:05:36.610 | ~/_next/static/r3WPQUx_0chYrCCjPlK9i/_buildManifest.js (no sourcemap ref)
18:05:36.610 | - warning: could not determine a source map reference (Could not auto-detect referenced sourcemap for ~/_next/static/r3WPQUx_0chYrCCjPlK9i/_buildManifest.js.)
18:05:36.610 | Source Maps
18:05:36.610 | ~/_next/server/13.9f1052b17cb133a980ef.js.map
18:05:36.610 | ~/_next/server/pages/_app.js.map
18:05:36.610 | ~/_next/server/pages/_document.js.map
18:05:36.610 | ~/_next/server/pages/_error.js.map
18:05:36.610 | ~/_next/server/pages/agent/[id].js.map
18:05:36.610 | ~/_next/server/pages/agents.js.map
18:05:36.610 | ~/_next/server/pages/api/auth/[...nextauth].js.map
18:05:36.610 | ~/_next/server/pages/api/mimir/graphql.js.map
18:05:36.610 | ~/_next/server/pages/api/vor/graphql.js.map
18:05:36.610 | ~/_next/server/pages/auth/signin.js.map
18:05:36.610 | ~/_next/server/pages/auth/signout.js.map
18:05:36.610 | ~/_next/server/pages/index.js.map
18:05:36.610 | ~/_next/server/pages/logged-in.js.map
18:05:36.610 | ~/_next/server/pages/yard.js.map
18:05:36.610 | ~/_next/static/chunks/25.63c289130052019be216.js.map
18:05:36.610 | ~/_next/static/chunks/2f179c7d.f775645be48a42584449.js.map
18:05:36.610 | ~/_next/static/chunks/385447c0e4e0be4775d546b7e9af718844e69059.221f163af54b57da42dd.js.map
18:05:36.610 | ~/_next/static/chunks/54ed3978.39d5688ac57ec0c2b2ba.js.map
18:05:36.610 | ~/_next/static/chunks/674b5c70.a751003776842146359a.js.map
18:05:36.610 | ~/_next/static/chunks/6a2ce0ce60a6102ea546b195b77a435e750d1c95.3d8fa2f111f4e08339e3.js.map
18:05:36.610 | ~/_next/static/chunks/a22d7b0a0b0507f6daaa624ec1e650cc133cfbd1.407724b6ac81118411d0.js.map
18:05:36.610 | ~/_next/static/chunks/c85c00a3.d986baad68475c70246d.js.map
18:05:36.610 | ~/_next/static/chunks/ce61a669ffb34e930a63f5bd17c6e5157d8dde99.47d4c5618f66e6abdf44.js.map
18:05:36.610 | ~/_next/static/chunks/commons.a7bff84a38aa419f0fe5.js.map
18:05:36.610 | ~/_next/static/chunks/db9c4727d218a8b6788016e90f400f0b0902933d.a06ccc125cbfcfaeab9f.js.map
18:05:36.610 | ~/_next/static/chunks/e431992a3e33d6fda88663cff8ac4a148672e11f.e95f2d85352b1d347228.js.map
18:05:36.610 | ~/_next/static/chunks/f69bbb46.c05b59d304144231d6ae.js.map
18:05:36.610 | ~/_next/static/chunks/f9c45baebc58af58b2d09b0511999eefe683b72f.3b63ff200b4c09e0aa33.js.map
18:05:36.611 | ~/_next/static/chunks/main-6296c5822161096325e8.js.map
18:05:36.611 | ~/_next/static/chunks/pages/_app-3f779f649f767130855d.js.map
18:05:36.611 | ~/_next/static/chunks/pages/_error-82bbca6c00087b20a0ca.js.map
18:05:36.611 | ~/_next/static/chunks/pages/agent/[id]-67744440d97ab280982d.js.map
18:05:36.611 | ~/_next/static/chunks/pages/agents-359fbecb79aa467d1e90.js.map
18:05:36.611 | ~/_next/static/chunks/pages/auth/signin-c04e9cbe089eabf69f9b.js.map
18:05:36.611 | ~/_next/static/chunks/pages/auth/signout-dc1b85d20939f631c4ed.js.map
18:05:36.611 | ~/_next/static/chunks/pages/index-9de4cbd0fc990c47da95.js.map
18:05:36.611 | ~/_next/static/chunks/pages/logged-in-cfd9eebfd7078a294cc3.js.map
18:05:36.611 | ~/_next/static/chunks/pages/yard-e14e6d323c32769a57d6.js.map
18:05:36.611 | ~/_next/static/chunks/polyfills-2439cf82be4a08c0281b.js.map
18:05:36.611 | ~/_next/static/chunks/webpack-f87ffba474f0bb3449c6.js.map
18:05:36.611 | ~/_next/static/css/38121e383cb6d3f501ec.css.map
18:05:37.237 | info  - Compiled successfully
18:05:37.237 | info  - Collecting page data...
18:05:38.869 | info  - Generating static pages (0/7)
18:05:39.793 | info  - Generating static pages (1/7)
18:05:39.820 | info  - Generating static pages (3/7)
18:05:39.838 | info  - Generating static pages (5/7)
18:05:39.966 | info  - Generating static pages (7/7)
18:05:39.966 | info  - Finalizing page optimization...
18:05:39.978 | Page                                                           Size     First Load JS
18:05:39.978 | ┌ λ /                                                          1.89 kB         627 kB
18:05:39.978 | ├   /_app                                                      0 B             625 kB
18:05:39.978 | ├ ○ /404                                                       3.77 kB         629 kB
18:05:39.978 | ├ ○ /agent/[id]                                                5.91 kB         781 kB
18:05:39.978 | ├ ○ /agents                                                    18.7 kB         794 kB
18:05:39.978 | ├ λ /api/auth/[...nextauth]                                    0 B             625 kB
18:05:39.978 | ├ λ /api/mimir/graphql                                         0 B             625 kB
18:05:39.978 | ├ λ /api/vor/graphql                                           0 B             625 kB
18:05:39.978 | ├ ○ /auth/signin                                               599 B           626 kB
18:05:39.978 | ├ ○ /auth/signout                                              612 B           626 kB
18:05:39.978 | ├ λ /logged-in                                                 401 B           626 kB
18:05:39.978 | └ ○ /yard                                                      7.39 kB         633 kB
18:05:39.978 | + First Load JS shared by all                                  625 kB
18:05:39.978 | ├ chunks/2f179c7d.f77564.js                                  37.1 kB
18:05:39.978 | ├ chunks/54ed3978.39d568.js                                  89.3 kB
18:05:39.979 | ├ chunks/6a2ce0ce60a6102ea546b195b77a435e750d1c95.3d8fa2.js  5.35 kB
18:05:39.979 | ├ chunks/a22d7b0a0b0507f6daaa624ec1e650cc133cfbd1.407724.js  23 kB
18:05:39.979 | ├ chunks/ce61a669ffb34e930a63f5bd17c6e5157d8dde99.47d4c5.js  65.9 kB
18:05:39.979 | ├ chunks/commons.a7bff8.js                                   4.99 kB
18:05:39.979 | ├ chunks/db9c4727d218a8b6788016e90f400f0b0902933d.a06ccc.js  73.4 kB
18:05:39.979 | ├ chunks/e431992a3e33d6fda88663cff8ac4a148672e11f.e95f2d.js  11.3 kB
18:05:39.979 | ├ chunks/f69bbb46.c05b59.js                                  24.7 kB
18:05:39.979 | ├ chunks/f9c45baebc58af58b2d09b0511999eefe683b72f.3b63ff.js  93.9 kB
18:05:39.979 | ├ chunks/main.6296c5.js                                      8.83 kB
18:05:39.979 | ├ chunks/pages/_app.3f779f.js                                186 kB
18:05:39.979 | ├ chunks/webpack.f87ffb.js                                   1.24 kB
18:05:39.979 | └ css/38121e383cb6d3f501ec.css                               1.55 kB
18:05:39.979 | λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
18:05:39.979 | ○  (Static)  automatically rendered as static HTML (uses no initial props)
18:05:39.979 | ●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)
18:05:39.979 | (ISR)     incremental static regeneration (uses revalidate in getStaticProps)
18:05:41.045 | ———————————————————————————————————————————————
18:05:41.045 | >  NX   SUCCESS  Running target "build" succeeded
18:05:41.050 | >  NX   CLOUD  See run details at https://nx.app/runs/23xck2cWenF
18:06:28.514 | Traced Next.js server files in: 47.425s
18:06:49.193 | Serverless function size info
18:06:49.194 | Serverless Function's pages: index.js, logged-in.js
18:06:49.195 | Large Dependencies  Uncompressed size  Compressed size
18:06:49.195 | pages/index.js                 487 kB           114 kB
18:06:49.195 | All dependencies              1.07 MB           292 kB
18:06:49.195 | Serverless Function's page: api/auth/[...nextauth].js
18:06:49.212 | Large Dependencies                                               Uncompressed size  Compressed size
18:06:49.212 | dist/libs/db                                                               45.3 MB          15.5 MB
18:06:49.212 | node_modules/.pnpm/<EMAIL_ADDRESS>                                    17.8 MB          6.71 MB
18:06:49.212 |<EMAIL_ADDRESS>            16 MB          3.48 MB
18:06:49.212 |<EMAIL_ADDRESS>                                          4.02 MB           594 kB
18:06:49.212 |<EMAIL_ADDRESS>                                        3.06 MB           513 kB
18:06:49.212 |<EMAIL_ADDRESS>                                   1.42 MB           459 kB
18:06:49.212 |<EMAIL_ADDRESS>                                        1.31 MB           357 kB
18:06:49.212 | node_modules/.pnpm/react-dom<EMAIL_ADDRESS>                         1.18 MB           290 kB
18:06:49.212 |<EMAIL_ADDRESS>                              686 kB           271 kB
18:06:49.212 | pages/api/auth/[...nextauth].js                                            1.83 MB           249 kB
18:06:49.212 |<EMAIL_ADDRESS>                                       328 kB           179 kB
18:06:49.212 |<EMAIL_ADDRESS>                                      323 kB           177 kB
18:06:49.212 |<EMAIL_ADDRESS>                                           365 kB           103 kB
18:06:49.212 |<EMAIL_ADDRESS>                                       435 kB           100 kB
18:06:49.212 | All dependencies                                                            104 MB          31.7 MB
18:06:49.213 | Serverless Function's pages: api/mimir/graphql.js, api/vor/graphql.js
18:06:49.225 | Large Dependencies                                               Uncompressed size  Compressed size
18:06:49.225 | node_modules/.pnpm/<EMAIL_ADDRESS>                                    17.8 MB          6.71 MB
18:06:49.225 |<EMAIL_ADDRESS>            16 MB          3.48 MB
18:06:49.225 |<EMAIL_ADDRESS>                                          4.02 MB           594 kB
18:06:49.225 |<EMAIL_ADDRESS>                                        1.31 MB           357 kB
18:06:49.225 | node_modules/.pnpm/react-dom<EMAIL_ADDRESS>                         1.18 MB           290 kB
18:06:49.225 |<EMAIL_ADDRESS>                              686 kB           271 kB
18:06:49.225 |<EMAIL_ADDRESS>                                       328 kB           179 kB
18:06:49.225 |<EMAIL_ADDRESS>                                      323 kB           177 kB
18:06:49.225 |<EMAIL_ADDRESS>                                           365 kB           103 kB
18:06:49.225 | All dependencies                                                           50.5 MB          14.5 MB
18:06:51.013 | Created all serverless functions in: 22.498s
18:07:05.317 | Failed to process build result for "api/auth/[...nextauth]". Data: {"type":"Lambda","zipBuffer":{"type":"Buffer","data":[80,75,3,4,20,0,0,8,8,0,216,128,180,82,235,58,148,11,209,0,0,0,21,1,0,0,4,0,0,0,46,101,110,118,141,142,189,110,131,48,24,69,119,158,194,82,102,28,18,40,49,149,24,18,176,212,42,212,68,169,169,200,100,249,.
18:07:05.574 | Error: The Serverless Function "api/auth/[...nextauth]" is 64.26mb which exceeds the maximum size limit of 50mb. Learn More: https://vercel.link/serverless-function-size

How to reproduce
I am not sure if I can reproduce this with a new repo as I'd need to write some pretty big amount of code to get to the size limit
Environment & setup

OS: On vercel so uses AWS Lambda under the hood
Database: PostgreSQL
Node.js version: 14

Prisma Version
2.23

Thanks for creating the new issue. Let's look at this.
...
Hmmm, the output is confusing me:
18:07:05.317 | Failed to process build result for "api/auth/[...nextauth]". Data: {"type":"Lambda","zipBuffer":{"type":"Buffer","data":[80,75,3,4,20,0,0,8,8,0,216,128,180,82,235,58,148,11,209,0,0,0,21,1,0,0,4,0,0,0,46,101,110,118,141,142,189,110,131,48,24,69,119,158,194,82,102,28,18,40,49,149,24,18,176,212,42,212,68,169,169,200,100,249,.
18:07:05.574 | Error: The Serverless Function "api/auth/[...nextauth]" is 64.26mb which exceeds the maximum size limit of 50mb. Learn More: https://vercel.link/serverless-function-size

But
18:06:49.195 | Serverless Function's page: api/auth/[...nextauth].js
18:06:49.212 | Large Dependencies                                               Uncompressed size  Compressed size
18:06:49.212 | dist/libs/db                                                               45.3 MB          15.5 MB
18:06:49.212 | node_modules/.pnpm/<EMAIL_ADDRESS>                                    17.8 MB          6.71 MB
18:06:49.212 |<EMAIL_ADDRESS>            16 MB          3.48 MB
18:06:49.212 |<EMAIL_ADDRESS>                                          4.02 MB           594 kB
18:06:49.212 |<EMAIL_ADDRESS>                                        3.06 MB           513 kB
18:06:49.212 |<EMAIL_ADDRESS>                                   1.42 MB           459 kB
18:06:49.212 |<EMAIL_ADDRESS>                                        1.31 MB           357 kB
18:06:49.212 | node_modules/.pnpm/react-dom<EMAIL_ADDRESS>                         1.18 MB           290 kB
18:06:49.212 |<EMAIL_ADDRESS>                              686 kB           271 kB
18:06:49.212 | pages/api/auth/[...nextauth].js                                            1.83 MB           249 kB
18:06:49.212 |<EMAIL_ADDRESS>                                       328 kB           179 kB
18:06:49.212 |<EMAIL_ADDRESS>                                      323 kB           177 kB
18:06:49.212 |<EMAIL_ADDRESS>                                           365 kB           103 kB
18:06:49.212 |<EMAIL_ADDRESS>                                       435 kB           100 kB
18:06:49.212 | All dependencies                                                            104 MB          31.7 MB

Do you agree that this should be the same function and the compressed size of 31.7 MB should totally fit in the 50MB limit, and that the 64.26mb mentioned in the error message are not visible anywhere else? I am confused why this is not working. Maybe Vercel is measuring different things?
I understand correctly that dist/libs/db is the folder you generate your Prisma Client to? Can you please confirm that folder is indeed 45.3 MB big? Can you post a tree output with all the files in that folder? Thanks.
That Sentry CLI is surprisingly big - not often we find libraries that are also >15MB as Prisma 😆
I assume you can not just easily share this codebase? Privately maybe?
How big were the deployed functions the last time it worked per the Vercel UI? (the functions page shows the size)
Can you set NEXT_DEBUG_FUNCTION_SIZE=1 also for the last working deployment and post the output? That might be interesting to compare to the numbers we are now getting to see what really changed.

I agree that it is confusing. I've seen the same confusion in other functions in other apps (same repo) and I've drawn the conclusion that All dependencies is meant to say Other dependencies as in everything not listed above so got to add the 31.7 to all the above numbers which gets one to roughly that 64.26mb
Yes dist/libs/db is where the prisma client lives. I can unfortunately not render a tree from how it is generated inside of vercel, but what I can do is show you what I got on my mac
dist/libs/db
└── [ 256]  prisma
    ├── [5.7K]  index-browser.js
    ├── [397K]  index.d.ts
    ├── [750K]  index.js
    ├── [ 23M]  query-engine-darwin
    ├── [ 192]  runtime
    │   ├── [7.5K]  index-browser.d.ts
    │   ├── [ 59K]  index-browser.js
    │   ├── [ 31K]  index.d.ts
    │   └── [2.5M]  index.js
    └── [4.9K]  schema.prisma

This has query-engine-darwin which seems to be smaller than the unix version (or maybe there are 2 engines generated on vercel)
I agree that sentry is a little big. It seems to have to do with their cli running its own process or something. We newly added sentry using the nextjs version for it which is isomorphic
I can't share the codebase here but I can privately invite you temporarily to the repo.
Working version is below, where Prisma is still 15.5 MB compressed.
0:57:07.558 | Serverless function size info
-- | --
00:57:07.559 | Serverless Function's pages: index.js, logged-in.js
00:57:07.561 | Large Dependencies  Uncompressed size  Compressed size
00:57:07.561 | pages/index.js                 487 kB           114 kB
00:57:07.561 | All dependencies              1.07 MB           292 kB
00:57:07.561 | Serverless Function's pages: api/auth/[...nextauth].js, api/mimir/graphql.js, api/vor/graphql.js
00:57:07.579 | Large Dependencies                                               Uncompressed size  Compressed size
00:57:07.580 | dist/libs/db                                                               45.3 MB          15.5 MB
00:57:07.580 | node_modules/.pnpm/<EMAIL_ADDRESS>                                    17.8 MB          6.71 MB
00:57:07.580 |<EMAIL_ADDRESS>          16.1 MB          3.51 MB
00:57:07.580 |<EMAIL_ADDRESS>                                          4.02 MB           594 kB
00:57:07.580 |<EMAIL_ADDRESS>                                        3.06 MB           513 kB
00:57:07.580 |<EMAIL_ADDRESS>                                   1.42 MB           459 kB
00:57:07.580 |<EMAIL_ADDRESS>                                        1.31 MB           357 kB
00:57:07.580 | node_modules/.pnpm/react-dom<EMAIL_ADDRESS>                         1.18 MB           290 kB
00:57:07.580 |<EMAIL_ADDRESS>                              686 kB           271 kB
00:57:07.580 | pages/api/auth/[...nextauth].js                                            1.83 MB           249 kB
00:57:07.580 |<EMAIL_ADDRESS>                                       328 kB           179 kB
00:57:07.581 |<EMAIL_ADDRESS>                                      323 kB           177 kB
00:57:07.581 |<EMAIL_ADDRESS>                                           365 kB           103 kB
00:57:07.581 |<EMAIL_ADDRESS>                                       435 kB           100 kB
00:57:07.581 | All dependencies                                                            104 MB          31.8 MB

Hm, isn't the dist/libs/db  entry identical and All Dependencies almost identical between the "broken" and the "working" one?
Giving me access might be useful, I can then run a Vercel like build locally and look what is going on.

Sure let me do that

This turned out to be a bug over at Vercel: The monorepo setup from @cyrus-za confused the build process and caused it to upload much more than wanted, which also lead to the error messages not reflecting reality.
After talking to some Vercel engineers this could be fixed and now works as expected. Thanks everyone involved!

Thanks @janpio for all the help. For an open source project, prisma sure has world class support!

Hello @cyrus-za! We're having the exact same problem with our monorepo, getting dependencies from other packages bundled into our Next.js API routes, causing an oversize issue. I'm curious about how you solved it, thanks!

I removed the biggest dependency (canvas) using rimraf pre-build and worked, it's a far from ideal workaround so I would like to know if there's any other.

Hello @lucas-janon, i have been searching for a day straight, and you are the only guy with the same problem as me in this. Canvas is huge in my function size though i obviously only use it on client side.
Did you find something smart?
I tried rimraf but getting this error after deletion
Error: ENOENT: no such file or directory, lstat '/vercel/path0/node_modules/canvas/package.json'] {
12:10:10.331 | errno: -2,
12:10:10.331 | code: 'ENOENT',
12:10:10.331 | syscall: 'lstat',
12:10:10.331 | path: '/vercel/path0/node_modules/canvas/package.json'
12:10:10.331 | }

Hi @arbejd, here's a better trick: npx rimraf node_modules/canvas/src, since the canvas package was compiled on install, it shouldn't cause any problem.

@lucas-janon Thank you! That worked like a charm. Can i buy you a beer somewhere?

Hi @arbejd, here's a better trick: npx rimraf node_modules/canvas/src, since the canvas package was compiled on install, it shouldn't cause any problem.

I use these approach and the post-build approach too, I'm using canvas in the back-end and these give me problems any help?

Hello @cyrus-za! We're having the exact same problem with our monorepo, getting dependencies from other packages bundled into our Next.js API routes, causing an oversize issue. I'm curious about how you solved it, thanks!

Same


Won't work on .less or .scss?

It works fine with .js file but I got error of
Can't resolve<EMAIL_ADDRESS>This won't support .less or .scss?

same issue here

This is a plugin for babel, a Javascript transpiler. Why would it support less or scss?

because babel is often coupled with webpack. And css imported  with javascript thanks to es6.
We resolved our problem using babel-plugin-webpack-alias
extract of webpack.config
    resolve: {
        alias: {
            'src': path.resolve(__dirname, './src'),
            'styles': path.resolve(__dirname, './src/style'),
        }
    },

extract of a css file inside a component
 @import 'styles/variables';

.arrowed {
    position: relative;
    background: inherit;
    border-radius: inherit;
    box-shadow: inherit;
    z-index: 0;
	…

Referring to .less/.scss files from JS code works but babel plugins are unable to transform the contents of .less/.scss files.


Allow disabling use of float and double

Allow defining NANOFMT_FLOAT to eather 1 or 0 to enable and disable support for floating point numbers

Hi ilobilo! Obviously I really really don't ever look at my GitHub notifications. I only just saw this today. I pulled your changes to a new branch to make some tweaks (adding CI coverage, mostly) and will merge that. Thank you, and sorry for the ridiculous delay.
Merged via PR #53 .


Add page - "Media"

Show media/press page when user clicks "media" in navbar.
Hide everything else but the header and footer.

Include these links for now, and we'll add more as they come:

https://design-jobs.framer.website/neurodiversity-in-tech
https://www.youtube.com/watch?v=9jWzUhdn5C0
https://www.youtube.com/watch?v=EStNdU5JQo4
https://www.toledosua.org/alumnae/news/post/~board/alumnae-news/post/making-an-impact-hayley-witherell

Stubbed media page in convert_to_ssg


Not working link

Dynamics 365 Customer Engagement (on-premises) link to https://docs.microsoft.com/en-us/dynamics365/customer-engagement/ not working

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

ID: b4b780c8-2e6f-00f3-96d3-d4361f4fe73b
Version Independent ID: 94b5c544-0ffc-631d-fd4c-f7dfb624a286
Content: Planning your deployment of Dynamics 365 Customer Engagement (on-premises)
Content Source: ce/customerengagement/on-premises/deploy/planning-your-deployment-of-microsoft-dynamics-365.md
Product: d365ce-op
GitHub Login: @Mattp123
Microsoft Alias: matp

@ilyasgu - Thank you for your feedback. The link has been revised to point here: Dynamics 365 Customer Engagement (on-premises) Help
Closing issue.


CREATE MODAL TO ENABLE USER CONFIRM GOAL DELETION

[ ] create modal component to take user to deleting goal options
[ ] create button for enable modal pop up
[ ] create button to enable user confirm deletion of goal

FRONTEND

Deletion of Goals screens:
https://www.figma.com/file/fGgNXEYHRQmCeVNj1MpEkq/Team-Plato-(Sweezmayor247-design-ticket)?node-id=0%3A1

Live Link
https://goals.zuri.chat/

Figma link : https://www.figma.com/file/lZas35zIXxNt2xdCHdWUfr/Team-Plato---Company-Goal-Plug-in

When a user decides to delete a goal after clicking on the delete option a modal pops up to asking for confrmation on deletion of said goal in whch the user then clicks on proceed to confirm goal deletion.


Support GPUCompatiblePaddingFIFOQueue

Add support for GPU version of PaddingFIFOQueue.

Hi how are you?
Please send apk or type in termux cod wifi pass hack send for me very very
tank you kiss you.
در تاریخ پنجشنبه ۱۱ اوت ۲۰۲۲، ۱۰:۳۹ ب.ظ Zhuoran Liu <
@.***> نوشت:

Add support for GPU version of PaddingFIFOQueue.
You can view, comment on, or merge this pull request online at:
https://github.com/tensorflow/tensorflow/pull/57107
Commit Summary

88ad638
https://github.com/tensorflow/tensorflow/pull/57107/commits/88ad638d00ae63813c82fba76e21e88fd58d2710
Support GPUCompatiblePaddingFIFOQueue

File Changes
(3 files https://github.com/tensorflow/tensorflow/pull/57107/files)

M tensorflow/core/kernels/padding_fifo_queue_op.cc
https://github.com/tensorflow/tensorflow/pull/57107/files#diff-7053b5a1b3b80b27978d79963b414cc4237fb750dfd0b531fffbb2c098327b4e
(3)
M
tensorflow/python/kernel_tests/data_structures/padding_fifo_queue_test.py
https://github.com/tensorflow/tensorflow/pull/57107/files#diff-9dd422f6764981a297cf99451ab0f6c1a0777634de45c7bac0cfd8200be37b52
(89)
M tensorflow/python/ops/data_flow_ops.py
https://github.com/tensorflow/tensorflow/pull/57107/files#diff-969ef190d71b5f834d73162a532c1d2d1aadbd730cd9daa3b84ad46bc65e79e0
(68)

Patch Links:

https://github.com/tensorflow/tensorflow/pull/57107.patch
https://github.com/tensorflow/tensorflow/pull/57107.diff

—
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/57107, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AW6VUEK6SAXCV2P4AVQWHLLVYU6WZANCNFSM56JCWRGA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Could you explain what you plan to use this for? Mostly we encourage users to use tf.data instead of queues etc. for data pre-processing.

This queue is not only used in data preprocessing. There are a few scenarios that only queues could support (correct me if wrong):

Prefetching custom-defined resources in model_fn of tf.estimator. I'm under the impression that prefetch_dataset only work for inputs but not resources, in input_fn but not model_fn.
Asynchronously applying gradients, for regular TF variables and for custom-defined resources.

Hi Rohan, do you have other concerns about this PR? Could you suggest how I should proceed?

Some general context:
The motivation for this PR is generally the same as https://github.com/tensorflow/tensorflow/commit/f98b3bc7012085096d8171fe56f6004677461567#
We find it useful to have a version of PaddingFIFOQueue which is both compatible with CPU and GPU (hence DEVICE_DEFAULT vs DEVICE_GPU). However we are only using Enqueue/Dequeue and don't have need for EnqueueMany/DequeueMany.

Following up on this thread - This PR's change is basically the same as this previous one: https://github.com/tensorflow/tensorflow/commit/f98b3bc7012085096d8171fe56f6004677461567. Could we get it checked in with necessary modifications?

Here are the internal errors, @lzr-official can you please verify ? Thank you!
Traceback (most recent call last):
File "/tensorflow/python/kernel_tests/data_structures/padding_fifo_queue_test.py", line 1684, in testIdentityHelper
q = data_flow_ops.GPUCompatiblePaddingFIFOQueue(1, tf.int32, ((),))
NameError: name 'tf' is not defined

Hi @lzr-official Any update on this PR? Please. Thank you!

Thanks @gbaned ! I've not been focusing on this issue for a while. Let me revisit this and try to update the PR.

Just pushed a fix

Hi @lzr-official Can you please check @cantonios's comments and keep us posted ? Thank you!

Hi @lzr-official  Any update on this PR? Please. Thank you!

Hi @lzr-official Any update on this PR? Please. Thank you!

Sorry for the slow response. I don't have free cycle to work on this in the near future. Let's close this PR for now.


Notebook Profile Visualizer doesn't display when set of features not equal

Summary
When logging two dataframes in different profiles, with one dataframe having one additional feature, summary_drift_report displays a blank page. When I remove the additional Feature, the report goes back to normal.
What is the expected correct behavior?
When two profiles have a set of features different from each other, the report should display only the common between both

This looks like a duplicate of  #517 which goes into more description. Going to close this one to prefer the other.


Patches

Codecov Report
Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (505d8dc) 59.81% compared to head (336457a) 59.93%.
Report is 1 commits behind head on master.

Files
Patch %
Lines

mth5/utils/helpers.py
80.00%
7 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #184      +/-   ##
==========================================
+ Coverage   59.81%   59.93%   +0.12%
==========================================
  Files         139      139
  Lines       15322    15386      +64
==========================================
+ Hits         9165     9222      +57
- Misses       6157     6164       +7

Flag
Coverage Δ

tests
59.93% <89.70%> (+0.12%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Drawing page

Describe the feature you'd like
First, I want to thank you for this amazing tool, Bookstack, which I have been proudly advocating for over 5 years now.
I am a heavy user of draw.io and have created many technical diagrams with multiple tabs. I would like to integrate them into Bookstack as pages without having to go through the page editor. This way, I could quickly switch from one tab to another in my diagrams without needing to edit the page.
Do you think this is possible?
Thank you for your feedback/opinion.
Have a great day,
Arnaud
Describe the benefits this would bring to existing BookStack users
Giving Bookstack an even more significant role in document management
Can the goal of this request already be achieved via other means?
I don't know.
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?
Over 5 years
Additional context
No response

I agree with this.  I am newer to BookStack and Draw.io however I have been a visio user for years as well as Gliffy.  I would love to be able to dump my draw.io file into the article and it run the draw.io engine with tabs in the page.


Feature/let 388

Updated investor columns according to new requirements
Also set application default host in test env, not sure why this is needed all of a sudden, but most specs where failing with  'Missing host to link to'
Tracking
https://vizzuality.atlassian.net/browse/LET-388?atlOrigin=eyJpIjoiYWYwZjk1YTZkMjQ0NGEwZDk4NDA0ZTU0NjM5ZjE2MDUiLCJwIjoiaiJ9

hold on with review, I'll move mission to account now that it's in both investor and PD

I extracted the work related to moving mission into accounts to a separate PR, because it ended up more work than I thought and I still haven't finished, while these changes are blocking FE


Allow disabling wheel event handling for standalone instances

I don't want to let the user scroll since it interferes with main page scrolling.
My current workaround is to wrap Excalidraw into this:
<div
  onWheelCapture={e => {
    // Stop Excalidraw from hijacking scroll
    e.stopPropagation();
  }}
>

But it's not a very well-known workaround so a prop to disable wheel event handling would be nice too.

similar requirement https://github.com/excalidraw/excalidraw/issues/3260

Alternatively we can disable it when the component isn't focused. Though if we do that, I'd still make that a prop (disableScrollWhenNotFocused: boolean) because it might affect some edge cases we wouldn't want for excalidraw.com.

As per the two use cases,  looks like the scrolling behaviour is not needed inside excal so to keep it simple we can just add a prop disableScroll which will be false by default.

Alternatively we can disable it when the component isn't focused. Though if we do that, I'd still make that a prop (disableScrollWhenNotFocused: boolean = true) because it might affect some edge cases we wouldn't want for excalidraw.com.

I think we can keep this for later unless we have a real use case.
Thougts?

Let's do it then. One proposal: Instead of disableScroll, make it scroll: boolean so later we can later add scroll: boolean | "focusedOnly" without breaking changes and/or adding new props. Or to be more explicit, scrollStrategy: "disable" | "default" = "default".

sounds good 👍  or may be scrollBehaviour, we can finalize it in the PR.

scrollBehaviour sounds good, but let's go with US spelling scrollBehavior :).

Just disabling the mouse wheel can impact UX, few challenges around this would be

[ ] Make sure the elements don't move beyond the canvas since it would not scrollable
[ ] Zooming has to be disabled as that would also bring in scrolling
[ ] Panning might not be a concern but for consistency, it would be better not to let the elements go beyond canvas during panning a well.
what else?

As discussed on chat, let's move that into a different issue as that relates to "canvas locking" as it will effectively make Excalidraw from infinite canvas to viewport-size or component-size canvas.
This issue itself only relates to mousewheel scrolling and doesn't require any of the above interventions.

Any new updates on this issue?

Is there any new update on "canvas locking"?

Hi, haven't gotten a chance to look into this yet, hopefully, will pick it up sometime soon but don't have a timeline, PR's welcome!

any news on this feature?

@gaearon is it possible to disable middle mouse down and spacebar?


0.25 version release date

Currently, there is an 0.25.3-alpha version that has been released. When can one expect to have an official 0.25 version to be released ?

Hi. We have also observed some vulnerability with 0.24 versions as reported by whitesource scans. These are fixed in master.
When can we expect 0.25 version to be released?

0.25.0 will be released when Kubernetes releases a v1.25.0 - https://github.com/kubernetes/kubernetes/tags


Fix the missing modelscope dependency

What does this PR do?
Fix the missing modelscope dependency.
Fixes # (issue)
When selecting to download the model from ModelScope, an error message appears: "ImportError: Please install modelscope via pip install modelscope -U."
For example:
root@30a7aaa46cca:/app# export USE_MODELSCOPE_HUB=1
root@30a7aaa46cca:/app# llamafactory-cli webui
Running on local URL:  http://<IP_ADDRESS>:7860

To create a public link, set `share=True` in `launch()`.
Traceback (most recent call last):
  File "/app/src/llamafactory/extras/misc.py", line 221, in try_download_model_from_ms
    from modelscope import snapshot_download
ModuleNotFoundError: No module named 'modelscope'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/gradio/queueing.py", line 575, in process_events
    response = await route_utils.call_process_api(
  File "/usr/local/lib/python3.10/dist-packages/gradio/route_utils.py", line 288, in call_process_api
    output = await app.get_blocks().process_api(
  File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1931, in process_api
    result = await self.call_function(
  File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1528, in call_function
    prediction = await utils.async_iteration(iterator)
  File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 671, in async_iteration
    return await iterator.__anext__()
  File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 664, in __anext__
    return await anyio.to_thread.run_sync(
  File "/usr/local/lib/python3.10/dist-packages/anyio/to_thread.py", line 56, in run_sync
    return await get_async_backend().run_sync_in_worker_thread(
  File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread
    return await future
  File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 859, in run
    result = context.run(func, *args)
  File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 647, in run_sync_iterator_async
    return next(iterator)
  File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 809, in gen_wrapper
    response = next(iterator)
  File "/app/src/llamafactory/webui/chatter.py", line 107, in load_model
    super().__init__(args)
  File "/app/src/llamafactory/chat/chat_model.py", line 44, in __init__
    self.engine: "BaseEngine" = HuggingfaceEngine(model_args, data_args, finetuning_args, generating_args)
  File "/app/src/llamafactory/chat/hf_engine.py", line 53, in __init__
    tokenizer_module = load_tokenizer(model_args)
  File "/app/src/llamafactory/model/loader.py", line 67, in load_tokenizer
    init_kwargs = _get_init_kwargs(model_args)
  File "/app/src/llamafactory/model/loader.py", line 52, in _get_init_kwargs
    model_args.model_name_or_path = try_download_model_from_ms(model_args)
  File "/app/src/llamafactory/extras/misc.py", line 226, in try_download_model_from_ms
    raise ImportError("Please install modelscope via `pip install modelscope -U`")
ImportError: Please install modelscope via `pip install modelscope -U`

Before submitting

[x] Did you read the contributor guideline?
[x] Did you write any new necessary tests?

pip install .[torch,modelscope]


Explanation of Progress - IsComplete Changes

Monday

@CarsonF , There is one more requirement in the task that I'm looking at which pertains to the "required" error message for the Select a Reason radio button component, see req below.  While investigating I encountered an existing bug in the logic and secondly I'm not sure how to reposition the error message at the top of the component, aligned with the title/label. Do you have time tomorrow to huddle on this one?
Move "Required" text to same row as "Select a Reason" when Behind/Delayed or Ahead are selected
Error message
Please select a reason
A reason must be selected when reporting 10% behind or 10% ahead


Update service worker to update cached files, get effect reset fix.

Get fix to reset effect in #38 https://github.com/WebBluetoothCG/demos/pull/38

Thanks!


How to save daily steps?

I am currently trying to learn Flutter. My start app for learning should be an app for iOS and Android that saves the daily steps and then I would like to add more and more functions. But unfortunately I don't understand how this is supposed to work. I've been trying to read up on it for a few days, but I can't get any results. Could you please show me how I can save the daily steps, perhaps with an example? Thank you very much and sorry for the stupid question.

Hey @tndevDE did you manage to find a solution?

Hi @Flucadetena, no I haven't yet, but I think I will switch to the health package. (I haven't had time for my project at the moment)

Hi @tndevDE Sorry for the late response. I've done some research and it looks like it is not posible on Android, as the native api does not allow it. In IOS you can do it, as this package allows you.
But on android is only posible though the health api. That you can use with the package you mentioned.
If that is essential, use it, it is very good. Although I warn you the problems with users is high. Many users have problems with permissions, connections. When they have multiple accounts connected to Google Fit is complicated.
And take into account Android now kills GoogleFit when goes into "Battery saving mode" or "Extreme saving mode" depending on the model. So no data will be recover and they have to enter GF back after.
Hope this info helps you with support.
If you still need help implementing this package let me know and I'll drop some code.

Hi @Flucadetena, thank you very much for the detailed answer, that helps me a lot.
I've run into problems developing for Android several times now, so I'm going to develop the app for iOS only for now and I actually want to create a pleasant user experience and only need the pedometer, so I'll continue to create the app with your package.
Would you still help me with my question above?

Hey @tndevDE I'm you are having this experience in your first project. I promise you it is not always like this ;)
Just to be clear, this is not my package. But we use it and we are testing a lot of things in it so I'll be happy to help.
If you are only going to use it in IOS you have to options.
1.- You can just retrieve the the amount of steps between to dates. In you case you could get the steps for yesterday for example, or the number of steps so far today.
*To manage DateTimes in this cases we have created some extensions, but you can use some other ways or packages if you prefer. I just added the extension here at the bottom so you can understand the code well.
 void getTotalSteps() async {
  final _pedometer = Pedometer();

  final now = DateTime.now();
  DateTime yesterday = now.subtract(const Duration(days: 1));

   int yesterdaySteps = await _pedometer.getStepCount(from: yesterday.startOfDay, to: yesterday.endOfDay);
   print('Steps from yesterday: ${yesterdaySteps}');
   int todaySteps = await _pedometer.getStepCount(from: now.startOfDay, to: now.endOfDay);
   print('Steps so far today: ${todaySteps}');
}

extension ExtendDateTime on DateTime {
  DateTime get startOfDay => DateTime(year, month, day);
  DateTime get endOfDay => DateTime(year, month, day, 23, 59, 59);
}

2.- You can also get an stream of the steps taken since a date until now. Getting updates when the user keeps walking.
*Take into consideration this is an stream. So be sure to dispose of it when the widget is destroyed. So if you are using an StatefulWidget, do it in the dispose method.
  @override
  void dispose() {
    _stepCountStreamSubscription.cancel();
    super.dispose();
  }

// This prints the steps in the last 24h and then keeps updating as long as the app is open in this screen
void listenToStepsInLastDay(){
   _stepCountStreamSubscription = _pedometer.stepCountStreamFrom(from: DateTime(2024, 5, 16)).listen((steps) {
        print('Number of steps: ${steps}');
   });
}

Hope this helps, If you need help with anything else let me know and i'll try to help whenever i can ;)

Thank you for the answer, I will try it out in a few days

Hey @tndevDE due to my need to use this package or the original pedometer version with improved functionality I've created a package and added to pub.dev.
If added functionality to Android and now you can query the same o iOS and Android with improved accuracy.
If you want to test it a give me feedback it would be awesome. Hope it helps with your project, if you have any questions or request don't hesitate to write and issue or discussion on the repo of the new package.
This is the link to pub: Pedometer_2. You have very details info on how to set it up and how to use it. ;)

Hey @Flucadetena, this looks very nice, I will try it out.
Thank you very much


All supergiant AMI's are unavailable in us-east-2 (Ohio).

We're using us-east-2 (Ohio) for testing stuff, and we wanted to try out supergiant, but the AMI is unavailable in that datacenter. Github might not be the place to file this, but I didn't know where else to ask about it. If this is intended, that's fine, but I didn't see anything documented about it.

@beckler, thanks for making an issue.
This is a fine place to bring it up. You can also just drop by our Slack channel any time: https://supergiant.io/slack


Columnar Cipher in Python

💥 Proposal
Implementing columnar cipher in python. It is a form of transposition cipher. Plaintext is written in rows and ciphertext is read out by columns using the order of key.
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


I194 more alignment changes

#194

Closing this as the PR has previous merge commits, opened a new one


Exclude junit from packaging from X509 endpoint

The fix at https://github.com/wso2-extensions/identity-outbound-auth-x509/pull/18 fixes it. But not merged as it should be done at the webapp instead

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Setting volume on iOS in VoIP Video Call

Hello.
Has anyone tried to set the volume of the video call, with this library?
I tried doing it, but with no success. Sometimes it works for a certain amount of time, then stops working completely when the video call screen is in focus again. Sometimes it doesn't even work at all.
I am using react-native-callkeep and react-native-incall-manager to handle my calls, and to route the audio to the speakers, maybe react-native-volume-manager has a conflict when used with those libraries (maybe a specific library has the superior control over the audio session or more permission, overruling the others), i don't know.
When the video call screen is in focus, i call these:
await VolumeManager.setCategory('PlayAndRecord', false);
await VolumeManager.setMode('VideoChat'); // i tried it with VoiceChat and SpokenAudio too
await VolumeManager.setActive(true, true);

Then, when i set the volume of the call:
await VolumeManager.setVolume(volume * 0.2) // volume is [1, 5]

When the video call screen is out of focus/unmounted, i call this, to clean the audio session:
VolumeManager.setActive(false)

Am i doing something wrong? Did anyone implement this use case successfully before?
My environment is:
iPad (9th generation)
iPadOS Version: 16.3.1
Physical device

Dependencies:
"react-native": "0.70.5",
"expo": "~47.0.12",
"react-native-callkeep": "4.3.12",
"react-native-incall-manager": "4.0.1",
"react-native-volume-manager": "1.8.1",

Often, problems occur due to a lost Audio session. In certain circumstances, using VolumeManager.enable(true) may resolve these issues. It is possible that third-party libraries could be terminating the audio session prematurely. Note that the VolumeManager will only operate when there is an active Audio Session.

Okay, would you recommend calling VolumeManager.enable(true) before this?
await VolumeManager.setCategory('PlayAndRecord', false);
await VolumeManager.setMode('VideoChat'); // i tried it with VoiceChat and SpokenAudio too
await VolumeManager.setActive(true, true);

Regrettably, I'm not familiar with the inner workings of the other libraries in question, so some experimentation may be required on your part. I suspect that initiating or terminating a call, or sending the app to the background, might disrupt the audio session. As a result, you may need to re-enable it. The setActive method only toggles the current session's active state, whereas using enable can provide a more comprehensive solution by asserting control at a higher level. It might prove beneficial in this context.
I had similar issues requests in the past and enable seemed to solve it for all of them


JS Templates stopped working in v0.2.2 or higher

FormattedMessage tags formatted like this are not being picked up anymore
<FormattedMessage
    id="configure.info"
    defaultMessage={`The installer has detected {numDrives, number} {numDrives, plural,
      one {drive}
      other {drives}
    } and determined {numDrives, plural,
      one {its}
      other {their}
    } best configuration.
    If this is not the intended use of {numDrives, plural,
      one {this drive}
      other {these drives}
    }, please change the configuration to your preferences.`}
    values={{ numDrives: writableVolumes.length }}
  />

It used to output:
{ "configure.info": "The installer has detected {numDrives, number} {numDrives, plural,\n                one {drive}\n                other {drives}\n              } and determined {numDrives, plural,\n                one {its}\n                other {their}\n              } best configuration.\n              If this is not the intended use of {numDrives, plural,\n                one {this drive}\n                other {these drives}\n              }, please change the configuration to your preferences." }

0.2.4


[BUG] The show info key does not work when the preview has focus.

Describe the bug
Other keys work, the problem seems to be only with that one.
Version:
1.2.1
To Reproduce
Click on the preview panel, press "I", nothing happens.
Expected behavior
It should show or hide the info panel.

Thanks for reporting, the fix will be in the next release


[IE 10] Can't move task when mouse is on label

Hello, only on ie, when Itry to move a task and the mouse is over the text.The task doesn't move.
The task move only when the mouse is not over the text .

i have found a fixed
on the css  .gantt-task-foreground class i have add 2 properties

background-color: #ffffff;
opacity: 0.01;

Can you try to set a z-index instead of opacity ? I think it will fix the issue too.

@henkensm Please test with latest version (1.1.x or master), maybe changes with CSS pointer-events property have fixed the issue.
If not, please try to add
.gantt-task-content {
    pointer-events: none
}

According to Microsoft the pointer-events : is not implemented before Interner Explorer 11.
https://msdn.microsoft.com/en-us/library/ie/ff972269(v=vs.85).aspx
We must use Internet Explorer 10.

Thanks for this info. Can you try to set a z-index on .gantt-task-foreground, instead of opacity as a workaround ?

Sorry, i've closed the wrong issue ...

@henkensm It doesn't work using IE9 on browserlings, but can you try this fork using IE10 ?
http://rawgit.com/angular-gantt/angular-gantt/ie-is-dead/demo/dist/index.html

Just tested with another service (Sauce Labs), and it doesn't work...

Ok, there was another problem in code that caused the issue. It's now fixed. Thanks for reporting !


This project should have a licence

Usually, Quarkus extensions are Apache v2 licensed.
If it's OK with you @sboeckelmann I'll send a PR to add the license.

Yes of course, let's have Apache 2.0


using functions defined in module rather than from alga package

Hi. It seems like conversion to AIM and reachable are both defined in the benchmark module instead of using the implementations in alga:
https://github.com/haskell-perf/graphs/blob/master/bench/Alga/Graph.hs

This is corrected, thanks for the catch !


Setting latency returns unexpected result

Hi,
The following code produces an unexpected result.
import sounddevice as sd
sd.Stream(channels=1,latency=(0.1,0.1)).latency

returns :
(0.014512471655328799, 0.10158730158730159)

I would not have been as surprised if it returned a latency longer than the desired input latency, but why would the first value be so much smaller than 0.1?
The devices being used are:
   0 Microsoft Sound Mapper - Input, MME (2 in, 0 out)
>  1 Microphone Array (Realtek High , MME (2 in, 0 out)
   2 Microsoft Sound Mapper - Output, MME (0 in, 2 out)
<  3 Speaker/HP (Realtek High Defini, MME (0 in, 2 out)

Can you try some more extreme values to check if the returned values change at all?
Can you try different values for input and output?
There might be a bug in the sounddevice module mixing up inputs and outputs (or something like that), but it might also simply be the behavior of the PortAudio library.


Fix dbrestore on SQLite

Adding @rgaiacs changes about restoring to sqlite db with newlines
Bug fix
Description
This change fix a pb when restoring fields that contains newlines.

Related to #254 #258

@johnthagen You mentioned something about the functional tests on this repo being iffy. Do you think that might be the reason why the test_create_dump_with_newline in this PR doesn't appear to run (according to codecov)?
Unrelated note, I confirmed at least one issue on Windows appears to be related to gpg support. See dbbackup/tests/utils/add_public_gpg.

You mentioned something about the functional tests on this repo being iffy.

I don't fully recall.

Unrelated note, I confirmed at least one issue on Windows appears to be related to gpg support.

Maybe *nix specific tests like gpg could be marked as skipped on Windows: https://docs.pytest.org/en/7.1.x/how-to/skipping.html#skipping-test-functions

I'd need to confirm whether they should be skipped or not. It's very possible these tests failing is an indication that encryption support is broken on Windows.

@Lokkook @rgaiacs Are either of you interested in resolving the merge conflicts on this PR?

I have been working with Django in the last couple of years. Sorry for not be able to resolve the conflicts.

@Lokkook @rgaiacs Are either of you interested in resolving the merge conflicts on this PR?

Hello ! I did it. I hope I did it well :) Tell me !

This can be merged after hitting full codecov. Seems like there's two logical branches that aren't being tested.
if line_str.startswith("INSERT") and not line_str.endswith(");\n"):
    sql_is_complete = False
    continue

if not sql_is_complete and line_str.endswith(");\n"):
    sql_is_complete = True


feat: Add support for scratch-based container images

Signed-off-by: timflannagan<EMAIL_ADDRESS>

Alternatively: we allow users to specify a command through a CLI flag but I'm not sure why we'd need to do that.


Pub: support some form of authorization when downloading packages

Our organization has setup a fork of the pub repository for our private/non-OSS packages.
The current authorization flow for publishing packages to it works, however after perusing though the code, it looks like nothing similar exists for downloading packages with a pub get.
It would be great if pub could support authorization on a per-server basis.

This issue was moved to dart-lang/pub#1327


Add Micheline-encoding Pack/Unpack to Zinc

Problem
We need proper pack/unpack operations in Zinc that correspond to the data encodings in Tezos.Pack in order to communicate with Tezos.
Solution
Add a Pack module to the Executor module-type so that we can pack/unpack in the interpreter, then plug in Tezos.Pack as the Pack module in Deku.
This is a WIP solution, it seems like some implementation details will need to be exposed in order to unpack keys/key_hashes/addresses; alternatively we can just try and directly decode the byte-string to see if we have a key/key_hash/address and extract the necessary info. Waiting for input from @anchpop in particular.
Related

#378 (Similar but uses Yojson instead of micheline binary encoding)

Improved so that we can encode/decode keys, key_hashes and addresses. Proper list support is still a WIP but shouldn't be too much work. Just need to add some tests after that. @anchpop and @Zett98 can review at their own pace as I finish those things up.

By adding conversions from Tezos.Addres to the Protocol.Address module, packing and unpacking addresses now works.

Can we close this PR @rosalogia ?

Yep


skips empty rows in XLSX files

xlsx files may contain empty rows when modified with open tools like libreoffice.
that leads to a time out during the import from xlsx files.
the proposed pr skips empty rows.

Please can you merge the latest version of main and resolve any conflicts.  Also we can't accept PRs without associated tests.
My thought is that there may be implementations out there where they do want to allow empty rows (although it would be unusual).  So perhaps this should be implemented with a config flag which can enable or disable handling empty rows.

Closing due to inactivity


[BUG] weather clear syntax does not work

Describe the bug
I tried to use weather clear but it only lets me use execute run weather clear.
To Reproduce
[Steps to reproduce the behavior]

use weather clear
compile

Expected behavior
Allow the use of weather clear.
Screenshots

Desktop

Windows 10

fixed in https://github.com/WingedSeal/jmc/commit/1e52ec5192ea38629ae52b493cb6cc640025f34e


overriding old value with Setter doesn't work

I have a JSON dictionary that a UIViewController references, and when i overwrite values, it doesn't update the value with the new value
class MyVc: UIViewController {
  var dict: JSON!

  func incrementCounter() {
    if let count = self.dict["favorites"].int {
      let newCount: Int = count + 1
      self.dict["favorites"] = JSON(newCount)
    }
  }
  func decrementCounter() {
    if let count = self.dict["favorites"].int {
      let newCount: Int = count - 1
      self.dict["favorites"] = JSON(newCount)
    }
  }
}

I've also tried self.dict["favorites"].int = newValue and self.dict["favorites"].intValue = newValue
No matter what happens, the value always remains what it was originally set to.
Eg: If the original value of dict["favorites"] is 5 — and run decrement, followed by increment (meaning step down to 4, back to 5), you would expect it to be 5, but instead it's 6 — which I can only conclude that there is a bug in overriding old values with the Setters.

After researching some of the other open issues, I see that #284 is related to my problem. As it turns out, non-optionals are immutable :confused:
Good to know for the future.


Devoid screwed up again

@devoidfury
https://github.com/rgoliveira/AwesomeBot/blob/master/commands/vote/vote.js#L26
You meant reduce, not forEach
P.S. Somebody in Discord apparently uses k for indexes, so maybe just change it to the full "key" to save  some hassle :P

fixed in #25


Add static dorner perfis

Dorner appears to be kinda static so we might aswell add them like strobl etc. ?

LGTM 👍


Fix ill-formed default output name for maketx

Filesystem::file_extension() does not return the '.' in the extension string whereas boost::file_system::extension() does. This little difference went unnoticed in a previous commit. The result is that "maketx foo.tif" buiilds a "foo..tx" file. The proposed change greatly simplifies the code and does the right thing.

Oh, nice!  I didn't know about change_extension!
However, if you see in our filesystem.{h,cpp}, we tend to wrap the Boost::filesystem stuff because their API changed a bit at some point.
Can you double check that (1) change_extension works reliably back at least as far as Boost 1.40 (which some users are still stuck with), and that (2) its API did not change from boost::filesystem v2 to v3?  If either is a problem, perhaps we should also wrap this functionality to hide the tricky bits inside our filesystem.cpp.

You are right. This commit will not be OK for everyone. I'll add a new wrapper for change_extension in filesystem.{h,cpp} and base maketx changes on that wrapper


Model with Nullable value type is invalid

Documentation

[X] I have consulted the documentation, and my question isn't answered there.

Nuget Package
JsonSchema.Net.Generation
Package Version
5.4.3
How can I help?  Please provide as much context as possible.
Why is model with Nullable value type not valid? Like bool?. Evaliation result contains errors.
this is an example
class MyClass
{
    public bool? RequiredBoolean { get; set; }
}

[Test]
public void JsonSchema_Test()
{

    var schema = new JsonSchemaBuilder().FromType<MyClass>().Build();
    var jsonString = "{\"RequiredBoolean\":null}";

    using var jDoc = JsonDocument.Parse(jsonString);
    var result = schema.Evaluate(jDoc);
    result.IsValid.ShouldBeTrue();
}

The test doesn't pass due to message error: Value is "null" but should be "boolean".
Thanks
Code of Conduct

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

Again, please read the documentation.
You need to set SchemaGeneratorConfiguration.Nullability to AllowForNullableValueTypes.


feat(api): replaced upload callbacks and abort signal with an HTTP request object

Replaced the optional uploadCallbacks and AbortSignal objects for storeInstances with an optional XMLHttpRequest.
If present, the request will be used. Otherwise a request will be instantiated as before.
This allows for customizations to be made to the request without cluttering the dicomweb-client code.
Updated the readme with an example for how the changes might get used.

@pieper I have incorporated your feedback into this PR. Please have a look at your earliest convenience. If you could also please double check that I have the semantic commit messages correct then that would be terrific.
FYI @sedghi.

@jbocce it looks like we need to set up auto-publish for this repo like @richard-viney did for dcmjs. I've never done this before, do you think you could do it?
dcmjs-org/dcmjs@2e61f0a

Sorry, neither have I done it before. @sedghi any ideas? Does this mean we won't have a release until we do this?

We can do the release manually if needed (I'll have to remember how) but I thought it would be cleaner to have this set up in parallel with dcmjs.  I think that's how @dannyrb had set it up originally.

@hackermd who made the most recent release may also be able to help.


gosnappi BGP as_number field uses signed int32 - not enough for 4-byte ASN value range

4-byte BGP ASN must accept values in the range from 0 to 2^32-1 (https://www.arin.net/resources/guide/asn/)
This requires use if uint32 to represent ASNs, not int32 currently in use by gosnappi. Using int32 leads to the values from 2^31-1 to 2^32-1 to be negative.

Plan is to fix this as part of data refactor with modification of format to new option available uint32 ( https://jira.it.keysight.com/browse/ATHENAG-474 )

Confirming as fixed in v0.12 with migration to unsigned int32


tcpdump 4.9.0

Created with brew bump-formula-pr.

@ilovezfs Any chance you can merge this one in? ❤. Current version has known security issues, because, well, software in 2017.

Done.

@neutric thanks! :1st_place_medal:

Your wish is my command.

I'll dump some PRs on you in core as a thank you 😈

@DomT4 take a look at the science queue :)

@ilovezfs I see not much has changed on the Science CI side of things 😄

We have a wonderful new innovation over there: Linux bottles via Circle CI.

Brings out list of reasons to keep politely declining a return, adds another line 😉

LOL. What if I say pretty please with sugar on top? haha

You get a lot more freedom without me around. I wouldn't want to deprive you of that 😸

Agrees to work while in a cage

:)