primordic/IssueDupesLite huggingface dataset:
Repository: grpc-ecosystem/grpc-gateway

Issue #2447: Forwarding Connection header breaks after updating grpc/grpc-go to 1.42.0
Created: 2021-12-01T07:20:02Z
🐛 Bug Report
grpc-gateway breaks after updating grpc/grpc-go to 1.42.0
After the update introduced by this PR,  it will report stream terminated by RST_STREAM with error code: PROTOCOL_ERROR if connection in headers, which breaks down all of the http connections that comes with connect:keep-alive
To Reproduce
Step 1:
Update google.golang.org/grpc to v1.42.0 in go mod
Step 2：
invoke http request with header connect:keep-alive
Expected behavior
grpc-gateway works well or reports warning, instead of returning PROTOCOL_ERROR
Actual Behavior
it returns stream terminated by RST_STREAM with error code: PROTOCOL_ERROR
Your Environment
go.mod:
google.golang.org/grpc v1.42.0, github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0

Duplicate issue #3681: passing http header for "Connection: keep-alive" causes RST_STREAM with error code: PROTOCOL_ERROR
Created: 2023-10-19T10:29:34Z
🐛 Bug Report
when running a grpc-gateway and passing in the request "Connection: keep-alive" header the server always responds with
RST_STREAM with error code: PROTOCOL_ERROR
removing the header and the server handles the request correctly.
also saw similar issue in  improbable-eng/grpc-web#568
To Reproduce
basic grpc-gateway listening on http port and forwarding request to a grpc server running on a different port on same service

run simple grpc-gateway on 8081 http port and 8082 grpc port
curl -H 'some-other-header: some-value' -H 'Connection: keep-alive' 'http://localhost:8081/v1/some/http/route'
returns "rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: PROTOCOL_ERROR"
curl -H 'some-other-header: some-value' 'http://localhost:8081/v1/some/http/route'
returns 200

Expected behavior
the server should handle requests with "Connection" header
Actual Behavior
"rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: PROTOCOL_ERROR"
current workaround -
add  headerMatcher function to ignore Connection Header
gwmux := runtime.NewServeMux(runtime.WithIncomingHeaderMatcher(headerMatcher))

func headerMatcher(s string) (string, bool) {
    if s == "Connection" {
        return s, false
    }
    return s, true
}
another possible workarround :
downgrade google.golang.org/grpc v1.59.0 to google.golang.org/grpc v1.41.1
Your Environment
go version 1.19
google.golang.org/grpc v1.59.0
github.com/grpc-ecosystem/go-grpc-middleware v1.2.2
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.6.0
github.com/grpc-ecosystem/grpc-health-probe v0.4.5

Closing comment (2023-10-21T06:39:35Z): Thanks for reporting the issue @gitomics. Your problem seems related to #2447. Before using headerMatcher as a workaround, have you used any other header matcher? Because if not, then the default one should be applied automatically and it should not forward the Connection header.
Also, please try to upgrade github.com/grpc-ecosystem/grpc-gateway/v2. v2.6.0 is quite old, but after a quick look it shouldn't matter.
Repository: grpc-ecosystem/grpc-gateway

Issue #746: Comments of rpc method gets copied if multiple services are present in a proto file.
Created: 2018-09-05T13:50:14Z
I have a proto file which consists of multiple services. When I generate the swagger json file from it,
the comment which are mentioned for the first service gets copied down to the second service in the json file.
Here is the proto file:
syntax = "proto3";

import "google/api/annotations.proto";

service SampleService1{
    // Comment 1
    rpc Method (Empty) returns (Empty){
        option (google.api.http) = {
            get : "/api/method1"
        };
    }
}

service SampleService2{
    // Comment 2
    rpc Method (Empty) returns (Empty){
        option (google.api.http) = {
            get : "/api/method2"
        };
    }
}

message Empty {}
Here is the generated swagger json file:
{
    "paths": {
        "/api/method1": {
            "get": {
                "operationId": "Method",
                "responses": {
                    "200": {
                        "description": "",
                        "schema": {
                            "$ref": "#/definitions/Empty"
                        }
                    },
                    "404": {
                        "description": "Not Found",
                        "schema": {}
                    }
                },
                "tags": [
                    "SampleService1"
                ],
                "summary": "Comment 1"
            }
        },
        "/api/method2": {
            "get": {
                "operationId": "Method",
                "responses": {
                    "200": {
                        "description": "",
                        "schema": {
                            "$ref": "#/definitions/Empty"
                        }
                    },
                    "404": {
                        "description": "Not Found",
                        "schema": {}
                    }
                },
                "tags": [
                    "SampleService2"
                ],
                "summary": "Comment 1"
            }
        }
    },
    "schemes": [
        "http",
        "https"
    ],
    "tags": [
        {
            "name": "SampleService1",
            "description": "Description"
        },
        {
            "name": "SampleService2",
            "description": "Description"
        }
    ],
    "basePath": "/",
    "host": "localhost:3000",
    "definitions": {
        "Empty": {
            "type": "object"
        }
    },
    "swagger": "2.0"
}
Can anyone help in fixing this issue ?
I don't want the comments to get copied. The comments should be present as it is in json file for their respective rpc methods under their respective services.

Duplicate issue #1173: protoc-gen-swagger: lost comment when merging proto files
Created: 2020-03-13T17:32:57Z
test case

Closing comment (2020-03-13T21:01:12Z): Probably related to #746. Would you be interested in contributing a fix for this?
Repository: gui-cs/Terminal.Gui

Issue #3120: Key Binding dialog in UI Catalog is broken
Created: 2024-01-04T19:41:04Z
Would be nice if it worked, but....
I'd love it to be revamped and made something devs could use w/in their apps as part of #3023

Duplicate issue #2131: UI Catalog: Changing Keybindings has no effect
Created: 2022-10-21T22:19:57Z
I was curious so I tried to change QuitTopLevel to "CTRL-T"

