QAT export of custom model fails

Description of the bug:
Background: I am trying to implement quantization aware training in deep reinforcement learning with stable baselines 3.
I am preparing my custom model for QAT following implementation according to the newest tutorial.
    example_inputs = (th.randn(1, observation_size),)
    exported_model = th.export.export_for_training(float_model, example_inputs).module()

    quantizer = XNNPACKQuantizer()
    quantizer.set_global(get_symmetric_quantization_config(is_qat=True))

    prepared_model = prepare_qat_pt2e(exported_model, quantizer)
    prepared_model_train_eval = allow_exported_model_train_eval(prepared_model)

The model is training just fine and it is also usable with torch after training.
My export script looks like this:
model = DQN.load(log_path / agent_name, env)
observation_size = model.observation_space.shape[0]
example_inputs = (torch.randn(1, observation_size),)
model.policy.q_net.q_net = convert_pt2e(model.policy.q_net.q_net, fold_quantize=False)
quantized_export = torch.export.export(model.policy, example_inputs)

torch.export.save(quantized_export, str(model_path + ".pth"))
loaded_qant_export = torch.export.load(str(model_path + ".pth"))
loaded_qant_model = loaded_qant_export.module()

quantizer = XNNPACKQuantizer()
quantizer.set_global(get_symmetric_quantization_config(is_qat=True))
tflite_model = ai_edge_torch.convert(
    loaded_qant_model, example_inputs, quant_config=QuantConfig(pt2e_quantizer=quantizer),
)

