9,873 questions
1
vote
1
answer
63
views
Error 1004 or 438 when pasting picture from clipboard
I've looked everywhere for an answer to this problem and found nothing that could help me fix it. What I find strange is that the code worked briefly before starting to return errors.
Basically, what ...
-1
votes
3
answers
146
views
Why, if constructing a shared_ptr from raw pointer, "main()" exits with some negative error code? [duplicate]
Just experimenting with shared_ptr to explore its functionalities.
I'm constructing a new shared_ptr object using a raw pointer from other shared_ptr object.
The following code is compiling and runs ...
1
vote
1
answer
62
views
Runtime Error in Recursion in Subsequences
I am writing a recursive function to create all possible subsequences of a string and return the set of strings as a vector. This is a challenge from Coding Ninjas. I recurse over each char in the ...
1
vote
1
answer
46
views
Error: Cannot find module '../lightningcss.win32-x64-msvc.node when running next.js project
Hey I recently encoountered this error. My old next.js projects work but newly created ones all have this error. I tried cleaning cache with npm rebuilding, npm installing the missing package, ...
0
votes
1
answer
58
views
Azure Timer Trigger Function Not Executing After Deployment – Error 500 on Portal Test
I’ve created a basic timer_trigger Azure Function using Visual Studio Code using Python. It works perfectly in my local environment. However, after deploying it to Azure, the function does not run at ...
-1
votes
0
answers
19
views
I have a index.js file that contains auto pay logic via Paypal Webhook. it wont run Payouts due to "cannot read timestamp: undefined" error
This is the top half of the code, the timestamp format is consistent throughout the rest of the functions
const { onRequest, onCall } = require("firebase-functions/v2/https");
const { ...
1
vote
1
answer
39
views
backgound_fetch not working in flutter when i run call log app
I'm trying to build a Call Log app in Flutter that runs in the background and sends call log data to an API. I'm using background_fetch. Here's my setup:
Future<void> _syncCallLogs() async {
...
1
vote
1
answer
129
views
React Native [runtime not ready]: TypeError: Cannot read property 'style' of undefined after upgrading from 0.73 to 0.78
I'm working on a React Native project and recently upgraded it from version 0.73 to 0.78.
Upgrade Process I Followed:
I created a brand-new React Native 0.78 project using the CLI.
Verified that the ...
0
votes
0
answers
14
views
Plugin [id: 'com.github.spacialcircumstances.gradle-cucumber-reporting', version: '0.1.24'] was not found
Plugin [id: 'com.github.spacialcircumstances.gradle-cucumber-reporting', version: '0.1.24'] was not found in any of the following sources:
Try:
Run with --stacktrace option to get the stack trace.
...
1
vote
0
answers
34
views
PyTorch runtime error with input when using two models
I have two models. One is pretrained with YOLOv11 and detects faces and second one trained from scratch with Tensorflow converted to onnx using tf2onnx and then to pt using onnx2pytorch. Second model ...
-1
votes
0
answers
38
views
Segmentation fault when calling .backward() after moving data to GPU (PyTorch + CUDA 12.1)
I'm running into a segmentation fault (core dumped) error while training a model using PyTorch on a CUDA-enabled GPU.
I'm not sure what's going wrong, and would really appreciate any guidance.
My ...
0
votes
1
answer
42
views
VBA Shell function reports - Invalid procedure call or argument [duplicate]
The code is as follows:
Sub Example()
iErr = Interaction.Shell("cmd.exe copy /c C:\Temp\Generator.xlsm C:\Temp\Async_Test.xlsm", vbNormal)
End Sub
Creating this in a new workbook on my ...
-2
votes
1
answer
27
views
When I am adding a dependency in flutter pupspec.yaml and run application showing this issue
Execution failed for task ':flutter_plugin_android_lifecycle:compileDebugJavaWithJavac'.
Could not resolve all files for configuration ':flutter_plugin_android_lifecycle:androidJdkImage'.
Failed to ...
0
votes
1
answer
74
views
Tcl won't load packages EVEN WHEN they are in the same folder
I have been trying to run a Tcl script that requires a package and it keeps saying that it can not find the required package, this happens even when I add the package directory to the auto_path (this ...
0
votes
0
answers
45
views
"error=13, Permission denied" when running su on a rooted android 7.0 device
I am trying to run a command as root on a rooted device. I am using the command su root 'whoami' to check if it works. This is my code:
public String runAsRoot() {
try {
Process ...