I expected the app to quit if I hit CTRL-T. Nothing happens.
Am I missing something or is this broken?

Closing comment (2024-01-19T16:31:04Z): Closing. dupe of

#3120
Repository: gui-cs/Terminal.Gui

Issue #536: Unix "ReportMousePosition" not working in UI Catalog
Created: 2020-05-24T16:18:40Z
But works on the Example project.

Duplicate issue #515: Strange behavior with the color of the scenario changing from time to time in linux
Created: 2020-05-23T19:16:50Z
I am observing a strange behavior with the color of the scenario changing from time to time in linux, verified here.

Closing comment (2020-05-27T00:35:49Z): The cause is the Curses.endwin () call which forces the restoration of linux to default and does not allow any further calls to be made to any Curses functions. It is not easy to solve, because as there are no more Toplevels you can not just call this function if it really is to close the program completely. In windows this is no problem. Same as #536
Repository: gui-cs/Terminal.Gui

Issue #101: Button.Clicked is Action and not an event?
Created: 2018-06-07T08:33:20Z
Why is Button.Clicked (and I assume other events) implemented as Action but not as an event?
I'd say event is more natural and standard.

Duplicate issue #57: Button.Clicked() should have a reference to the button itself as argument
Created: 2018-02-19T08:50:42Z
This could be useful in two cases:

One wants to use the same Action for all buttons but needs a way to retrieve what button was clicked
One wants to serialize all the View, to do this it would need access to the button container and he could do this using the button's SuperView property

Closing comment (2020-06-01T03:05:33Z): Dupe of #101
Repository: gui-cs/Terminal.Gui

Issue #519: Window: Add ability to turn off border
Created: 2020-05-23T22:02:32Z
There are times when I don't want Window to have a border and title.
Suggestion is to implement a public bool Border { get; set;} where the setter causes a relayout.

