Run bug application Docker unable to select packages

branch symfony-5

https://github.com/jorge07/alpine-php/releases/tag/25-11-2021
Feeling a bit like https://www.youtube.com/watch?v=AbSehcT19u0

it should be fixed now.
thanks a lot for report this one. Wasn't a 2 min fix

@jorge07 how let's launch this application we have port 80 in docker-compose, so we should run through <IP_ADDRESS>? I tried local address too.

Can you provide curl output and docker logs?

thanks for the answer, of course I send in the attachment

I've tested locally a fresh clone and I can't reproduce the issue.
    ~/work/github/jorge07/symfony-5-es-cqrs-boilerplate    symfony-5 !2  docker logs symfony-5-es-cqrs-boilerplate-workers_users-1                                                                                 INT ✘

 [OK] Consuming messages from transports "users".

 // The worker will automatically exit once it has received a stop signal via
 // the messenger:stop-workers command.

 // Quit the worker with CONTROL-C.

    ~/work/github/jorge07/symfony-5-es-cqrs-boilerplate    symfony-5 !2  docker ps                                                                                 ✔
CONTAINER ID   IMAGE                                                  COMMAND                  CREATED              STATUS              PORTS                                                                                NAMES
4aea24775312   nginx:1.17-alpine                                      "nginx -g 'daemon of…"   About a minute ago   Up About a minute   <IP_ADDRESS>:80->80/tcp, :::80->80/tcp                                                                                symfony-5-es-cqrs-boilerplate-nginx-1
b8c17ff6cf13   symfony-5-es-cqrs-boilerplate_php                      "/sbin/tini -- super…"   About a minute ago   Up About a minute   9000/tcp, 9003/tcp, <IP_ADDRESS>:2323->22/tcp, :::2323->22/tcp                                                                                symfony-5-es-cqrs-boilerplate-php-1
5f47746d3fb3   symfony-5-es-cqrs-boilerplate_workers_users            "/sbin/tini -- /app/…"   About a minute ago   Up About a minute   22/tcp, 9000/tcp, 9003/tcp                                                                                symfony-5-es-cqrs-boilerplate-workers_users-1
6bafcc52c5d4   symfony-5-es-cqrs-boilerplate_code                     "/sbin/tini -- super…"   About a minute ago   Up About a minute   22/tcp, 9000/tcp, 9003/tcp                                                                                symfony-5-es-cqrs-boilerplate-code-1
3bb1b1bb3ad2   symfony-5-es-cqrs-boilerplate_workers_events           "/sbin/tini -- /app/…"   About a minute ago   Up About a minute   22/tcp, 9000/tcp, 9003/tcp                                                                                symfony-5-es-cqrs-boilerplate-workers_events-1
81d51086f976   docker.elastic.co/elasticsearch/elasticsearch:7.11.0   "/bin/tini -- /usr/l…"   2 minutes ago        Up 2 minutes        <IP_ADDRESS>:9200->9200/tcp, :::9200->9200/tcp, 9300/tcp                                                                                symfony-5-es-cqrs-boilerplate-elasticsearch-1
6ef9e74c76cc   rabbitmq:3-management                                  "docker-entrypoint.s…"   2 minutes ago        Up 2 minutes        4369/tcp, 5671/tcp, <IP_ADDRESS>:5672->5672/tcp, :::5672->5672/tcp, 15671/tcp, 15691-15692/tcp, 25672/tcp, <IP_ADDRESS>:15672->15672/tcp, :::15672->15672/tcp   symfony-5-es-cqrs-boilerplate-rmq-1
886283654b2b   mysql:8.0                                              "docker-entrypoint.s…"   2 minutes ago        Up 2 minutes        <IP_ADDRESS>:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp                                                                                symfony-5-es-cqrs-boilerplate-mysql-1
9cd1b7ece8f2   docker.elastic.co/kibana/kibana:7.11.0                 "/bin/tini -- /usr/l…"   2 days ago           Up About a minute   <IP_ADDRESS>:5601->5601/tcp, :::5601->5601/tcp                                                                                symfony-5-es-cqrs-boilerplate-kibana-1

Can you provide OS and docker version to see if I can emulate? thanks

Can you start one of those containers and do an ls in the workdir? Seems volume binding is wrong somehow


Refresh pet cards in the home page

Create a refresh button that grabs another random 3 pets and displays them in the card in the home page.

Please check my pr

Can I work on this issue?

Check my pr #252


No package rh-dotnet22 available

Problem encountered on https://dotnet.microsoft.com/download/linux-package-manager/rhel/runtime-2.2.4
Operating System: Linux RHEL - x64
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

[micloud@blrvslalm0026 ~]$ sudo yum install rh-dotnet22 -y
Loaded plugins: product-id, subscription-manager
https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rt/os/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/solutions/69319
If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.
No package rh-dotnet22 available.
Error: Nothing to do
[micloud@blrvslalm0026 ~]$ ^C

@dagood @leecow
@omajid @tmds

@sudheerforu Can you install any other packages? Does sudo yum install coreutils work? If not, I would suggest contacting Red Hat support to figure out what is configured incorrectly with your installation.

To address this issue please refer to the below knowledge base article
https://access.redhat.com/solutions/69319

@sudheerforu have you done this?

I am able to install other software’s using yum
Regards
Sudheer T

From: Omair Majid<EMAIL_ADDRESS>Sent: Wednesday, April 10, 2019 9:15:05 PM
To: dotnet/core
Cc: sudheerforu; Mention
Subject: Re: [dotnet/core] No package rh-dotnet22 available (#2568)
@sudheerforuhttps://github.com/sudheerforu Can you install any other packages? Does sudo yum install coreutils work? If not, I would suggest contacting Red Hat support to figure out what is configured incorrectly with your installation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/core/issues/2568#issuecomment-481745544, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANMSVjyQ49neW4a9uq8zH4XbJDweubxkks5vfgcBgaJpZM4cmzO5.

Yes I have done that but no luck
Regards
Sudheer T

From: Tom Deseyn<EMAIL_ADDRESS>Sent: Wednesday, April 10, 2019 9:16:17 PM
To: dotnet/core
Cc: sudheerforu; Mention
Subject: Re: [dotnet/core] No package rh-dotnet22 available (#2568)
To address this issue please refer to the below knowledge base article
https://access.redhat.com/solutions/69319
@sudheerforuhttps://github.com/sudheerforu have you done this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/core/issues/2568#issuecomment-481746176, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANMSVqE2QaxYBa10kkaJaJzbSqCIU-NSks5vfgdJgaJpZM4cmzO5.

@sudheerforu Have you tried doing all the steps on https://access.redhat.com/documentation/en-us/net_core/2.2/html/getting_started_guide/gs_install_dotnet#install_register_rehel? Does that work?

I have performed all the issues given in the above link and it worked,Thank you all.


Bug: date times are wrong by default

I just noticed that a recording session.json made with this library, using a time zone naïve datetime, has the wrong date time in the JSON file. This is from a recording "661277_2023-05-11_19-37-50," which happened at 2023-05-11T19:37:50-07:00 (America/Los_Angeles). However, the JSON records the session start time as "2023-05-11T19:37:50+00:00," which is wrong as it shows the same "local time" but the wrong time zone (+00:00 instead of -07:00) meaning the UTC date time is incorrect. Because it has the (wrong) time zone attached, people would probably not interpret it as a naïve date time.
I would suspect this bug affects many metadata files generated with this library if they were generated using naïve date times, which no doubt are what many people use.
Attached example file:
ephys_session.json

We added timezone aware time string handling. We may need to go back and clean up the old json files.


W6X3

Use the preview tab to see the example given below. Edit the relevant information and preview the changes before submitting. You may delete these instructions.

Key
Value

ID
W6X3

Source
Vaaran Bhai Gurdas Ji

Page
22

Line
swDsMgiq scKMfu, Amr n mrsxw ]21]]22] bweI ]

Correction
THIS ≠ THAT

PROOF (EDITION)
Image:

Correction:
scKMfu ≠ sc KMfu
Proof:
Vaaran Bhai Gurdaas Ji | November 2011 | Shamsher Singh Ashok | SGPC, Sri Amritsar
Image:


feat(CategoryTheory/Limits): a pullback cone is limit iff it is so after the application of coyoneda.obj

Thanks a lot!
maintainer merge


Notification dont show when i force stop by settings

Expected Behaviour
I want the notification show up when i force stop by settings
Actual Behaviour
the notifications dont show up
Reproduce Scenario (including but not limited to)
Steps to Reproduce
go to settings -> apps-> select the app and force stop
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android ^4.4
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
All
Cordova CLI version and cordova platform version
cordova --version                                  8.0.0
cordova platform version android         7.0.0

Plugin version
cordova plugin version | grep phonegap-plugin-push   2.1.3

Sample Push Data Payload
[...]
Builder message = Message.builder();
message.setToken("regId...");
message.putData("title", "Title");
message.putData("message", "Message");
message.putData("force-start", "1");
[...]
Sample Code that illustrates the problem
Logs taken while reproducing problem

@brunojs02 what do you see when you do adb locat | grep Push after you force stop the app and send a push?

Nothing is logged

I remade the test and wait a while.. and i received this error: 08-03 13:17:16.010  3609  3623 W ProcStatsManager: No process package.appname/10064 for service com.adobe.phonegap.push.PushInstanceIDListenerService

On my OnePlus 5t on Android 8.1.0, my device receives the first notification after closing it from the recents menu, then future notifications show up in the log normalizing extras, replacing keys, and no notification is received on the device.


salmon quantification is not executed for all samples

Check Documentation
I have checked the following places for your error:

[ ] nf-core website: troubleshooting
[ ] nf-core/dualrnaseq pipeline documentation

Description of the bug

Steps to reproduce
Steps to reproduce the behaviour:

Command line:
See error:

Expected behaviour

Log files
Have you provided the following extra information/files:

[ ] The command used to run the pipeline
[ ] The .nextflow.log file

System

Hardware:
Executor:
OS:
Version

Nextflow Installation

Version:

Container engine

Engine:
version:
Image tag:

Additional context

Solved by adding Collect operator to Salmon inputs


AnimationTree forces properties to be at value in RESET track in UPDATE_DISCRETE and UPDATE_TRIGGER mode