Actual vs expected behavior:
Instead of converting I firstly get the error regarding the "is_dynamic" discussed in #355. After fixing that issue I now run into a very lengthy error message. The gist of it being:
 tflite_model = ai_edge_torch.convert(
  File "/usr/local/lib/python3.10/dist-packages/ai_edge_torch/convert/converter.py", line 195, in convert
    return Converter().convert(
  File "/usr/local/lib/python3.10/dist-packages/ai_edge_torch/convert/converter.py", line 134, in convert
    return conversion.convert_signatures(
  File "/usr/local/lib/python3.10/dist-packages/ai_edge_torch/convert/conversion.py", line 120, in convert_signatures
    tflite_model = cutils.convert_stablehlo_to_tflite(
  File "/usr/local/lib/python3.10/dist-packages/ai_edge_torch/convert/conversion_utils.py", line 412, in convert_stablehlo_to_tflite
    tflite_model = converter.convert()
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/lite.py", line 1231, in wrapper
    return self._convert_and_export_metrics(convert_func, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/lite.py", line 1183, in _convert_and_export_metrics
    result = convert_func(self, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/lite.py", line 1562, in convert
    return self._convert_from_saved_model(graph_def)
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/lite.py", line 1423, in _convert_from_saved_model
    result = _convert_saved_model(**converter_kwargs)
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/convert_phase.py", line 212, in wrapper
    raise converter_error from None  # Re-throws the exception.
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/convert_phase.py", line 205, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/convert.py", line 1031, in convert_saved_model
    data = convert(
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/convert.py", line 376, in convert
    raise converter_error
tensorflow.lite.python.convert_phase.ConverterError: Could not translate MLIR to FlatBuffer.-:0:0: error: unknown vhlo type code: 33
-:0:0: note: in bytecode version 6 produced by: StableHLO_v1.7.1
-:0:0: error: unknown vhlo type code: 33
-:0:0: note: in bytecode version 6 produced by: StableHLO_v1.7.1
<unknown>:0: error: loc(callsite(callsite(fused["XlaCallModule:", "XlaCallModule@__inference_inner_35"] at fused["StatefulPartitionedCall:", "StatefulPartitionedCall@__inference_signature_wrapper_53"]) at fused["StatefulPartitionedCall:", "StatefulPartitionedCall"])): 'tf.XlaCallModule' op is neither a custom op nor a flex op
<unknown>:0: note: loc(fused["StatefulPartitionedCall:", "StatefulPartitionedCall"]): called from
<unknown>:0: note: loc(callsite(callsite(fused["XlaCallModule:", "XlaCallModule@__inference_inner_35"] at fused["StatefulPartitionedCall:", "StatefulPartitionedCall@__inference_signature_wrapper_53"]) at fused["StatefulPartitionedCall:", "StatefulPartitionedCall"])): Error code: ERROR_NEEDS_CUSTOM_OPS
<unknown>:0: error: failed while converting: 'main':
Some ops in the model are custom ops, See instructions to implement custom ops: https://www.tensorflow.org/lite/guide/ops_custom
Custom ops: XlaCallModule

XlaCallModule seems to be some kind of delegation. I do not know where I introduce it and how I can get around the issue.
Any other information you'd like to share?
The custom net i am using has the following structure:
activation_fn = nn.ReLU

if len(net_arch) > 0:
        modules = [nn.Linear(input_dim, net_arch[0], bias=with_bias), activation_fn()]
    else:
        modules = []

    for idx in range(len(net_arch) - 1):
        modules.append(nn.Linear(net_arch[idx], net_arch[idx + 1], bias=with_bias))
        modules.append(activation_fn())

    if output_dim > 0:
        last_layer_dim = net_arch[-1] if len(net_arch) > 0 else input_dim
        modules.append(nn.Linear(last_layer_dim, output_dim, bias=with_bias))

q_net = nn.Sequential(*modules)

So far I have only worked on one environment:
torch, torch-xla==2.5.1
ai-edge-torch==0.2.1
tensorflow==2.17.0

You can try suggestion for pkgoogle from https://github.com/google-ai-edge/ai-edge-torch/issues/358

Update: The Issue was caused by my device usage. I trained the model on an external gpu enabled workstation. I tried to apply the conversion on my personal device. Even when explicitly deploying the model on my devices cpu, my device usage led to the issue posted above.
However when using the code posted above on the same device i trained the model the conversion works without any issue. Thus this issue is closed.


Show progress in the UI

Show synchronization progress in the UI

This is solved in this release:
https://github.com/PhilipK/BoilR/releases/tag/v.1.0.3


Add Interface to add multiple billing providers

The billing feature should be encapsulated with an interface so that we can add other billing providers as well and switch according to deployment behavior

@rachitkawar what other billing provider do you have in mind to support which has similar features as Stripe?


Add LeetCode Problem (#53 - Maximum Subarray)

🚀 Feature
(A clear and concise description of what the feature is.)
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Motivation
(Please outline the motivation for the proposal.)
Pitch
(Please explain why this feature should be implemented and how it would be used.)

@HarshKhilawala Please update the issue template.

@Kajol-Kumari It is just a problem and I have already mentioned the Problem number of Leet-Code Problem. Maybe that's enough

I would like to take this in C/C++ for CH20

This is same as #555

@Kajol-Kumari It is just a problem and I have already mentioned the Problem number of Leet-Code Problem. Maybe that's enough

Hey @HarshKhilawala It's not possible for us to go to a particular site and then get to know what the issue is after searching for that! That's the reason we have issue template so you need to provide proper description of the issue here only so that anyone can see from here directly what you issue is! Also as mentioned by @SangeetaMishra I think it's a duplicate of #555 so feel free to close this one.

@Kajol-Kumari Sure, I wouldn't mind closing this issue but though as there is already Leetcode Folder in the Miscellaneous directory , It would have been nice to keep track of this question in that folder as it would have been easy for users who can easily find that


it say the pubblic key doesn’t mach whit the private one

i think this is not only for evilginx , idk how to solve this i try a lot of methods can some one help me pls ❤

I have the same issue, and 53 error port .

I think the file is no longer working again.


Support clearColumnNames of LinkedCellEditor

not the same as https://github.com/sibvisions/flutter_jvx/issues/171
LinkedCellEditor has property: clearColumnNames
clearColumnNames will be cleared before applying the entered value, but only if the value is not available in the dropdown list (works with null  value or custom value if validation is disabled)
Currently, we don't support linked cell editors with disabled validation.
But we support setting null.
Above rule should work: if the value is not available in the dropdown list -> set clearColumnNames to null

closed by: ed183b65b


GUIslice dont work with bluepill and st7789 240x240 display need support?

STM32F103C8T6 Bluepill
ST7789 240x240 SPI display
platformio
Arduino minimal example
I tried what I can but nothing works. Im noob at programming. When i changed library to st7789 in GUIslice_drv_adagfx.cpp and aplied some other tricks in ard st7735 config, program is compiling but there is black screen. When using example from adafruit library everything works as excepted. I think there is problem with init. I read there is another issue using same display but Im using other library
test gui slice bluepill.zip

Nvm it's working nice using TFT_SPi


Cannot log event on iOS

Cannot log event on iOS. I install plugin and I am able to log event in android.
When I run iOS app, the console display "Facebook plugin inited". So I think it initialized properly.
Is it normal cause libaray doesn't set "AdvertiserTrackingEnabled"? Or other config problem I didn't do?
Below are some reference I found. Hope it help.
https://stackoverflow.com/questions/25998846/does-the-facebook-sdk-use-idfa-for-mobile-app-installs
https://developers.facebook.com/docs/app-events/guides/advertising-tracking-enabled

Hi @cdfq152313 !
I added new method set_advertiser_tracking in plugin version <IP_ADDRESS>
Check if it helps you.


Update tag 1.0.4 to be v1.0.4

See most recent tag: https://github.com/Azure/cli/releases/tag/1.0.4
Does not follow the naming convention of the rest of the tags: https://github.com/Azure/cli/tags

@philip-gai  We released a new version for the action with v1.0.5, do you still feel the need for the above change?

@philip-gai We released a new version for the action with v1.0.5, do you still feel the need for the above change?

No it's just a nit, no big deal 😄
Thanks!

Closing this issue as updating older tag might break current user scenarios and we also released a new version with proper tag.


.NET Driver

This looks really great. Any plans for a .NET driver?

We are currently working on JavaScript and Go bindings.  Java and .NET will be the next two platforms we will add support for.
Meanwhile, you can use the EdgeQL over HTTP API

Would also like to add a F# typeprovider driver. 👍

Released client drivers/libraries:

Python: https://www.edgedb.com/docs/clients/00_python/index
TypeScript/JavaScript: https://www.edgedb.com/docs/clients/01_js/index
Go: https://www.edgedb.com/docs/clients/02_go/index

FWIW there's this now: https://github.com/quinchs/EdgeDB.Net

And also it is official and first-party now


Script files created with "Go to Definition" should be opened disconnected

Azure Data Studio Version: master

Steps to Reproduce:

Open a connected SQL editor and type a query
Go to Definition of a database object

Expected: Temporary script file is opened disconnected
Actual: Temporary file is opened connected and all the symbols are displayed with errors since the db objects already exist on the server.  For example, see screenshot below.

We've gone back-and-forth on the design of whether go to definition windows should be connected.  There are several bugs on this previously closed.  The current design is to have them open connected so I'll close this issue now.


Build image with base image having Qt6

Only after the merge of PR https://github.com/owncloud-ci/client/pull/21

Fedora38 provides Qt6.5. So the desktop client is built with Qt6.5. Current squish (v6.7.3) only supports upto Qt6.1
We need Squish 7.1.1 to run the GUI tests with client 5.0 (built with Qt6.5)
https://kb.froglogic.com/squish/qt/howto/supported-qt-version/


Script appears to be failing to find the following element

The script was working until today. But once I've tried to use it today I faced the same error all the time.

@rileypeterson  I could provide you with a Depop account

I just looked at this. Still seems like a bit of mystery to me. Just tried to fix it. Let me know if the newest version works or not.
If not lets get in touch privately because having an account would help me debug this.

Yeah, now it finds the element, but fails to find button.
I will provide you an account in PM

Still not working?

Yes, as in the newest Issue reported I have the same problem with following mode.

https://github.com/rileypeterson/Depop#status


Display 2FA status on package co-owners/maintainers

Closes #5791
I believe that given this is 100% a template fix, we should still have 100% coverage, and I believe we don't write automated tests for this, so, yolo :)
I choose not to display a badge if no 2FA rather than displaying a red badge, but this can be discussed.
EDIT: I originally added this to invites too, but re-reading the ticket highlighted that this might not be desirable. I'm not sure if it's really problematic that an attacker can know if you have 2FA or not but I can imagine it's not something to handle lightly.

The screenshot below shows than even if user ewdurbin has 2FA, the interface doesn't show it because the invite is pending.

Ah I just saw in the original ticket "Blocked on #5790, otherwise this would allow any attacker to determine the 2FA status for a given user."
So I guess the goal is NOT to be able to see this for invites.

Thanks!


fix: fix link

Fixed link

Fixed link

@benesjan @rahul-kothari

@ludamad  pls merge

Hi! Thank you for your contribution!!
Unfortunately, due to our contribution policy, we do not yet accept minor docs typo PRs from outside the org :(

Hi! Thank you for your contribution!! Unfortunately, due to our contribution policy, we do not yet accept minor docs typo PRs from outside the org :(

Hi! Thank you for your contribution!! Unfortunately, due to our contribution policy, we do not yet accept minor docs typo PRs from outside the org :(

You're absolutely terrible. I found a broken link, you closed it, and then you submitted a PR yourself to fix it.

Hi! Thank you for your contribution!! Unfortunately, due to our contribution policy, we do not yet accept minor docs typo PRs from outside the org :(

Aztec ultimately failed due to various small issues. People who do not pay attention to details and various small problems will eventually lead to big problems.


[V8] Fix migration bug on fix overlapping start end dates

This pull request fixes #9788
Before run the migration

cID
cvID
cvIsApproved
cvPublishDate
cvPublishEndDate

224
1
1
NULL
NULL

224
2
1
2021-09-27 18:25:00
NULL

225
1
1
NULL
2021-09-30 18:39:00

225
2
1
2021-09-28 18:39:00
2021-09-29 18:39:00

After run the migration

cID
cvID
cvIsApproved
cvPublishDate
cvPublishEndDate

224
1
1
NULL
2021-09-27 18:24:59

224
2
1
2021-09-27 18:25:00
NULL

225
1
1
2021-09-29 18:39:01
2021-09-30 18:39:00

225
2
1
2021-09-28 18:39:00
2021-09-29 18:39:00

This result is still problematic, see detail #9864
However, much better than before.
I need review from the original author of the migration class @mlocati

I'd like to release 8.5.7 tomorrow. Can this make it in? You two (@hissy , @mlocati ) are more aware of what's going on here than I. Is this ready to release into 8.5.7?

@aembler
I believe this fix goes well.
We should run setPublishInterval for the most recent scheduled collection versions per collection, but @mlocati did to every scheduled collection version per collection.
However, I don't know why @mlocati created an original SQL query before, so I prefer to get a review from him.

I don't know why @mlocati created an original SQL query before

@hissy are you referring to the queries in the migration<PHONE_NUMBER>2400?

@mlocati yeah – @hissy has found some issues he thinks are problematic with the original migration and goes into some details here: https://github.com/concrete5/concrete5/issues/9864

If there are two approved page versions that have overlapping publication dates, which one should be chosen by the core?

I'm not sure I have a good response for that. @hissy ? We would hope our clients wouldn't end up creating multiple approved versions of a page.

Good morning.

@hissy are you referring to the queries in the migration<PHONE_NUMBER>2400?

@mlocati No, I'm talking about the migration class that I fixed in this pull request.

If there are two approved page versions that have overlapping publication dates, which one should be chosen by the core?

I believe the recent one should be chosen by the core, but I think this discussion is not related with this pull request.
This migration class sets public dates for all scheduled versions including old ones. However, we shouldn't run avoidOverlapping function for old versions because it breaks scheduling of that page. That's the problem I'd like to fix. I believe you made the avoidOverlapping function to run for the most recent version.

I'm not sure I have a good response for that. @hissy ? We would hope our clients wouldn't end up creating multiple approved versions of a page.

Some clients doesn't want to create multiple versions, but someone want to do it because they can create multiple versions since we added public date for collection versions. That's why I make it optional in 9.0.1, but I don't prefer to change for version 8.x.


Figure out what needs to change in our release pipeline to support RC releases

Expected Behavior
TODO
Actual Behavior
Steps to Reproduce the Problem

Additional Info

/kind area/release

/add-label "area/release"

/label "area/release"

/label area/release

/kind bug

It looks like we didn't need to make any changes.  Release happened with version "v0.11.0-rc1" and everything appears to be fine right now.

:tada:
We can close then, right ?
/meow

oops, i didn't mean to hit submit on that comment yet.  But yeah, everything looks like it worked so closing this.


add mysql example for keploy

Fixed https://github.com/keploy/keploy/issues/1327
added mysql example

@EraKin575 , Also add example keploy tests and reports as well .


docs: fix fragment ID for yargs' "extends" documentation

Description of the Change
The fragment ID for yargs' documentation of the extends keyword was incorrect. I have updated the URL with the correct fragment ID.
Alternate Designs
N/A
Why should this be in core?
N/A
Benefits
Readers who click on the link in the documentation are taken to the relevant section of yarg's docs.
Possible Drawbacks
Less scrolling means less finger exercises for readers, which could be a drawback depending on your personal views.
Applicable issues
No applicable open issues that I saw.

Is this a breaking change (major release)? No
Is it an enhancement (minor release)? No
Is it a bug fix, or does it not impact production code (patch release)? Yes, this does not impact the testing framework's code

Less scrolling means less finger exercises for readers, which could be a drawback depending on your personal views.

chuckle


[Bug] [urgent] [important]: create app button is not working at all

What happened?
After signing up as a new user, redirected to the dashboard. When I try to create a new app after filling the details, the create app button is completely not working at all...
What did you expect to happen?
Clicking on create app button should create new app and the user can move further. If it's not working then there is no point of using this at all??
Version
Windows 11
Reproduction Steps
Sign Up > Create new app > create app
Relevant log output
No response
Code of Conduct

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

I've just encountered this problem when creating an application

Repeated. Already opened here: https://github.com/pingdotgg/uploadthing/issues/1025

Fixed. Sorry


Release Note 2.0.3

Previous Release Note 2.0.2
Thanks to our community users and developers, about 1000 improvements and bug fixes have been made in Doris 2.0.3 version, including optimizer statistics, inverted index, complex datatypes, data lake, replica management.
1 Behavior change

The output format of the complex data type array/map/struct has been changed to be consistent to the input format and JSON specification. The main changes from the previous version are that DATE/DATETIME and STRING/VARCHAR are enclosed in double quotes and null values inside ARRAY/MAP are displayed as null instead of NULL.

https://github.com/apache/doris/pull/25946

SHOW_VIEW permission is supported. Users with SELECT or LOAD permission will no longer be able to execute the 'SHOW CREATE VIEW' statement and must be granted the SHOW_VIEW permission separately.

https://github.com/apache/doris/pull/25370

2 New features
2.1 Support collecting statistics for optimizer automatically
Collecting statistics helps the optimizer understand the data distribution characteristics and choose a better plan to greatly improve query performance. It is officially supported starting from version 2.0.3 and is enabled all day by default.
see more：https://doris.apache.org/docs/query-acceleration/statistics/
2.2 Support complex datatypes for more datalake source

Support complex datatypes for JAVA UDF, JDBC and Hudi MOR

https://github.com/apache/doris/pull/24810
https://github.com/apache/doris/pull/26236

Support complex datatypes for Paimon

https://github.com/apache/doris/pull/25364

Suport Paimon version 0.5

https://github.com/apache/doris/pull/24985

2.3 Add more builtin functions

Support the BitmapAgg function in new optimizer

https://github.com/apache/doris/pull/25508

Supports SHA series digest functions

https://github.com/apache/doris/pull/24342

Support the BITMAP datatype in the aggregate functions min_by and max_by

https://github.com/apache/doris/pull/25430

Add milliseconds/microseconds_add/sub/diff functions

https://github.com/apache/doris/pull/24114

Add some json functions: json_insert, json_replace, json_set

https://github.com/apache/doris/pull/24384

3 Improvement and optimizations
3.1 Performance optimizations

When the inverted index MATCH WHERE condition with a high filter rate is combined with the common WHERE condition with a low filter rate, the I/O of the index column is greatly reduced.
Optimize the efficiency of random data access after the where filter.
Optimizes the performance of the old get_json_xx function on JSON data types by 2~4x.
Supports the configuration to reduce the priority of the data read thread, ensuring the CPU resources for real-time writing.
Adds uuid-numeric function that returns largeint, which is 20 times faster than uuid function that returns string.
Optimized the performance of case when by 3x.
Cut out unnecessary predicate calculations in storage engine execution.
Accelerate count performance by pushing down count operator to storage tier.
Optimizes the computation performance of the nullable type in and or expressions.
Supports rewriting the limit operator before join in more scenarios to improve query performance.
Eliminate useless order by operators from inline view to improve query performance.
Optimizes the accuracy of cardinality estimates and cost models in some cases.
Optimized jdbc catalog predicate pushdown logic.
Optimized the read efficiency of the file cache when it's enable for the first time.
Optimizes the hive table sql cache policy and uses the partition update time stored in HMS to improve the cache hit ratio.
Optimize mow compaction efficiency.
Optimized thread allocation logic for external table query to reduce memory usage
Optimize memory usage for column reader.

3.2 Distributed replica management improvements
Distributed replica management improvements include skipping partition deletion, colocate group deletion, balance failure due to continuous write, and hot and cold seperation table balance.
3.3 Security enhancement

The audit log plug-in uses a token instead of a plaintext password to enhance security

https://github.com/apache/doris/pull/26278

log4j configures security enhancement

https://github.com/apache/doris/pull/24861

Sensitive user information is not displayed in logs

https://github.com/apache/doris/pull/26912

4 Bugfix and stability
4.1 Complex datatypes

Fix issues that fixed-length CHAR(n) was not truncated correctly in map/struct.

https://github.com/apache/doris/pull/25725

Fix write failure for struct datatype nested for map/array

https://github.com/apache/doris/pull/26973

Fix the issue that count distinct did not support array/map/struct

https://github.com/apache/doris/pull/25483

Fix be crash in updating to 2.0.3 after the delete complex type appeared in query

https://github.com/apache/doris/pull/26006

Fix be crash when JSON datatype is in WHERE clause.

https://github.com/apache/doris/pull/27325

Fix be crash when ARRAY datatype is in OUTER JOIN clause.

https://github.com/apache/doris/pull/25669

Fix reading incorrect result for DECIMAL datatype in ORC format.

https://github.com/apache/doris/pull/26548
https://github.com/apache/doris/pull/25977
https://github.com/apache/doris/pull/26633

4.2 Inverted index

Fix incorrect result for OR NOT combination in WHERE clause were incorrect when disable inverted index query.

https://github.com/apache/doris/pull/26327

Fix be crash when write a empty with inverted index

https://github.com/apache/doris/pull/25984

Fix be crash in index compaction when the output of compaction is empty.

https://github.com/apache/doris/pull/25486

Fixed the problem of adding an inverted index to be crashed when no data is written to the newly added column.
Fix be crash when BUILD INDEX after ADD COLUMN without new data written.

https://github.com/apache/doris/pull/27276

Fix missing and leak problem of hardlink for inverted index file.

https://github.com/apache/doris/pull/26903

Fix index file corrupt when disk is full temporarilly

https://github.com/apache/doris/pull/28191

Fix incorrect result due to optimization for skip reading index column

https://github.com/apache/doris/pull/28104

4.3 Materialized View

Fix the problem of BE crash caused by repeated expressions in the group by statement
Fix be crash when there are duplicate expressions in group by statements.

https://github.com/apache/doris/pull/27523

Disables the float/doubld type in the group by clause when a view is created.

https://github.com/apache/doris/pull/25823

Improve the function of select query matching materialized view

https://github.com/apache/doris/pull/24691

Fix an issue that materialized views could not be matched when a table alias was used

https://github.com/apache/doris/pull/25321

Fix the problem using percentile_approx when creating materialized views

https://github.com/apache/doris/pull/26528

4.4 Table sample

Fix the problem that table sample query can not work on table with partitions.

https://github.com/apache/doris/pull/25912

Fix the problem that table sample query can not work when specify tablet.

https://github.com/apache/doris/pull/25378

4.5 Unique with merge on write

Fix null pointer exception in conditional update based on primary key

https://github.com/apache/doris/pull/26881

Fix field name capitalization issues in partial update

https://github.com/apache/doris/pull/27223

Fix duplicate keys occur in mow during schema change repairement.

https://github.com/apache/doris/pull/25705

4.6 Load and compaction

Fix unkown slot descriptor error in routineload for running multiple tables

https://github.com/apache/doris/pull/25762

Fix be crash due to concurrent memory access when caculating memory

https://github.com/apache/doris/pull/27101

Fix be crash on duplicate cancel for load.

https://github.com/apache/doris/pull/27111

Fix broker connection error during broker load

https://github.com/apache/doris/pull/26050

Fix incorrect result delete predicates in concurrent case of compation and scan.

https://github.com/apache/doris/pull/24638

Fix the problem tha compaction task would print too many stacktrace logs

https://github.com/apache/doris/pull/25597

4.7 Data Lake compatibility

Solve the problem that the iceberg table contains special characters that cause query failure

https://github.com/apache/doris/pull/27108

Fix compatibility issues of different hive metastore versions

https://github.com/apache/doris/pull/27327

Fix an error reading max compute partition table

https://github.com/apache/doris/pull/24911

Fix the issue that backup to object storage failed

https://github.com/apache/doris/pull/25496
https://github.com/apache/doris/pull/25803

4.8 JDBC external table compatibility

Fix Oracle date type format error in jdbc catalog

https://github.com/apache/doris/pull/25487

Fix MySQL 0000-00-00 date exception in jdbc catalog

https://github.com/apache/doris/pull/26569

Fix an exception in reading data from Mariadb where the default value of the time type is current_timestamp

https://github.com/apache/doris/pull/25016

Fix be crash when processing BITMAP datatype in jdbc catalog

https://github.com/apache/doris/pull/25034
https://github.com/apache/doris/pull/26933

4.9 SQL Planner and Optimizer

Fix partition prune error in some scenes

https://github.com/apache/doris/pull/27047
https://github.com/apache/doris/pull/26873
https://github.com/apache/doris/pull/25769
https://github.com/apache/doris/pull/27636

Fix incorrect sub-query processing in some scenarios

https://github.com/apache/doris/pull/26034
https://github.com/apache/doris/pull/25492
https://github.com/apache/doris/pull/25955
https://github.com/apache/doris/pull/27177

Fix some semantic parsing errors

https://github.com/apache/doris/pull/24928
https://github.com/apache/doris/pull/25627

Fix data loss during right outer/anti join

https://github.com/apache/doris/pull/26529

Fix incorrect pushing down of predicate pass aggregation operators.

https://github.com/apache/doris/pull/25525

Fix incorrect result header in some cases

https://github.com/apache/doris/pull/25372

Fix incorrect plan when the nullsafeEquals expression (<=>) is used as the join condition

https://github.com/apache/doris/pull/27127

Fix correct column prune in set operation operator.

https://github.com/apache/doris/pull/26884

Others

Fix BE crash when the order of columns in a table is changed and then upgraded to 2.0.3.

https://github.com/apache/doris/pull/28205

See the complete list of improvements and bug fixes on github dev/2.0.3-merged .
Big Thanks
Thanks all who contribute to this release:
@adonis0147
@airborne12
@amorynan
@AshinGau
@BePPPower
@bigben0204
@BiteTheDDDDt
@bobhan1
@ByteYue
@CalvinKirs
@CanGuan
@caoliang-web
@catpineapple
@csun5285
@dataroaring
@deadlinefen
@deardeng
@DongLiang-0
@Doris-Extras
@dutyu
@eldenmoon
@englefly
@freemandealer
@fsilent
@Gabriel39
@GoGoWen
@HappenLee
@hello-stephen
@hf200012
@HHoflittlefish777
@HowardQin
@hubgeter
@hust-hhb
@JackDrogon
@jacktengg
@jackwener
@jeffreys-cat
@Jibing-Li
@JingDas
@kaijchen
@kaka11chen
@KassieZ
@Kikyou1997
@Lchangliang
@LemonLiTree
@liaoxin01
@LiBinfeng-01
@liugddx
@liutang123
@lsy3993
@luozenglin
@luwei16
@mongo360
@morningman
@morrySnow
@mrhhsg
@Mryange
@mymeiyi
@neuyilan
@nextdreamblue
@Nitin-Kashyap
@pingchunzhang
@platoneko
@qidaye
@ryanzryu
@seawinde
@shuke987
@sohardforaname
@starocean999
@SWJTU-ZhangLei
@TangSiyang2001
@Tanya-W
@TsukiokaKogane
@vinlee19
@w41ter
@wangbo
@whutpencil
@WinkerDu
@wsjz
@wuwenchi
@Xiaoccer
@xiaokang
@xiedeyantu
@XieJiann
@xinyiZzz
@xuefengze
@XuJianxu
@xy720
@xzj7019
@yagagagaga
@yiguolei
@yujun777
@Yukang-Lian
@Yulei-Yang
@zclllyybb
@zddr
@zfr9527
@zgxme
@zhangguoqiang666
@zhangstar333
@zhangy5
@zhannngchen
@zhiqiang-hhhh
@zy-kkk
@zzzxl1993
@zzzzzzzs

我们在使用部分列更新功能的时候遇到这样一个问题（使用的是2.02版本）：
1、开启了部分列更新的功能，然后发现批量insert 多values 写入数据时会出错，单条写入没有问题。
2、数据删除后，再写入会不成功，然后把主键的值改改就可以写入了。

撒时候正式发布啊

@morningman
@hawkingrei  想参加 Doris 统计信息的开发，他在这方面很有经验 ~

发版了吗，咋官网还没更新

发版了吗，咋官网还没更新

It's in the voting process and will be released tomorrow if vote passed.

我们的开发语言是 .net，使用的是 ODBC连接Doris 。Doris后期不在维护ODBC了？


Have single scroll bar for Bridge Devices page.

Would it be possible to remove the inner frame and just have the devices show on the top layer? (not sure of the proper terminology here). That way there would only be one scroll bar to make your way down the page. Not sure what's possible, just throwing it out there.
Thanks as always for such an awesome program.
edit: i saw in another ticket that you're using a scrollable table from another author. I'm curious if there is an option in the table to simply expand to max size automatically. That could remove the scroll bar of the table perhaps...

I had this way thinking it would be easier to get to the backup items. But it probably makes more sense to have one scroll bar. The logs tab works that way too. I'll deprecate that.

looks great in RC3!

I second that, much better UI experience on mobile devices as well.

Awesome, glad you like it!

since all is well, i'll close. :)

I'll keep this open until the merge

I also added for the final version a floating back to top button that will appear after you start scrolling


Add "send" "receive" arrows in one column of the transaction history

to make user easy to identify which transactions are "send" or "receive".

@williamleha @guyuxiang design decisions?


Add the ability to supply a custom comparator function to a set

The custom comparator could be used in preference to the default ordered supplied by sortComparator in sort.go

Implemented and merged into main in this PR.


Remove -Bazel suffix when generateXcodeSchemes=false

Adds the ability to generate only Xcode or Bazel targets

Rename Bazel targets to Xcode targets
Add only indexer targets to the project

Can you update the commit message with what we're pulling in from Tulsi here?


STT0025: split audio and uploading script for stt_nw (news)

Description
create spilt audio folder for stt_nw. use the script stt_hs scripts for reference.
stt_hs: https://github.com/OpenPecha/stt-split-audio
Completion Criteria
The stt_nw data are shown in stt.pecha.tools stats .
Implementation Plan
Subtasks

[x] download the downloading from youtube link script and make csv script from stt_hs
[x] adjust the variable names such as sheet id, column name, group name and so on to be consistent with stt_nw
[x] download audio, spilt audio, then run inference, create csv and upload to database.

update stt split audio repo


Moved from dep to go modules

Updated all sources to go modules
Updated Dockerfiles and README.md for all updated sources
closes #29

It looks like kinesisproducer is still not migrated.
All other changes sounds good.

Wow, i did'n know that it even exists. I'll update it to

I'll create a followup issue though to re-order Dockerfiles. Right now a change in code means downloading all go dependencies again.

Yeah, i noticed that to but decide that it would be to match changes


Fix some jquery deprecation warnings

Ths is a follow-on PR to
https://github.com/pallets-eco/flask-debugtoolbar/pull/241 in order to fix the deprecation warnings:

bind() replaced by on()
click(handler) replaced by on('click', handler)

Three deprecation warnings remain, but they are caused by the jquery.tablesorter.js plugin, so need to be handled upstream:

https://github.com/Mottie/tablesorter/issues/1787
https://github.com/Mottie/tablesorter/pull/1786

Related:

https://github.com/pallets-eco/flask-debugtoolbar/issues/166

Thanks for the quick review @greyli 👍
Since this is the final PR in a 🚂  of Jquery-related PR's, I'll hold off on merging this until these other PR's are reviewed/merged:

https://github.com/pallets-eco/flask-debugtoolbar/pull/235
https://github.com/pallets-eco/flask-debugtoolbar/pull/236
https://github.com/pallets-eco/flask-debugtoolbar/pull/241


Doc - Usage with Code Climate

I've never used Bandit, but I saw there is an integration within Code Climate and I'm interested in giving it a try. https://docs.codeclimate.com/docs/bandit
I'm not quite sure what Bandit does with minimal configuration, here is my output during the CI build:

With the following .codeclimate.yml config file:
  bandit: # Security - See https://docs.codeclimate.com/docs/bandit
    enabled: true

I feel like not much is being done there, and wonder if there are any guide or doc.
I'm using python 2.7 with Django 1.8

I think you must to add on the .codeclimate.yml file at last the options "ini", "configfile" and "baseline" to help the on the project configurarion


Compiling dynamodb error : how to provide -std=c++11 or -std=gnu++11 compiler options?.

Hi,
I am getting following error when trying to compile a CPP example code. Any pointer as to what could be wrong?
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support
^
What platform/OS are you using?
ubuntu 16.04
What compiler are you using? what version?
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)
What's your CMake arguments?
BUILDONLY="dynamodb"
Can you provide a TRACE level log? (sanitize any sensitive information)
ubuntu@ip-172-31-19-157:~$ make
[ 50%] Building CXX object CMakeFiles/put_item.dir/put_item.cpp.o
In file included from /usr/include/c++/5/type_traits:35:0,
                 from /usr/local/include/aws/core/utils/memory/AWSMemory.h:25,
                 from /usr/local/include/aws/core/utils/memory/stl/AWSAllocator.h:21,
                 from /usr/local/include/aws/core/utils/memory/stl/AWSString.h:20,
                 from /usr/local/include/aws/core/utils/logging/LogLevel.h:20,
                 from /usr/local/include/aws/core/Aws.h:17,
                 from /home/ubuntu/projects/put_item.cpp:11:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
In file included from /usr/local/include/aws/core/utils/memory/AWSMemory.h:20:0,
                 from /usr/local/include/aws/core/utils/memory/stl/AWSAllocator.h:21,
                 from /usr/local/include/aws/core/utils/memory/stl/AWSString.h:20,
                 from /usr/local/include/aws/core/utils/logging/LogLevel.h:20,
                 from /usr/local/include/aws/core/Aws.h:17,
                 from /home/ubuntu/projects/put_item.cpp:11:
/usr/local/include/aws/core/utils/memory/MemorySystemInterface.h:50:120: error: ‘nullptr’ was not declared in this scope
 llocateMemory(std::size_t blockSize, std::size_t alignment, const char *allocationTag = nullptr) =
                                                                                ^
In file included from /usr/local/include/aws/core/utils/memory/stl/AWSAllocator.h:21:0,
                 from /usr/local/include/aws/core/utils/memory/stl/AWSString.h:20,
                 from /usr/local/include/aws/core/utils/logging/LogLevel.h:20,
                 from /usr/local/include/aws/core/Aws.h:17,
                 from /home/ubuntu/projects/put_item.cpp:11:
/usr/local/include/aws/core/utils/memory/AWSMemory.h:68:47: error: expected ‘,’ or ‘...’ before ‘&&’ token
     T* New(const char* allocationTag, ArgTypes&&... args)
                                               ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:68:57: error: parameter packs not expanded with ‘...’:
     T* New(const char* allocationTag, ArgTypes&&... args)
                                                         ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:68:57: note:         ‘ArgTypes’
/usr/local/include/aws/core/utils/memory/AWSMemory.h: In function ‘T* Aws::New(const char*, <type error>)’:
/usr/local/include/aws/core/utils/memory/AWSMemory.h:72:50: error: ‘forward’ is not a member of ‘st ’
         T *constructedMemory = new (rawMemory) T(std::forward<ArgTypes>(args)...);
                                                  ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:72:71: error: expected primary-expression before ‘>’ token
         T *constructedMemory = new (rawMemory) T(std::forward<ArgTypes>(args)...);
                                                                       ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:72:73: error: ‘args’ was not declared in this scope
         T *constructedMemory = new (rawMemory) T(std::forward<ArgTypes>(args)...);
                                                                         ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h: At global scope:
/usr/local/include/aws/core/utils/memory/AWSMemory.h:100:19: error: ‘enable_if’ in namespace ‘std’ does not name a template type
     typename std::enable_if<!std::is_polymorphic<T>::value>::type Delete(T* pointerToT)
                   ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:100:28: error: expected unqualified-id before  <’ token
     typename std::enable_if<!std::is_polymorphic<T>::value>::type Delete(T* pointerToT)
                            ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:112:19: error: ‘enable_if’ in namespace ‘std’ does not name a template type
     typename std::enable_if<std::is_polymorphic<T>::value>::type Delete(T* pointerToT)
                   ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:112:28: error: expected unqualified-id before  <’ token
     typename std::enable_if<std::is_polymorphic<T>::value>::type Delete(T* pointerToT)
                            ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h: In function ‘bool Aws::ShouldConstructArrayMembers()’:
/usr/local/include/aws/core/utils/memory/AWSMemory.h:132:16: error: ‘is_class’ is not a member of ‘std’
         return std::is_class<T>::value;
                ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:132:31: error: expected primary-expression before ‘>’ token
         return std::is_class<T>::value;
                               ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:132:32: error: ‘::value’ has not been declared
         return std::is_class<T>::value;
                                ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h: In function ‘bool Aws::ShouldDestroyArrayMembers()’:
/usr/local/include/aws/core/utils/memory/AWSMemory.h:138:17: error: ‘is_trivially_destructible’ is not a member of ‘std’
         return !std::is_trivially_destructible<T>::value;
                 ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:138:49: error: expected primary-expression before ‘>’ token
         return !std::is_trivially_destructible<T>::value;
                                                 ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:138:50: error: ‘::value’ has not been declared
         return !std::is_trivially_destructible<T>::value;
                                                  ^
In file included from /usr/local/include/aws/core/utils/memory/stl/AWSAllocator.h:21:0,
                 from /usr/local/include/aws/core/utils/memory/stl/AWSString.h:20,
                 from /usr/local/include/aws/core/utils/logging/LogLevel.h:20,
                 from /usr/local/include/aws/core/Aws.h:17,
                 from /home/ubuntu/projects/put_item.cpp:11:
/usr/local/include/aws/core/utils/memory/AWSMemory.h: In function ‘T* Aws::NewArray(std::size_t, const char*)’:
/usr/local/include/aws/core/utils/memory/AWSMemory.h:158:79: error: expected primary-expression before ‘)’ token
             std::size_t headerSize = (std::max)(sizeof(std::size_t), alignof(T));
                                                                               ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:158:79: error: there are no arguments to ‘alignof’ that depend on a template parameter, so a declaration of ‘alignof’ must be available [-fpermissive]
/usr/local/include/aws/core/utils/memory/AWSMemory.h:158:79: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/local/include/aws/core/utils/memory/AWSMemory.h:167:29: error: ‘nullptr’ was not declared in this scope
             T* pointerToT = nullptr;
                             ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:192:16: error: ‘nullptr’ was not declared in this scope
         return nullptr;
                ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h: In function ‘void Aws::DeleteArray(T*)’:
/usr/local/include/aws/core/utils/memory/AWSMemory.h:202:32: error: ‘nullptr’ was not declared in this scope
         if (pointerToTArray == nullptr)
                                ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:208:27: error: ‘nullptr’ was not declared in this scope
         void* rawMemory = nullptr;
                           ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:215:79: error: expected primary-expression before ‘)’ token
             std::size_t headerSize = (std::max)(sizeof(std::size_t), alignof(T));
                                                                               ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:215:79: error: there are no arguments to ‘alignof’ that depend on a template parameter, so a declaration of ‘alignof’ must be available [-fpermissive]
/usr/local/include/aws/core/utils/memory/AWSMemory.h: At global scope:
/usr/local/include/aws/core/utils/memory/AWSMemory.h:243:49: error: ‘enable_if’ in namespace ‘std’ does not name a template type
         template<class U, class = typename std::enable_if<std::is_convertible<U *, T *>::value, voi
                                                 ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:243:58: error: expected ‘>’ before ‘<’ token
         template<class U, class = typename std::enable_if<std::is_convertible<U *, T *>::value, voi
                                                          ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:244:34: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11
         Deleter(const Deleter<U>&)
                                  ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h: In member function ‘void Aws::Deleter<T>::operator()(T*) const’:
/usr/local/include/aws/core/utils/memory/AWSMemory.h:250:75: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive]
             static_assert(0 < sizeof(T), "can't delete an incomplete type");
                                                                           ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:251:13: error: ‘Delete’ is not a member of ‘Aw ’
             Aws::Delete(pointerToT);
             ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h: At global scope:
/usr/local/include/aws/core/utils/memory/AWSMemory.h:255:28: error: expected unqualified-id before  using’
     template< typename T > using UniquePtr = std::unique_ptr< T, Deleter< T > >;
                            ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:262:5: error: ‘UniquePtr’ does not name a type
     UniquePtr<T> MakeUnique(const char* allocationTag, ArgTypes&&... args)
     ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:272:49: error: ‘enable_if’ in namespace ‘std’ does not name a template type
         template<class U, class = typename std::enable_if<std::is_convertible<U *, T *>::value, voi
                                                 ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:272:58: error: expected ‘>’ before ‘<’ token
         template<class U, class = typename std::enable_if<std::is_convertible<U *, T *>::value, voi
                                                          ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:273:44: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11
         ArrayDeleter(const ArrayDeleter<U>&)
                                            ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h: In member function ‘void Aws::ArrayDeleter<T>::operator()(T*) const’:
/usr/local/include/aws/core/utils/memory/AWSMemory.h:279:75: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive]
             static_assert(0 < sizeof(T), "can't delete an incomplete type");
                                                                           ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h: At global scope:
/usr/local/include/aws/core/utils/memory/AWSMemory.h:284:28: error: expected unqualified-id before  using’
     template< typename T > using UniqueArrayPtr = std::unique_ptr< T, ArrayDeleter< T > >;
                            ^
/usr/local/include/aws/core/utils/memory/AWSMemory.h:291:5: error: ‘UniqueArrayPtr’ does not name a type
     UniqueArrayPtr<T> MakeUniqueArray(std::size_t amount, const char* allocationTag, ArgTypes&&...
     ^
In file included from /usr/local/include/aws/core/utils/memory/stl/AWSString.h:20:0,
                 from /usr/local/include/aws/core/utils/logging/LogLevel.h:20,
                 from /usr/local/include/aws/core/Aws.h:17,
                 from /home/ubuntu/projects/put_item.cpp:11:
/usr/local/include/aws/core/utils/memory/stl/AWSAllocator.h:63:73: error: ‘nullptr’ was not declared in this scope
         typename Base::pointer allocate(size_type n, const void *hint = nullptr)
                                                                         ^
/usr/local/include/aws/core/utils/memory/stl/AWSAllocator.h:102:10: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
     std::shared_ptr<T> MakeShared(const char* allocationTag, ArgTypes&&... args)
          ^
In file included from /usr/local/include/aws/core/utils/logging/LogLevel.h:20:0,
                 from /usr/local/include/aws/core/Aws.h:17,
                 from /home/ubuntu/projects/put_item.cpp:11:
/usr/local/include/aws/core/utils/memory/stl/AWSString.h:107:7: error: expected nested-name-specifier before ‘String’
 using String = std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > >;
       ^
In file included from /usr/local/include/aws/core/Aws.h:17:0,
                 from /home/ubuntu/projects/put_item.cpp:11:
/usr/local/include/aws/core/utils/logging/LogLevel.h:43:31: error: ‘String’ in namespace ‘Aws’ does not name a type
             AWS_CORE_API Aws::String GetLogLevelName(LogLevel logLevel);
                               ^
In file included from /usr/local/include/aws/core/Aws.h:18:0,
                 from /home/ubuntu/projects/put_item.cpp:11:
/usr/local/include/aws/core/utils/logging/LogSystemInterface.h:29:38: error: expected ‘{’ before ‘;’ token
             enum class LogLevel : int;
                                      ^
/usr/local/include/aws/core/utils/logging/LogSystemInterface.h:29:38: error: expected class-key before ‘;’ token
In file included from /usr/local/include/aws/core/utils/Array.h:21:0,
                 from /usr/local/include/aws/core/utils/crypto/Factories.h:19,
                 from /usr/local/include/aws/core/Aws.h:20,
                 from /home/ubuntu/projects/put_item.cpp:11:
/usr/local/include/aws/core/utils/memory/stl/AWSVector.h:27:24: error: expected unqualified-id before ‘using’
 template< typename T > using Vector = std::vector< T, Aws::Allocator< T > >;
                        ^
In file included from /usr/local/include/aws/core/utils/crypto/Factories.h:19:0,
                 from /usr/local/include/aws/core/Aws.h:20,
                 from /home/ubuntu/projects/put_item.cpp:11:
/usr/local/include/aws/core/utils/Array.h:78:30: error: expected ‘)’ before ‘<’ token
             Array(Aws::Vector<Array*>&& toMerge)
                              ^
/home/ubuntu/projects/put_item.cpp:93:1: error: expected ‘}’ at end of input
 }
 ^
In file included from /usr/local/include/aws/core/utils/crypto/Factories.h:19:0,
                 from /usr/local/include/aws/core/Aws.h:20,
                 from /home/ubuntu/projects/put_item.cpp:11:
/usr/local/include/aws/core/utils/Array.h: In constructor ‘Aws::Utils::Array<T>::Array(size_t)’:
/usr/local/include/aws/core/utils/Array.h:51:17: error: class ‘Aws::Utils::Array<T>’ does not have any field named ‘m_size’
                 m_size(arraySize),
                 ^
/usr/local/include/aws/core/utils/Array.h:52:17: error: class ‘Aws::Utils::Array<T>’ does not have any field named ‘m_data’
                 m_data(arraySize > 0 ? Aws::MakeUniqueArray<T>(arraySize, ARRAY_ALLOCATION_TAG) : n
                 ^
/usr/local/include/aws/core/utils/Array.h:52:40: error: ‘MakeUniqueArray’ is not a member of ‘Aws’
                 m_data(arraySize > 0 ? Aws::MakeUniqueArray<T>(arraySize, ARRAY_ALLOCATION_TAG) : n
                                        ^
/usr/local/include/aws/core/utils/Array.h:52:62: error: expected primary-expression before ‘>’ token
                 m_data(arraySize > 0 ? Aws::MakeUniqueArray<T>(arraySize, ARRAY_ALLOCATION_TAG) : n
                                                              ^
/usr/local/include/aws/core/utils/Array.h:52:99: error: ‘nullptr’ was not declared in this scope
          m_data(arraySize > 0 ? Aws::MakeUniqueArray<T>(arraySize, ARRAY_ALLOCATION_TAG) : nullptr)
                                                                                ^
/usr/local/include/aws/core/utils/Array.h: In constructor ‘Aws::Utils::Array<T>::Array(const T*, size_t)’:
/usr/local/include/aws/core/utils/Array.h:60:17: error: class ‘Aws::Utils::Array<T>’ does not have any field named ‘m_size’
                 m_size(arraySize),
                 ^
/usr/local/include/aws/core/utils/Array.h:61:17: error: class ‘Aws::Utils::Array<T>’ does not have any field named ‘m_data’
                 m_data(nullptr)
                 ^
/usr/local/include/aws/core/utils/Array.h:61:24: error: ‘nullptr’ was not declared in this scope
                 m_data(nullptr)
                        ^
/usr/local/include/aws/core/utils/Array.h:63:47: error: ‘m_size’ was not declared in this scope
                 if (arrayToCopy != nullptr && m_size > 0)
                                               ^
/usr/local/include/aws/core/utils/Array.h:65:21: error: ‘m_data’ was not declared in this scope
                     m_data.reset(Aws::NewArray<T>(m_size, ARRAY_ALLOCATION_TAG));
                     ^
In file included from /usr/local/include/aws/core/utils/crypto/Factories.h:19:0,
                 from /usr/local/include/aws/core/Aws.h:20,
                 from /home/ubuntu/projects/put_item.cpp:11:
/usr/local/include/aws/core/utils/Array.h: At global scope:
/usr/local/include/aws/core/utils/Array.h:73:13: error: expected unqualified-id at end of input
             }
             ^
/usr/local/include/aws/core/utils/Array.h:73:13: error: expected ‘}’ at end of input
/usr/local/include/aws/core/utils/Array.h:73:13: error: expected ‘}’ at end of input
CMakeFiles/put_item.dir/build.make:62: recipe for target 'CMakeFiles/put_item.dir/put_item.cpp.o' failed
make[2]: *** [CMakeFiles/put_item.dir/put_item.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/put_item.dir/all' failed
make[1]: *** [CMakeFiles/put_item.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
ubuntu@ip-172-31-19-157:~$
ubuntu@ip-172-31-19-157:~$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.5' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)
ubuntu@ip-172-31-19-157:~$

Alright now after evrything setup, in cluding credentials in a hidden file .aws(does it need a restart?)
I am not able to successfully put data in dynamodb.
I am using following command to run the executable. Am i going right? Does the TableRaw1 needs any specific handling... BTW i have also tried to pass the ARN from the AWS console instead of table name, but it could not find the requested resource.
./put-item --table-name TableRaw1 --item '{"uid": {"S": "1222222"}, "data": {"123,123,123,1"}}'

my bad i realised that the way i am passing command line arguments is not for this put_item.cpp application. This code is handling arguments in a different way.
but passing ./put-item TableRaw1 '{"uid": {"S": "1222222"}, "data": {"123,123,123,1"}}' also didnt work.
i got this error.
One or more parameter values were invalid: Missing the key uid in the item
any suggestions?

Hi, if you are completely following the example code, please see this usage example.
https://github.com/awsdocs/aws-doc-sdk-examples/blob/master/cpp/example_code/dynamodb/put_item.cpp#L44
Otherwise, paste you code would help us diagnose better for you.

Close this issue because it has been answered. Please reopen if you have further questions.


Improve your program, I m doing python and it shows error on good working program.

Lets say you have a file called main.py with this as content
data = "Hello World"
print(f"{data}")

It prints ERROR.  WHAT :(
Take another example
data = "Hello World"
def hello_world(data: str) -> str:
      return data

Again it prints error. Maybe you should read (Type Hinting)[https://realpython.com/lessons/type-hinting/] and fix both errors.

and this too https://realpython.com/python-f-strings/

Then try to fix the bug OKAY!!! :)

Please see item 4.11. in the FAQ.  You're supposed to understand what syntastic does and configure it according to your needs before using it.


freezing when tikv pd-server down

7 pd-server node, kill 2 pd-server node, juicefs freezing.
[2021/09/02 15:57:58.152 +08:00] [WARN] [client_batch.go:497] ["init create streaming fail"] [target=<IP_ADDRESS>:20160] [forwardedHost=] [error="context deadline exceeded"]
[2021/09/02 15:57:59.021 +08:00] [ERROR] [client.go:599] ["[pd] getTS error"] [dc-location=global] [error="[PD:client:ErrClientGetTSO]rpc error: code = Unknown desc = [PD:tso:ErrGenerateTimestamp]generate timestamp failed, requested pd is not leader of cluster"] [stack="github.com/tikv/pd/client.(*client).handleDispatcher\n\t/root/hanson/go/pkg/mod/github.com/tikv/pd@v1.1.0-beta.0.20210323121136-78679e5e209d/client/client.go:599"]
[2021/09/02 15:57:59.022 +08:00] [ERROR] [pd.go:234] ["updateTS error"] [txnScope=global] [error="rpc error: code = Unknown desc = [PD:tso:ErrGenerateTimestamp]generate timestamp failed, requested pd is not leader of cluster"] [errorVerbose="rpc error: code = Unknown desc = [PD:tso:ErrGenerateTimestamp]generate timestamp failed, requested pd is not leader of cluster\ngithub.com/tikv/pd/client.(*client).processTSORequests\n\t/root/hanson/go/pkg/mod/github.com/tikv/pd@v1.1.0-beta.0.20210323121136-78679e5e209d/client/client.go:717\ngithub.com/tikv/pd/client.(*client).handleDispatcher\n\t/root/hanson/go/pkg/mod/github.com/tikv/pd@v1.1.0-beta.0.20210323121136-78679e5e209d/client/client.go:587\nruntime.goexit\n\t/snap/go/7954/src/runtime/asm_amd64.s:1371\ngithub.com/tikv/pd/client.(*tsoRequest).Wait\n\t/root/hanson/go/pkg/mod/github.com/tikv/pd@v1.1.0-beta.0.20210323121136-78679e5e209d/client/client.go:913\ngithub.com/tikv/pd/client.(*client).GetTS\n\t/root/hanson/go/pkg/mod/github.com/tikv/pd@v1.1.0-beta.0.20210323121136-78679e5e209d/client/client.go:933\ngithub.com/tikv/client-go/v2/util.InterceptedPDClient.GetTS\n\t/root/hanson/go/pkg/mod/github.com/tikv/client-go/v2@v2.0.0-alpha.0.20210709052506-aadf3cf62721/util/pd_interceptor.go:79\ngithub.com/tikv/client-go/v2/oracle/oracles.(*pdOracle).getTimestamp\n\t/root/hanson/go/pkg/mod/github.com/tikv/client-go/v2@v2.0.0-alpha.0.20210709052506-aadf3cf62721/oracle/oracles/pd.go:141\ngithub.com/tikv/client-go/v2/oracle/oracles.(*pdOracle).updateTS.func1\n\t/root/hanson/go/pkg/mod/github.com/tikv/client-go/v2@v2.0.0-alpha.0.20210709052506-aadf3cf62721/oracle/oracles/pd.go:232\nsync.(*Map).Range\n\t/snap/go/7954/src/sync/map.go:345\ngithub.com/tikv/client-go/v2/oracle/oracles.(*pdOracle).updateTS\n\t/root/hanson/go/pkg/mod/github.com/tikv/client-go/v2@v2.0.0-alpha.0.20210709052506-aadf3cf62721/oracle/oracles/pd.go:230\nruntime.goexit\n\t/snap/go/7954/src/runtime/asm_amd64.s:1371"] [stack="github.com/tikv/client-go/v2/oracle/oracles.(*pdOracle).updateTS.func1\n\t/root/hanson/go/pkg/mod/github.com/tikv/client-go/v2@v2.0.0-alpha.0.20210709052506-aadf3cf62721/oracle/oracles/pd.go:234\nsync.(*Map).Range\n\t/snap/go/7954/src/sync/map.go:345\ngithub.com/tikv/client-go/v2/oracle/oracles.(*pdOracle).updateTS\n\t/root/hanson/go/pkg/mod/github.com/tikv/client-go/v2@v2.0.0-alpha.0.20210709052506-aadf3cf62721/oracle/oracles/pd.go:230"]
[2021/09/02 15:57:59.317 +08:00] [WARN] [client_batch.go:497] ["init create streaming fail"] [target=<IP_ADDRESS>:20160] [forwardedHost=] [error="context deadline exceeded"]
[2021/09/02 15:58:00.608 +08:00] [WARN] [prewrite.go:198] ["slow prewrite request"] [startTS=427443780657872897] [region="{ region id: 4669, ver: 35, confVer: 1007 }"] [attempts=280]
[2021/09/02 15:58:04.317 +08:00] [WARN] [client_batch.go:497] ["init create streaming fail"] [target=<IP_ADDRESS>:20160] [forwardedHost=] [error="context deadline exceeded"]
[2021/09/02 15:58:09.318 +08:00] [WARN] [client_batch.go:497] ["init create streaming fail"] [target=<IP_ADDRESS>:20160] [forwardedHost=] [error="context deadline exceeded"]
[2021/09/02 15:58:14.319 +08:00] [WARN] [client_batch.go:497] ["init create streaming fail"] [target=<IP_ADDRESS>:20160] [forwardedHost=] [error="context deadline exceeded"]
[2021/09/02 15:58:15.831 +08:00] [WARN] [client_batch.go:497] ["init create streaming fail"] [target=<IP_ADDRESS>:20160] [forwardedHost=] [error="context deadline exceeded"]
[2021/09/02 15:58:20.832 +08:00] [WARN] [client_batch.go:497] ["init create streaming fail"] [target=<IP_ADDRESS>:20160] [forwardedHost=] [error="context deadline exceeded"]
[2021/09/02 15:58:25.834 +08:00] [WARN] [client_batch.go:497] ["init create streaming fail"] [target=<IP_ADDRESS>:20160] [forwardedHost=] [error="context deadline exceeded"]
[2021/09/02 15:58:30.834 +08:00] [WARN] [client_batch.go:497] ["init create streaming fail"] [target=<IP_ADDRESS>:20160] [forwardedHost=] [error="context deadline exceeded"]
What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?
Environment:

JuiceFS version (use ./juicefs --version) or Hadoop Java SDK version:
Cloud provider or hardware configuration running JuiceFS:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Object storage (cloud provider and region):
Redis info (version, cloud provider managed or self maintained):
Network connectivity (JuiceFS to Redis, JuiceFS to object storage):
Others:

Hello @whans , could you please help us find out all the logs when system stops responding.  Thanks.

Hello @whans , could you please help us find out all the logs when system stops responding. Thanks.

Including the connection string used for TiKV. It's something like this 'tikv://<pd_addr>[,<pd_addr>...]/'

juicefs mount --max-uploads=48 --buffer-size=6000 -d tikv://<IP_ADDRESS>:2379,<IP_ADDRESS>:2379,<IP_ADDRESS>:2379,<IP_ADDRESS>:2379,<IP_ADDRESS>:2379,<IP_ADDRESS>:2379,<IP_ADDRESS>:2379/test /mnt/juicefstest
juicefs is freezing when two pd-server(<IP_ADDRESS>:2379,<IP_ADDRESS>:2379) shut down abnormally

@davies has the new leader, but tikv go client doesn't switch.

Hello @whans , could you please help us find out all the logs when system stops responding. Thanks.

Hello @whans could you please send out more logs starting from the time system got stuck till 5 minutes later. That will help us diagnosing this issue, thanks.

juicefs.log

juicefs.log

Thanks @whans
From the log, Can I assume you are running TiKV on the same PD server and you some how shutdown the whole server instead of killing pd-server processes?
The log indicates that client couldn't connect to leader for regions, which could happen when you have 3 replicas and shutdown 2 TiKV instances in very short time. If that's the case, the common regions used to be hosted on those two servers can neither elect a new leader nor make any progress since majority members doesn't exist anymore.
Could you please confirm my assumption, so we can give suggestion according to your situation.

@sunxiaoguang
Yes, KiTV and PD on the same server, and power off the server.
I has 10 TiKV and PD server, kill 3 of them.

@whans Then some of the regions are not available, we prefer to wait longer than fail faster.


Conflict with material.dart import causes app run to fail

Launching lib/main.dart on TECNO AX8 in debug mode...
lib/main.dart
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

package:calendarro

For solutions, see https://dart.dev/go/unsound-null-safety
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:53:19: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
startDate = DateUtils.getFirstDayOfCurrentMonth();
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:55:17: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
startDate = DateUtils.toMidnight(startDate);
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:58:17: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
endDate = DateUtils.getLastDayOfCurrentMonth();
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:60:15: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
endDate = DateUtils.toMidnight(endDate);
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:81:41: Error: Method not found: 'TypeMatcher'.
context.ancestorStateOfType(const TypeMatcher());
^^^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:81:15: Error: The method 'ancestorStateOfType' isn't defined for the class 'BuildContext'.

'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../../Development/flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ancestorStateOfType'.
context.ancestorStateOfType(const TypeMatcher());
^^^^^^^^^^^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:106:25: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
.difference(DateUtils.toMidnight(startDate))
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:178:20: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
pagesCount = DateUtils.calculateMonthsDifference(
^^^^^^^^^

../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:201:28: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
var maxWeeksNumber = DateUtils.calculateMaxWeeksNumberMonthly(
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:216:16: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
return DateUtils.isSameDay(selectedSingleDate, date);
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:220:13: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
DateUtils.isSameDay(currentDate, date),
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:231:20: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
        return DateUtils.isSameDay(selectedDates[0], date);
               ^^^^^^^^^

../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:235:20: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
return DateUtils.isSameDay(date, selectedDates[0])
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:236:18: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
          || DateUtils.isSameDay(date, selectedDates[1])
             ^^^^^^^^^

../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:246:13: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
if (DateUtils.isSameDay(selectedDates[i], date)) {
        ^^^^^^^^^

../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:304:30: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
    var lastDayOfMonth = DateUtils.getLastDayOfMonth(widget.startDate);
                         ^^^^^^^^^

../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:308:23: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
pageStartDate = DateUtils.getFirstDayOfMonth(widget.endDate);
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:311:42: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
DateTime firstDateOfCurrentMonth = DateUtils.addMonths(
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:315:21: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
pageEndDate = DateUtils.getLastDayOfMonth(firstDateOfCurrentMonth);
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:328:11: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
DateUtils.addDaysToDate(widget.startDate, 6 - widget.startDayOffset);
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:330:23: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
pageStartDate = DateUtils.addDaysToDate(
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:334:23: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
pageStartDate = DateUtils.addDaysToDate(
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:336:21: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
pageEndDate = DateUtils.addDaysToDate(
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:367:9: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
DateUtils.isSameDay(currentDate, date),
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro_page.dart:28:31: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
DateTime rowLastDayDate = DateUtils.addDaysToDate(pageStartDate, 6 - startDayOffset);
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro_page.dart:35:13: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
DateUtils.addDaysToDate(pageStartDate, 7 * i - startDayOffset);
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro_page.dart:42:13: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
DateUtils.addDaysToDate(pageStartDate, 7 * i - startDayOffset + 6);
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/default_day_tile.dart:14:22: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
bool isWeekend = DateUtils.isWeekend(date);
^^^^^^^^^
../../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/default_day_tile.dart:16:20: Error: 'DateUtils' is imported from both 'package:calendarro/date_utils.dart' and 'package:flutter/src/material/date.dart'.
bool isToday = DateUtils.isToday(date);
^^^^^^^^^
FAILURE: Build failed with an exception.

Where:
Script '/home/joel/Development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1035

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/home/joel/Development/flutter/bin/flutter'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

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

BUILD FAILED in 20s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

Is there any updates on this problem?

I do not know if the issue was fixed by the owner but someone made a pull request with the fix and so I referenced his version of the git repo in my pubspec.yaml file
calendarro:
git:
url: https://github.com/GiddyCode/calendarro.git
ref: master


Allow to dynamically define type constraint name

This allows us to dynamically determine the constraint names used for the UPSERT and INSERT IGNORE statements for the PostgreSQL driver.

Main branch was force pushed because the latest version of the Icinga Go library and the library code in the Icinga DB have diverged. This change is now reflected by commit 54491de50190ee9517a2228f4a43053f679145c9.


Check for Python files during packaging

My research showed me that we cannot prevent with automation that Python files that are (accidentally) present in the flexmeasures package would be distributed.
I added logic to our to_pypi script, so that we can be aware of this. I also added a --dry-run flag for testing the packaging like I just did.
Technically, setuptools also includes a few other filetypes aside from all Python files it finds in the package (and setuptools_scm then adds all others which are under git control), but I'm not sure which. I tried .txt, .cfg, .conf, .pyc but none of these would be added.

It worked for me, I tested it.
Let's clarify what "works" means. What happens then is that the file is not packaged. You still see the warning.

I see. That wasn't clear to me from the warning.

Would you agree that this PR requires backporting, too? I think it (and https://github.com/SeitaBV/flexmeasures/commit/b061daa0929ecfe870c453234b699b14153e3ca5, which actually went on main without a PR) fixes PR https://github.com/SeitaBV/flexmeasures/pull/197, which is already planned to be backported (to 0.6.1).

We're the only ones packaging FlexMeasures, so I don't believe this requires our time.
Am 5. Oktober 2021 11:32:35 MESZ schrieb Felix Claessen @.***>:

Would you agree that this PR requires backporting, too? I think it (and
https://github.com/SeitaBV/flexmeasures/commit/b061daa0929ecfe870c453234b699b14153e3ca5,
which actually went on main without a PR) fixes PR
https://github.com/SeitaBV/flexmeasures/pull/197, which is already
planned to be backported (to 0.6.1).
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
https://github.com/SeitaBV/flexmeasures/pull/199#issuecomment-934236577

-- Gesendet von /e/ Mail.


Delay in starting and switching animations on Android

I have model with multiple animations that plays on button click. The animations are not starting immediately, also it is not switching to another animation smoothly!
Buggy demo (with latest version)
https://demo.ziyad.info/webar-models/fs90/range-cooker.html
Bug-free demo (with v1.10.1)
https://demo.ziyad.info/webar-models/fs90/fs90-1.10.1.html
Version

model-viewer: v1.11.0

Browser Affected

[x] Chrome

OS

[x] Android

AR

[x] WebXR
[x] SceneViewer

I see the bug, but your scripts are minified so it's hard to tell what's going on. Can you make a more basic repro with Glitch perhaps? I'd like to understand what's different about how you're switching animations vs our example: https://modelviewer.dev/examples/animation/index.html#crossFade

I simplified the model and the script, I am using just a cube with two simple animations (rotate and UpDown), this issue remain the same.
buggy sample (v1.11.0)
https://demo.ziyad.info/webar-models/cube/index.html
bug-free sample (v1.10.1)
https://demo.ziyad.info/webar-models/cube/index-v1.10.1.html
I tried even with async methods and await modelViewer.updateComplete; but the issue kept the same.
What is more, I noticed the issue also exists in Chrome and Edge on Winodws!

Interesting; I think there is a bug of some kind here, but I believe you can avoid it simply by not calling play() when the animation is already playing (note the difference between my suggested function above and yours). In the debugger I can see that your play command is being called before the animation is switched, since attribute changes are processed asynchronously.

Yes, I can confirm that your code worked fine, but this works only with continues loop, in my scenario I need to pause and stop the animation on demand. I updated my script again and noticed that the bug appears only after calling pause() method!
And I noticed another unexpected behavior; in the buggy sample if I do pause() then play() the animation restarts from the first frame. But in the old version it continues from the frame it stopped at as expected.
You can see updated links with pause/play and reset buttons added:

Buggy demo (with latest version)
https://demo.ziyad.info/webar-models/cube/index.html

Bug-free demo (with v1.10.1)
https://demo.ziyad.info/webar-models/cube/index-v1.10.1.html

Just reviewed the source code and noticed this code block, I think this is causing the animation to restart and not continue!
https://github.com/google/model-viewer/blob/18c855bf8c550a07b2123c6f892223ea52266eed/packages/model-viewer/src/features/animation.ts#L184-L189

Good catch! I'll check when that got added.

I've just stumbled across the same:
From paused .play starts from 0 not current time. Thankfully this thread has just stopped me loosing my mind!


Add semantic safe API for alert notifications

Motivation
We want to provide new APIs that are semantically safe when sending alerts to APNs. These APIs should feel native in Swift and not leak too many APIs of the APNs interface.
Modification
This PR creates a few new semantic types to represent currency types from the APNs API. Furthermore, the PR adds new types for the alert notification and a convenience method to send alert notifications with the APNSClient.
Result
We can now send alert notifications.

Everything worked and the documentation looks great. Thank you for making this a much cleaner interface.


ERROR TypeError: rxjs_1.of is not a function

I occasionally get this error, but when I hard refresh, it disappears.
ERROR TypeError: rxjs_1.of is not a function
    at SVGCacheService.getSVG (svg-cache.service.js:27)
    at InlineSVGDirective._insertSVG (inline-svg.directive.js:71)
    at InlineSVGDirective.ngOnChanges (inline-svg.directive.js:42)
    at checkAndUpdateDirectiveInline (core.js:12407)
    at checkAndUpdateNodeInline (core.js:13935)
    at checkAndUpdateNode (core.js:13878)
    at debugCheckAndUpdateNode (core.js:14771)
    at debugCheckDirectivesFn (core.js:14712)
    at Object.eval [as updateDirectives] (TopMenuComponent.html:11)
    at Object.debugUpdateDirectives [as updateDirectives] (core.js:14697)

This refers to the require at the top of svg-cache.service var rxjs_1 = require("rxjs");
Any thoughts?

I'd suggest making sure you have an updated version of rxjs installed, but the hard refresh part is weird.

@arkon Quick response, thanks! I don't have rxjs installed, it's required as part of this plugin. Which is "rxjs": "^6.1.0"

Actually, it seems I have<EMAIL_ADDRESS>installed. Another plugin must be importing it first and overriding. I'll import rxjs manually, thank you!

I admitedly have no idea then. ¯_(ツ)_/¯


Fix alignment of pills in Channel view

The filter pills in the Channel view have their inner texts vertically misaligned. This is driving Joana mad, and nobody likes when our only designer is going crazy on alignment. Let's fix that.

QA in Ladybird v6.30.0 (Vanessa and Simon) - pass from our side.

@jofilizola Joana, what do you think about the new fix?  :)

It also looks good to me here. I assume Joana will speak up if she disagrees :)


Using Nylas Python v3 SDK, create a code sample to create webhook

Using Nylas Python v3 SDK, create a code sample to create webhook

Hey, I would like to take on this issue and contribute to the project. Could you please provide guidance on how to get started?

Hi @sharsha315, thanks for reaching out, issue assigned. Here are some details:

Here are the details to install the Python SDK for Nylas v3: https://github.com/nylas/nylas-python/tree/v6.0.0-beta
Send us an email at devrel @ nylas.com and we can help set up an account for testing the code sample
On the readme, we have available resources to start, and you can always drop a message on this issue if something is not clear

Thank you for the details and the assignment. In the interest of learning about the Nylas platform, I have already created an account. Do I still need to contact as in the details provided in step 2?

@sharsha315 - yes, since the Nylas API v3 is a separate dashboard, we can create an account for you, its super quick!

You can definitely learn about Nylas from our current dashboard, but the version is only 2.7, this Github Issue is for v3.

Hi @sharsha315 - will take a look at your code sample shortly:
https://github.com/sharsha315/nylas-hacktoberfest-2023

Taking a look now: https://github.com/sharsha315/nylas-hacktoberfest-2023/tree/create-webhook-test/code-samples/webhook/python/create-webhook

also
callback_url = "https://eodg8rgla17nx41.m.pipedream.net"
is something that you need to setup yourself, if you want, do this
just leave it as callback_url=ENTER_CALLBACK_URL

Hi @relaxedtomato, I have submitted the PR. Kindly review the submission and provide the feedback on the same. Thank you.

Just saw a comment from @atejada - let's address that to close this ticket 👍

Sure Ram, I have made the necessary changes. Kindly review the changes and
provide feedback.
Thank you.
On Fri, Oct 20, 2023 at 8:22 PM Ram @.***> wrote:

Just saw a comment from @atejada https://github.com/atejada - let's
address that to close this ticket 👍
—
Reply to this email directly, view it on GitHub
https://github.com/nylas-samples/nylas-hacktoberfest-2023/issues/52#issuecomment-1772890635,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALGUCKWQRNPQOSJDDCMEJWTYAKFZXAVCNFSM6AAAAAA5LPPFWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZSHA4TANRTGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank you Ram, It could not have been completed without your support and
guidance.
On Sat, Oct 21, 2023 at 12:26 AM Blag @.***> wrote:

Closed #52
https://github.com/nylas-samples/nylas-hacktoberfest-2023/issues/52 as
completed via #82
https://github.com/nylas-samples/nylas-hacktoberfest-2023/pull/82.
—
Reply to this email directly, view it on GitHub
https://github.com/nylas-samples/nylas-hacktoberfest-2023/issues/52#event-10727890732,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALGUCKVKNIQ3SG2OT2D4CUDYALCMXAVCNFSM6AAAAAA5LPPFWWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQG4ZDOOBZGA3TGMQ
.
You are receiving this because you were mentioned.Message ID:
<nylas-samples/nylas-hacktoberfest-2023/issue/52/issue_event/10727890732@
github.com>


[New Component Proposal]:

🧩 New Component Name
TextFields
📝 Component Description
There can be  text fields multiple options

without label
with Label
with required
text field with error messages

🎯 Motivation
It will allow user to use clean and reusable text fields instead  instead of creating it from scratch
I agree to and respect the Code of Conduct

[X] I will follow CONTRIBUTING GUIDELINES

assigned @Nisarg155


What is the link between a layer and its type ?

I can see these layer types: board, socket
And the related access-sequences maybe ?
  layers:
    - layer: $Board-Layer$
      type: Board
    - layer: $Shield-Layer$
      type: Shield

So what are we allowed to use ?
Free strings ?
How are the access-sequences built ? Or is it variables ?
https://github.com/Open-CMSIS-Pack/devtools/blob/main/tools/projmgr/docs/Manual/YML-Input-Format.md#variables
Are we allowed to have several times the same layer type ?
So basically everything is user-controlled ?
We  define the variables that match the types ?

@fred-r this is variables - as you already point the the documentation of them.
Assume that you have a set of projects in your solution. Instead of changing the filenames of the clayers in all referenced cproject files they just use the same variable names. Also you don't need to specify different sets of layer names per target-type as the variables get set for each target-type.
  target-types:
    - type: frdmk22f_agmp03
      board: NXP::FRDM-K22F
      variables:
        - Board-Layer:  ../../../../../boards/frdmk22f/frdmk22f.clayer.yml
        - Shield-Layer: ../../../../../shields/agmp03/agmp03.clayer.yml
    - type: lpcxpresso54114_agmp03
      board: NXP::LPCXpresso54114
      device: NXP::LPC54114J256BD64
      variables:
        - Board-Layer:  ../../../../../boards/lpcxpresso54114/lpcxpresso54114.clayer.yml
        - Shield-Layer: ../../../../../shields/agmp03/agmp03.clayer.yml

The variable names themselves have no particular semantic, but good names help the readability.
Are we allowed to have several times the same layer type ?
No, the algorithm combining the layers is expecting a set of distinct layer type names under layers:, even if two had the same connections.
One thing we are discussing at the moment is whether we should be able to mark a layer optional. E.g. if a required sensor is mounted on the board and no shield is required. Having the same sensor on the board as well as on a shield will create a problem, since the connections are point to point (unique) in this case, whereas multiple drivers could make use of a delay function by the provided RTOS.
We define the variables that match the types ?
Yes, if you set the variable to a layer that does not match the type, csolution will throw an error, since the layer specifies which type it implements.

@fred-r the layer type: is user string that identifies compatible layers; used by command list layers.
One reference project should have just unique layer types, i.e. it does not make sense to include more than one layer type board in a reference application.

Note: the list layers command has in the moment a few issues that will get addressed after 1.8.0 release.  For example, the output is not intuitive enough.

@fred-r can this issue be closed given above explanation?

Yes, this is clear, thank you.


Uncaught ReferenceError: jQuery is not defined

Hi, I'm using 1.1.1 and have not specified any alternative jQuery location. Why can't it find jQuery?

If you do not specify USE_DJANGO_JQUERY and JQUERY_URL in setttings.py, it will use 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' by default. Have this file been loaded ?

Nope, it has not been loaded as far as I can tell.

Put USE_DJANGO_JQUERY = False, otherwise you will have one error in the server, collecstatic can't find admin/js and raise a error. This happen's me.
I think that this option will be deprecated.

Thanks both for your assistance. I tried messing with the settings but in the end I left the settings alone and used the jquery used by the rest of my app (in the base template). Once I moved the jquery script to the top of the page (it was at the bottom before), I stopped getting that error and it worked fine. :)

Interesting man, very interesting, and strange.

I use my own jQuery as well--you don't want to load an old jQuery. I also had to place it at the top.


textbox not updating scroll position when not focused

If I have a nana::textbox with many lines so that the scroll bar appears, then I manually change the caret position using nana::textbox::caret_pos(const upoint& pos)  while the textbox is focused the caret position is changed correctly and the view is scolled so that the caret is visible.
But if I call nana::textbox::caret_pos(const upoint& pos) from another source (i.e. a button) the caret changes position but the textbox does scroll to make the caret visible.
Code to test:
#include <nana/gui.hpp>
#include <nana/gui/widgets/textbox.hpp>
#include <nana/gui/widgets/button.hpp>

using namespace nana;

int main()
{
	form fm;
	fm.div("<tb><btn>");

	textbox tb{ fm };

	tb.events().key_press([&tb](const arg_keyboard& arg)
	{
		if (arg.key == 'A')
		{
			tb.caret_pos({ 0, 0 });
		}
	});

	button btn{ fm, "button" };

	btn.events().click([&tb] {
	tb.caret_pos({ 0, 0 });
	});

	fm["tb"] << tb;
	fm["btn"] << btn;

	fm.collocate();

	fm.show();

	exec();
}

Pressing a when the text box has many line (so scroll bar is shown) takes you back to the first line.
But pressing the button updates the carets position but does not take you to it's position.
After looking at the source code it looks like this is the problem:
nana\source\gui\widgets\skeletonstext_editior.cpp Line 1709-1710
Not sure what the reason behind this is, but a temp fix can be achieved by changing the button lambda to:
btn.events().click([&tb, &btn] {
	api::focus_window(tb);
	tb.caret_pos({ 0, 0 });
	api::focus_window(btn);
});

So really my question is what is the reason behind not updating the scroll when not focused? and is/can there be a fix where I do not have to manually adjust the widgets focus.

Fixed!
tb.caret_pos({ 0, 0 }, true);

Thanks.


Handle malformed XMP

Hello :hand:
This PR proposes the addition of a second attempt in order to fix faulty XML in XMP tags from cameras that have malformed/invalid XML. It doesn't change the original behavior of the function. It loads BeautifulSoup lazily since I don't think too many cameras have this problem. The lxml library is a requirement for beautifulsoup.
I hope this can be useful to make OpenSfM more stable. 🙏  Let me know if changes are needed?

I'm fine with the changes, but I have a few requests :

Let's imports BeautifulSoup at the top of the file since it is a requirement anyway. Makes the code less obfuscated.
I had trouble reading and understanding the combination of range loop + try/except. Could we remove the loop and make each step explicit, even if longuer and has nested try/except ? It would be more readable and indicates this is a tricky step part per-se.

@pierotofy another thing would be to have at the image that caused the need for this fix and/or the corresponding malformed string so we have proper unit testing for that one, as it gets tricky.

Thanks for the recommendations @YanNoun I'll work on the changes and also to provide you with a test case.

Suggestions implemented. :+1:
Test case:
from opensfm.exif import EXIF

e = EXIF(open("./DJI_0018.JPG"))
print(e.xmp)

Input image (with corrupted XMP): https://uav4geo.com/static/downloads/DJI_0018.JPG
Before the fix the print statement should fail. After the fix it should work.

Mm, is a CLA required now?
Not opposed to signing one, just not sure if I want to sign it via Facebook. :)

Signed the CLA through Facebook, but this still fails. :confused:

CLA signed, rebased the branch, fixed travis CI.
Let me know if further changes are needed :pray:

Not sure if there's still interest in merging this one, I can close it if not. :pray:


Doc - Memory Leak

Hey posva,
Great job for vue-mdl !
I appear to have a memory leak on the documentation website.
I am on OSX / Chrome49. Do you need more info ?
PS: I will try to help you release 1.0, this project seems fun ;)

Hey, thanks @vbrajon
I'll give it a look. What were you doing to create the leak?
It makes me happy you want to contribute. Send me an email so can find a better way to communicate 😉

@vbrajon I'm not sure it's a memory leak but it's definitely using too much CPU. I can reproduce it now by going to http://posva.net/vue-mdl or even by serving locally with npm run dev:doc

Yeah, basically there's too much stuff on a single page. Using vue-router or a simple routing strategy would fix the problem

I think everything is fine now that vue-router is used


Follow distance button changes longitudinal personality

We'll do Toyota as the first example, then the community can extend it to the rest of the brands.

Done @sshane?

Yep!


mavproxy, python3Packages.pymavlink: update

Description of changes
Update pymavlink and mavproxy to their latest versions:
pymavlink: https://github.com/ArduPilot/pymavlink/releases/tag/2.4.38
mavproxy: https://github.com/ArduPilot/MAVProxy/releases/tag/1.8.60
Tested connecting to ArduPlane over TCP.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I updated pymavlink to 2.4.39 and mavproxy to 1.8.62.


fix/test Issue353RobotTestCase randomly failing on PhantomJS

This PR excludes Issue353RobotTestCase from the set of tests run by PhantomJS which makes it run by Firefox in Travis.

@ymeine Thank you for your review!
Indeed, running tests in PhantomJS 1.9.8 is not really relevant anymore.


Raise DecodeFailure with MonadError instead of throwing

Fixes #2504. Similar to #2502.
This code was written before the effect was polymorphic, and relies on now undefined behavior.  The MonadError constraint lets us raise the error into F lawfully.  Optimization coming in cats is noted. This rippled to the oauth1 client.

Thanks 👍 that's real quick :-)


test(NODE-4585): ensure empty aws env variables

Description
Ensures that when testing AWS auth against EC2 does not accidentally pull the secret key or access key from the written prepare_mongodb_aws.sh script.
What is changing?
Writes an empty file to prepare_mongodb_aws.sh before the EC2 auth task runs.
Is there new documentation needed for these changes?
None
What is the motivation for this change?
NODE-4585

Double check the following

[x] Ran npm run check:lint script
[x] Self-review completed using the steps outlined here
[x] PR title follows the correct format: <type>(NODE-xxxx)<!>: <description>
[ ] Changes are covered by tests
[ ] New TODOs have a related JIRA ticket

AWS tests: https://spruce.mongodb.com/version/630e34a63e8e860d0e099b00/tasks?page=0&sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC&variant=^ubuntu1804-test-mongodb-aws%24


Enable the entry of multiple forest client numbers with or without space after the comma

Describe the task
Currently there is only one correct format to enter multiple forest client numbers:
00001011,00001012
We need to enable the entry of multiple forest client numbers with or without space after the comma so it is less prone to user error:
00001011, 00001012
Both ways should be valid.
Acceptance Criteria

[x] Either entry format (comma followed by a single space or no space) works
[x] Update/create tests if need

Additional context

Add any other context about the task here.
Or here

@J0taFerreira  - adding this to sprint 12