Duplicate issue #316: Is there something like a FrameView but without the frame around it?
Created: 2019-12-01T15:10:08Z
So basically I was trying to make something like a status bar in the bottom of the window. I decided not to use Window, or FrameView, because I don't want it to have a frame around itself. I tried to use the View class, but it wasn't displayed (labels I tried to add to it weren't also displayed). Finally I decided to use a Label that I simply added to the Application.Top.
static Label StatusBar = new Label("There it is"){
            Y = Pos.AnchorEnd()-1,
            Width = Dim.Fill(),
            Height = 1,
            ColorScheme = AppCS,
};
While I was writing this message I realised that I can just add more components there by making their width smaller, but I'm still curious how can I make what I wanted to do before.
(Sorry if it has a simple answer, I'm a beginner)

By the way, is it normal that there is a black line under the content I inserted?

Closing comment (2020-05-24T04:49:44Z): Dupe: #519
Repository: gui-cs/Terminal.Gui

Issue #3073: Create a new `Bar` view to replace `StatusBar` (and eventually `MenuBar`)
Created: 2023-12-23T17:20:57Z
Possible dupe of:

#2975

I want to refactor StatusBar. It's actually a quite simple control, but was written before...

View.Text
View.HotKey with killer ToString support
Frames (for StatusItem spacing/alignment)
Consistency in eventing (KeyBindings and no Action).
KeyBindingScope.Application

It should just be a View that is Width = Fill and Y = AnchorEnd by default.
The new StatusItem:
public class StatusItem : View {
    public override Text {
        get => $"KeyBindings.FirstOrDefault(b => b.Scope != KeyBindingScope.Focus).GetKeyFromCommands(Commands.Default));
}
... plus some stuff to auotmatically enable  / disable Border.Thickness = new Thickness (0, 0, 1, 0) for the separator.
StatusBar.Add is an override that sets subview.X appropriately (1st gets X = 0, subsequent get X = Pos.View(prev); last gets Width = Dim.Fill()).
Originally posted by @tig in #3070 (comment)

Duplicate issue #2106: StatusBar should support right alignment on last StatusItem
Created: 2022-10-19T22:47:28Z
I was playing with the TabView scenarios and hated how Notepad looked. Just so much wasted rows/columns ;-).
In the process, I decided to to move the "Len: " indicator to the status bar. But I really want it aligned right!

One way to fix this would be to support StatusBar.ItemAlignment property on StatusBar that works like Dialog.ButtonAlignment.
This would be trick, but wouldn't really get me what I want. The default would be Left.
Another idea would be to support an StatusItem.Alignment (Left, Center, Right..Justify doesn't make sense).

Closing comment (2024-01-19T16:21:36Z): Closing as dupe of

#3073
Repository: guysoft/FullPageOS

Issue #137: Not booting when screen rotation is enabled with GPU
Created: 2017-07-04T08:57:01Z
What were you doing?
I wanted to change the rotation of the screen by 90 degrees. I entered "display_rotate=1" in /boot/config.txt.
What did you expect to happen?
The Raspberry Pi 2 Model B should boot with the screen rotated 90 degrees
What happened instead?
The activity LED blinked a few times at power on, then nothing happens. The monitor leaves sleep mode, but the screen is black. No debug output is coming on the serial interface.
Was there an error message displayed? What did it say?
No error messages, just a blank black screen.
Version of FullPageOS?
2017-06-24_2017-06-21-fullpageos-jessie-lite-0.7.0.zip
I have changed the memory split to give the GPU both 128 and 256mb, but there was no difference. Commenting the "display_rotate=1" in the config.txt makes the RPi boot normally. Tested on both RPi 2 and RPi 3 with the same result.
Rotating the screen works on a NOOBS install of Raspbian.

Duplicate issue #191: Touchscreen controls don't rotate properly in vertical/portrait mode?
Created: 2017-11-26T21:48:07Z
Adding the following to my "boot/config.txt":
display_rotate=1

This rotates the screen well. However, the actual touchscreen controls don't rotate. The touchscreen controls only properly rotate on "2" (180deg); but not on "1" (90deg) or "3" (270deg). Are there any solutions for this?

Closing comment (2018-01-07T12:40:56Z): Could this be a duplicate of #137 ?
Repository: guysoft/FullPageOS

Issue #497: Update image in Raspberry Pi Imager
Created: 2024-01-05T14:36:40Z
Last stable release of FPO was in 2023-10-22 (0.13.0), but in Imager now is very old image:

Nightly builds also outdated.
How I can help to update it?

Duplicate issue #516: Raspberry Pi Imager Download Issue.
Created: 2024-02-12T03:12:24Z
Hello, I would like to let you know of an issue that has to do with FullPageOS from the Raspberry PI Imager. I was attempting to download and install it, but when getting the nightly from 2024, it responded with a corrupt download, and when downloading the nightly from 2023, a 404 error is given.
In order to reproduce this error, all you have to do is download the newest versions from the Raspberry pi imager.
If it is impossible to reproduce, then I might be having some issues on my personal computer.
Another question on this issue, is something going on with the download, is it unofficial? I'm unsure what's going on in this case. There may also be a chance that if the download was official, then the website may have been hacked, or a version of the raspberry pi image was hacked. If you have any information on what may be going on, please let me know.

Closing comment (2024-02-12T13:42:45Z): Duplicate of #497
Thanks for updating, I pushed a fix and it seems to still do taht
Repository: guysoft/FullPageOS

Issue #534: Raspberry Pi 4- Multiple tabs not loading/booting
Created: 2024-03-16T23:44:15Z
What were you doing?
I edited the fullpageos.txt file to have http://localhost/fullpagedashboard, as indicated by the setup page. I then went to the fullpagedashboard.txt file and put in the sites https://google.com and https://github.com (as test sites). When I booted up the pi with the micro sd card in it, nothing but my mouse and a black screen loaded. However, when I tried editing the fullpageos.txt file to only include one site, it booted successfully.
What did you expect to happen?
The sites to load and shuffle
What happened instead?
A blank screen with my mouse
Was there an error message displayed? What did it say?
N/A
Version of FullPageOS?
Can't seem to access, but it is the stable version on the raspberry pi imager.
Screenshot(s) showing the problem:
n/a
If you are building FullPageOS - provide a build.log that is created for the build
n/a
Edit: I installed the nightly version off of the raspberry pi imager, and went through the process without configuring wifi. It brought me to the tab switching screen, but there was no internet connection. I then connected internet, and it no longer brings me to the tab screen and I have the same issue as before.

Duplicate issue #597: Wifi + page loading issues
Created: 2024-10-17T13:18:17Z
What were you doing?
Trying to load up FullPageOS onto a Pi 5 with8gb of RAM.
What did you expect to happen?
To load and display multiple webpages after eachother after editing the 2 needed files.
What happened instead?
When connected via UTP en editing the fullpageos.txt file with 1 url it works fine.
When i edit fullpagedashboard.txt with multiple url's and fullpageos.txt with http://localhost/fullpagedashboard it only loads the Welcome screen with QR for setup. Does not load contents of fullpagedashboard.
When i try to connect via wifi it seems it does not connect at all for some reason.
Edited the fullpageos_wpa_supplicant.txt file:
WPA/WPA2 secured
network={
ssid="SSID which has spaces"
psk="password"
}
Does nothing. I read that adding "key_mgmt=WPA-PSK" below psk= could solve the issue but nothing.
So i pretty much got 2 issues.

Multiple pages listed in fullpagedashboard.txt is not working
Connecting to a wifi network doesnt work.

Was there an error message displayed? What did it say?
Nothing.
Version of FullPageOS?
On windows, dont know how i can get into /etc/ but i selected the Nightly from 2024-03-24. ive tried the other 2 versions also, from 2022-03-07 and 2024-03-31 but exactly the same happens.

Closing comment (2024-10-22T16:20:01Z): Is it a duplicate of #534?
Is yes, take a look at this comment.
Might be your case.
Repository: guysoft/FullPageOS

Issue #302: Dual screen shows in Extended mode all time
Created: 2019-11-14T14:43:18Z
Hi.
I have a new Raspberry Pi4B updated to last firmware (rpi-update).
The FullPage OS is fullpageos-buster-lite-0.11.0.
To this Pi4 is two new HDMI Philips monitors connected.
The /boot/config.txt file is unchanged.
The problem is that at the screen shows in Extended mode all time. I want to show same screen on both monitors in duplicate mode.

When the computer boot up, the boot text will be in duplicate mode.

OBS. If i run Raspberry´s original raspbian-buster-full desktopversion the screen work´s perfect in duplicate mode.
Is there maybe anyone who can help me to setup an working /boot/config.txt file?
Thank´s for all help!   ;-)
Best regard´s,
McLund

Duplicate issue #501: using 2 screens on raspberry pi 4
Created: 2024-01-11T20:57:16Z
I want to be able to use 2 screens, but when I plug the second monitor/tv in it looks great except the touchscreen I want to use is off. I assume both displays need to be set to the same resolution? How do I make this work for me?

Closing comment (2024-01-14T14:30:04Z): Duplicate of :
#302
You can also post there how you managed to use two screens. Because there are several ways to do it.
Repository: guysoft/FullPageOS

Issue #137: Not booting when screen rotation is enabled with GPU
Created: 2017-07-04T08:57:01Z
What were you doing?
I wanted to change the rotation of the screen by 90 degrees. I entered "display_rotate=1" in /boot/config.txt.
What did you expect to happen?
The Raspberry Pi 2 Model B should boot with the screen rotated 90 degrees
What happened instead?
The activity LED blinked a few times at power on, then nothing happens. The monitor leaves sleep mode, but the screen is black. No debug output is coming on the serial interface.
Was there an error message displayed? What did it say?
No error messages, just a blank black screen.
Version of FullPageOS?
2017-06-24_2017-06-21-fullpageos-jessie-lite-0.7.0.zip
I have changed the memory split to give the GPU both 128 and 256mb, but there was no difference. Commenting the "display_rotate=1" in the config.txt makes the RPi boot normally. Tested on both RPi 2 and RPi 3 with the same result.
Rotating the screen works on a NOOBS install of Raspbian.

Duplicate issue #289: unable to rotate hdmi display
Created: 2019-07-19T19:13:42Z
Not sure if this is specific to fullpageos or not, but since its a custom os and something standard to raspbian isnt working, i figured id post here.  display_rotate and display_hdmi_rotate do not work at all in /boot/config.txt.  I am trying to use it for a digital ticket counter display and the client wants the tv in portrait mode.  the tv is old and does not have a rotate function.  any suggestions?

Closing comment (2019-08-06T10:11:04Z): Yes, that is not implemented by the driver,
Related to: #137
Repository: guysoft/FullPageOS

Issue #39: WIRED STATIC IP:  cannot connect via ssh
Created: 2016-06-09T13:59:25Z
Hi,
My network conf:  fullpageos-network.txt
#auto eth0:1
iface eth0:1 inet static
address 192.168.1.240
netmask 255.255.255.0
gateway 192.168.1.1
Ican't connect to the PI via SSH,
I use the img:
http://docstech.net/FullPageOS/nightly/2016-05-27_2016-05-10-fullpageos-jessie-lite-0.6.0.zip
Regard from French Alps,
Emmanuel

Duplicate issue #95: How to configure network without dhcp ??
Created: 2017-01-11T20:56:44Z
The dhcp configuration overrides the fixed ip configuration off cable network !!!
Some help will be welcome......

Closing comment (2017-01-23T12:59:16Z): Might be a duplicate of #39
Repository: guysoft/FullPageOS

Issue #127: How can I automatically refresh a page every X minutes? 
Created: 2017-04-30T21:54:46Z
I looked around the distro and I could not find a good way to make Chromium  refresh the page every x minutes.
Any scripts or will the new version have this capability?
Not using FullPageDashboard.
Using version 6

Duplicate issue #132: Unable to refresh chromium on start
Created: 2017-06-20T05:44:25Z
What were you doing?
Loading a web page with an addin on boot from fullpageos.txt
[Please be as specific as possible here]
Very very new at raspberry/ full page so bear with the new guy :) I can boot into a web page great however it doesn't appear to auto refresh the page, I actually need to hit f5 to do get the result, however I don't want a keyboard on it and don't want to touch it every time it reboots or powers off
Is there some way I can refresh or get to the dashboard to do that? How do I get in dashboard? Strike me down for my new ways, or send me to another forum :)
What did you expect to happen?
Load web page with addin, refreshes
What happened instead?
Loads with no refresh
Was there an error message displayed? What did it say?
Version of FullPageOS?
Latest I think
[Can be found in /etc/fullpageos_version ALWAYS INCLUDE.]
Not on me
Screenshot(s) showing the problem:
[If applicable. Always include if unsure or reporting UI issues.]