Godot version
4.0.beta6
System information
Linux
Issue description
When using multiple animations with an AnimationTree, it appears as though the RESET track is prioritized above all others.
The included MRP shows an example: The two animations, one to set visible and one to set the flip_v, do not appear to play at all, as the value is being forced. Changing the value in the RESET track will change the value it's stuck at. The spin animation works as long as it's playing (as it gets set every frame in a more continuous manner), but as soon as that animation ends, it's back to the RESET track value.
Steps to reproduce
Make an AnimationTree that uses animations that have values in the RESET track.
Minimal reproduction project (updated)
anim-bug-mrp.zip

This is a regression, as I did not have this problem in beta4.

I opened the project and not sure what's the problem. How do you even play the animations?

The animations are played automatically by the AnimationTree and StateMachine.

Doesn't look like it.

The spin animation can be played by clicking it in the editor.

There is no spin animation.
It would be helpful if you recorded some video maybe.

I may have added that after zipping the project

https://user-images.githubusercontent.com/60046681/203634142-be22dbf4-2489-4653-ba9b-9f79ce30c170.mp4

I also checked beta 5, and it works correctly there.

I also cannot reproduce it. I think this problem already has been fixed in #68993.

Oh, unfortunately that fix seems to have been merged right after the beta6 build was created, please wait for beta7.

I consider this issue slightly bigger, so I pin this on issue board until beta7.

Oh, unfortunately that fix seems to have been merged right after the beta6 build was created, please wait for beta7.

