I have same problem with my project, which stopped work. Looks like there was different code to integrate module.
You need to replace this:
apply from: filePath
by this:
evaluate(new File(
settingsDir.parentFile,
'flutter_module/.android/include_flutter.groovy'
))
Possibly, update some parts of base Android application will help. But i didn't research this yet.
After speaking with the support team, the issue has been resolved. It looks like it was some issue on the backend side, didn't get any specific information about it.
The problem is here:
data-testid="step-1"
I'm not sure on why but it doesn't work with numbers in a name. You can do something like:
data-testid="step-one"
expect(screen.getByTestId('step-one')).toBeInTheDocument();
Not sure why , but , Figured out there were two options in disabled state , once enabled started working.
Happy New Year ~ With guidance, I took the recommendations and altered it to combine it with another filter to toggle between a progress of completed or less than 100%.
=FILTER(Table2,(COUNTIFS(Table2[Item '#],Table2[Item '#],Table2[Version '#],">"&Table2[Version '#])=0)*(Table2[Progress Category]=B3))
in the filter function, if you need to add another criteria you can use the * asterisk and add in the next item you need to filter! And to toggle, I used Cell B3 to have a toggle between a list of progress options. Exciting, I know. Thanks everyone!
press shif + insert this solved the issue for me.
The access token that Firebase Auth gives can be substituted for the OAuth2Client you'd normally use in the Node.js server:
const result = await signInWithPopup(auth, provider);
const credential = GoogleAuthProvider.credentialFromResult(result);
const token = credential?.accessToken;
const studentData = await classroom.courses.students.list({
courseId,
auth: token,
});
This is odd because when I try to use the access token I get from passport-google-oauth2 it throws an error.
It also stopped working after the first time because the googleapis package is meant for server environments from what I can understand, and Vite started throwing errors.
How to implement Google API with React, Redux and Webpack
Manually typing the fetch request is best solution for now.
Because, [lambda event] connects the key to a particular function and that key can only be accessed while you are in the the program.emphasized text
Why do you make your divs like this? One starts from the beginning, then the other one starts from another place. First make your divs and see if it works because as long as your tags are in the div, they cannot be in a line.
Turns out theres a GetProcedures which returned what I needed.
var result = await context.GetProcedures().procAsync(Item1, Item2, Item3);
@?:loadstring(game:HttpGet(''https://raw.githubusercontent.com/marisdeptrai/Script-Free/main/Fruit @?:loadstring(game:HttpGet(''https://raw.githubusercontent.com/marisdeptrai/-Free/main/Fruit @?:loadstring(game:HttpGet(''https://raw.githubusercontent.com/marisdeptrai/Script-Free/main/Fruit
toInt() is deprecated, a new simple way to do it is: 'digitToInt()'
var cad = "1234"
var sum = 0
for (char in cad){
sum+= char.digitToInt() // output 10
//sum+= chaar.toInt() // output = 202
}
Does this approach handle all cases (including edge cases), such as lists of mixed types or unusual but valid nesting structures? Is such a case missing in the provided example?
I'm pretty sure your code has handled all the edge cases you specified except for multiline list items. You can test for these with the following code.
<ul>
<li>
This is a multiline list item. It is being used to test the functionality of multiline lists. The content here covers multiple lines to test vertical spacing and line height functionality.
</li>
<li>
This is another multiline list item. It is being used to test the functionality of multiline lists. The content here covers multiple lines to test vertical spacing and line height functionality.
</li>
</ul>
Are there alternative approaches or refinements that are more robust, efficient, and widely used?
From what I've gathered through some research and browsing older yet similar questions on Stack Overflow, the method you are using right now is solid. One question, How do I set vertical space between list items, has answers fairly similar to your method, but I'm not sure if they work for all edge cases or not.
One potential area where you could optimize the code is by making list-spacing
a variable in the code using the below code.
:root {
--list-spacing: 1.5em;
}
You can then reference that variable using var(--list-spacing)
.
Is there a need for a standardized list-spacing
property to be proposed to the CSS working group?
While I think the current solutions work fine, it never hurts to suggest potential updates or features for programming languages. I'm not well-versed in the act of creating and updating programming languages, so I can't speak to how difficult it would be to add this feature, but I think it would definitely be helpful to have.
Here is an updated code snippet that incorporates all the above suggestions.
:root {
--list-spacing: 1.5em;
}
li:not(:last-of-type) {
margin-block-end: var(--list-spacing);
}
:is(ul, ol)+ :is(ul, ol),
li :is(ul, ol) {
margin-block-start: var(--list-spacing);
}
/**
* for visual representation only
* 1: adjust horizontal spacing to align markers more appealingly
* 2: normalize line height to make the spacing in the example more noticeable
*/
:is(ul, ol) {
padding-inline-start: 2ch;
line-height: 1;
/* 2 */
}
<ul>
<li>
List 1 - Item 1
</li>
<li>
List 1 - Item 2
<ul>
<li>
List 1 - Item 2.1
</li>
<li>
List 1 - Item 2.2
<ul>
<li>
List 1 - Item 2.2.1
<ol>
<li>
List 1 - Item 2.3.1
</li>
<li>
List 1 - Item 2.3.2
</li>
<li>
List 1 - Item 2.3.3
<ul>
<li>
List 1 - Item 2.4.1
</li>
<li>
List 1 - Item 2.4.2
<ol>
<li>
List 1 - Item 2.5.1
</li>
</ol>
</li>
</ul>
</li>
<li>
List 1 - Item 2.3.4
</li>
</ol>
</li>
<li>
List 1 - Item 2.2.2
</li>
</ul>
</li>
<li>
List 1 - Item 2.3
</li>
</ul>
</li>
<li>
List 1 - Item 3
<ol>
<li>
List 1 - Item 3.1
</li>
</ol>
</li>
<li>
List 1 - Item 4
</li>
</ul>
<ul>
<li>
List 2 - Item 1
<ol>
<li>
List 2 - Item 1.1
</li>
<li>
List 2 - Item 1.2
</li>
</ol>
<ol>
<li>
List 2.1 - Item 1.1
</li>
</ol>
</li>
<li>
List 2 - Item 2
</li>
<li>
List 2 - Item 3
</li>
</ul>
<ol>
<li>
List 3 - Item 1
</li>
<li>
List 3 - Item 2
<ul>
<li>
This is a multiline list item. It is being used to test the functionality of multiline lists. The content here covers multiple lines to test vertical spacing and line height functionality.
</li>
<li>
This is another multiline list item. It is being used to test the functionality of multiline lists. The content here covers multiple lines to test vertical spacing and line height functionality.
</li>
</ul>
</li>
</ol>
I resolved a Gradle-related issue by using the cache from a working device. I copied the cache from ~/.gradle/caches on the functional system and replaced the corresponding directory on the problematic one. After syncing the project, it imported dependencies successfully and built without issues. This approach leverages Gradle's caching mechanism to avoid potential download or configuration errors.
Rvalue: refers to a value that can be assigned to a modifiable left value and is not itself an lvalue.
Is this true or false? I feel like there's something wrong with that sentence.
The idea conveyed by the English sentence presented is accurate, though the wording is awkward. However, you seem to have taken the incorrect idea from it that only rvalues can appear as the right-hand operand of an assignment operation. Perhaps you're ignoring the "and is not itself an lvalue" part? That's by far the more important criterion.
int c = a; ? a is rvalue /* a is an rvalue, isn't that inconsistent with what we said before and not an lvalue itself? I hadn't noticed this basic problem
before. I wish someone could help me. Ask sb. to do STH. */
a
is an lvalue because it designates an object. Objects have associated storage. It is not an rvalue, because, as your definition specifically says, lvalues are not rvalues.
Although the terms "lvalue" and "rvalue" are derived from the idea of what kinds of expressions can appear on the left and right sides of an assignment, that really doesn't get to the core idea:
An lvalue expression is one that (potentially) designates an object, as I said above. A variable name, an array subscription expression (array[1]
), a structure or union member selection (s.member
), and a pointer derference (*p
) are all examples.
An rvalue, on the other hand, is an expression that is not an rvalue. Such an expression does not designate an object, only a value. Some would insist that it not be a void
expression. Such a value is ephemeral in that it exists only in the context of the full expression in which it appears. Integer and floating constants, sizeof
and alignof
expressions, and function return values are among the common kinds of rvalues in C.
Any expression of suitable data type may appear as the right-hand operand of an assignment. That doesn't speak to whether the expression is an lvalue or an rvalue.
I decided, that, since:
- it is easier to switch my subdomain list from domain registar to any DNS hosting (to get more subdomains count) and add subdomain as A
record for each web app I need.
That's it, each frontend web app has hostname-webappname.example.tld
subdomain. It is the easiest way I discovered myself.
Just Build > Rebuild Project, worked fine
Step 1: If you are using VS Code - Check in the bottom ( Flutter devices) are showing.
Step 2: If it is not showing then you need to restart the VS Code - To restart:
Open the command palette (Ctrl + Shift + P) and execute the command:
Reload Window
Step 3: Now the flutter devices will be shown - then you will be able to run the flutter application.
./gradlew --stop
solved issues for me
After running npm uninstall -g @angular/cli
which uninstalls the Angular CLI,
you would need to run npm install -g @angular/cli
to have the Angular CLI installed again and be able to use the commands starting with ng
.
@WillHelpYou is right - when changing Node.js versions you typically need to also run npm install -g @angular/cli
since when you change your Node.js version (especially using tools like nvm or manually reinstalling Node.js), you often lose access to globally installed packages like the Angular CLI.
public static long[] toFraction(double number) {
final BigDecimal bigDecimal = BigDecimal.valueOf(number);
final int decimalPlaces = bigDecimal.scale();
final BigDecimal divisor = BigDecimal.TEN.pow(decimalPlaces);
final BigDecimal dividend = bigDecimal.movePointRight(decimalPlaces);
final BigInteger divisorInt = BigInteger.valueOf(divisor.longValue());
final BigInteger dividendInt = BigInteger.valueOf(dividend.longValue());
final BigInteger greatestCommonDivisor = divisorInt.gcd(dividendInt);
return new long[] {
dividendInt.divide(greatestCommonDivisor).longValue(),
divisorInt.divide(greatestCommonDivisor).longValue(),
};
}
The 401 error code indicates a problem with the authentication credentials.
To make sure you have a valid token OAuth 2 token, run the following:
$ gcloud auth print-access-token
Verify that the token is supplied in the Authorization HTTP header. It should look like this:
Authorization: Bearer {TOKEN}
If the error persists, try to refresh the token using step 1, as the tokens have a limited time.
Additional Reference stackoverflow.com/a/48734637/14072498
When you build your project it doesn't include anything outside of the src
folder. I recently gave a not so good solution to this question about static content where I suggested putting the assets in a public
dir at the root but as @Brunnerh pointed out: "The files will not be served with caching headers because the file name is always the same (otherwise you could not properly update the files later)", while his answer solved that issue:
You can import the images via glob import and use that mapping to look up the asset URL.
This is all to explain why your app breaks when building. The solution would be to put your assets within the src
folder, maybe in src/lib/static
that way you can upload to $lib/static
and maybe look into the $lib/server/
directory if you want to implement some server logic to protect those files.
Turns out the issue was related to navigation between pages, when navigating between pages (e.g., from HomePage to ProfilePage or UsersPage), new pages were added to the navigation stack. This caused problems after logging out or loggin in, as the previous pages remained in the stack, preventing the correct redirection to the login screen.
Solution Implemented:
Replacing Navigator.pushNamed
with Navigator.pushReplacementNamed
:
The core change was replacing Navigator.pushNamed with Navigator.pushReplacementNamed for navigation between HomePage, ProfilePage, and UsersPage. Why the change? Navigator.pushNamed adds a new page to the navigation stack, which can cause issues when navigating back. On the other hand, Navigator.pushReplacementNamed replaces the current page with the new one, ensuring that the navigation stack is not cluttered with extra pages. This solved the issue of the user being stuck on previous pages after logout. Updating the logout method to reset the stack:
The logout method was updated to use Navigator.of(context).pushNamedAndRemoveUntil('/', (route) => false)
after logging out.
What does this do?
This clears the entire navigation stack and redirects the user to the root (AuthPage), ensuring that no previous pages are left behind in the stack. This allows for proper redirection to the login screen after logout.
Handling authentication in AuthPage:
AuthPage continues to use StreamBuilder to listen for changes in the authentication state. It automatically redirects the user to HomePage if they are logged in, or to the login/register page if they are logged out.
Explanation of the navigation stack issue:
Before:
When using Navigator.pushNamed
, each navigation added a new page to the stack. If the user logged out from a page like ProfilePage or UsersPage, the previous pages remained in the stack, and this caused unexpected behavior when attempting to navigate back to the login screen.
After: By using Navigator.pushReplacementNamed, the current page is replaced with the new one, preventing unnecessary pages from accumulating in the stack. This allows for a clean navigation flow and correct redirection after logout.
This solution resolved the issue by managing the navigation stack correctly, ensuring the user is always redirected to the login screen after logout, without unwanted pages remaining in the stack.
So I believe I figure out the problem the timberline Data ODBC is only x32 bit the this c++ code was complied for x64 for what I understand those will never be able to talk.
Currently, Couchbase Lite SQL++ does not support function OBJECT_VALUES. Sorry for the unclear message.
@ib_ganz and @tomerpacific mentioned changing
compileSdkVersion from 34 -> 35
in the android level build.gradle
file, and also updating the targetSdkVersion 34 -> 35
in the app level build.gradle
file.
Like:
android/app/build.gradle
defaultConfig {
applicationId "com.example.flutter_app"
minSdkVersion 26
targetSdkVersion 35 // changed from 34 -> 35
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
And
android/build.gradle
afterEvaluate { project ->
if (project.plugins.hasPlugin("com.android.application") ||
project.plugins.hasPlugin("com.android.library")) {
project.android {
compileSdkVersion 35 <- Here
buildToolsVersion "35.0.0" <- Here
}
}
}
Generated PDF in the repository is a bad idea. Git is for sourcecode. PDF is neither code nor source. Please create a clean webservice who generate the PDf and use the github-action to upload the txt to that webservice.
Sorry wrong issue. This was meant for fractions.
Upgrading from v11.34.2 to v11.35.0 solved it for me too
I am facing the same issue with Golang library.
The Google Places API is a powerful tool that enables developers to access detailed information about places,see more
i implemented leaftletjs on react native but could not build my app because of its dependencies and version. Can anyone help?
don't know if it is still relevant, but I guess in a 2D game it should be possible to fix this with the linear and angular damping values of the Rigidbody 2D. In case the objects are still spinning when you add those dampers, you might have rotated them around the wrong axis (happened to me that I rotated around x instead of z - that makes them rotate like a spinner once you touch them).
Cheers
I am having the same issue, trying to run the same code, but not in Colab. I am trying to recreate the same code, but with 23 classes, and I am getting the following : "ValueError: Received incompatible tensor with shape (5,) when attempting to restore variable with shape (23,) and name custom_gesture_recognizer_out/bias:0."
Any ideas?
For anyone looking for same settings for IntelliJ 2024.1.1 (2024 edition).
I realized the accepted answer (from @BilalReffas) has a memory leak issue. See the following demonstration:
struct ContentView: View {
@State private var wifiUsage: Double = 0.0
@State private var wwanUsage: Double = 0.0
var body: some View {
VStack(spacing: 20) {
Text("Data Usage")
.font(.headline)
Text("WiFi: \(wifiUsage, specifier: "%.2f") MB")
Text("WWAN: \(wwanUsage, specifier: "%.2f") MB")
}
.padding()
.onAppear {
Timer.scheduledTimer(withTimeInterval: 0.01 , repeats: true) { _ in
wifiUsage = Double(SystemDataUsage.wifiCompelete) / 1_048_576.0
wwanUsage = Double(SystemDataUsage.wwanCompelete) / 1_048_576.0
}
}
}
}
Which shows the memory usage exploding over time (I intentionally rerun the function every 10ms to demonstrate the behavior).
After searching around, the following improvement for func getDataUsage()
fixed the issue.
class func getDataUsage() -> DataUsageInfo {
var ifaddr: UnsafeMutablePointer<ifaddrs>?
var dataUsageInfo = DataUsageInfo()
guard getifaddrs(&ifaddr) == 0 else { return dataUsageInfo }
var current = ifaddr
while let addr = current {
if let info = getDataUsageInfo(from: addr) {
dataUsageInfo.updateInfoByAdding(info)
}
current = addr.pointee.ifa_next
}
freeifaddrs(ifaddr) // Correctly free the allocated memory after iteration
return dataUsageInfo
}
@Slaw
Setting the desired rate after play() has no effect. The workaround is to set rate=1 and then the actual rate as below.
MediaPlayer player = new MediaPlayer(new Media("myVideo.mp4"));
...
player.play(); // the rate is 1
player.setRate(2); // the rate is 2
player.pause(); // the rate is 2
double rate = mediaPlayer.getRate();
player.play(); // the rate is 2, but the player plays the media at rate 1.
mediaPlayer.setRate(1);
mediaPlayer.setRate(rate); // now the player plays at the rate 2
Mac OS, Java 22, Javafx 24-ea-15.
It has been renamed "ellmer", and you can install it from CRAN with
install.packages("ellmer")
Also, check out its github repo here: https://github.com/tidyverse/ellmer
You need to pull the changes on your local system the github-action made. I think you already know that.
In git there are local hooks, you could create a local pre-commit or local pre-push hook who automatically make a pull before push or commit.
Is it only the date? You could enable Git keyword substitution like those in Subversion? "keyword substitution"
Please, I'm having the same problem, my version is java 21.0.5 2024-10-15 LTS Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239) Java HotSpot(TM) 64-Bit Server VM (build 21.0.5+9-LTS-239, mixed mode, sharing)
I was able to reduce the code to the bare minimum to display a packed .ldr
file:
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - LDrawLoader</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<script type="importmap">
{
"imports": {
"three": "../build/three.module.js",
"three/addons/": "./jsm/"
}
}
</script>
<script type="module">
import * as THREE from 'three';
import { GUI } from 'three/addons/libs/lil-gui.module.min.js';
import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
import { RoomEnvironment } from 'three/addons/environments/RoomEnvironment.js';
import { LDrawLoader } from 'three/addons/loaders/LDrawLoader.js';
import { LDrawUtils } from 'three/addons/utils/LDrawUtils.js';
import { LDrawConditionalLineMaterial } from 'three/addons/materials/LDrawConditionalLineMaterial.js';
let container, camera, scene, renderer, controls, gui, model;
function init() {
container = document.createElement( 'div' );
document.body.appendChild( container );
camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 1, 10000 );
camera.position.set( 150, 200, 250 );
renderer = new THREE.WebGLRenderer( { antialias: true } );
renderer.setPixelRatio( window.devicePixelRatio );
renderer.setSize( window.innerWidth, window.innerHeight );
renderer.setAnimationLoop( animate );
renderer.toneMapping = THREE.ACESFilmicToneMapping;
container.appendChild( renderer.domElement );
const pmremGenerator = new THREE.PMREMGenerator( renderer );
scene = new THREE.Scene();
scene.background = new THREE.Color( 0xdeebed );
scene.environment = pmremGenerator.fromScene( new RoomEnvironment() ).texture;
controls = new OrbitControls( camera, renderer.domElement );
controls.enableDamping = true;
reloadObject();
}
function reloadObject() {
const lDrawLoader = new LDrawLoader();
const loader = new LDrawLoader();
lDrawLoader.setConditionalLineMaterial( LDrawConditionalLineMaterial );
lDrawLoader.smoothNormals = false;
lDrawLoader
.setPath( 'models/' )
.load( 'block.ldr_Packed.mpd', function ( model ) {
model.rotation.x = Math.PI;
scene.add( model );
const bbox = new THREE.Box3().setFromObject( model );
const size = bbox.getSize( new THREE.Vector3() );
const radius = Math.max( size.x, Math.max( size.y, size.z ) ) * 0.5;
controls.target0.copy( bbox.getCenter( new THREE.Vector3() ) );
controls.position0.set( - 2.3, 1, 2 ).multiplyScalar( radius ).add( controls.target0 );
controls.reset();
}, false, onError );
}
function animate() {
controls.update();
render();
}
function render() {
renderer.render( scene, camera );
}
function onError( error ) {
console.error( error );
}
init();
</script>
</body>
</html>
See this repo for instructions and code: https://github.com/codeadamca/nodejs-three-ldr
The File build.gradle [Projetct_Root]/android/app, need to have only one buildTypes. A simple duplicate ocorrence dont cause any error but cause this problem. I remove the duplicated item and the problem is solved.
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now,
// so `flutter run --release` works.
signingConfig = signingConfigs.debug
}
}
thanks a lot Akshay Gupta,
inside your project folder:
cd ios
rm .xcode.env.local
pod install
This will work
For new android kotlin DSL you have to use this
android {
------
------
defaultConfig {
------
------
ndk {
abiFilters.add("armeabi-v7a")
abiFilters.add("x86_64")
abiFilters.add("arm64-v8a")
}
}
}
Adicione uma contra barra antes do *.
adb logcat \*:S ReactNative:V ReactNativeJS:V
// 'out' is a []byte of the 'stty size' output
out, err := exec.Command("stty", "-F", "/dev/tty", "size").Output()
// convert []byte to string
str := string(out)
As a matter of fact, your repo has a package and an application at its root. But you don't take advantage of a root management of the projects, by adding a package.json (at the root).
As a council, you may find useful to migrate to a Turborepo project, that uses workspaces to easily build a monorepo.
Enjoy
I finally figured out how to roll my own custom editor using the information @ [Custom Editor Docs][1]. It would be super helpful if there were a nice example there for Vue. I couldn't get the editor to select the text until I tried to select it in 2 different ways combined with @focus AND afterGuiAttached. Eliminating either one does not select text.
In case it helps anyone, here is my example code:
import { ref, onMounted, nextTick } from 'vue'
const originalValue = ref('')
const value = ref('')
const props = defineProps(['params'])
const input = ref(null) // reference to input
onMounted(() => {
originalValue.value = props.params.value
value.value = props.params.value.split(':')[1] // getting the number I need
})
const afterGuiAttached = () => {
nextTick(() => {
input.value.focus() // trying to select text/number
})
}
const getValue = () => {
// reassembling the string to be stored back to the grid
const parts = originalValue.value.split(':')
parts[1] = value.value
const newValue = parts.join(':')
return newValue
}
const isCancelBeforeStart = () => {
// testing some logic to cancel editing
if (props.params.value.split(':')[0] === 'a') {
return true
}
return false
}
const isCancelAfterEnd = () => {
// testing some logic to save the value or not
console.log('saving data...', value.value)
return value.value === 20
}
const selectAll = (event) => {
nextTick(() => {
event.target.select()
})
}
defineExpose({
afterGuiAttached,
isCancelBeforeStart,
isCancelAfterEnd,
getValue
})
</script>
<template>
<input :ref="'input'" class='simple-input-editor' v-model='value' type="number" min="0" max="24" style="height: 24px;" @focus="selectAll" />
</template>```
[1]: https://www.ag-grid.com/vue-data-grid/cell-editors/#custom-components
WMIC.EXE /NAMESPACE:\root\ccm\clientsdk PATH ccm_application GET /value | findstr /i fullname
The recent solution for this problem can be found here https://joshclose.github.io/CsvHelper/examples/configuration/class-maps/mapping-by-alternate-names/
I was having same issue & i was confused. But then I run the app on my device, .gradle folder & gradlew files were created automatically!
Running auto-py-to-exe v2.45.1 Building directory: C:\Users\TEC\AppData\Local\Temp\tmp_5m2tc0p Provided command: pyinstaller --noconfirm --onefile --windowed --icon "C:\Users\TEC\Desktop\Outils\LogoLCN.ico" --add-data "C:\Users\TEC\Desktop\Outils\LogoLCN.png;." "C:\Users\TEC\Desktop\Outils\Conjuguer.py" Recursion Limit is set to 5000 Executing: pyinstaller --noconfirm --onefile --windowed --icon C:\Users\TEC\Desktop\Outils\LogoLCN.ico --add-data C:\Users\TEC\Desktop\Outils\LogoLCN.png;. C:\Users\TEC\Desktop\Outils\Conjuguer.py --distpath C:\Users\TEC\AppData\Local\Temp\tmp_5m2tc0p\application --workpath C:\Users\TEC\AppData\Local\Temp\tmp_5m2tc0p\build --specpath C:\Users\TEC\AppData\Local\Temp\tmp_5m2tc0p
3448004 INFO: PyInstaller: 6.11.1, contrib hooks: 2024.11 3448014 INFO: Python: 3.12.4 3448030 INFO: Platform: Windows-10-10.0.19045-SP0 3448045 INFO: Python environment: C:\python312 3448061 INFO: wrote C:\Users\TEC\AppData\Local\Temp\tmp_5m2tc0p\Conjuguer.spec 3448068 INFO: Module search paths (PYTHONPATH): ['C:\python312\Scripts\auto-py-to-exe.exe', 'C:\python312\python312.zip', 'C:\python312\DLLs', 'C:\python312\Lib', 'C:\python312', 'C:\python312\Lib\site-packages', 'C:\python312\Lib\site-packages\setuptools\_vendor', 'C:\Users\TEC\Desktop\Outils', 'C:\Users\TEC\Desktop\Outils', 'C:\Users\TEC\Desktop\Outils', 'C:\Users\TEC\Desktop\Outils'] 3448551 INFO: Appending 'datas' from .spec 3448565 INFO: checking Analysis 3448581 INFO: Building Analysis because Analysis-03.toc is non existent 3448597 INFO: Running Analysis Analysis-03.toc 3448612 INFO: Target bytecode optimization level: 0 3448628 INFO: Reusing cached module dependency graph... 3448766 INFO: Initializing module graph hook caches... 3448869 INFO: Looking for Python shared library... 3448875 INFO: Using Python shared library: C:\python312\python312.dll 3448881 INFO: Analyzing C:\Users\TEC\Desktop\Outils\Conjuguer.py 3448903 INFO: Processing pre-find-module-path hook 'hook-tkinter.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_find_module_path' 3449066 INFO: Processing standard module hook 'hook-_tkinter.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3449085 INFO: Processing standard module hook 'hook-lxml.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3449450 INFO: Processing standard module hook 'hook-lxml.etree.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3449571 INFO: Processing standard module hook 'hook-pkg_resources.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3449948 INFO: Processing standard module hook 'hook-platform.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3449990 INFO: Processing standard module hook 'hook-xml.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3450008 INFO: Processing pre-safe-import-module hook 'hook-packaging.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3450036 INFO: Processing standard module hook 'hook-packaging.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3450118 INFO: Processing standard module hook 'hook-sysconfig.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3450187 INFO: Processing pre-safe-import-module hook 'hook-jaraco.text.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3450195 INFO: Setuptools: 'jaraco.text' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.jaraco.text'! 3450223 INFO: Processing standard module hook 'hook-setuptools.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3450262 INFO: Processing pre-safe-import-module hook 'hook-distutils.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3450308 INFO: Processing pre-safe-import-module hook 'hook-jaraco.functools.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3450320 INFO: Setuptools: 'jaraco.functools' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.jaraco.functools'! 3450345 INFO: Processing pre-safe-import-module hook 'hook-more_itertools.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3450349 INFO: Setuptools: 'more_itertools' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.more_itertools'! 3450439 INFO: Processing standard module hook 'hook-heapq.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3450519 INFO: Processing pre-safe-import-module hook 'hook-typing_extensions.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3450708 INFO: Processing pre-safe-import-module hook 'hook-importlib_metadata.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3450716 INFO: Setuptools: 'importlib_metadata' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.importlib_metadata'! 3450754 INFO: Processing standard module hook 'hook-setuptools._vendor.importlib_metadata.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3450791 INFO: Processing pre-safe-import-module hook 'hook-zipp.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3450796 INFO: Setuptools: 'zipp' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.zipp'! 3451040 INFO: Processing pre-safe-import-module hook 'hook-tomli.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3451051 INFO: Setuptools: 'tomli' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.tomli'! 3451723 INFO: Processing pre-safe-import-module hook 'hook-wheel.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3451726 INFO: Setuptools: 'wheel' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.wheel'! 3451903 INFO: Processing standard module hook 'hook-setuptools._vendor.jaraco.text.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3451908 INFO: Processing pre-safe-import-module hook 'hook-importlib_resources.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3451924 INFO: Processing pre-safe-import-module hook 'hook-jaraco.context.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3451936 INFO: Setuptools: 'jaraco.context' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.jaraco.context'! 3451960 INFO: Processing pre-safe-import-module hook 'hook-backports.tarfile.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3451968 INFO: Setuptools: 'backports.tarfile' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.backports.tarfile'! 3452063 INFO: Processing standard module hook 'hook-backports.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3452082 INFO: Processing pre-safe-import-module hook 'hook-platformdirs.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module' 3452095 INFO: Setuptools: 'platformdirs' appears to be a setuptools-vendored copy - creating alias to 'setuptools._vendor.platformdirs'! 3452165 INFO: Processing standard module hook 'hook-pickle.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3452171 INFO: Processing standard module hook 'hook-sklearn.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3453082 INFO: Processing standard module hook 'hook-sklearn.utils.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3453107 INFO: Processing standard module hook 'hook-numpy.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3454892 INFO: Processing standard module hook 'hook-difflib.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3455131 INFO: Processing standard module hook 'hook-multiprocessing.util.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3456698 INFO: Processing standard module hook 'hook-charset_normalizer.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3456761 INFO: Processing standard module hook 'hook-encodings.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3457889 INFO: Processing standard module hook 'hook-scipy.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3459883 INFO: Processing standard module hook 'hook-xml.etree.cElementTree.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3460717 INFO: Processing standard module hook 'hook-pycparser.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3461841 INFO: Processing standard module hook 'hook-scipy.linalg.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3461958 INFO: Processing standard module hook 'hook-scipy.special._ufuncs.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3462057 INFO: Processing standard module hook 'hook-scipy.special._ellip_harm_2.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3462550 INFO: Processing standard module hook 'hook-scipy.sparse.csgraph.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3464438 INFO: Processing standard module hook 'hook-scipy.spatial.transform.rotation.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3465072 INFO: Processing standard module hook 'hook-scipy.stats._stats.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3465957 INFO: Processing standard module hook 'hook-sklearn.metrics.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3467830 INFO: Processing standard module hook 'hook-sklearn.metrics.cluster.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3468011 INFO: Processing standard module hook 'hook-sklearn.cluster.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3468076 INFO: Processing standard module hook 'hook-sklearn.metrics.pairwise.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3468329 INFO: Processing standard module hook 'hook-sklearn.neighbors.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3468445 INFO: Processing standard module hook 'hook-sklearn.linear_model.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3469803 INFO: Processing module hooks (post-graph stage)... 3469984 INFO: Processing standard module hook 'hook-lxml.isoschematron.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3470003 INFO: Processing standard module hook 'hook-sklearn.tree.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3470135 WARNING: Hidden import "scipy.special._cdflib" not found! 3470175 INFO: Processing standard module hook 'hook-_tkinter.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks' 3470180 INFO: Processing standard module hook 'hook-lxml.objectify.py' from 'C:\python312\Lib\site-packages\_pyinstaller_hooks_contrib\stdhooks' 3470217 INFO: Performing binary vs. data reclassification (1267 entries) 3470353 INFO: Looking for ctypes DLLs 3470535 INFO: Analyzing run-time hooks ... 3470546 INFO: Including run-time hook 'pyi_rth_inspect.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\rthooks' 3470559 INFO: Including run-time hook 'pyi_rth_pkgutil.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\rthooks' 3470576 INFO: Including run-time hook 'pyi_rth_multiprocessing.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\rthooks' 3470584 INFO: Including run-time hook 'pyi_rth_pkgres.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\rthooks' 3470594 INFO: Including run-time hook 'pyi_rth_setuptools.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\rthooks' 3470607 INFO: Including run-time hook 'pyi_rth__tkinter.py' from 'C:\python312\Lib\site-packages\PyInstaller\hooks\rthooks' 3470679 INFO: Looking for dynamic libraries 3472053 INFO: Extra DLL search directories (AddDllDirectory): ['C:\python312\Lib\site-packages\numpy.libs', 'C:\python312\Lib\site-packages\scipy.libs'] 3472072 INFO: Extra DLL search directories (PATH): [] 3474051 INFO: Warnings written to C:\Users\TEC\AppData\Local\Temp\tmp_5m2tc0p\build\Conjuguer\warn-Conjuguer.txt 3474195 INFO: Graph cross-reference written to C:\Users\TEC\AppData\Local\Temp\tmp_5m2tc0p\build\Conjuguer\xref-Conjuguer.html 3474245 INFO: checking PYZ 3474249 INFO: Building PYZ because PYZ-03.toc is non existent 3474257 INFO: Building PYZ (ZlibArchive) C:\Users\TEC\AppData\Local\Temp\tmp_5m2tc0p\build\Conjuguer\PYZ-03.pyz 3476273 INFO: Building PYZ (ZlibArchive) C:\Users\TEC\AppData\Local\Temp\tmp_5m2tc0p\build\Conjuguer\PYZ-03.pyz completed successfully. 3476333 INFO: checking PKG 3476345 INFO: Building PKG because PKG-03.toc is non existent 3476361 INFO: Building PKG (CArchive) Conjuguer.pkg 3496193 INFO: Building PKG (CArchive) Conjuguer.pkg completed successfully. 3496230 INFO: Bootloader C:\python312\Lib\site-packages\PyInstaller\bootloader\Windows-64bit-intel\runw.exe 3496249 INFO: checking EXE 3496264 INFO: Building EXE because EXE-03.toc is non existent 3496279 INFO: Building EXE from EXE-03.toc 3496283 INFO: Copying bootloader EXE to C:\Users\TEC\AppData\Local\Temp\tmp_5m2tc0p\application\Conjuguer.exe 3496304 INFO: Copying icon to EXE 3496314 INFO: Copying 0 resources to EXE 3496326 INFO: Embedding manifest in EXE 3496345 INFO: Appending PKG archive to EXE 3496424 INFO: Fixing EXE headers 3497888 INFO: Building EXE from EXE-03.toc completed successfully.
Moving project to: C:\Users\TEC\output Complete.
Just created account to say thanks. It worked for me to replace /r but when I used : decodeUriComponent('%0D')
For me !pip install numpy==1.23.3
worked.
For dates, there is this workaround: Dates are persisted as integer numbers, December 30th, 1899 being day #0 (allowing negative numbers), so that 2025-01-01 is day #45658 (Gregorian calendar, by which year 1900 was NOT as leap year).
Now, do this:
The contents of this window are filled with "Post-install tip" field from the deployment process and when you add a Help URL, a "Learn More" link will appear below taking the user to this link.
This is a common error: when they call an API, it shows empty because of Lombok. To solve this error, you can use direct-generated getter and setter methods rather than the Lombok library.Error looks like - [{},{}]
.
Either error comes because of you cannot add @Data annotaion.
When encountering 403 Forbidden errors in context of ACC/BIM360, the first thing that you have to check is "the provisioning".
Since ACC/BIM360 environment contains sensitive customer data, your ACC/BIM360 admin has to whitelist (a.k.a. provision) your Client ID.
Please refer to this blog post for more details: https://aps.autodesk.com/blog/bim-360-docs-provisioning-forge-apps
Update: I ended up using expo-sqlite
instead of the JSON files, it works better in my case because it acts as a local database and can be queried on.
Here's the official documentation -> https://docs.expo.dev/versions/latest/sdk/sqlite/
I faced the same problem. Since there was no built-in solution, I created and published my own on pub.dev: https://pub.dev/packages/dart_flutter_version/
Please take a look and let me know what you think 🙏
I have come up with a partial solution.
First, the tcl/tk code I'm trying to emulate
proc callback1 { data } { puts "callback1 $data" }
proc callback2 { data } { puts "callback2 $data" }
bind all <<EVENT>> "+callback1 %d"
bind all <<EVENT>> "+callback2 %d"
toplevel .wtop -width 100 -height 100
event generate .wtop <<EVENT>> -data ZZZZZ
event generate .wtop <<EVENT>> -data 1234567
Here is the partial solution R code
library(tcltk)
callback1 = function(d) { cat('callback1',d,'\n') ; invisible() }
invisible(.Tcl(paste('proc callback1 { } { ', .Tcl.callback(callback1),'}')))
invisible(.Tcl('bind all <<EVENT>> +callback1'))
callback2 = function(d) { cat('callback2',d,'\n') ; invisible() }
invisible(.Tcl(paste('proc callback2 { } { ', .Tcl.callback(callback2),'}')))
invisible(.Tcl('bind all <<EVENT>> +callback2'))
w.top = tktoplevel()
invisible(tkevent.generate(w.top,'<<EVENT>>',data='ZZZZZ'))
invisible(tkevent.generate(w.top,'<<EVENT>>',data='1234567'))
However the output from both of the generated events is just
callback1 %d
callback2 %d
I have tried putting "%d" in various places in the .Tcl() calls but they all give errors. Can anyone complete this answer?
To optimize your Power Query design for managing live streaming data, separate the queries for present and historic data. Create individual queries for each year's historic data (e.g., data22_historic
, data23_historic
), and set these to refresh only on demand. For the current year's data, maintain a dedicated query (data_present
) that includes both basic and historic information, ensuring it updates regularly. Instead of appending all data into a single query (allData
) that triggers full updates, create a consolidated query referencing only the present data dynamically and historic data as needed. This approach prevents excessive updates, supports efficient management, and ensures scalability for live streaming and static datasets alike.
I have been looking and trying the bat files here but I'm having some trouble finding what I can use. I'm trying to make 52 week folders like this " Week 01 December 29, 2025 - January 4, 2026 " to week 52 empty folders for what every year ??? thanks
solved? the same issue to me……
I didn't find a setting, but you can create an item template for this (link).
I created a template file containing:
module $rootnamespace$.$safeitemname$
This should filter out any null or duplicate values
Because you redirect to another page, the page that you have the its not anymore in DOM => so normally the toast its not there as well.
You have to put the toast at the top component (root = what belong with / in your app), otherwise put the toast at the component you want to display it and initialize it on constructor or lifecycle
Same problem here. I also use kickstarter, I also come from vscode, and I also doesn't know why I don't just go back. Same error messages, same everything. The only difference, is that when I tried it with ast-grep, sometimes it worked. I even checked, and treesitter downloaded the c, cpp, html, python files (I'm most interested in those working). I tried ast_grep with html, and it didn't throw an error, but when I messed something up, it didn't tell me. When I tried pyright with python, it didn't work. I tried clang with, cpp, it also didn't work. I'm trying to fix it, but so far nothing worked. I'm on windows if that helps.
This error may happen when R.class has trouble mapping the IDs. Try adding the following two lines in your gradle.properties
android.nonTransitiveRClass=false
android.nonFinalResIds=false
Is it possible to check "What is the installation date module has installed in your local computer? The below line is not showing this.
Find-Module -Name MsIdentityTools | Select-Object -Property Name,PublishedDate
fs.writeFile
is an asynchronous function. So I think this means that the handler ends without waiting for the writing function to resolve.
You can either:
await
in front of this callfs.writeFileSync
functionAnswering for posterity: if your bundle has the same version name (verify in the app bundle explorer section) just create a new release and they will be merged automaticaly
The Solution suggested by JayshankarGS works. I have added another PDF with more pages and the job finished:
The vector was created:
You can use reactive forms and check if the specific input is valid or not and use it to the next input.
It turns out the region was not set correctly, I corrected the region and it worked. It would be great if aws can give more relevant error message.
As mentioned in https://stackoverflow.com/a/55146310 OTHER
type can be used instead of VARCHAR
for enums.
For Spring Data JDBC it can be achieved with a custom converter.
@Configuration
public class CustomJdbcConfiguration extends AbstractJdbcConfiguration {
@Override
@Nonnull
protected List<?> userConverters() {
return List.of(new MyEnumConverter());
}
@WritingConverter
public static class MyEnumConverter implements Converter<MyEnum, JdbcValue> {
@Override
public JdbcValue convert(@Nonnull MyEnum source) {
return JdbcValue.of(source, JDBCType.OTHER);
}
}
}
List not sieve. I think a little faster.
pTable = lambda n: (n>1)*[2] + (n>2)*[3] + [x for x in range(5,n+1) if (x%6 in [1,5]) and all((x%y != 0 and x%(y+2) !=0) for y in range(5,int(x**0.5)+1,6))]
print(pTable(10**3))
In case some is struggling with $pull operator my problem was that I forgot to add the nested array inside the schema, so Mongoose can't recognize it and delete it.
the problem is that you get the same file_id, as you can see in the image, and the file_unique_id, that is different, but useless
You can't send the image with the best quality. Official Teleram Bot API documentation has no endpoint that recieves file_unique_id as a parameter (as january 2025)
what is the purpose of PoolDataSource.close()? Do you want to close all connections present in pool when your application shuts down? If yes, You can use UniversalConnectionPoolManager API to destroy the connection pool. PLease refer below javadoc for the same: https://docs.oracle.com/en/database/oracle/oracle-database/19/jjucp/overview-using-ucp-manager.html#GUID-3C734CAE-3DF8-4AC7-ADAA-925EF9BFF38D
Please note that the UCP automatically closes all connections on JVM exit using JVM shutdown hooks.
I'm a new account so can't reply to existing answers, but this script works well, but the end-users' machines are now showing as "Needs new driver" after the driver change. What's the fix for that? We push out the printers through Group Policy. We had to revert back the driver until we can figure this out.
DS-PA0103 doesn't support the ISAPI protocol afaik. I tested the non B type and all the mentioned ISAPI requests failed. also those speakers are not compatible with the new HCP versions and NVRs anymore. if you have found a solution I would be happy to get to know about it since im investigating this too currently.
I encountered the same error as you did. Linking with g++ instead of gcc or ld solved the issue for me.
My steps:
swig -python -c++ example.i
g++ -O2 -fPIC -c example.c
g++ -O2 -fPIC -c example_wrap.cxx -I /usr/include/python2.7
g++ -shared example.o example_wrap.o -o _example.so
This seems to be a bug in Windows SDK version 10.0.26100.0, which defines NAN
as a call to __ucrt_int_to_float()
instead of as a constant. It is being tracked here.
As a workaround one can define _UCRT_NOISY_NAN
to enable the legacy definition of the NAN
macro, which can be seen here.
Have you tried the following options?
allowJs
option in your tsconfig.json fileIn any case, what does your tsconfig file look like?
So in order to retrieve the entity for the lookup field you could pass a header in the webAPI request.
and then you should get all the logical names in the response:
and this way you can set your odata bind dynamically in your code.
In the Report Footer Section add text box. In the Property Sheet for Text box set 'Control Source'=Count(*)
While not a direct solution for your server-side approach, you could consider using a browser extension WebLabeler: Environment Marker & Indicator) to visually indicate the environment (e.g., "TEST" or "PROD"). This adds a persistent label at the top or bottom of the page, unaffected by AJAX or server-side changes.
The reason was that segments of hls are not png files, but they have headers (first 8 bytes) like png files. I just removed first 8 bytes, and it works. Source: https://github.com/xbmc/inputstream.ffmpegdirect/issues/100?ysclid=m5feoz1irw450917629#issuecomment-828988158
The only questions are:
What about using a single required input whose model is typed in a way to make a sub-property required based on the other property's value?
Something like:
interface InputBase {
fruitType: 'apple' | 'banana';
fruitColor?: string; // notice that this is optionnal in the base interface
}
interface InputApple extends InputBase {
fruitType: 'apple';
fruitColor: string; // notice that this is now required if fruitType value is 'apple'
}
interface InputBanana extends InputBase {
}
export type InputType = InputBanana | InputApple; // this is the type you use
That way, your input would, through TypeScript validation, make sure that some property is required only if another value is x.
For me, the issue has been resolved by adding a root endpoint that just returns the response ok in my asp.net web API project.
app.MapGet("/", () => Results.Ok());
As my requirement was to keep the server always on. But if the requirement is flexible then the option Always On
can be turned off.
I guess it is an issue with the awsmobile config object, can you try adding the following keys?
"aws_appsync_graphqlEndpoint": "https://your.appsync-api.ap-south-1.amazonaws.com/graphql",
"aws_appsync_region": "ap-south-1",
"aws_appsync_authenticationType": "AMAZON_COGNITO_USER_POOLS"
There is several ways o do this, pick your poison:
just comment or remove model/table class and run py manage.py makemigrations and py manage.py migrate. it will automatically remove/drop that table.
Here's a GitHub issue I created about this problem (there's also a PR I created that is linked in there): https://github.com/python/cpython/issues/128388
probably because there is only one widget on this window you might wanna use padx and pady in your grid function
Although the HC-05 Bluetooth module uses 'Bluetooth classic' technology, you are trying to discover the module using 'Bluetooth LE' technology, which is incompatible.
You should probably use a library such as bluetooth_classic or flutter_blue_classic