Closing comment (2017-06-20T12:25:22Z): Duplicate of #127
Repository: guysoft/FullPageOS

Issue #427: PC Hardware?
Created: 2022-05-16T20:34:35Z
Can we install FullPageOS on PC hardware (i.e. Dell OptiPlex Micro)? Given that it is hard to find RPis these days.
Or what other alternatives are there?

Duplicate issue #436: FullPageOS For x86
Created: 2022-08-03T04:46:11Z
What were you doing?
is possible to add support for x86? because raspbian existing as x86 as iso.

Closing comment (2022-09-12T18:52:29Z): Related of duplicate: #427
Repository: guysoft/FullPageOS

Issue #222: Setting up Static Wifi address on Scratch
Created: 2018-04-10T14:31:18Z
What were you doing?
What did you expect to happen?
A static address to be assigned to my pi on reboot
What happened instead?
No Ip address was assigned
Was there an error message displayed? What did it say?
No error message
Version of FullPageOS?
2017-11-29-fullpageos-stretch-lite-0.9.0
Firstly In my network, setting the Pi's address on the router side is not possible.
I had wifi working perfectly on Jesse, set it in fullpageos-wpa-supplicant thanks to Guy with no issues.
After reading several of the posted issues I tried the following.
I set the following in dhcpcd.conf:
iface wlan0 inet static
wpa-ssid "Wifi_Net"
wpa-psk "********"
address 192.168.10.13
netmask 255.255.255.0
broadcast 192.168.10.21
I changed nothing in fullpageos-network. The result is no IP address assigned

Duplicate issue #231: Set up with static IP on eth on boot
Created: 2018-05-11T14:41:29Z
What were you doing?
I would like to be able to boot first time to a WIRED connection with a static IP
I think this option used to be in fullpageos-network.txt but with wpa changes it is no longer an option.
Version of FullPageOS?
0.9.0

Closing comment (2018-05-11T14:45:43Z): Duplicate of #222
Also see guysoft/OctoPi#202
Repository: guysoft/FullPageOS

Issue #137: Not booting when screen rotation is enabled with GPU
Created: 2017-07-04T08:57:01Z
What were you doing?
I wanted to change the rotation of the screen by 90 degrees. I entered "display_rotate=1" in /boot/config.txt.
What did you expect to happen?
The Raspberry Pi 2 Model B should boot with the screen rotated 90 degrees
What happened instead?
The activity LED blinked a few times at power on, then nothing happens. The monitor leaves sleep mode, but the screen is black. No debug output is coming on the serial interface.
Was there an error message displayed? What did it say?
No error messages, just a blank black screen.
Version of FullPageOS?
2017-06-24_2017-06-21-fullpageos-jessie-lite-0.7.0.zip
I have changed the memory split to give the GPU both 128 and 256mb, but there was no difference. Commenting the "display_rotate=1" in the config.txt makes the RPi boot normally. Tested on both RPi 2 and RPi 3 with the same result.
Rotating the screen works on a NOOBS install of Raspbian.

