For anyone having the issue of not seeing pages in the parent page dropdown here in 2025. The dropdown on the new editor limits the list to 100 pages. So if you have more, you will not see the new pages. The way around the limit of 100 pages without adding a plugin is to go to the Pages overview page like you're going to edit a page. Click Quick Edit on the page you want to set a parent page to. And there is the old classic dropdown there that will list all your pages.
I also had this error in the console. I had given the path of my css file like this, "app.css", even though everything was ok, it was linked and the files were next to each other, but after I gave the path in the basic way, it was ok. became "./app.css"
You are using a one way mapping here:
@ManyToOne
@JoinColumn(name="user_id")
private Users user;
But you are missing the mapping from user to Blog: the Users.java should have:(a user has many blogs)
@OneToMany(mappedby="user_id")
private List<Blog> blogs;
Dave Doknjas - thank you. I had windows.protocol working and wanted to switch to Alias but nothing worked! Your answer was precise and accurate.
To resolve the issue in python-docx==1.1.2,
Simply follow these steps:
Locate the default_sanitized.docx File: C:\Users<YourUsername>\anaconda3\Lib\site-packages\docx\templates
Copy and Rename the File: • Make a copy of default_sanitized.docx. • Rename the copied file to default.docx.
undetected-chromedriver worked; added the following to the header and to call ChromeOptions and the driver.
import undetected_chromedriver as uc
options = uc.ChromeOptions()
driver = uc.Chrome(options=options)
I was facing the same issue in fedora 40
sudo dnf install libxcrypt-compat
this command worked for me.
'Enter: Sub InputBox = InputBox("Your Text", "Your Text") If (InputBox = "Your Text") Then MsgBox "Hello World!" End If 'If I explained something wrong, tell me!
FROM dataorder
ORDER BY
CASE
WHEN status = 'complete' THEN 2
ELSE 1
END,
CASE
WHEN status = 'pending' THEN eta
WHEN status = 'complete' THEN eta
ELSE eta
END;
I am wondering the same thing actually. I was referring to this repository for guidance. Link: https://github.com/android/nowinandroid
I have implemented a MockDao for now, but it feels like I might not be testing it well. I'll post if I find something useful. But for now, maybe this repository can help
Make sure to explicitly show the export in the following manner (in bar.py):
from path import foo
__all__ = ["foo"]
Solution was simply to extend the CryptoGraphy
client...
class ExtendedCryptographyClient:
def __init__(self, key_id, credential):
self.cryptography_client = CryptographyClient(key_id, credential)
self.key_id = key_id
def wrap_key(self, key: bytes) -> bytes:
# Implement wrapping logic using cryptography_client
wrap_result = self.cryptography_client.wrap_key(KeyWrapAlgorithm.rsa_oaep, key)
return wrap_result.encrypted_key
def unwrap_key(self, key: bytes, algorithm: str) -> bytes:
# Implement unwrapping logic using cryptography_client
unwrap_result = self.cryptography_client.unwrap_key(algorithm, key)
return unwrap_result.key
def get_kid(self) -> str:
# Return the key ID
return self.key_id
def get_key_wrap_algorithm(self) -> str:
# Return the key wrap algorithm used
return KeyWrapAlgorithm.rsa_oaep
I am trying to update my Node.js from version 16.x to 18.x, but I am encountering the following issue
Our serverless offline start --host 0.0.0.0
command is running perfectly, but when we try to hit the API with Postman, it shows a 502 Bad Gateway error. Here is the error displayed in our Cloud9 terminal:
GET /getVessels (λ: getVessels)
Warning: Warning: found unsupported runtime 'nodejs18.x' for function 'getVessels'
× Unsupported runtime
× Error: Unsupported runtime
at #loadRunner (file:///home/ec2-user/CS-Dev/node_modules/serverless-offline/src/lambda/handler-runner/HandlerRunner.js:107:11)
at HandlerRunner.run (file:///home/ec2-user/CS-Dev/node_modules/serverless-offline/src/lambda/handler-runner/HandlerRunner.js:123:44)
at LambdaFunction.runHandler (file:///home/ec2-user/CS-Dev/node_modules/serverless-offline/src/lambda/LambdaFunction.js:313:27)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///home/ec2-user/CS-Dev/node_modules/serverless-offline/src/events/http/HttpServer.js:566:18
at async exports.Manager.execute (/home/ec2-user/CS-Dev/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
at async internals.handler (/home/ec2-user/CS-Dev/node_modules/@hapi/hapi/lib/handler.js:46:20)
at async exports.execute (/home/ec2-user/CS-Dev/node_modules/@hapi/hapi/lib/handler.js:31:20)
at async Request._lifecycle (/home/ec2-user/CS-Dev/node_modules/@hapi/hapi/lib/request.js:371:32)
at async Request._execute (/home/ec2-user/CS-Dev/node_modules/@hapi/hapi/lib/request.js:281:9)
our package.json
{
"name": "cs-db",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "sls offline start",
"test": "jest"
},
"author": "test",
"license": "ISC",
"dependencies": {
"@aws-sdk/client-cognito-identity-provider": "^3.731.1",
"@aws-sdk/client-dynamodb": "^3.731.1",
"@aws-sdk/client-lambda": "^3.731.1",
"@aws-sdk/client-s3": "^3.731.1",
"@aws-sdk/client-secrets-manager": "^3.731.1",
"@aws-sdk/cloudfront-signer": "^3.723.0",
"@aws-sdk/lib-dynamodb": "^3.731.1",
"amazon-cognito-identity-js": "^6.3.3",
"aws-lambda": "^1.0.7",
"axios": "^1.2.2",
"crypto": "^1.0.1",
"encoding": "^0.1.13",
"generate-unique-id": "^2.0.3",
"iconv-lite": "^0.6.3",
"install": "^0.13.0",
"joi": "^17.9.2",
"jschardet": "^3.0.0",
"jsonwebtoken": "^9.0.1",
"jwk-to-pem": "^2.0.5",
"mongodb": "^5.9.2",
"mysql2": "^3.10.1",
"npm": "^10.4.0",
"papaparse": "^5.4.1",
"pdf-lib": "^1.17.1",
"serverless-plugin-typescript": "^2.1.5",
"uuid": "^8.3.2",
"wildcard": "^2.0.1",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@types/jest": "^29.5.1",
"jest": "^29.5.0",
"serverless-offline": "^9.3.1",
"ts-jest": "^29.1.0",
"typescript": "^4.7.4"
},
"jest": {
"preset": "ts-jest"
}
}
and our serverless.yml
service: Feature-dev
# frameworkVersion: '3'
provider:
name: aws
runtime: nodejs18.x
versionFunctions: false
stage: v3
region: eu-east-1
vpc:
securityGroupIds:
- sg-12121
subnetIds:
- subnet-123211
environment:
# IS_OFFLINE: ${opt:offline, 'true'}
iamRoleStatements:
- Effect: Allow
Action:
- secretsmanager:GetSecretValue
- s3:test
- s3:test
- s3:test
- ec2:*
- docdb:*
- cognito-idp:test
- dynamodb:GetItem
- states:StartExecution
Resource: "*"
package:
patterns:
- src/** # include only files from ./src/**/*
- node_modules/** # include files from ./node_modules/**/*
- '!node_modules/aws-sdk/**' # exclude AWS SDK as it is included in the Lambda runtime
getVessels:
handler: src/getVessels.getVessels
events:
- http:
path: /getVessels
method: get
cors: true
Yes, it is possible i'm adding this response as the spring-security-jwt mentionned in the accepted request is now deprecated :
Depend on the authentication method, generally we use Username/Password :
First : we need to expand the UsernamePasswordAuthenticationFilter, which is subtype of AbstractAuthenticationProcessingFilter, see the docs
Here we must override AbstractAuthenticationProcessingFilter.successfulAuthentication() method, you need this library for jwt algorithm & processing and add the jwt in the header of response
Second : we need to override the OncePerRequestFilter and process the token and authenticate the user with help of doFilterInternal method
I got that error after upgrading docker on my Ubuntu machine and string the project. The simple rebuild fixed the issue:
@docker compose up -d --build && docker-compose start
use this npm install [email protected] --save-dev will work
At least in my case the issue was that I needed to install avr-libc as suggested by @"emacs drives me nuts" in the comments.
Silly mistake. I was using postman and posting the request as form data instead of json.
Also, even if this is many years tooooo late... (!)
the id="description" should be unique in the form otherwise how is it referenced?
This answer on GitHub issue https://github.com/valor-software/ng2-charts/issues/1122#issuecomment-510385779 solved this problem for me
In addition to all previous setting you have to add this CSS
canvas {
height: 100% !important;
width: 100% !important;
}
Thanks, the "//" did the trick!
You could do it like this:
update table_name
set column = STUFF(column,3, 0, '12-')
where column LIKE 'A-[0-9][0-9][0-9][0-9][0-9]';
I’m stuck with this issue. My SAMLResponse doesn’t contain any user information. How did you set up the user info in your SAMLResponse, and how did you fix the UPNClaimMissing error?
Thanks!
I have resolved the issue, Plan definition files which referenced this were missing the URL entry, added this and ran again and have been able to execute the apply against the Plan Defs
All you need is to update your php.ini file. Try to read the error message and check documentations.
Add the sodium extension to your php.ini file.
Open your php.ini and add this to the extension section :
extension=sodium
IS there a way to compare and merge two lines in salesforce
The first value is a timestamp in seconds, the second one in milliseconds, which is the resolution that Javascript uses for timestamps.
More information: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf
If you want to search by single labels, you need to set a free text filter for this column. Here you may find more information about the filters types.
Also helpful information is available here.
This happened to me in Visual Studio 2022. After copying the Resource files from another project.
Basically it was no adding it to the incorrert file. In my case I want them to be in "Texts", but it was adding them to "Resources". After choosing the right destination everything was fine again.
It is simple to Sort the records by One Column in ASC and Another Column in DSC You can just use: SQL Query Syntax: SELECT Col1,Col2,... FROM TABLE ORDER BY ASC Col1, DESC Col2; for further assistance refer this W3 Schools Website Link:See Example 2 Well it is for MYSQL But most of them should work.
Try the following:
const event = new Event('input', { bubbles: true });
const input = document.getElementById('input');
input.value = 'new_value';
document.dispatchEvent(event);
After all searches and efforts, I later discovered that the problem was from the spelling in the settings.py file.
STATICFILEDIRS = [os.path.join(BASE_DIR, 'static/')] //Wrong
which is meant to be
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')] //Right
Thank you to anybody that tried to help resolve this. I hope this will save someone else the trouble and time I spent to discover this
This issue commonly exists when there is no more disk space available. In this scenario, try to free your disk space.
If you have disk space but are still facing this issue, then download Microsoft Vc_redit.x64; it will resolve the issue. You can download it from Microsoft official website.
were you able to find a solution?
did you fix the issue? I am facing the same now
Try changing the export in useUpdateUser to the following:
export function useUpdateUser() {
This is the proper way to import functions/components according to the official React documentation.
can you please help me this is my code : const androidpublisher = google.androidpublisher({ version: "v3", auth: auth, });
try {
const response = await androidpublisher.purchases.products.get({
packageName: packageName.trim(),
productId: productId.trim(),
token: purchaseToken.trim(),
});
and I am getting this error : code: 400, message: 'Invalid Value', status: 400,
Actually dont delete add a column called delflag and active , If u want see the data that need to be listed out set active = 1 and delflag = 0 This may help u to keep the data as deleted stated if delflag = 1 and when ever u want to modify the data and keep in table u may update the row as active = 1 And Also use primary key and Identity(0,1) in UserId column of table creation it may varies according too sql flavours
Write a python script that accepts number from user and print sum of digit of the number.
e,g if user entered number-453 output : 4+5+3= 12
I am also facing the same issue
As this is showing a 404 error, it would suggest that the problem lies with your credentials on the snowflake end.
I would recommend double-checking all your credentials and trying again.
Can you help me about this topic.
When I deploy laravel project on docker passport client token is unauthorized.
I have the same issue. After updating Vite to version "vite": "5.4.12", this error occurs. On version 5.4.11, everything works fine.
Codemap may be what you need. It is an extremely simple and intuitive tool to visualize the architecture of PHP classes and functions. I use it to get familiar with old and messy codebases, or share the visualization with other teammates for discussion and onboarding purposes. Give it a try!
Disclaimer: I built Codemap, any feedback or suggestions welcomed :)
In a scaffold, we have a property of resizeToAvoidBottomInset. You need to set its value to true. Hope it will resolve the issue.
return Scaffold(resizeToAvoidBottomInset: true);
at renderNodeDestructive (C:\Users\Emma\Documents\test\tryingwork\node_modu
les\react-dom\cjs\react-dom-server.edge.production.js:4689:7) Export encountered an error on /_error: /500, exiting the build. ⨯ Static worker exited with code: 1 and signal: null
The issue was caused by a bug in the GEOS version used in Shapely, as pointed out by RuthC. Installing conda with the latest versions of all packages solved the problem!
i also having this problem anyone find the solution?
Due to the architectural design in Cloud Deploy, a single pipeline is designed to deploy only one type of target. While you can have multiple targets within one pipeline, but they must all be the same type (like GKE, all Cloud Run, etc.).
Currently, Cloud Deploy does not support different target types within a single pipeline because each type has unique configuration and requirements, such as different deployment processes, tooling and API. Combining multiple target types in one pipeline would make it more complex to understand, maintain, and debug, leading to more complicated setups. The recommended approach in Cloud Deploy is to create separate pipelines for each target environment. For further reference you can check this documentation.
You can also make a feature request to Google Cloud for this functionality and you can explain the challenges you’re encountering with the current approach would be helpful.
I was able to fix this problem by removing the Hardened Runtime
Capability for MacOS. This oddly fixed the problem and allowed my app to get location updates again. Huge Thanks to @Paulw11
I got the same error.
I could solve it by installing libmpv-dev.
Then I made a symbolic link from the installation folder to my project folder.
ln -s origin destiny
But the screen is black.
Hope it helps
In my case, the issue was resolved by uninstalling and reinstalling the ESLint extension.
Had the same issue. I ended setting up the ScheduledJob so that it would run a .bat file that itself runs the .ps1 script to send email.
Here is an example of a .bat used :
@Echo Off
powershell.exe -file C:\path\to\email_job.ps1
You'd just have to point to the .bat in your ScheduledJob
you should just remove this line it's a TSX:
const [facing, setFacing] = useState < CameraType > ('back');
and replace it with Js line:
const [facing, setFacing] = useState("back");
Since I haven't seen it anywhere else here, I'll just add that my preferred method here would be as below. The +
operator casts to a Number
so it'll handle the trailing zeroes for you.
const foo = 123;
const bar = 123.45;
console.log(+foo.toFixed(1)); // 123
console.log(+bar.toFixed(1)); // 123.5
Something like this will work in sql - you haven't told us what the tables are called
select order, status, eta
from myTable
order by status desc, eta asc
Unfortunately, the problem is the way that Planmaker saves the file. I found a very simple solution:
Open your file in Google Sheets then save it again, will work instantly.
I have the following :
TYPE T_STR_table_TYPE IS TABLE OF VARCHAR2(4000) INDEX BY VARCHAR2(4000);
k_columns T_STR_table_TYPE := T_STR_table_TYPE();
However, on Oracle line 2 (where is set k_columns) 19.0.0.0.0 works properly without any compilation errors unlike 12.2.0.1.0 Oracle version where PLS-00222 error obtained
Initialisation substituted on
k_columns T_STR_table_TYPE;
What is the cause? Thank you
With:
Dim wsh As Object
Set wsh = CreateObject("WScript.Shell")
Call wsh.Run(commandLine)
it works fine. The problem seems to be with the shell-command specificly.
I had the exact same issue was able to solve it by adding tsConfigPath. This is mentioned in the usage of the plugin.
If you start with official Vite template, you should specify the tsconfigPath:
{
plugins: [dts({ tsconfigPath: './tsconfig.app.json' })]
}
Reference: https://github.com/qmhc/vite-plugin-dts
function nextTick(callback) {
Promise.resolve().then(callback);
}
// Usage
nextTick(() => {
console.log('This runs after the current tick.');
});
console.log('This runs first.');
Right-click on the PHP version and choose "delete". No need to uninstall Herd entirely.
For me this works:
chmod 777 storage/framework/cache/data/
Change java version of project via gradle.properties
org.gradle.java.home=/Applications/Android Studio.app/Contents/jbr/Contents/Home
or globally in bashrc file
export JAVA_HOME="/Users/mac/Library/Java/JavaVirtualMachines/jbr/Contents/Home"
change as per your system path
I have a questions about this.
My thinking is that in large systems transaction on db can cause performance issue. And one of solution is coming to my mind is.
User unitOfWork to apply all changes as we need. Use Optimistic concurrency locks on aggregates
Is it a good idea ? I am thinking that in that way we will keep data consistency and resolve performance issue of transactions
Ran into this while looking for my own answer. Figure out a solution that works (even if it isn't pretty):
before { ActionCable.server.instance_variable_set(:@pubsub, @old_pubsub_adapter) }
I had this problem when querying a view using SSMS. I restarted my SSMS and could then connect without any issues.
You can now access Private (Internal) Application Load Balancers via CloudFront with the newly introduced VPC Origins.
In the CloudFront console:
Your ALB (and hence the Beanstalk) will now be accessible via your CF Distribution.
Add this in .clang-format
(see here, starting clang 13) :
EmptyLineAfterAccessModifier: Always
It will do for private
, protected
and public
.
Just for info there is also EmptyLineBeforeAccessModifier
Do you find the solution?? I want to use the prebuilt viewer, I can render the PDF from base64 but I can't get the buttons to work (next, prev pages)
thank you for your comments
I tested by loading the files locally, it's better but the map tiles are not displayed, I just have a gray background
I use gitlab as a remote repository. Created a private maven repository in gitlab. https://docs.gitlab.com/ee/user/packages/maven_repository
When the dockerfile is running, dependencies are loaded from it.
Does it matter? Gitlab sees that you barely changed the file, and just moved it around, so it is displayed as such.
A change in code will be executed exactly like you made it in a future merge. The file in the old location will be removed, and the new location will be populated. If you have touched the file manually on a checkout location and pull this change, you'll probably get a conflict for the changed file (in stead of a delete/overwrite of the file).
If there is additional context that you would like people to have when viewing your change, add that to the commit message for people to read.
As of January 2025, I had the same problem with very slow step-by-step Python debugging.
I found the culprit thanks to a comment by Jossy: the Watch panel.
Hiding the Watch panel and/or deleting all unnecessary watches solved the problem: now it is extremely responsive.
I use a combo of claude and openai. You can upload PDFs directly to Claude api and it will extract desired info, but it can't do structured outputs. So I tell Claude to give json about the contents of the pdf (the best it can), then i pass the response to openai to convert Claude's response into actual json. Takes two api calls instead of one, but the upside is no first converting PDFs to images (no quick and easy way to do this in Python or nodejs), no extracting only text or only image (Claude can interpret both), and it's fast enough to run in a serverless lambda without the need for lambda layers or special binaries, just first upload the file to s3, then convert to base64 before passing to Claude. Works wonders
using advanced custom can able to add custom status in product status dropdown
I have same problem in bs 5.3. In body tag just add:
<body onload="Array.from(document.getElementsByClassName('carousel')).forEach((x) => new bootstrap.Carousel(x));">
NFS does not authenticate using credentials such as user and password. It restricts access based on client IP address*. Meaning you authenticate by your machine IP, not which user are you.
You have defined the IP restriction as *
meaning "no restriction" (any IP).
See similar question Mount network share with nfs with username / password.
*You can also authenticate to nfsv4 using Kerberos - a very complicated setup is required.
This issue can arise due to several factors.
Large CSS or JavaScript Files
First Contentful Paint (FCP) Issues
Server Configuration and Resource Availability
Internet Connection and Browser Updates
For additional troubleshooting steps, you may find this guide helpful https://pagespeed.website/blog/how-to-fix-the-issue-of-google-pagespeed-insights-not-working-easily-and-quickly
Resolved. group_vars/local/.local_vault.yml
is the culprit. Must NOT use a hidden file started with a .
.
Did u solve this? I have the same problem in my company; we are using an old app and im getting this problem when i deploy to behind proxy
This was reported a while back as a bug in the Timefold Solver. There has been no progress yet.
if you only want to update one trace, you still have to provide an array containing an array for that one trace: update = {'x': [[x]], 'y': [[y]]};
OMG, this saved my bacon, thanks! I've been struggling for a half day(!) trying to update a couple of traces in a plotly polar plot on mouse-mnove and, although my overall syntax was spot on, I simply did not know that DOUBLE square brackets would be needed round such values. Now I know how it's done, I can get on with the rest of the coding needed. Thanks again!
An artificial intelligence song site introduces
List item
`
task.create("commonJar",Jar){
from sourceSet.main.output
include 'com/abc/**'
}
Execute it in some dependent task
finalizedBy commonJar
I have the same problem, did you find the solution? Thanks in advance
Trying to solve the problem with possible to pass not all needed keys for create class instance, mentioned by @jcals, I think I need custom class which constructor takes only object of corresponds keys, value type:
function getEntries<
T extends Record<PropertyKey, unknown>,
K extends keyof T,
V extends T[K]>(o: T) {
return Object.entries(o) as [K, V][]
}
interface T_Dict<K extends PropertyKey, V> extends ReadonlyMap<K, V> {get(key: K): V}
export class DictObject<K extends PropertyKey, V> extends Map<K, V> implements T_Dict<K, V>{
constructor(obj: Record<K, V>) {
super(getEntries(obj))
}
public override get(key: K): V {
if (!this.has(key)) throw new Error('Wrong key!')
return this.get(key)
}
}
But I cant force it to produce instanse of ReaadOnlyMap - it's still has method like delete/clear (
You need to create the application by using New-MgServicePrincipal -Appid "The app id you find in the logs"
I found the solution. There was a middleware "LogApiAccess" trying to log the request and response to database. I just disable it and the test case worked. $this->withoutMiddleware(LogApiAccess::class);
This link might help to fix this issue: https://community.atlassian.com/t5/Confluence-questions/Why-does-the-Table-Filter-for-the-quot-Label-s-quot-column-join/qaq-p/2000665
I had the same issue and found the problem.
Make sure you have the latest next js and react js packages.
replace imports: useActionState from "react" not "react-dom"
import { useActionState } from "react";
replace your useFormState with the useActionState in your code.
This library solved my problem: https://www.npmjs.com/package/bcryptjs-react
Try copying it
import shutil
shutil.copy('file_to_copy.xlsx', 'destination')
this it before copying, as you can see, it says ‘protected viewing’ in caps and bold text.
and this is after copying the Excel file, there is no protected view here
you can delete first instance of Excel file later after copying
If you’ve ever had to verify users online, you know how much of a hassle it can be.
@Dharman, interesting, I thought this was the accepted procedure if you answer you own question. I have seen that comment often. Could you tell me what is misleading about it?
Danny '365CSI' Engelman
's answer code is very useful, but there are some minor problems , it text overflow hidden when the country area is too small. Here are some modifications :
// ...
labelPath(path){
path.setAttribute("fill","none");
path.setAttribute("stroke","black");
let { x, y, width, height } = path.getBBox();
let title = path.getAttribute("title");
// min width 50
if (width < 50) {
x = x - (50 - width) / 2
width = 50
}
let xoffset = ~~(path.getAttribute("x") || 0);
let yoffset = ~~(path.getAttribute("y") || 1);
// you can set custom offset ...
let id = "p" + Math.random() * 1e18; // create a unique id
let line = `<path id="${id}"
d="m${x+xoffset} ${y+yoffset+height/2}h${width}" stroke="red"/>`;
this.svg.insertAdjacentHTML("beforeend", line + `
<text style="font-size: 15px">
<textPath startoffset="50%" text-anchor="middle"
dominant-baseline="middle" href="#${id}">
${title}</textPath>
</text>`);
}
// ...
Since I don't have 50 reputation, I can't comment on him anwser :)
Did you follow the guidelines?
were you able to fix the issue?
If using a table is restricted then this can be achieved using STRING_SPLIT function.
(Following code is for MS SQL)
declare @ids varchar(50) = '1,3,10'
SELECT
t.value as Id, X.Name
FROM
STRING_SPLIT(@ids, ',') t
LEFT JOIN X on t.[value] = X.Id
This will provide the expected output.