Yeah, I just built from master (https://github.com/godotengine/godot/commit/f05a55ef9579fdcd7928b528dbc66dc11b039948) and it seems to work there.


When and how handling errors for the authentication?

Hello,
I know that my question is not directly related to this package. I must do something wrong, but I need your advices to understand how to handle the default login routes and the framework exceptions.
I have created few modules, including Core and Auth.
The Core module (order 0) defines all the base classes and logic and the Auth module (order 1) is responsible for managing user sign in, sign out, forgotten password, etc.  I have moved the pre-built authentication controllers shipped by Laravel in the Auth module. I have also a User module.
All the pages of my application requires that the user is logged, except for the login, logout, password/* and register routes.
When a user is not logged, the AuthenticationException is thrown and handled by the App\Exceptions\Handler class. Then the unauthenticated method of Illuminate\Foundation\Exceptions\Handler.php try to call the login named route (see here).
The problem is that I define this route in my Auth module. The exception handler is called before this module, before the routes are loaded. Finally Laravel returns a InvalidArgumentException exception because the route login is not defined.
I try to figure out how AsgardCMS handle the exceptions with the authentication of the user, but I still not understand.
Should I remove the default App\Exceptions\Handler::class from the bootstrap/app.php file and use a custom handler class in my Core module, and another handler only for the AuthenticationException exception in my Auth module?
What is the best way?
Thanks!

Hello,
This is up to you how to handle this.
I wouldn't suggest to remove the default Exceptions/Handler class.

Dear, my auth module still need use App\Exceptions\Handler::class for redirect if unauthenticated, it's not good, How can i handle unauthenticated on my module ?

what I do is have an AdminController that uses the auth middleware that if a user is not logged in they will be redirected to the login page:
use App\Http\Controllers\Controller;

class AdminController extends Controller
{
    use AuthorizesRequests, DispatchesJobs, ValidatesRequests;

    public function __construct()
    {
        return $this->middleware('auth');
    }
}

then all other controllers that need to be secured I extend from it:
use App\Http\Controllers\AdminController as BaseController;

class PostsController extends BaseController
{

For my login / forgot routes I extend from a default controller


Expose the most recent MediaRecorder timecode on the stream object.

Some usages of the MediaRecorder data require access to the timecode that is included with dataavailable events.  To avoid an API change, I have added a timecode property to the stream class.  This will contain the most recently emitted timecode value, and can be used to approximate the current timestamp for data being read from the stream, if the stream is read in realtime.

published under version 2.1.4
npm i<EMAIL_ADDRESS>


How to Save capture images?

Hello, camera good work and capture ok,
but how i saved capture images, my mobile images folder automatically?

Thats not implemented you have to code that yourself.
On Wed, 26 Feb 2020, 09:43 ahasantech<EMAIL_ADDRESS>wrote:

Hello, camera good work and capture ok,
but how i saved capture images, my mobile images folder automatically?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kasperkamperman/MobileCameraTemplate/issues/7?email_source=notifications&email_token=AANN22CJPRLC2I6GSNXGO5LREYTSZA5CNFSM4K37XPIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IQLGCAQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANN22CLSBRQCP2JNYVZQXLREYTSZANCNFSM4K37XPIA
.

Ok
thanks for replay


Researcher app is not receiving health data that is added in the patient healthdsu after he join the study

@nliappas is this issue valid?

I don't think so, I never experienced such issue.

I tested again with one patient and I could reproduce:
3 devices were added to patient prior of being invited in the study

last device was added after the patient joined the study (when study status was active)
in the patient app I have 4 records

In finalized and closed the study:
in the available data I have only 3 records.

@nliappas, just remember that in the pilot, the data will come in a continuous flow.

changed the behavior in iot-adapter by updating the existing healthdata DSUs

@nliappas I think we should fix this now while the date is collected when the study is completed


Assets not work after use http middleware

Node version:v12.18.3
Sails version :1.4.0

use sails new myapp,I did nothing but change myapp/config/http.js
    order: [
    ],

then the assets not work.
http://localhost:1337/dependencies/sails.io.js return 404 page
is this a bug,or by design,if by design,how to let the  assets access after add middleware(event add nothing,only empty order)

Hi @leapit, would you mind creating a minimal sails app in a repo that reproduces this so we can take a look? Thanks!

Hi @leapit, would you mind creating a minimal sails app in a repo that reproduces this so we can take a look? Thanks!

hi,just do it follow below:
1.sails new demo
2.select  2. Empty    ·  An empty Sails app, yours to configure
3.cd demo,and vi config/https,change as below
    order: [
    ],

4.run sails lift
5.vistit http://localhost:1337/dependencies/sails.io.js
then 404 page show
I thinks it is clear,no need create a repo,thanks @eashaw

Exactly the same issue as leapit's guide. @eashaw

Hi @leapit and @vkiller, this is intended behavior. The middleware loaded in config/http.js (specifically the www middleware) serves static files like sails.io.js.
You can check out our docs for more information about http middleware.

yeah,thanks


Notebook connected to remote kernel and conflict between remote and local color-theme.

Does this issue occur when all extensions are disabled?: Difficult, because without extension I cannot reach the point.

VS Code Version: 1.89.1
OS Version: Linux x64 4.19.0-24-amd64

Version: 1.89.1
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:16:23.416Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Linux x64 4.19.0-24-amd64
Steps to Reproduce:

Using a dark theme (I tried multiple, all have the same issue). Open a notebook and create an array
display the content of the var just by using its name
Connect to an existing remote kernel (jupyterlab)
display the content of the var just by using its name
The numbers are not visible, but the ", [ ]" are.

Findings:
This does not happen with non-dark themes.
This does not happen when not connecting to existing remote kernels.
The data is there, but the numbers have the same color than the background. If I select the output, I can see it.
There seems to be an extra line in the output when connecting to existing kernel.
No problem with strings, just numbers.
You could say that this is not a bug, I am fine with that. But at least if someone finds the same problem doesn't go nuts figuring out why.

In Jupyterlab

As you can see, the numbers in Jupyterlab seem to be black (in this specific theme), and that color seems to be passed to vscode.
From gpt

The issue you're experiencing seems related to how VS Code and the Jupyter extension render the output when displaying a variable directly versus when using print(). When you display a variable directly (e.g., data), Jupyter typically uses rich representation methods, which may involve HTML or other formatted outputs. These outputs can be styled differently than plain text printed using print().

To be extra verbose (increase find-ability)

I am using vscode on linux. Vscode runs notebooks connected to remote kernels from jupyterlab.
If the kernel is created for the notebook in vscode, all is fine.
But If I connect one notebook to an existing kernel of another notebook, the output numbers have the same color than the background, which doesn't make sense to me.

Is this from the built-in renderer? (is there an option to "change presentation type" in the output menu on the left)
What is the mime type of the output? If you don't have the option to change the presentation, just reopen the file in a text editor and look for the output property in there. Either the output_type, or the key in the data object.
For me, connecting to a server that I created by running jupyter lab, it's just a plain text output (same as a local kernel) that renders as expected:
"data": {
  "text/plain": [
       "[1, 2, 3, 4, 5]"
   ]

But I would assume you're getting something different back as output.

Is this from the built-in renderer? (is there an option to "change presentation type" in the output menu on the left)
What is the mime type of the output?

Sorry, but I don't understand where is that (a photo helps).
In any case,
I got this (in VScode)

when I click on 'open in a text editor'

I think that answers your question.
In any case, for me it is not a bug. As I said, I just wanted to document what I found out, which is that the theme style used in Jupyter is passed down to VScode with its output through the kernel. (I hope it is well phrased).

"change presentation" would be in that menu if there is more than one mime type.
Also, try the copy output command - that would likely have html, whereas I just get plaintext in the output

Is this from the built-in renderer? (is there an option to "change presentation type" in the output menu on the left)
What is the mime type of the output?
Clicking on ... > change presentation I got here

I tried the 2 options. If the theme is dark, I get the same results

If I click on ... > copy cell output I get
[1, 2, 'kjkj ', 888822982]

Important (maybe). I got these "Interactive window" or  "Notebook"  connected to jupyter_kernel using the "jupyter power toys" extension.

The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our issue reporting guidelines.
Happy Coding!


[WIP] Tests for zephir parser

Hello!
Here are a few new tests so far for the parser. I'm going to continue pushing more tests to this branch, so if you want to hold off on merging, that will be fine.
Hopefully this will greatly improve code coverage so I can start working on getting the language to support uppercase classes, methods, and possibly variables.

[x] I have read and understood the Contributing Guidelines
[x] I have checked that another pull request for this purpose does not exist.
[x] I wrote some tests for this PR.

Thanks

While looking at the build script, I think there is a problem with code coverage generation. The codecov bash script uses find -execdir to run gcov, which changes the directory. The package.mk file strips the absolute path from the #line directives.
File 'parser/zephir.lemon'
Lines executed:34.80% of 1138
Branches executed:80.00% of 10
Taken at least once:50.00% of 10
Calls executed:30.70% of 1267
Creating 'parser#zephir.lemon.gcov'
Cannot open source file parser/zephir.lemon

https://travis-ci.org/phalcon/php-zephir-parser/jobs/561353443#L798
Is there a reason why we strip the absolute path from scanner.c and parser.c? Also I will need to change the hack-ish base.c line directive when generating parser.c to use $(top_srcdir).
https://github.com/phalcon/php-zephir-parser/blob/ca800dcd20b9af3c55a69a8b2799e5e1ca9dd05c/parser.mk#L41

Feel free to remove this logic from parser.mk as a far we no longer store parser.c and acenner.c under the version control.

Hello,
For now I'm done with writing test code. You can look over the code and merge if you approve it.
In zephir.lemon when we set the nonterminal of xx_declare_statement, we leave out the types of TYPE_RESOURCE, TYPE_CALLABLE and TYPE_OBJECT. I couldn't find enough documentation to determine if those should be added to the allowed types for declare statements or if I should remove them from parser.h in the function xx_ret_declare_statement().
Thank you.

As a far as I remember it was not finished. Do you have a reasonable proposition to work with those types? But at the moment it seems good to me. Thank you!

I'm not sure if those types have any real purpose. In the zephir project, variables defined with those types are just set to the type variable. For now I'm going to leave it alone.
https://github.com/phalcon/zephir/blob/1b56924c834707de43db1a2002d1f16b64238b11/Library/Variable.php#L177
class Variable implements TypeAwareInterface
{
    public function __construct($type, $name, Branch $branch = null)
    {
        $this->globalsManager = new Globals();

        if (\in_array($type, ['callable', 'object', 'resource'], true)) {
            $type = 'variable';
        }

        $this->type = $type;
        $this->name = $name;
        $this->branch = $branch;
    }
}

Thanks you for your time and for reviewing all that code.


Improve intro

Working on intro.
Adding a video like https://streamlit.io/ shortly.

Don't merge quite yet, adding video.

Please validate videos @banesullivan.


Streaming .m3u8 from a storage

Hello,
I try to stream as HSL but when opening the URI in Browser it just downloads the "routing" file. VLC is not able to play either. My controller actions looks like this:
    public function stream(Request $request, Media $media, string $uuid)
    {
        return Storage::disk(config('filesystems.default'))->response(
            sprintf('videos/stream/%d/%d/video-%s.m3u8',
                optional($media->tenant)->id,
                optional($media->user)->id,
                $uuid
            ),
            sprintf('video-%s.m3u8', $uuid),
            [
                'Content-Type' => 'application/x-mpegURL',
                'isHls'        => true,
            ]
        );
    }

Am I missing something or do I not use it properly? It looks like the m3u8 file just contains the file names but not the URL prefix or even a full url to the .ts files. Maybe I just missed the point in the documentation on how to add a prefix/url to the .ts names?

Was an issue about my file naming... video- and m3u8 got added multiple times. I worked around this by checking for file extension and video--prefix


After upgrading to SolidServer 8.2.2, running the plan can't find provider version

terraform {
required_providers {
solidserver = {
source = "EfficientIP-Labs/solidserver"
version = "1.1.18"
}

}
}
provider "solidserver" {
username  = var.eip_username
password  = var.eip_password
host      = var.eip_url
sslverify = "false"
}
Waiting for the plan to start...
Terraform v1.3.8
on linux_amd64
Initializing plugins and modules...
╷
│ Error: Error retrieving SOLIDserver Version (No Answer)
│
│
│   with module.efficient_ip.provider["registry.terraform.io/efficientip-labs/solidserver"],
│   on modules/efficient_ip/eip_000_main.tf line 10, in provider "solidserver":
│   10: provider "solidserver" {
│
╵
Operation failed: failed running terraform plan (exit 1)

Sorry, but I do not reproduce your issue.
This error can be related to a communication issue with your solidserver.
Please verify the SOLIDserver is reachable from the host running terraform.
Kind regards

Got the issue solved. Iw as using https in the URL and just the address/IP would be enough. Didn't notice that, sorry.

Got the issue solved. I was using https in the URL and just the address/IP would be enough. Didn't notice that, sorry.

Thanks for the feedback.
For the records, next release will report a more explicit error message (see commit 7ff7b013b78ad3e7f1cab57ea3595520752f410c)


conformance: update objects in MustApplyObjectsWithCleanup

MustApplyObjectsWithCleanup does not Update if the object exists. MustApplyWithCleanup does.
We should make these do the same thing, likely DRYing the code as well.
If we don't want to do this, we should rename MustApplyObjectsWithCleanup to MustCreateObjectsWithCleanup to be more clear.
In my case, I ran different versions of the test against the same cluster and got stale config as a result of this, which made me confused. Not a bit deal, but nice to fix

In my case, I ran different versions of the test against the same cluster and got stale config as a result of this, which made me confused. Not a bit deal, but nice to fix

Actually this was not the cause, but another issue (will open a fix soon). Still nice to solve this, though.

/triage accepted
/priority backlog

/assign

Hi can I take this issue

/assign @sadath-12
Sure! I looked over it but I couldn't get enough understanding of the code to understand the intention of the author.


tag 8.0.1 missing

Can you build the 8.0.1 tag to dockerhub?

Thanks for the notification. I will fix the 8.0.1 and 8.0.3 tags.

Should be fixed.


[HACKTOBERFEST 2024] - Bash Commands and Command Line Quiz

[!IMPORTANT]
This issue is part of our 2024 Hacktoberfest initiative. If you are interested in working on this issue, refer to our top-level tasks to see if this issue is claimed, or to claim it if it is not.

This issue is to create the Bash Commands and Command Line quiz.
The file you should be working on is found in /curriculum/challenges/english/25-front-end-development/quiz-bash-commands.
All quiz questions need to relate to one of these topics:

Terminal vs. command line
Short-cuts in command line to speed up your workflows
bash scripting and some basic commands
command options/flags
navigating the fs in the terminal
One of the courses before this quiz is located here. Any commands or topics covered in that course can be used in the quiz. Here's a partial list: pwd, ls, cd, mv, rm, cp, mkdir, touch, --help flag, find, rmdir, recursive flag,

[!CAUTION]
Questions which do not fall under these topics will be rejected.

You are welcome to include code blocks in your questions, but please keep them short (four lines or less).
Please do NOT open a pull request until you have completed all questions. Your quiz should have exactly 20 questions.

Thank you for your interest in contributing. This issue will be opened for contribution when Hacktoberfest starts on October 1st.

[!CAUTION]
Pull requests which are created before October 1st will not be eligible for Hacktoberfest. We appreciate enthusiasm, but encourage you to hold off on contributing to this issue until the event has begun.

If you wish to be notified when this issue is opened for contribution, subscribe to notifications:

This issue is now open
If you would like to work on this issue, please leave a comment so we can assign it to you.
Be sure to read our contributing guidelines.

i want to solve issues @naomi-lgbt

I want to work on this issue . Please assign me @naomi-lgbt

i want to solve issues

Hello @naomi-lgbt,
I'd like to take on this quiz. I have hands-on experience with Bash commands, command-line navigation, and scripting, and I'm confident I can effectively cover the topics mentioned. Could you please assign this issue to me?
Thank you!

Hey @ReenaChidrala,
you are already assigned to different issue - https://github.com/freeCodeCamp/freeCodeCamp/issues/56228.

This issue has been assigned a contributor. To prevent extraneous notifications, the issue is now locked. If you have any questions, please reach out to me in our Discord community.


annotated zerver.views.webhooks.taiga

Automated message from Dropbox CLA bot
@medullaskyline, it looks like you've already signed the Dropbox CLA. Thanks!

The annotations are fine except that the parameter types should probably be Mapping instead of Dict. If we use Mapping, mypy makes sure that we do not mutate the dicts passed to it, which is what we expect from most functions.
However I think your return types are correct. Don't change Dict to Mapping in your return types.

@sharmaeklavya2 I changed all the annotations to use Mapping instead of Dict for parameters and kept all the Dict annotations as they were for return types.

It's perfect! Thanks @medullaskyline.

Merged, thanks @medullaskyline and thanks @sharmaeklavya2 for the review!


BCMath error while registering a new account

While creating a new account in the "Register" form, I got an error saying:
The BCMath functions must be enabled to use the NTLM authenticator.
I was able to go through this by installing php56-bcmath.x86_64 as below.
sudo yum install php56-bcmath.x86_64
I don't know if this is just my case, but the library would be good to be added to "requirements.php".
Thanks!

@imswill Thanks for the info. I'll check it and consider updating the requirements file.


Correction of little typo, add of a video on asyncio

The video describe very well the asyncio lib and is very easy to understand. Jesse Jiryu Davis has done more than one video on the subject (https://www.google.be/search?q=python+asyncio+%2B"jesse+jiryu+davis"&tbm=vid), but they are almost interchangeable, I think this one is good enough

Current coverage is 57.84%

Merging #647 into master will not affect coverage as of b3eab7e

@@            master    #647   diff @@
======================================
  Files           62      62
  Stmts        10312   10312
  Branches      1673    1673
  Methods          0       0
======================================
  Hit           5965    5965
  Partial        563     563
  Missed        3784    3784

Review entire Coverage Diff as of b3eab7e

Powered by Codecov. Updated on successful CI builds.

thanks!


Date Spine Macro

The goal of this PR is to bring a lot of UX familiarity from dbt-utils into SQLMesh native macros similar to the deduplicate macro I just contributed.
dbt-utils version of this macro: https://github.com/dbt-labs/dbt-utils/blob/main/macros/sql/date_spine.sql
This renders to SQL to generate a date spine table. It's typically used to join in unique, hard-coded, date ranges to join with other tables/views so people don't have to constantly adjust date ranges in where clauses everywhere.

From @afzaljasani : "When I worked with a lot of e-commerce companies they would have daily aggregate metrics from different sources like Facebook ads, Google ads, Shopify, etc. because most of these sources can’t be joined to each other they would join to a date spine table to get a 360 view of the business"
Do analysis specific to this range of promotional dates
I talked with someone at Modern Animal who said they don't like how dbt does it natively, so they built their own date_spine macro in house.

Design Highlights

Large upstream changes in SQLGlot had to happen due to generate_date_array transpiling and behaving very differently across query engines. Huge thanks to @georgesittas to making this PR way easier for me. He's a real one.
Verified it works with live query manual testing so far: snowflake, postgres, duckdb, databricks, spark, redshift, bigquery. I intentionally test for these as they have the most common usage.
Verified it works with a development version of SQLGlot: 25.11.2.dev1

Differences from dbt-utils' version

The spine will include the start_date (if it is aligned to the datepart), AND it will include the end_date
You can input macros AND plain string dates instead of casting them: @date_spine('quarter', '2022-01-01', '2024-12-16')
Instead of using cross joins to arbitrarily generate date intervals, this relies on native generate_series-like sql functions to be faster and cheaper for the majority of query engines. If those functions don't exist for a particular engine (ex: redshift), recursion will be used.

Other examples of ad hoc queries working across engines:
BigQuery

Redshift

Snowflake

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: sungchun12:x: Sung Won ChungSung Won Chung seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

I signed the CLA with the correct github username. Commits under my personal name is likely due to using my personal laptop for commits.


Add new parameter to Twitch usher URL

Livestreamer was getting a "Player must be spectre-aware" error when it
tried to get the list of available HLS streams from some Twitch channels
(those playing a playlist?). To avoid this error, the usher service URL
now requires a new parameter called "allow_spectre" to be defined. Since
I don't know how this "spectre" thing works, I set the parameter to
"false".

Thanks!


Image set on a task definition should be respected

When using an ECSTask if you specify a task definition ARN prefect will replace its image with the base prefect image unless you pass the image parameter to the ECSTask.

@tkram01 if you set the image to None e.g. ECSTask(image=None, ...) we will not overwrite your task definition's image. I agree it'd be nice if we handled this better. Unfortunately, unlike https://github.com/PrefectHQ/prefect/pull/7244, we cannot see the task definition at declaration time and would not know if an image is present until runtime. This means that we cannot infer None for the image field for you. It's important that Prefect's default for the image field is applied at declaration time and not runtime because we need it to match the Python/Prefect version's you create the deployment with.

@ahuang11 / @anna-geller  perhaps we should default the image to None if a task definition arn is set. I see this as a point of confusion often and I'm not sure it's even possible to create a task definition without an image?

@tkram01 would that be a better experience for you?

@madkinsz Yes. That would be less confusing.

I'm not sure it's even possible to create a task definition without an image

@madkinsz you are 100% correct on that, you always need the image, here is an example https://github.com/anna-geller/dataflow-ops/blob/main/task-definition.json#L5
this makes so much sense - if task_arn is provided, we should set image to None 👍


Keithley 2400

Can we include high impedance settings in the Keithley 2400 function library?
def set_high_impedance(self):
        self.inst.write(":OUTP:SMOD HIMP")
        print('Set high impedance mode')

Something like this does not exist in the documentation currently, and would help out a lot of people. Thank you!

Hi, I'm preparing a PR for some functionalities that are currently not implemented in the Keithley 2400 driver. I can add this function.
Paul

That's awesome. Thank you so much

Looking at the manual, I think I would implement it using the Instrument.control function. It would look like that :
    output_off_state = Instrument.control(
        ":OUTP:SMOD?", ":OUTP:SMOD %s",
        """ Some explanations """,
        validator=strict_discrete_set,
        values=['HIMP', 'NORM', 'ZERO', 'GUAR'],
        map_values=False)

Does it look ok for you ?
Paul

That looks great Paul

Great, I'll add it to my futur PR.

Closed by #326, thank you!


[VL] chartype cause projectexec fallback with spark3.4

Backend
VL (Velox)
Bug description
In spark3.4, because of the patch https://issues.apache.org/jira/browse/SPARK-40697, gluten can not transform ProjectExec including chartype columns to native, maybe we should add this to Limitation.doc or recommand users to disable spark.sql.readSideCharPadding
Spark version
None
Spark configurations
No response
System information
No response
Relevant logs
No response

@PengleiShi thank you for reporting! There maybe more gaps on Spark34 as many unit tests are still failing.
thanks, -yuan


fix(frontend): resolve errors in markdown files

Resolve errors in markdown files
What does this PR do?

resolves #534

Steps to test
1.These changes are in the markdown but it can't see.
CheckList

[x] Follow proper Markdown format
[x] The content is adequate
[x] The content is available in both english and spanish
[x] I Ran a spell check

@warnerHurtado  please resolve conflicts


InvalidArgumentError (see above for traceback): Incompatible shapes: [4,7110,80] vs. [4,2000,80]

Hi there! I got error
Exiting due to exception: Incompatible shapes: [4,7110,80] vs. [4,2000,80]
[[Node: model/optimizer/gradients/model/loss/sub_grad/BroadcastGradientArgs = BroadcastGradientArgs[T=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"](model/optimizer/gradients/model/loss/sub_grad/Shape, model/optimizer/gradients/model/loss/sub_grad/Shape_1)]]
Caused by op 'model/optimizer/gradients/model/loss/sub_grad/BroadcastGradientArgs', defined at:
File "train.py", line 152, in
main()
File "train.py", line 148, in main
train(log_dir, args)
File "train.py", line 65, in train
model.add_optimizer(global_step)
File "/mnt/c/Users/k017c1149/tacotron-master/models/tacotron.py", line 136, in add_optimizer
gradients, variables = zip(*optimizer.compute_gradients(self.loss))
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/training/optimizer.py", line 511, in compute_gradients
colocate_gradients_with_ops=colocate_gradients_with_ops)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 532, in gradients
gate_gradients, aggregation_method, stop_gradients)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 701, in _GradientsHelper
lambda: grad_fn(op, *out_grads))
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 396, in _MaybeCompile
return grad_fn()  # Exit early
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 701, in
lambda: grad_fn(op, *out_grads))
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/math_grad.py", line 859, in _SubGrad
rx, ry = gen_array_ops.broadcast_gradient_args(sx, sy)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/gen_array_ops.py", line 674, in broadcast_gradient_args
"BroadcastGradientArgs", s0=s0, s1=s1, name=name)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3414, in create_op
op_def=op_def)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1740, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
...which was originally created as op 'model/loss/sub', defined at:
File "train.py", line 152, in
main()
[elided 0 identical lines from previous traceback]
File "train.py", line 148, in main
train(log_dir, args)
File "train.py", line 64, in train
model.add_loss()
File "/mnt/c/Users/k017c1149/tacotron-master/models/tacotron.py", line 115, in add_loss
self.mel_loss = tf.reduce_mean(tf.abs(self.mel_targets - self.mel_outputs))
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/math_ops.py", line 847, in binary_op_wrapper
return func(x, y, name=name)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/gen_math_ops.py", line 8009, in sub
"Sub", x=x, y=y, name=name)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3414, in create_op
op_def=op_def)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1740, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
InvalidArgumentError (see above for traceback): Incompatible shapes: [4,7110,80] vs. [4,2000,80]
[[Node: model/optimizer/gradients/model/loss/sub_grad/BroadcastGradientArgs = BroadcastGradientArgs[T=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"](model/optimizer/gradients/model/loss/sub_grad/Shape, model/optimizer/gradients/model/loss/sub_grad/Shape_1)]]
Traceback (most recent call last):
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1322, in _do_call
return fn(*args)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1307, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1409, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Incompatible shapes: [4,7110,80] vs. [4,2000,80]
[[Node: model/optimizer/gradients/model/loss/sub_grad/BroadcastGradientArgs = BroadcastGradientArgs[T=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"](model/optimizer/gradients/model/loss/sub_grad/Shape, model/optimizer/gradients/model/loss/sub_grad/Shape_1)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 92, in train
step, loss, opt = sess.run([global_step, model.loss, model.optimize])
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 900, in run
run_metadata_ptr)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1135, in _run
feed_dict_tensor, options, run_metadata)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1316, in _do_run
run_metadata)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1335, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Incompatible shapes: [4,7110,80] vs. [4,2000,80]
[[Node: model/optimizer/gradients/model/loss/sub_grad/BroadcastGradientArgs = BroadcastGradientArgs[T=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"](model/optimizer/gradients/model/loss/sub_grad/Shape, model/optimizer/gradients/model/loss/sub_grad/Shape_1)]]
Caused by op 'model/optimizer/gradients/model/loss/sub_grad/BroadcastGradientArgs', defined at:
File "train.py", line 152, in
main()
File "train.py", line 148, in main
train(log_dir, args)
File "train.py", line 65, in train
model.add_optimizer(global_step)
File "/mnt/c/Users/k017c1149/tacotron-master/models/tacotron.py", line 136, in add_optimizer
gradients, variables = zip(*optimizer.compute_gradients(self.loss))
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/training/optimizer.py", line 511, in compute_gradients
colocate_gradients_with_ops=colocate_gradients_with_ops)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 532, in gradients
gate_gradients, aggregation_method, stop_gradients)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 701, in _GradientsHelper
lambda: grad_fn(op, *out_grads))
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 396, in _MaybeCompile
return grad_fn()  # Exit early
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 701, in
lambda: grad_fn(op, *out_grads))
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/math_grad.py", line 859, in _SubGrad
rx, ry = gen_array_ops.broadcast_gradient_args(sx, sy)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/gen_array_ops.py", line 674, in broadcast_gradient_args
"BroadcastGradientArgs", s0=s0, s1=s1, name=name)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3414, in create_op
op_def=op_def)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1740, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
...which was originally created as op 'model/loss/sub', defined at:
File "train.py", line 152, in
main()
[elided 0 identical lines from previous traceback]
File "train.py", line 148, in main
train(log_dir, args)
File "train.py", line 64, in train
model.add_loss()
File "/mnt/c/Users/k017c1149/tacotron-master/models/tacotron.py", line 115, in add_loss
self.mel_loss = tf.reduce_mean(tf.abs(self.mel_targets - self.mel_outputs))
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/math_ops.py", line 847, in binary_op_wrapper
return func(x, y, name=name)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/gen_math_ops.py", line 8009, in sub
"Sub", x=x, y=y, name=name)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3414, in create_op
op_def=op_def)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1740, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
InvalidArgumentError (see above for traceback): Incompatible shapes: [4,7110,80] vs. [4,2000,80]
[[Node: model/optimizer/gradients/model/loss/sub_grad/BroadcastGradientArgs = BroadcastGradientArgs[T=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"](model/optimizer/gradients/model/loss/sub_grad/Shape, model/optimizer/gradients/model/loss/sub_grad/Shape_1)]]
2018-07-22 10:25:57.106654: W tensorflow/core/kernels/queue_base.cc:277] _0_datafeeder/input_queue: Skipping cancelled enqueue attempt with queue not closed
Traceback (most recent call last):
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1322, in _do_call
return fn(*args)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1307, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1409, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.CancelledError: Enqueue operation was cancelled
[[Node: datafeeder/input_queue_enqueue = QueueEnqueueV2[Tcomponents=[DT_INT32, DT_INT32, DT_FLOAT, DT_FLOAT], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](datafeeder/input_queue, _arg_datafeeder/inputs_0_1, _arg_datafeeder/input_lengths_0_0, _arg_datafeeder/mel_targets_0_3, _arg_datafeeder/linear_targets_0_2)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/c/Users/k017c1149/tacotron-master/datasets/datafeeder.py", line 74, in run
self._enqueue_next_group()
File "/mnt/c/Users/k017c1149/tacotron-master/datasets/datafeeder.py", line 96, in _enqueue_next_group
self._session.run(self._enqueue_op, feed_dict=feed_dict)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 900, in run
run_metadata_ptr)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1135, in _run
feed_dict_tensor, options, run_metadata)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1316, in _do_run
run_metadata)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1335, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.CancelledError: Enqueue operation was cancelled
[[Node: datafeeder/input_queue_enqueue = QueueEnqueueV2[Tcomponents=[DT_INT32, DT_INT32, DT_FLOAT, DT_FLOAT], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](datafeeder/input_queue, _arg_datafeeder/inputs_0_1, _arg_datafeeder/input_lengths_0_0, _arg_datafeeder/mel_targets_0_3, _arg_datafeeder/linear_targets_0_2)]]
Caused by op 'datafeeder/input_queue_enqueue', defined at:
File "train.py", line 152, in
main()
File "train.py", line 148, in main
train(log_dir, args)
File "train.py", line 57, in train
feeder = DataFeeder(coord, input_path, hparams)
File "/mnt/c/Users/k017c1149/tacotron-master/datasets/datafeeder.py", line 45, in init
self._enqueue_op = queue.enqueue(self._placeholders)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/data_flow_ops.py", line 346, in enqueue
self._queue_ref, vals, name=scope)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/ops/gen_data_flow_ops.py", line 3977, in queue_enqueue_v2
timeout_ms=timeout_ms, name=name)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3414, in create_op
op_def=op_def)
File "/home/yuu/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1740, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
CancelledError (see above for traceback): Enqueue operation was cancelled
[[Node: datafeeder/input_queue_enqueue = QueueEnqueueV2[Tcomponents=[DT_INT32, DT_INT32, DT_FLOAT, DT_FLOAT], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](datafeeder/input_queue, _arg_datafeeder/inputs_0_1, _arg_datafeeder/input_lengths_0_0, _arg_datafeeder/mel_targets_0_3, _arg_datafeeder/linear_targets_0_2)]]
Plz teach me what should I do

This error happens because your audio samples are too long. To fix it, either shorten your audio clips to be less than 12 seconds (I believe that is the default limit) or increase the max_iters hyperparam

Yes, please see bullet #5 here:
https://github.com/keithito/tacotron/blob/master/README.md#notes-and-common-issues


Can't create scratch notes

Describe the bug
I cannot create scratch notes. I can choose one for creation but then nothing happens.
To Reproduce
Steps to reproduce the behavior:

In a newly installed vcsodium with dendron installed via vsix on Windows
Click on 'Strg+L'
Choose the scratch note icon
Lookup bar shows new scratch note name
Click on 'Create New'

Expected behavior
A new scratch note is created
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Dendron 0.15.2

Additional context
Add any other context about the problem here.
** Dendron Log file**
Please
Scratch.log
attach the output of >Dev:Dendron: Open Logs here

Same issue here.

Same issue. I can create normal notes, but I cannot create scratch or journal notes. I attach logs after my unsuccessful attempt at creating journal note, by clicking on the blue area as seen here:

dendron.log
I also tried to attach server log, by following these instructions, but the server logs do not appear in the popup menu:

Creating journal notes works for me

@konrad-jamrozik
can you try this latest build of dendron and see if the issue still persists? if it does - there is a lot more logging in this build so attach the output of Open Logs to this build again and we should see what the problem is.
https://artifacts-prod-artifactb7980f61-19orqnnuurvwy.s3.amazonaws.com/publish/dendron-0.15.3-alpha.1.vsix

instructions to install: https://dendron.so/notes/a6c03f9b-8959-4d67-8394-4d204ab69bfe.html#manual-install

@kevinslin I tried the alpha:

I got "Something went wrong" error:

Logs here:
dendron.log

okay, this is great. can you try this build and confirm whether the issue is still there?

It worked! Now I can make journal, scratch and normal notes. Thanks @kevinslin for quick turnaround! :)

Glad that we worked it out. Thanks for reporting :)
On Sat, Nov 14, 2020 at 6:39 PM Konrad Jamrozik<EMAIL_ADDRESS>wrote:

It worked! Now I can make journal, scratch and normal notes. Thanks
@kevinslin https://github.com/kevinslin for quick turnaround! :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dendronhq/dendron/issues/346#issuecomment-727298492,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADD52OYMGFC5HCDKTLMN73SP45PNANCNFSM4TVW5UKQ
.

Works for me too. @kevinslin thanks a lot for the fast fix!


skip preloading nil fields

Related to https://github.com/jinzhu/gorm/issues/854
I noticed the same issue happening when there were nested preloads and the first level didn't exist ie db.Preload("User.Photo").Find ... when the related User isn't found a query is still made for the photo (something like SELECT * FROM photos WHERE id IN ('<nil>')

None of the tests fail, but I don't know enough about gorm to know if this might cause any issues. Also it will only work if a field is a pointer or one of the database/sql.Null... types.

somehow i missed it. but https://github.com/jinzhu/gorm/pull/1132 looks like a better version of this

Fixed that. Thank you for your PR https://github.com/jinzhu/gorm/commit/066abcef408f2522f0a89952e44ab17eac176ed0


Notification objects are not being deleted when asked to.

Currently, the notification objects are not being deleted correctly.
Current way to delete them :
$api->deleteNotification($notification);

It does removes the notification row from the database but not from the objects list.

I can't delete first object of the array, this is strange.


Add FelixConfiguration for external nodes cidr list.

Add FelixConfiguration to set a list of CIDR's which may be used to originate tunneled traffic.

You will also need to run the auto generator to update the deep copy gen file.
Should be a Makefile target for that.

@robbrockbank @fasaxc Thanks for taking a look at this. I've incorporated both of your feedbacks.
The semantic of ptr to slice is used in quite a few places in FelixConfiguration and we decided to kept it the same for consistency. Also it helps to differentiate between the nil value and not set at all. The patch in the validator uses that.


Add editor global settings for viewport settings

It would be handy to be able to have a global viewport settings in the godot config. I find working on a 3d game the default view distance of 500 I constantly change to 5000 for every mesh I open. Its rather annoying and time consuming.
Godot version:
3.1.1

also options to specify could also go in there :)

grid opacity
grid size
grid spacing
origin opacity

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Create MANIFEST.in

This will include LICENSE in the sdist.
Context: I'm packaging this to conda-forge and they require the LICENSE to be bundled with the sdist.

Thanks @thewchan!
Please let me know once it is released on conda :)

@jbesomi It has been released: https://anaconda.org/conda-forge/texthero If you'd like, I can add you as a maintainer of the feedstock. Just let me know


Add tournament code support on the match API

Add support for:

match/by-tournament/{tournamentCode}/ids
match/for-tournament/{matchId}?tournamentCode={tournamentCode}

Coverage increased (+0.01%) to 98.385% when pulling 5653409e7d1c2d16d2261a8de2f9d47d39eb4e8b on oeN:tournament-code-match into<PHONE_NUMBER>7aa243b54ead292075a5d8ae6dfc2d on mikamai:master.

Coverage increased (+0.01%) to 98.385% when pulling 03c8dcc8bdaf29875c1621bbf1d37825390b50e1 on oeN:tournament-code-match into<PHONE_NUMBER>7aa243b54ead292075a5d8ae6dfc2d on mikamai:master.


ADD custom class package for MNE

This adds a package with the functionality for reading data exported from Processing into MNE-Python

cc: @conorrussomanno

hey @conorrussomanno, I don't have write access to this repo. Let me know if this works for you.


HotFix for DefaultCommandManager.MatchCommands

Previous code doesn't compare command name of the descriptor with the command name to execute before comparing the number of arguments. It caused a different command is matched just because number of arguments is the same despite it is not the same command.

@Jetski5822  done

Is there anything else you want I change for this PR?


How to specify a new template path on command line

Hello,
I just came across your extension. Looks interesting but I want to use several templates on a regular basis.
The most flexible way of doing this would be to specify an optional template to use from command line everytime I start a new notebook. Is there a facility to do this or approximate that behavior ?
Thank you.

I see that the one other issue listed has a significant overlap with this one. The other issue is 2 years old and has not been addressed yet.
Is this repo maintained ?


Support for mu4e alert

I couldn't find any information about whether this package supports mu4e-alert or not. In the case it doesn't, I believe it would be a nice feature to have.
Best,
sbozzolo

I took a stab at this as I wanted this too. Here's what I came up with:
Add this to mu4e-alert package settings
(setq mu4e-alert-modeline-formatter 'ts/mu4e-alert-modeline-formatter)

And add the function referenced above somewhere:
(defun ts/mu4e-alert-modeline-formatter (mail-count)
  "Mu4e-alert modeline formatter for spaceline-all-the-icons."
  (when (not (zerop mail-count))
    (let* ((icon (all-the-icons-faicon "envelope" :v-adjust 0.0)))
      (propertize
       (concat
        (propertize icon
                    'face `(:height ,(spaceline-all-the-icons--height 0.9) :inherit)
                    'display '(raise 0.1))
        (propertize (format " %d" mail-count) 'face `(:height ,(spaceline-all-the-icons--height 0.9) :inherit) 'display '(raise 0.1)))
       'help-echo (concat (if (= mail-count 1)
                              "You have an unread email"
                            (format "You have %s unread emails" mail-count))
                          "\nClick here to view "
                          (if (= mail-count 1) "it" "them"))
       'mouse-face (spaceline-all-the-icons--highlight)))))

And finally tell spaceline-all-the-icons to use a custom segment.
(spaceline-all-the-icons-theme 'mu4e-alert-segment)

This works, but it doesn't quite look as good as I'd like. The custom segments are rendered next to some other segments which have padding around them. So it leaves quite a gap between the mail alert and the other segments. I can see if I can whip up a PR to get this into spaceline-all-the-icons proper.

Ah, forgot to add the mouse click stuff there. So even though it tells you to "Click here to view", that doesn't actually work yet. I'll see if I can get this cleaned up and do a PR.

Did a pull request for this https://github.com/domtronn/spaceline-all-the-icons.el/pull/87


Incorrect behavior of method take from class RawDatagramSocket.

According to API documentation for method Stream take (int count) :

Starts listening to this stream when the returned stream is listened to and stops listening when the first count data events have been received.

However, the test below
main() {
  List expected = [
    RawSocketEvent.WRITE,
    RawSocketEvent.READ,
    RawSocketEvent.CLOSED
  ];
  var address = InternetAddress.LOOPBACK_IP_V4;
  RawDatagramSocket.bind(address, 0).then((producer) {
    RawDatagramSocket.bind(address, 0).then((receiver) {
      int sent = 0;
      int count = 0;
      List list = [];
      producer.send([sent++], address, receiver.port);
      producer.send([sent++], address, receiver.port);
      producer.close();

      Stream s = receiver.take(5);
      s.listen((event) {
        list.add(event);
        count++;
      }, onDone: () {
        print('count $count  ');
        print('expected: $expected');
        print('actual:   $list');
      });

      new Timer(const Duration(milliseconds: 200), () {
        if (receiver.receive() == null) {
          receiver.close();
          print('receiver closed');
        }
      });
    });
  });
}

produces:
count 5
expected: [RawSocketEvent:WRITE, RawSocketEvent:READ, RawSocketEvent:CLOSED]
actual:   [RawSocketEvent:WRITE, RawSocketEvent:READ, RawSocketEvent:READ, RawSocketEvent:READ, RawSocketEvent:READ]
receiver closed

Reproduced with Dart VM version: 2.0.0-dev.28.0 (Mon Feb 19 18:49:30 2018 +0100) on "linux_x64".

I have no idea how a RawDatagramSocket works, but the take method seems to be functioning correctly. It receives five events (one "WRITE", four "READ") before closing, then the onDone handler runs as expected.
Then 200ms later, the receiver's close method is called. That probably doesn't do anything.
What did you expect to happen differently?


Remove businesslink and directgov branding

https://www.agileplannerapp.com/boards/105200/cards/9078
Linked to:
https://github.com/alphagov/frontend/pull/714
https://github.com/alphagov/whitehall/pull/1935

Going to hold off on merging this until the homepage is deployed. Whitehall has styling already.

Unless you plan to deploy them both at the same time...?

@bradleywright yes planning on deploying all at once


Lots of bad requests

Hey stefan,
love what you've done with your API, it's really useful as a service for quickly getting what you want. But I find that I get a lot of bad requests call on multiple urls and I can't figure out why. I'm going to post some urls:

http://pathogenomics.sfu.ca/islandviewer
http://mdl.shsmu.edu.cn/ASD/
http://homingendonuclease.net
http://bidd.nus.edu.sg/group/ttd/ttd.asp (this one has a redirect, but the others don't)
http://bioinformatics.mdanderson.org/SurvNet/

Do you have some idea why it can't capture the screenshots?

Hey
Thanks for your message. Might this be related to #44 ? Are these URLs always failing?
I was quite busy the last weeks and Screeenly didn't get the attention it should have. I will look into your errors in the upcoming days.

I can't tell you for sure, I tried to capture http://mdl.shsmu.edu.cn/ASD/ at least 10 times but it failed at each try. I'll investigate the CloudFlare on our side.

Hey
I will close this issue, because it basically a duplicate to #44. I've written a reply in the other issue-thread with some more information about how this error accours and how it could be fixed.
If you wan't to be notified about changes I recommend subscribing to the other thread.


PostgreSQL unit test tries to access non-existent 'precision' attribute

Environment

Python: 3.10.1
pyodbc: built from current HEAD of master branch
OS: macOS 11.6.2 (for client) Debian 10.2.1-6 (for server)
DB: PostgreSQL 14.1
driver: psqlodbcw.so 13.02.0000 (supports ODBC version 03.51)
unixODBC 2.3.9

Issue
The test_columns() unit test in pgtests.py tries to access row.precision for each Row object in the results set returned by the call to cursor.columns(). This results in an error for the test.
======================================================================
ERROR: test_columns (__main__.PGTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/bkline/repos/pyodbc/tests3/pgtests.py", line 575, in test_columns
    assert row.precision == 3, row.precision
AttributeError: 'pyodbc.Row' object has no attribute 'precision'

According to the documentation, precision is not a column in the rows returned by cursor.columns().

And for a bonus question: does anyone know why the name for the table schema value is table_schem instead of table_schema? I don't see any explanation in the documentation for this odd spelling, nor in the code comments.

I am unable to reproduce your issue.
$ python3 tests3/pgtests.py -t test_columns -vv
Library: /home/gord/git/pyodbc/build/lib.linux-x86_64-3.8/pyodbc.cpython-38-x86_64-linux-gnu.so
/home/gord/git/pyodbc/tests3 --> /home/gord/git/pyodbc
python:  3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0]
pyodbc:  4.0.33b6+test_with_dsn /home/gord/git/pyodbc/build/lib.linux-x86_64-3.8/pyodbc.cpython-38-x86_64-linux-gnu.so
odbc:    03.52
driver:  psqlodbcw.so 12.01.0000
         supports ODBC version 03.51
os:      Linux
unicode: Py_Unicode=4 SQLWCHAR=2
Max VARCHAR = 255
Max WVARCHAR = 255
Max BINARY = (not supported)
test_columns (__main__.PGTestCase) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.814s

OK

driver: freetds stable 1.3.6

Really? AFAIK PostgreSQL doesn't speak TDS.

PostgreSQL doesn't speak TDS.

Sorry, that was copy/pasted from another ticket. I have fixed the description above.
% python3 tests3/pgtests.py -t test_columns -vv
Library: /Users/bkline/repos/pyodbc/build/lib.macosx-11-x86_64-3.10/pyodbc.cpython-310-darwin.so
/Users/bkline/repos/pyodbc/tests3 --> /Users/bkline/repos/pyodbc
python:  3.10.1 (main, Dec  6 2021, 23:20:29) [Clang 13.0.0 (clang-13<IP_ADDRESS>)]
pyodbc:  4.0.33b6 /Users/bkline/repos/pyodbc/build/lib.macosx-11-x86_64-3.10/pyodbc.cpython-310-darwin.so
odbc:    03.52
driver:  psqlodbcw.so 13.02.0000
         supports ODBC version 03.51
os:      Darwin
unicode: Py_Unicode=4 SQLWCHAR=2
Max VARCHAR = 255
Max WVARCHAR = 255
Max BINARY = (not supported)
test_columns (__main__.PGTestCase) ... ERROR

======================================================================
ERROR: test_columns (__main__.PGTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/bkline/repos/pyodbc/tests3/pgtests.py", line 575, in test_columns
    assert row.precision == 3, row.precision
AttributeError: 'pyodbc.Row' object has no attribute 'precision'

----------------------------------------------------------------------
Ran 1 test in 0.054s

FAILED (errors=1)

All these years using the unittest module and I never knew about the -t testname option. 🤦

Okay, so apparently it's not strictly a Python 3.10 thing:
$ python3.10 tests3/pgtests.py -t test_columns -vv
Library: /home/gord/git/pyodbc/build/lib.linux-x86_64-3.10/pyodbc.cpython-310-x86_64-linux-gnu.so
/home/gord/git/pyodbc/tests3 --> /home/gord/git/pyodbc
python:  3.10.1 (main, Dec 21 2021, 17:46:38) [GCC 9.3.0]
pyodbc:  4.0.33b7+test_with_dsn /home/gord/git/pyodbc/build/lib.linux-x86_64-3.10/pyodbc.cpython-310-x86_64-linux-gnu.so
odbc:    03.52
driver:  psqlodbcw.so 12.01.0000
         supports ODBC version 03.51
os:      Linux
unicode: Py_Unicode=4 SQLWCHAR=2
Max VARCHAR = 255
Max WVARCHAR = 255
Max BINARY = (not supported)
test_columns (__main__.PGTestCase) ... ok

----------------------------------------------------------------------
Ran 1 test in 1.719s

OK

Can you run odbcinst -j to check your version of unixODBC?

The version of unixODBC is 2.3.9.

The documentation says:
columns(table=None, catalog=None, schema=None, column=None)
Creates a result set of column information in the specified tables using the SQLColumns function.

Each row has the following columns:

table_cat
table_schem
table_name
column_name
data_type
type_name
column_size
buffer_length
decimal_digits
num_prec_radix
nullable
remarks
column_def
sql_data_type
sql_datetime_sub
char_octet_length
ordinal_position
is_nullable: One of SQL_NULLABLE, SQL_NO_NULLS, SQL_NULLS_UNKNOWN.

# columns in table x
for row in cursor.columns(table='x'):
    print(row.column_name)

Why would the test be written to look for a column which—according to that documentation—shouldn't even be there?

Why would the test be written to look for a column which—according to that documentation—shouldn't even be there?

Good question. Maybe different drivers deviate somewhat from the ODBC spec. It's certainly one of the columns returned by the PostgreSQL driver:
[ODBC][4745][1641328615.293688][SQLDescribeCol.c][504]
        Exit:[SQL_SUCCESS]
            Column Name = [PRECISION]
            Data Type = 0x7ffd53ceae2a -> 4
            Column Size = 0x7ffd53ceae30 -> 10
            Decimal Digits = 0x7ffd53ceae2c -> 0
            Nullable = 0x7ffd53ceae2e -> 1

re: "Maybe different drivers deviate somewhat", above - apparently they do:
[pgtests.py]
        row = results['xΏz']
        assert row.type_name == 'varchar'
        assert row.precision == 4, row.precision

[sqlservertests.py]
        row = results['xΏz']
        assert row.type_name == 'varchar'
        assert row.column_size == 4, row.column_size

Does this mean that the pyodbc documentation quoted above is only correct for some versions of some drivers?

Does this mean that the pyodbc documentation quoted above is only correct for some versions of some drivers?

It seems so. It's probably based on what SQL Server ODBC does. For reference, here are the columns that PostgreSQL ODBC returns (for me, at least):
>>> import pyodbc
>>> cnxn = pyodbc.connect("DRIVER=PostgreSQL Unicode;SERVER=<IP_ADDRESS>;UID=scott;PWD=tiger;DATABASE=test", autocommit=True)
>>> crsr = cnxn.cursor()
>>> crsr.execute("CREATE TABLE t (id int primary key)")
<pyodbc.Cursor object at 0x7f6e39da1e30>
>>> col_info = crsr.columns("t")
>>> from pprint import pprint
>>> pprint([x[0] for x in col_info.description])
['table_qualifier',
 'table_owner',
 'table_name',
 'column_name',
 'data_type',
 'type_name',
 'precision',
 'length',
 'scale',
 'radix',
 'nullable',
 'remarks',
 'column_def',
 'sql_data_type',
 'sql_datetime_sub',
 'char_octet_length',
 'ordinal_position',
 'is_nullable',
 'display_size',
 'field_type',
 'auto_increment',
 'physical number',
 'table oid',
 'base typeid',
 'typmod',
 'table info']

I would have expected that if pyodbc is documenting the names of the columns (which seems like the right thing to do, if the method is going to be at all useful), it would be taking care of mapping names used by lower layers to the documented names. That way (among other things) we could be sure that at least for a given version of the package, the documentation and the software would match each other.
I found what seems like a relevant commit for the psqlodbc driver, in which they say they are switching to "ODBC 3 column names for the result set of catalog functions. This commit was made in late August, so if the driver you're running is earlier than that, we may have found the explanation for why you see different results for the tests than I see.

You're probably right. You are using "psqlodbcw.so 13.02.0000" while I'm using "psqlodbcw.so 12.01.0000".

Sure enough, the release you're running (12.01.0000) was tagged almost exactly two years ago. The release I'm running (13..02.0000) was release in September (a month after the commit I linked to above).

It's not 100% clear that I'm reading the pipeline test logs correctly, but if I am the pipeline is running with release 11.01.0000 of psqlodbc, tagged May 2019.

I would have expected that if pyodbc is documenting the names of the columns (which seems like the right thing to do, if the method is going to be at all useful), it would be taking care of mapping names used by lower layers to the documented names. That way (among other things) we could be sure that at least for a given version of the package, the documentation and the software would match each other.

The problem there is that ODBC drivers apparently feel free to change names and throw in any number of extra columns that may or may not exist in other implementations. (For example, there are 18 pyodbc-documented columns and psqlodbcw.so 12.01.0000 returns 26 columns.) Trying to document all possible variants would be … tedious. :)

I found what seems like a relevant commit for the psqlodbc driver, in which they say they are switching to "ODBC 3 column names for the result set of catalog functions." This commit was made in late August, so if the driver you're running is earlier than that, we may have found the explanation for why you see different results for the tests than I see.

Excellent detective work there, BTW.

TL;DR: The tests should be verifying that the behavior of the software matches the documentation.

The problem there is that ODBC drivers apparently feel free to change names ....

Absolutely! That's the very reason that pyodbc should present a well-documented method which exposes as stable a list of properties/names as possible. In this case, the names exposed by ODBC 3 seem like the logical choice. Or, if the currently documented names don't already match the ODBC 3 names, another reasonable option would be to stick with the names currently in the documentation (with annotation to point out how the names exposed by pyodbc correspond to the ODBC 3 names. Yes, we have absolutely no control over when the lower layers change the names they use. But we can provide a consistent, correctly documented interface to those names/properties.

Trying to document all possible variants would be … tedious. :)

If you thought I was suggesting that we document all of the variants, then I didn't do a good enough job of explaining what I was hoping for. When I wrote "... it [pyodbc] should be mapping names used by lower layers to the documented names" I meant that the documented names should be the same regardless of what names are used by the drivers. The mapping would happen in the code. For example (in pseudo-code):
ASK THE DRIVER FOR THE COLUMN PROPERTIES
IF THE DRIVER GAVE US A PROPERTY NAMED 'column_size':
    MAP THE VALUE TO `column_size`
OTHERWISE, IF THE DRIVER GAVE US A PROPERTY NAMED 'precision':
    MAP THE VALUE TO `column_size`
....

If that represents an unacceptably high level of effort (which it may well; this is a volunteer-driven, open-source project, after all), then it would be preferable for the documentation to avoid listing any column names to be found in the Row objects, and to say instead something along the lines of ...

This package offers a non-standard columns() method to provide the properties for each column in a table as exposed by the underlying drivers, using the property names returned by those drivers. It is the responsibility of user code to dynamically discover which names are used for the columns of the returned Row objects. For example ....
A more standard, fully documented interface for a subset of this information is provided in the Cursor object's description attribute.

And (assuming this is the road we go down) the unit tests should be testing that description attribute, not a volatile property whose names can change at the whim of the driver vendors. We absolutely don't want the unit tests to be at the mercy of what the driver vendors do, to the extent we can avoid it.
I would further recommend that all of the methods and properties which are not part of the Python DB-API 2.0 be clearly identified as package-specific extensions.
To be clear, none of the projects I work on use ODBC to talk with PostgreSQL. But when I submit a PR I would like to know that all of the unit tests pass, including DBMS-specific tests for stacks I don't necessarily use myself, when running under code which I have modified. It's not good enough that the tests happen to pass for the stacks used by the CI-pipeline.

Excellent detective work there, BTW.

Thanks! 😅

Confirming that the test_columns test which fails running with psqlodbcw.so 13.02.0000 passes when I point to a freshly-built psqlodbcw.so 12.01.0000, with everything else in the stack identical.


MYNEWT-230

explictely cast to an integer since some compilers don't like to implicitelty
cast a char to an int

The change looks good but the warning surprised me so I googled around.
I found the following email thread that explains it very well:
https://sourceware.org/ml/newlib/2010/msg00245.html

warning: array subscript has type 'char'
Most, if not all, of these appear to be from
using ctype.h methods which is caused by
a missing (int) case in line 57 in ctype.h:
#define __ctype_lookup(__c) ((ctype_ptr+sizeof(""[(__c]))[(int)(__c)])
Changing this to the following resolved the
warnings.
#define __ctype_lookup(__c)
((ctype_ptr+sizeof(""[(int)__c]))[(int)(__c)])
This is with newlib 1.18.0 with the current RTEMS
patch.
Does this cast need to be added?

Absolutely not.  The warning is intentional.  You have a bug in your
code - you are calling the ctype methods with a char argument, but char
is signed, and an 8-bit char is out of range and causes unspecified
results according to the standards.  In particular, that warning was
added because we had a demonstration of where isspace(255u) and
isspace(EOF) intentionally give different results in some locales, but
where the calling app had been doing isspace((char)255) and going into
an infinite loop because of their bug.  You should fix your code to use
unsigned char or int, as appropriate, in the first place.


Add the ability to override compiler and linker flags via environment variables

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


Abstract away the definition of the input product

Addresses: #41

Codecov Report

Merging #45 (1c1f611) into main (84b62df) will increase coverage by 2.79%.
The diff coverage is 72.87%.

@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
+ Coverage   70.37%   73.16%   +2.79%
==========================================
  Files          17       21       +4
  Lines         648      749     +101
  Branches       54       59       +5
==========================================
+ Hits          456      548      +92
- Misses        184      193       +9
  Partials        8        8

Impacted Files
Coverage Δ

tests/test_50_apps.py
53.84% <7.69%> (-11.54%)
:arrow_down:

sarsen/__main__.py
41.17% <12.50%> (-3.99%)
:arrow_down:

sarsen/apps.py
10.52% <18.18%> (-16.75%)
:arrow_down:

sarsen/datamodel.py
70.00% <70.00%> (ø)

sarsen/sentinel1.py
82.47% <82.47%> (ø)

sarsen/__init__.py
100.00% <100.00%> (ø)

sarsen/radiometry.py
33.33% <100.00%> (+2.29%)
:arrow_up:

tests/test_10_datamodel.py
100.00% <100.00%> (ø)

tests/test_20_sentinel1.py
100.00% <100.00%> (ø)

sarsen/chunking.py
89.85% <0.00%> (-2.90%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add possibility to use SelenideProxyServer for users who create their own webdriver

By default, Selenide creates its own webdriver and starts its own proxy server for downloading files (if Configuration.fileDownload = PROXY).
But some users create their own instance of webdriver (using WebDriverProvider or WebDriverRunner.setWebDriver()). Those users cannot use Configuration.fileDownload = PROXY because Selenide doesn't start its proxy server in this case.
We need to allow those users to start SelenideProxyServer and use for their own webdriver creation.

It will be great if such ability has been implemented.
It's very actual for me.

The test where I used the Configuration.fileDownload = PROXY setting fails now on the WeBDriver starting, but 1-2 weeks ago was passed.
Occured Exception:
...
org.openqa.selenium.WebDriverException: Unable to convert: Capabilities [{proxy=Proxy(manual, http=PC:61354, ssl=PC:61354), acceptSslCerts=true, pageLoadStrategy=normal, chromeOptions=org.openqa.selenium.chrome.ChromeOptions@6501f5a7}]
...
It is worth noting - in the case if Configuration.fileDownload = GETHTTP - the browser starts successfully.
Chrome driver version is 2.29.
Chrome browser version is BrowserName=chrome Version=58.0.3029.110
I created a simple test:
public class Temp {
@Test
public void testName() throws Exception {
Configuration.browser = "chrome";
Configuration.fileDownload = Configuration.FileDownloadMode.PROXY;
System.setProperty( "webdriver.chrome.driver", "<path_to_driver>\chromedriver.exe" );
Selenide.open( "<AUT_URL>" );
}
}
Its behaviour is the same.
Are there any ideas what is happening?

@VitMS Unfortunately I don't enough information to be able to help you. :(
Can you create a sample project that would reproduce your problem? Your code sample works fine for me.

@asolntsev Hi,
I was busy on other projects. The mentioned expection (WebDriverException: Unable to convert) is not actual any more.
Can we try to implement this possibility?
Now I have to save downloaded files, but can't because of I'm using a custom WebDriver.

@VitMS Yes, I plan to implement this feature. Hopefully in a next Selenide release.

Closing the issue. The feature was implemented almost a year ago.
Code samples are here:

WebdriverRunner.setWebDriver() case
WebdriverProvider case


Video freezing, but stream is still receiving data

Hi there! Great tool, it's exactly what I needed. As the title says, however, my videos freeze after 10 or so seconds (it's not the same every time) but the stream is still getting data just fine.
Here's my code snippet. I'm using socket.io to handle the stream from server-to-browser. I logged out the data the stream was receiving and it keeps going just fine after the freeze. There's no error message. Do you have any ideas about how I could debug this? Possible causes?
ss(this.socket).on('vid-back', backStream => {

    console.log("Server opened backwards stream");

    var elem = document.querySelector('#stream-video');
    var wrapper = new MediaElementWrapper(elem);
    var writable = wrapper.createWriteStream('video/webm; codecs="vp8"');

    elem.addEventListener('error', function () {
        var errorCode = elem.error
        var detailedError = wrapper.detailedError
        console.error(errorCode);
        console.error(detailedError);
    })

    backStream.pipe(writable);

    backStream.on('data', data => {
        console.log('> Received blob of data');
    })
})

Thanks, I'll check those out.

For future readers: My problem was my streaming webm video (coming from ffmpeg) wasn't keyframed properly. By adding -g 1 to my ffmpeg call I set every frame to be a keyframe and eliminated the freezing issue entirely. See also this stackoverflow thread.

Thanks for sharing @gregdumb

coming

please share your ffmpeg command ?

For future readers: My problem was my streaming webm video (coming from ffmpeg) wasn't keyframed properly. By adding -g 1 to my ffmpeg call I set every frame to be a keyframe and eliminated the freezing issue entirely. See also this stackoverflow thread.

please share your ffmpeg command ?

https://github.com/gregoryjjb/cs160-server/blob/64a5f0134e818536d4511421bbc5c981618ac3a1/utils/processing.js#L65-L69
It's been a while since I did this and it looks like I didn't format my args correctly (I have a bunch on that last line) but you can see that -g 1 on the end there. I was able to get relatively smooth streaming with that command, although from my understanding -g 1 will decrease performance because keyframes take up more bandwidth.


Terminal focus lost when closing Find widget

VSCode Version: 1.14.0 Insiders
OS Version: Windows 7

Steps to Reproduce:

Open the Find widget
Close Find widget with mouse on X

Focus is gone from Integrated Terminal.

Found during https://github.com/Microsoft/vscode/issues/29479


refactor: renamed stream to events and made it collection specific

Codecov Report

Merging #104 (61c5c06) into main (7ac4fa7) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##               main     #104   +/-   ##
=========================================
  Coverage     83.15%   83.15%
  Complexity      585      585
=========================================
  Files            68       68
  Lines          1828     1828
  Branches        159      159
=========================================
  Hits           1520     1520
  Misses          280      280
  Partials         28       28

Impacted Files
Coverage Δ

...sdata/db/client/StandardTigrisAsyncCollection.java
67.97% <0.00%> (-6.72%)
:arrow_down:

...risdata/db/client/StandardTigrisAsyncDatabase.java
87.93% <ø> (+19.01%)
:arrow_up:

...tigrisdata/db/client/StandardTigrisCollection.java
73.91% <0.00%> (-12.53%)
:arrow_down:

...m/tigrisdata/db/client/StandardTigrisDatabase.java
75.94% <ø> (+8.53%)
:arrow_up:

Continue to review full report at Codecov.

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


Hermes: No audio data found.

I've been seeing a lot of these in the log file when Hermes goes to a song and just does not play. Usually hitting the "next" button works, but other times the button goes grey and I cannot move forward. I'm not sure if this is specific to the Pandora service, or Hermes.

I've seen this happen before, but I've been unable to track it down. Do you have anything which specifically triggers it?

@alexcrichton Sorry for the super delay (work got busy). I notice that sometimes Pandora has the same issue but it usually just skips the song.
Skipping the song doesn't matter as much (to me) so much as the controls all blanking out. The trend I noticed was when it songs got skipped a few times in an hour or so, or when I had skipped/paused a song and later this error showed up.
I hope that helps a little since the use-case is still pretty vague.


Support Informer Injection with Wire

It would be useful to support injecting informers using a dependency injection system such as wire instead of through context.
Benefits of Supporting a Dependency Injection Framework

The context injection relies on init based registration which adds action at a distance. It is easy, for example, to introduce a dependency in a data plane component on a reconciler constant and start a number of unnecessary informers in that component due to the added import. It is also difficult to determine by examination which informers a component will start.
Supporting a dependency injection framework would allow for other components, even other reconcilers, to be injected into controllers alongside the informers.

Why Wire
Wire uses code generation so the dependency graph is verified at code generation time, not runtime, and it is easy to determine what the generated code is doing and what informers or informer factories are being created.

Oooh, it's spring :)


mqtt.protocol4 is not installed with luarocks install

daniel@memory:~/mqtt/luamqtt/examples (master)*$ lua simple.lua
lua: /usr/local/share/lua/5.1/mqtt/init.lua:31: module 'mqtt.protocol4' not found:
	no field package.preload['mqtt.protocol4']
	no file './mqtt/protocol4.lua'
	no file '/usr/local/share/lua/5.1/mqtt/protocol4.lua'
	no file '/usr/local/share/lua/5.1/mqtt/protocol4/init.lua'
	no file '/usr/local/lib/lua/5.1/mqtt/protocol4.lua'
	no file '/usr/local/lib/lua/5.1/mqtt/protocol4/init.lua'
	no file '/usr/share/lua/5.1/mqtt/protocol4.lua'
	no file '/usr/share/lua/5.1/mqtt/protocol4/init.lua'
	no file './mqtt/protocol4.so'
	no file '/usr/local/lib/lua/5.1/mqtt/protocol4.so'
	no file '/usr/lib/x86_64-linux-gnu/lua/5.1/mqtt/protocol4.so'
	no file '/usr/lib/lua/5.1/mqtt/protocol4.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
	no file './mqtt.so'
	no file '/usr/local/lib/lua/5.1/mqtt.so'
	no file '/usr/lib/x86_64-linux-gnu/lua/5.1/mqtt.so'
	no file '/usr/lib/lua/5.1/mqtt.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
	[C]: in function 'require'
	/usr/local/share/lua/5.1/mqtt/init.lua:31: in main chunk
	[C]: in function 'require'
	simple.lua:2: in main chunk
	[C]: ?

Hi danieldai,
Confirmed, will fix it soon

I made a small PR to fix it: https://github.com/xHasKx/luamqtt/pull/7

Sorry, missed a PR.
But there was another issue #4, which I also have to close so I made all changes myself
You may check installing version 1.4.3-3


[EnzymeCore] Move adapt to extension

CUDA CI is presently broken since CUDA requires Adapt 4, and this wasn't allowed by compat.
Let's make this an extension while we're bumping versions.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a8e564c) 75.00% compared to head (2872c4a) 93.30%.
Report is 2 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1232       +/-   ##
===========================================
+ Coverage   75.00%   93.30%   +18.30%
===========================================
  Files          35        7       -28
  Lines       10122      239     -9883
===========================================
- Hits         7592      223     -7369
+ Misses       2530       16     -2514

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

This broke Adapt on any version of Julia that doesn't support extensions. So Julia 1.8


Add possibility of specifying target block when doing a constantCall

In Ethereum's Web3j, it's possible to execute a constant contract call against the state of the chain at a specific block height:
val request = ethCall(
    Transaction.createEthCallTransaction(from, to, function),
    DefaultBlockParameter.valueOf(BigInteger("10000000"))
)

I could not find a similar feature in this library, is it possible to implement it?

Yes, we will note the request and implement this in the next release.
Please be noted, Tronj is stilling in the testing phase and there is not yet a stable release version.

I should say currently we cannot implement this feature. We'll keep on looking java-tron's updates.


fix translation

Sorry, you'll need to do this on transifex, otherwise it'll get overwritten on the next import: http://doc.silverstripe.org/en/3.0/misc/contributing/translation/


Open Source License

Hi Will, could you please add an open source license to this repository? I'd like to make some modifications and I'd greatly appreciate it if I could fork this.
Cheers,
Aarush

Thanks! Just added an MIT license.


BaseSettings: Environment variable is not loaded in nested model if defined in Field()

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
I have a class BaseSettings with a nested BaseModel. Within the nested model (named nested), I defined a variable with sub_var1: str = Field(..., env="SUB_VAR") (as mentioned in the docs).
I would expect that the environment variable name specified in the nested Field is loaded from my .env file. But it's not (see the example below). My .env file looks as follows:
MAIN_VAR=main
SUB_VAR=sub

It only works with env_nested_delimiter='__' and an environment variable NESTED__SUB_VAR1 but I would expect it to work with SUB_VAR (as it's set in the Field).
I'm not sure if this is a bug or expected behavior. If it's the latter I'm doing a feature request, I guess.
Example Code
from pydantic import BaseSettings, BaseModel, Field

class SubModel(BaseModel):
    sub_var1: str = Field(..., env="SUB_VAR")
    sub_var2: str = "bar"

class Settings(BaseSettings):
    main_var: str = Field(..., env="MAIN_VAR")
    nested: SubModel

    class Config:
        env_file = '.env'
        env_nested_delimiter = '__'

print(Settings().dict())

Python, Pydantic & OS Version
pydantic version: 1.10.4
            pydantic compiled: True
                 install path: /home/rafael/miniconda3/envs/ds/lib/python3.8/site-packages/pydantic
               python version: 3.8.13 (default, Mar 28 2022, 11:38:47)  [GCC 7.5.0]
                     platform: Linux-5.15.0-58-generic-x86_64-with-glibc2.17
     optional deps. installed: ['dotenv', 'typing-extensions']

Affected Components

[ ] Compatibility between releases
[X] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

I would expect that the environment variable name specified in the nested Field is loaded from my .env file. But it's not

I think it shouldn't work like you expect because you are initializing Settings model and sub_var1 is a field in the nested model.
FYI, pydantic-settings now is a separate package and is in alpha state. you can install it by pip install pydantic-settings --pre and test it.
Here is your example in pydantic-settings:
from pydantic import BaseModel, ConfigDict, Field
from pydantic_settings import BaseSettings

class SubModel(BaseModel):
    sub_var1: str = Field(validation_alias="SUB_VAR")
    sub_var2: str = "bar"

class Settings(BaseSettings):
    main_var: str = Field(validation_alias="MAIN_VAR")
    nested: SubModel

    model_config = ConfigDict(env_file='.env', env_nested_delimiter='__')

print(Settings().model_dump())


ARROW-10918: [Doc][C++] Document supported Parquet features

@emkornfield I'm not sure everything is covered adequately. I would welcome your validation on this.