Duplicate issue #458: touch itself won't rotate
Created: 2023-03-23T13:09:33Z
What were you doing?
i'm using an lcd screen connected with hdmi and an usb touchscreen on top.
My image is already turned the correct way , but the touch itself isn't.
In my boot/conf.txt i've added :
display_hdmi_rotate=2
lcd_rotate=3
Tried lcd_rotate= with 0 , 1, 2 and 3 . Nothing happens.
What did you expect to happen?
Touchscreen itself to turn the correct way
What happened instead?
It stays the same
Version of FullPageOS?
0.13.0

Closing comment (2023-03-24T15:45:28Z): Duplicate of #137
Repository: h2database/h2database

Issue #3185: Various Git master regressions
Created: 2021-10-07T18:35:46Z
When verifying that #3183 was indeed fixed in the latest code, I ran the small test suite I have on latest master, and found a couple of things that no longer work. Here is a single example with multiple issues:
DROP TABLE test IF EXISTS;
CREATE TABLE test(bigints ARRAY, bin BINARY);
INSERT INTO test VALUES(ARRAY[10, 9999999999999999], x'12345678');
SELECT * FROM test OFFSET 0 ROWS FETCH NEXT NULL ROWS ONLY;

Plain ARRAY no longer works. I looked at the commit and understand that this is intentional, so not a bug, but rather a reasonable change.
The INSERT fails because x'12345678' does not fit BINARY(4), but I specified no size. This used to work. Not sure if it should? I don't understand what the docs mean by The precision is a size constraint; only the actual data is persisted.
The SELECT fails because NULL is no longer a valid value for NEXT x ROWS. This used to work, and should, according to the homepage: FETCH FIRST/NEXT, LIMIT or TOP limits the number of rows returned by the query (no limit if null or smaller than zero).

Duplicate issue #3183: MERGE INTO with default values fails if PK exists
Created: 2021-10-05T18:13:55Z
CREATE TABLE test(id integer PRIMARY KEY, def varchar DEFAULT 'Def');

INSERT INTO test VALUES (1, DEFAULT);

INSERT INTO test VALUES (2, 'Fixed');
UPDATE test SET def = DEFAULT WHERE id = 2;

MERGE INTO test VALUES (3, DEFAULT);

MERGE INTO test VALUES (4, 'Fixed');
MERGE INTO test VALUES (4, DEFAULT);

SELECT * FROM test;
Row with id 4 has NULL in def, not the expected value Def.
(Using latest H2 from Maven (1.4.200). Also tested 1.4.197 that I heard was a good release, but it has the same issue.)

Closing comment (2021-10-07T18:37:11Z): I checked the code in master and this is indeed fixed, so this issue can be closed. (Found a couple of other things, though, that I reported in #3185).
Repository: h2database/h2database

Issue #4079: [2.3.230] Regression in ORDER BY ... DESC on dates
Created: 2024-07-16T13:53:34Z
Hello,
After upgrading to the version 2.3.230, we hit the following regression:
SELECT DISTINCT gendate FROM mytable WHERE gendate>='2019-02-01 10:30:00'
Which gives (correctly):
2019-02-01 10:30:00
2019-02-25 08:00:00

And then, just by adding an ORDER BY clause:
SELECT DISTINCT gendate FROM mytable WHERE gendate>='2019-02-01 10:30:00' ORDER BY gendate DESC
We "lose" the first result:
2019-02-25 08:00:00

Note: It seems that the DESC order is in cause here because if it is not set or ASC is used, then both results are returned as expected.
We use H2 with the MARIADB compatibility mode and the following parameters in the JDBC connection: jdbc:h2:/home/ctabin/data/data.db;MODE=MariaDB;IGNORECASE=TRUE;WRITE_DELAY=0;OPTIMIZE_REUSE_RESULTS=0
Thanks for the amazing work ! 🙏

Duplicate issue #4128: Order by affects filtering (2.3.230 regression)
Created: 2024-09-18T12:19:46Z
Take the following schema with sample data:
create table Parent (
    name varchar(255) not null,
    primary key (name)
);
insert into Parent values ('foo');
insert into Parent values ('bar');
The following query does not produce results with H2 2.3.230:
select * 
from Parent 
where name between 'bar' and 'foo' 
order by name desc
When removing the order by clause, H2 produces results:
select * 
from Parent 
where name between 'bar' and 'foo'

Closing comment (2024-09-18T13:02:02Z): Duplicate of #4079.
It was fixed in 2.3.232.
Repository: h2database/h2database

Issue #918: Parser fails recognising set operations in correlated subqueries
Created: 2018-03-01T11:20:21Z
The following query runs fine in PostgreSQL:
select ((select 1 x) except (select 1 y)) t;
H2 fails to parse it with the following exception:
Syntax error in SQL statement "SELECT ((SELECT 1 X) EXCEPT[*] (SELECT 1 Y)) T "; expected "[, ::, *, /, %, +, -, ||, ~, !~, NOT, LIKE, ILIKE, REGEXP, IS, IN, BETWEEN, AND, OR, ,, )"; SQL statement:
select ((select 1 x) except (select 1 y)) t [42001-196]

As a workaround, this works:
select (select 1 x except (select 1 y)) t;
But if ORDER BY .. LIMIT would be required in the first set operation subquery, then there wouldn't be a reasonable solution, as the parentheses around that first subquery are now mandatory:
select ((select 1 x order by 1 limit 1) except (select 1 y)) t;

Duplicate issue #2050: PostgreSQL with recursive fail with union in the final query
Created: 2019-08-01T07:53:11Z
with recursive CHILDREN(UUID, PARENT_UUID) as
(
	(select GROUPING.GROUP_NODE.UUID, 
	 GROUPING.GROUP_NODE.PARENT_UUID
	 
	 from GROUPING.GROUP_NODE where GROUPING.GROUP_NODE.UUID = '1')

 union 
	(select op.UUID, op.PARENT_UUID
	 	 from GROUPING.GROUP_NODE as op join CHILDREN as c on op.PARENT_UUID = c.uuid)
)
(select * from CHILDREN )
union 
(select mn.UUID, mn.PARENT_UUID
 from GROUPING.MEMBER_NODE as mn, CHILDREN as c2 
 where (mn.parent_uuid = c2.uuid))

If we remove the parentheses ( ) from the  "(select * from CHILDREN )" line it will WORK!

Closing comment (2019-08-01T11:29:54Z): It looks like a duplicate of #918.
Repository: h2database/h2database

Issue #3292: KEY and VALUE reserved words in 2.0.202?
Created: 2021-12-21T13:12:19Z
Creating a table with a column "KEY" or "VALUE" work with H2 1.4.200 but does not work with 2.0.202. Are both reserved keywords in the new version? I haven't found any information about it.
Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax error in SQL statement "CREATE TABLE A(\000a        KEY[*] VARCHAR(32) NOT NULL\000a)\000a"; expected "identifier"; SQL statement:
CREATE TABLE A(
        KEY VARCHAR(32) NOT NULL
)
 [42001-202]

Duplicate issue #3313: Getting JdbcSQLSyntaxErrorException while creating table with KEY and VALUE as column names
Created: 2021-12-29T20:57:59Z
Hey, we are trying to adapt 2.0.204 from 1.4.200.
but while creating a table, if I use words like "KEY" or "VALUE" as column names getting JdbcSQLSyntaxErrorException.
sql:
CREATE TABLE test (  USER_ID NUMBER(10) NOT NULL, KEY  VARCHAR2(90) NOT NULL, VALUE   CLOB," +
" VERSION NUMBER(10) DEFAULT 0 NOT NULL )
Error:
Exception in thread "main" org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax error in SQL statement "CREATE TABLE TEST (  USER_ID NUMBER(10) NOT NULL, KEY[*]  VARCHAR2(90) NOT NULL, VALUE   CLOB, VERSION NUMBER(10) DEFAULT 0 NOT NULL )"; expected "identifier"; SQL statement:
CREATE TABLE test (  USER_ID NUMBER(10) NOT NULL, KEY  VARCHAR2(90) NOT NULL, VALUE   CLOB, VERSION NUMBER(10) DEFAULT 0 NOT NULL ) [42001-204]
Note: it working perfectly with 1.4.200

Closing comment (2021-12-29T21:05:14Z): Duplicate of #3292
Repository: hackiftekhar/IQKeyboardManager

Issue #285: Need scroll view only scroll, don't want table view scroll
Created: 2015-09-04T07:35:50Z
Hi @hackiftekhar ,
You did great work!!
Here my need, In this project I need only change scroll view offset, don't want table view.
I am already disable table view scroll but it's still scroll.
In table cell have text fields.
My design like:
self.view
bgscrollview
tableview
customtablecell
cell.textfeld
Rules in this view:
scroll view only scroll.
I am disabled Table view scroll.
Hope it's understandable!!

Duplicate issue #470: the keyboard did Appear , I don't want table view scroll
Created: 2016-03-30T17:02:21Z
Hi @hackiftekhar ,
You did great work!!
Here my need , the textview at the bottom of the tableview.
The keyboard did Appear , I don't want table view scroll,and the textview only scroll.
Hope it's understandable.
Thanks!

Closing comment (2016-05-16T15:52:44Z): This is probably duplicate of #285 and now I added support to follow scrollView.scrollEnabled property to check if scrollView can scroll or not. Probably 3463422 commit fixed this issue.
Repository: hackiftekhar/IQKeyboardManager

Issue #496: view misplacement
Created: 2016-04-24T03:33:54Z
I need to use IQKeyboardManager in the nib（enable auto layout）, and the navigation bar is translucent. When closing the keyboard, the view will misplacement. The bug is in 3.3.7 and 4.0.2 version, you can download the demo to reproduce this. thanks.
Download Demo:  http://pan.baidu.com/s/1hshNTqO

Duplicate issue #441: KeyboardDistanceFromTextField leads to wrong contentInset
Created: 2016-02-23T17:07:24Z
In my app delegate, I have the following line:
[[IQKeyboardManager sharedManager] setKeyboardDistanceFromTextField:100];
When I click on a textfield, it indeed respects this distance of 100. Unfortunately, there is now a 100 point gap at the bottom of the table when the keyboard is displayed (you won't notice it until you scroll to the bottom). The following image from your demo illustrates this point (make note of the location of the scroll indicator).

I'd imagine that the bottom inset should be the height of the keyboard and the offset should reflect the distance I have specified. For the time being I can use a distance of 0 or use drag to dismiss, but I'd like to bring this issue to your attention.
Thank you.

Closing comment (2016-05-16T15:55:46Z): It looks like duplicate of #496, #487, #485 Probably 28b2d9c commit fixed your issue.
Repository: hackiftekhar/IQKeyboardManager

Issue #1180: IQKeyboardManager memory warning ? 
Created: 2017-12-15T08:55:42Z
When I use IQKeyboardManager? View memory as the following memory diagram, why IQKeyboardManager related to create so many class

Duplicate issue #1203: 为什么会创建这么多对象，内存警告问题
Created: 2017-12-29T09:29:15Z

Closing comment (2018-01-22T12:29:37Z): Duplicate of #1180
Repository: hackiftekhar/IQKeyboardManager

Issue #1365: Moving up down is not preserving keyboardDistanceFromTextField
Created: 2018-06-13T00:07:02Z
Description
Moving up and down through UITextFields is not preserving the distance from textField.
Steps to Reproduce

Let's set
       IQKeyboardManager.shared.keyboardDistanceFromTextField = 50
Select TextField, keyboard appears, distance is correct
Click next - distance still corect
Click previous - distance is significantly smaller
Repeat few times - distance is reduced to 0

Expected behavior:
Well keep the distance.
Actual behavior:
Not keeping the distance :(
Reproduces how often:
Right now tested for TextFields in StackView emebdded in ScrollView
Versions
Xcode: 9.4
Mac OS: 10.13.4
Simulator/Device: 11.4
Simulator/Device Name: iPhone SE
Library Version: 5.0.7
Additional Information

Duplicate issue #1371: Previous next distance keep growing
Created: 2018-06-25T11:02:13Z
Description
On a view with scrollView, when I press a lot up and down buttons the first scroll distance is constantly growing every up down click iteration is causing bigger and bigger bounce effect.
Steps to Reproduce

Click next
Click previous
Loop fast - distance is growing

Expected behavior:
Same distance every click
Reproduces how often:
Always
I did some digging in your code. The problem seems to be here.


Need to move: 174.5
Need to move: -344.5
Need to move: 340.5
Need to move: -510.5
Need to move: 506.5
Need to move: -676.5
Need to move: 672.5
Need to move: -842.5

Need to move value keeps growing when we press next, previous buttons.

Closing comment (2018-07-10T11:06:33Z): This issue is something related to #1365 we are discussing there.
Repository: hackiftekhar/IQKeyboardManager

Issue #1365: Moving up down is not preserving keyboardDistanceFromTextField
Created: 2018-06-13T00:07:02Z
Description
Moving up and down through UITextFields is not preserving the distance from textField.
Steps to Reproduce

Let's set
       IQKeyboardManager.shared.keyboardDistanceFromTextField = 50
Select TextField, keyboard appears, distance is correct
Click next - distance still corect
Click previous - distance is significantly smaller
Repeat few times - distance is reduced to 0

Expected behavior:
Well keep the distance.
Actual behavior:
Not keeping the distance :(
Reproduces how often:
Right now tested for TextFields in StackView emebdded in ScrollView
Versions
Xcode: 9.4
Mac OS: 10.13.4
Simulator/Device: 11.4
Simulator/Device Name: iPhone SE
Library Version: 5.0.7
Additional Information

Duplicate issue #1522: Previous/Next can't work correctly when two textfield was't next to each other
Created: 2019-02-18T02:44:02Z
Describe the bug
I have two textfields that have a different superview and their superview are subviews of IQPreviousNextView,when the two textfields's superview are next to each other,Next/Previous button work good.But when their superview are't next to each other,it can't work good.
Expected behavior
NEXT/Previous button can't work correctly
Screenshots

Versions
Xcode: 10.1
Mac OS: 10.14
Simulator/Device: iOS 12.1
Simulator/Device Name: iPhone X

Closing comment (2019-05-05T02:58:43Z): @maomaoshou can you please check if your issue is related to #1365 and #1541? Please let me know.

thank you for your reply and update,I updated my podfile and the bug is gone,thank you very much,I will close this issue.
Repository: hackiftekhar/IQKeyboardManager

Issue #1196: 刷新自定义cell 的时候动态添加 textView 调用becomeFirstResponder时, 视图不会滚动,  textView 会被遮挡
Created: 2017-12-27T09:43:01Z

Duplicate issue #1195: textView调用becomeFirstResponder视图不会滚动
Created: 2017-12-27T06:56:09Z
在tableView自定义的 cell 中动态添加 textView 调用becomeFirstResponder时, 视图并不滚动问题

Closing comment (2018-03-14T19:15:16Z): Related to #1196
Repository: hackiftekhar/IQKeyboardManager

Issue #485: IQKeyboardManager Adding Empty Space Below UIScrollViews?
Created: 2016-04-12T03:39:25Z
Hi,
I noticed that when IQKeyboardManger (Swift) is enabled, when scrolling below a UITextField, there is a lot of extra empty space. This does not happen when IQKeyboardManger is disabled. Is it possible to adjust the amount of space or remove it?

Thank you for your work!
Regards,
Andrew

Duplicate issue #487: How to stop extra scrolling when keyboard is visible.
Created: 2016-04-13T11:25:05Z
Thanks for your great work..!!
When keyboard is visible, screen is scrollable with a high contentSize.
Is there any way to stop this extra scrolling? I only want screen to scroll till the UITextField set just above keyboard.

Closing comment (2016-05-15T07:19:52Z): Looks like a duplicate of #485. Could you please confirm?
Repository: hackiftekhar/IQKeyboardManager

Issue #531: Be Ready for Swift 3
Created: 2016-06-11T08:47:14Z
I know its still very much early to post but just want you to take a look of changes of Swift 3 in this lib

you can close it but if you like you can try Swift 3 toolchain just to check how much changes are there, i know they will give code converter but some code need to be fixed by us, i guess.

Duplicate issue #563: Swift 3 branch issues
Created: 2016-07-13T11:23:45Z
Hello
I got a few issues when using the Swift 3 branch.

Line 690 in IQKeyboardManager.swift seems to be a duplicated line of 687.
Ambiguous use of 'textView(_:shouldInteractWith:in:interaction)' on lines 448, 458, 468 and 478 in IQKeyboardReturnKeyHandler.swift

Can you fix that? :-)
Nice project!

Closing comment (2016-08-16T11:10:44Z): Duplicate of #531.
Repository: halide/Halide

Issue #5549: Testing release/N.x branches
Created: 2020-12-11T18:03:02Z
With the release of Halide 11.0 impending, we need to determine what testing policy we want to apply to the release branches. Here's what @steven-johnson and I have been discussing so far:

The release/N.x branch shall be tested against the latest point release of LLVM N.
Tests will run on all PRs to the release branches, which should ideally consist of cherry picked changes to master.
The buildbots will only run packaging steps after commit to these branches.
The master-branch buildbots will only package against LLVM trunk.
The master branch will have a version number equal to the next unreleased version.

We should also document this and other branch discipline policies in a top-level CONTRIBUTING.md file.

Duplicate issue #5646: Revamp buildbots to include release-branch testing
Created: 2021-01-14T23:24:58Z
Currently our buildbots build the Halide master branch against three different LLVM versions, but ignore the Halide release branches. We need to revamp them to build the release branches too (and possibly reduce the master-branch building to offset).
Proposal:

We currently only looks for PRs against Halide master branch; we also need to look for PRs against the Halide release branches (eg bug fixes) and run tests against those too. (These will be infrequent.)
We currently only do 'build-a-release' builds against Halide master branch (when a change is detected); we need to do these for the release branches too. (These will be infrequent.)
We don't need to look for changes in LLVM to trigger any builds. (We haven't been doing that for a while, just pointing out that we still don't.)

This brings up some interesting questions:

We currently do most of the 'master' testing against the most recent 'stable' branch of LLVM (currently, 11), with spot-checking against trunk and one-older (12 and 10). Is this still strictly necessary?
While we're thinking, do we want to consider rethinking our stated policy of "3 LLVM version support" for the master branch? Now that we have releases (which correspond to an LLVM version), should we consider relaxing this somewhat (eg dropping the third-oldest), or even something more radical, like saying that 'master halide always builds against master llvm, period'? (For that last one, I suspect the answer is 'no' or at least 'not yet', but I want to throw it out there to be sure.)

Also note that #5645 and #5282 suggest an interesting conundrum for systems using GCC:

For Halide 12, we will need to always build with GCC 9.x (for proper C++17 compatibility), regardless of the LLVM version we use.
For Halide 10 and 11, we will need to continue building with GCC 7.x (to preserve compatibility for existing users)
Thus, if we continue to build master against multiple LLVM versions, we'll have to compile LLVM10/11 using both GCC7.x and GCC9.x on those systems. (This is doable but a slight hassle and an increase in build latency and storage.)

Closing comment (2021-01-26T23:45:36Z): Yes - I think this is a duplicate of #5549
Repository: halide/Halide

Issue #2931: There should be an easy way to ensure that debug_to_file() calls aren't optimized away
Created: 2018-05-01T17:55:39Z
It's handy for debugging purposes to insert calls to debug_to_file() for images that may not be part of the final pipeline (e.g. a colorized image for visualization purposes); if these aren't part of the realized output, they get optimized away, meaning you need hackery to "include" it in the output. We should smarten this somehow so that debug_to_file() calls can be forcibly kept in the pipeline without such trickery.

Duplicate issue #166: We need a way to guarantee debugging code is called.
Created: 2013-10-01T21:30:56Z
If one defines an external function to record information for debugging and the Func it is called within is scheduled compute_root, but the root result is not used anywhere, the external function will never be called. It is a productivity drain to have to ensure the result is used somehow. (I.e. yes, one can always make it work, but new users struggle to understand why things failed and experienced users wish they didn't have to think about this.)
Two possible solutions:

A compute_debug() or compute_always() scheduling primitive, which is like compute_root, but asserts the result is used. (The difference in naming being one of intent. Is there ever any use for this outside debugging? That likely depends on the answer to the other proposed solution.)
A way to mark an external function as required to be called. I'm not sure how I feel about this as it relates to whether external functions are really pure, and I feel they generally should be. SO I can easily see this getting too messy to be something we want to do, but if there is a clean and sensible definition, it might be useful outside of debugging as well.

Closing comment (2021-07-14T03:01:01Z): Duplicate of #2931 (which has more discussion).
Repository: halide/Halide

Issue #5374: Some apps are missing CMake builds
Created: 2020-10-19T17:53:25Z
The following apps do not have CMake builds and so are not properly tested on CI

 HelloAndroid (not built by Makefile either)
 HelloAndroidCamera2 (not built by Makefile either)
 HelloAndroidGL (not built by Makefile either)
 HelloMatlab
 HelloPyTorch (not built by Makefile either)
 HelloiOS (not built by Makefile either)
 HelloWasm (has CMake build, not built by Makefile)
 auto_viz (not built by Makefile either)
 fft
 hexagon_benchmarks (not built by Makefile either)
 hexagon_dma (not built by Makefile either)
 linear_blur (not built by Makefile either)
 nn_ops (not built by Makefile either)
 onnx
 opengl_demo (not built by Makefile either)
 openglcompute (not built by Makefile either)
 resnet_50
 simd_op_check (not built by Makefile either)

There might be good reasons for some of these, eg. I think linear_blur uses generator stubs, which aren't available from CMake (yet/ever). But even then, we should document that somewhere.

Duplicate issue #5398: a need for CMakeListst.txt in example apps
Created: 2020-10-23T14:21:12Z
A lot (probably majority) of the most important examples in the apps folder don't have CMakeLists.txt but use some other build system.
I have a problem with this, because I use cmake and it's very hard for me to use these examples to my benefit. I can't even estimate how much time or effort it will take to make an equivalent project using CMake, so I can't tell if I can use the demonstrated feature/setup.
I don't think I'm alone in this, the recent community survey shows that CMake is the most popular build system.
https://meetingcpp.com/mcpp/survey/results.php?q=39
(picture in case there are problems with the link)

By the way, I don't think that the Android examples can be omitted from this discussion. It's useful to have Gradle examples, but there are also people like me who are more Linux or library-focused, who just create a C++ project with CMake and don't want to switch to Gradle, just to cross-compile for Android.

Closing comment (2020-10-24T00:21:38Z): This is a duplicate of #5374
Repository: halide/Halide

Issue #5204: Explicit control over loop partitioning
Created: 2020-08-21T21:54:44Z
Loop partitioning should be controllable with a scheduling directive. It sucks when I want to partition an outer loop over y and have tiles near the edge computed using separate code from tiles near the middle, and instead some inner loop over a convolution kernel gets split. The reverse is annoying too. I should be able to say which loop is going to be partitioned if any.

Duplicate issue #5447: add a partitioning scheduling directive
Created: 2020-11-13T21:13:11Z
We should be able to mark a loop as partitioned, not partitioned, or auto (the current behavior)
In the partitioned case, likely_if_innermost would count as likely.

Closing comment (2021-02-10T02:43:40Z): This was actually a dup of #5204, so I'm going to close it. Also, I'm working on an alternative to needing this, and I'm still unsure otherwise about adding a partition scheduling directive.