813 questions
0
votes
0
answers
116
views
VS Code is not reopening: "Your Code installation appears to be corrupt. Please reinstall." but I already reinstalled
Visual Studio Code suddenly stopped launching in the evening, even though it was working correctly earlier the same day.
I uninstalled and reinstalled VS Code. After reinstalling, it launches, but ...
1
vote
0
answers
331
views
Git on windows creates broken/corrupt blobs of binary files on one particular PC
A couple of days ago, I suddenly got file corruption errors trying to push to a git repository. After longs days of debugging I found out that my git installation seems to sometimes produce broken ...
1
vote
1
answer
49
views
Need to drop/recreate indexes and primary keys, but both primary and hdr secondary have index page logging turned off
I have a concern when dropping and recreating indexes and primary keys in INFX 12.10.
Both the primary server and HDR secondary server have index page logging and dridxauto set to 0.
Given that the ...
0
votes
1
answer
81
views
The error message indicates that the database attachment failed for server 'SERVER\SSQ' due to a Transaction-SQL statement or batch execution issue
My client's SQL Server database file is corrupted, and there is no backup. We only found the MDF and LDF files copied using NAT backup software. I need to use these files to rebuild the database. The ...
1
vote
0
answers
156
views
gcloud storage cp downloads exceed file size and result in corrupt file (e.g. 12.7GiB for 9.2GiB file)
I’m trying to download a .tar.gz file from a public Google Cloud Storage bucket using the gcloud CLI tool.
Here’s the command I use:
gcloud storage cp gs://my-bucket/large-file.tar.gz ./
The file is ...
1
vote
0
answers
129
views
Corrupted logged strings
I have a C# .NET 6 console application that use many threads (let's say 15-30) with a shared logger instance. After many hours of work (one day or more) logged strings become corrupted as:
[2024-11-...
0
votes
1
answer
141
views
Power Automate POST HTTP action to send file in payload corrupts the file
I’m trying to use power automate to immediately send a file to a website when it is deposited in a sharepoint folder, retroengeniering its web API.
Here is the body of the request:
------...
0
votes
1
answer
46
views
MPAndroidChart phantom legend over landscape legend
I am using MPAndroidChart to chart weather data. The app supports both portrait and landscape modes. The legend looks fine in portrait mode, however in landscape more there appears to be white text, ...
0
votes
1
answer
582
views
Power Automate Flow Uploads Corrupted Files (4 Bytes) to SharePoint After Working Properly Initially
I've built a Power Automate flow to handle email attachments by saving them to SharePoint and generating a shareable link. Initially, it worked as expected, saving attachments with full content to ...
0
votes
0
answers
66
views
ASP.NET Core 8 corrupts data in response cache middleware/chrome corrupts cached response
Time to time webpage receives corrupted json text:
"\u0000\u0000\u0000 ... \u0000\u0000\u0000\u00009cd8-287f-4df0-a645-558e5cff0c63","name":"Corn","symbols":[&...
0
votes
0
answers
48
views
How can a called external program unexpectedly interfere with the shell's variables in bash/sh/ash like this? [duplicate]
I have had a baffling issue for years where some programs (like ffmpeg) called from a while-loop in bash, sh or busybox ash interfere with either the read built-in or the shell itself, consistently on ...
0
votes
1
answer
190
views
Reed Solomon and UDP packet loss/corruption handling
I need to implement a Reed Solomon FEC using one way data communication so we decided to use UDP.
I read about Reed Solomon and I understand how it works from the theoretical side but I have some ...
0
votes
0
answers
139
views
Recover a corrupted pickle file
I have a corrupted pickle file. I follow this to try to recover my file: how to read corrupted pickle file
I read and try to understand how the file work to complete the file and as a result, I ...
-1
votes
1
answer
99
views
Getting heap corruption detected error while unallocating memory
I am getting error of heap corruption detected when I try to deallocate memory! This is my code
#include <iostream>
using namespace std;
char *reverse(char *arr, int size) {
int j = 0;
...
-4
votes
1
answer
146
views
The Data Inside C++ Vector Changes when I use push_back()
I wrote a C++ function that uses the recursive_directory_iterator to get information on all files and folders within the parent folder. I then wrote a class called DataFolder to store each file's ...
0
votes
0
answers
63
views
Why does text displayed with system("type example.txt") appear different than using type example.txt in the terminal?
I have written a string to a .txt file, and am trying to output it to the terminal, but something is going wrong during this and I'm getting a bunch of �'s.
The code in question:
std::locale::global(...
0
votes
0
answers
70
views
VBA to Repair Corrupt Excel workbook
I am looking for a way to automate opening & repairing Excel workbooks via VBA. A process that is run by another department creates a file daily that my team needs to ingest in order to identify ...
1
vote
1
answer
144
views
Could bcrypts AES-256 GCM encryption corrupt ZIP files?
I'm trying to encrypt a ZIP file using AES-256 GCM in C and decrypting it in Python. Here is the C code I'm using:
NTSTATUS generateRandomBytes(BYTE *buffer, ULONG length)
{
BCRYPT_ALG_HANDLE ...
0
votes
0
answers
284
views
Git check for corrupted files in the working directory
Context
I had a Windows crash (I had to cut the power to the PC) during work and a bunch of files got corrupted (random binary data overwritten on text files, things like this). I noticed this because ...
0
votes
0
answers
71
views
Is there an alternative to rebooting my Raspberry Pi 4 to solve my corrupted git origin problem?
I am using a Raspberry Pi 4 as a C++ dev box using VS Code from my Windows 11 machine (SSH'd into the Linux box), and I have been getting a corrupted /.git directory more and more often.
I have ...
1
vote
1
answer
83
views
Removing print statement affects functionality... corruption at play?
I wrote a java program which will minimize a window when moved to lower portion of screen. It performs the task by moving the mouse with Robot to the minimize button and pressing it with mousePress ...
-1
votes
1
answer
138
views
Try/Except Issue and Image Corruption
I'm try to test images to see if any are corrupt. They all come back false, corrupted, but I know most or all are fine. What am I doing wrong?
Thanks.
import glob
from PIL import Image
import os
...
1
vote
0
answers
599
views
Azure Data Studio seems to be corrupting results for a SELECT query from Notebook
This morning I ran a query against one of my tables and panicked when I got back results that looked like the data had been manipulated or was possibly corrupted. With investigation I found that ...
0
votes
2
answers
135
views
Laravel + Vue.js - downloaded docx file is corrupted
I use Laravel 10.x and Vue.js 3.x with PHPWord package for my project. I would like to download a generated docx file. The download is successful, but I cannot open the file - it is corrupted.
I have ...
0
votes
0
answers
62
views
pyTube downloaded music cannot be used in reaper
I used pytube to donwload a playlist I created in YouTube. All files can be played by media players I tried (Classic Media Player, VLC Media Player, Windows Media Player), but for some reason reaper ...
1
vote
0
answers
157
views
File downloaded with Google Drive API corrupt? Using service Account
I have a Form and upload files to Google drive like this (php):
$fileMetadata = new Google\Service\Drive\DriveFile(
array(
'name' => $...
0
votes
1
answer
786
views
Cassandra Behavior - when a column dropped and reinserted with different datatype - data corruption
I am using Cassandra as database.
I initially had a table with column A with datatype as text, Now the use case changed and I wanted the table to list.
So I did the following things -
Wrote ...
0
votes
0
answers
36
views
python handling corruption line
Do handling Corrupt lines by prepending "corrupt" as the result
#Other lines should be handled correctly
#3::::5 => corrupt:3::::5
3 5:1 2 3 4 5 6 7 8 9 Hello World => corrupt:3 5:1 2 ...
0
votes
1
answer
140
views
gpg with --clearsign damaged files
I'm having some problems unpacking the tgz archive because gnupg with --clearsign corrupted my file and the checksum is now incorrect.
I found similar topics, but without any answers to them. On the ...
0
votes
1
answer
1k
views
Encountering Toast Table Corruption and Missing Chunk Number Error During PostgreSQL Data Migration
Version - PostgreSQL 10.21, compiled by Visual C++ build 1800, 64-bit
Platform - Windows
When migrating data from PostgreSQL 10.21 to 14.7, we encountered an issue during the dump process related to ...
-1
votes
1
answer
131
views
facing broken link issue on git
Facing issue on git. I am working on laravel project and using git with it and it works perfectly fine when I am on ubuntu 22. 2 days ago I switch from ubuntu 22 to 20. From that time my git is ...
1
vote
2
answers
256
views
ZipCompressor utility class sometimes produces invalid archives
I have the following ZipCompressor Java class:
package lib.util.compressors.zip;
import java.util.Enumeration;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
...
1
vote
3
answers
2k
views
Looking to write a powershell script to run chkdsk and read results
I am trying to write a powershell script that will run chkdsk to determine if there is an error on the drive. If an error exist then it would run add the parameter /f and tell it to run on the next ...
0
votes
0
answers
78
views
cv2 - Prevent file from getting corrupted if script gets terminated?
I'm trying to make a security camera script with cv2. It works as long as the script is running but if it gets terminated for any reason the output file gets corrupted. Is there a way to make sure ...
0
votes
1
answer
70
views
Memory is corrupted after third call
I am building a rudimentary "banking" system. I am trying to create a function that would generate a new "vault" as i like to call it(account). I also made a sort of interactive ...
0
votes
0
answers
57
views
My image comes out broken from tcp sending
I'm a beginner in C++, and I'm building a program to transfer files and images. I have a simple code to send pictures over TCP taken from Sending Picture via TCP. But my images came broken, with ...
1
vote
0
answers
44
views
RuntimeError: Parsing error while reading transducer header; wrong or corrupt file?
I am trying to set up a new repo which has very limited instructions. I am getting this error when running "pipenv run python manage.py runserver". The file the error message refers to ...
0
votes
1
answer
301
views
Very corrupted Python 3.9.13
I don't know how I did this but Python is completely broken, trying to run it from the command line results in "The code execution cannot proceed because python39.dll was not found. Reinstalling ...
0
votes
1
answer
1k
views
After saving a project in Turbowarp, I tried to load it and got a message saying "could not load project"
This is the second time this has happened to me, and the last time it fixed itself, but now it stopped working. I got this message: Could not load project: {"validationError":"Could not ...
-1
votes
1
answer
59
views
my python code corrupts '*' into '(' when pushed to a Stack class
If I push a character to the Stack and peek at it, it gives me different characters even when no interaction was made after the push.
The relevant class and functions look like this:
class Stack:
...
2
votes
1
answer
534
views
Fix GitHub repository with corrupted files: "inflate returned -3"
The Problem. Recently I've been facing the following kind of errors whenever I try to push to git in a few repositories I have of PDF/DjVu files:
Enumerating objects: 153, done.
Counting objects: 100% ...
0
votes
1
answer
728
views
How to fix a .sb3 file that does not load anymore?
I've been working on this little scratch project for a while now and today, i tried loading the file in turbowarp and this error message showed up:
Could not load project: {"validationError":...
0
votes
0
answers
133
views
postgreSQL 9.6 64bits mistake backup
Could someone help me with this error?
pg_dump: reading schemas
pg_dump: reading user-defined tables
pg_dump:sanity check failed, parent table OID 841379 of sequence OID 841385
not found Traceback (...
0
votes
0
answers
2k
views
How to repair corrupted mp4 video?
I have a 7 GB mp4 video, but when I put it to Windows Media Player the screen goes black and you do not hear anything, an error comes out that says "There was a problem playing the file in ...
0
votes
0
answers
95
views
Reversing byte substitution in an image file
I have a large number of corrupted JPG files. The command sed -i 's/;/_/g' was run on them, which changed the semicolons (0x3b) in the JPG files to underscores (0x5f.)
This is a Python code I wrote ...
0
votes
1
answer
163
views
Is that possible to retrieve shiny app source .R files from shinyapp.io?
This is related to corrupted files recovery (RStudio R File Corruption)
Is that possible to see (retrieve) source .R and .Rmd files of the Shiny App that was deployed shinyapp.io?
Lets say - you have ...
0
votes
0
answers
853
views
Postgresql - PANIC: could not open file "pg_replslot/slot_name/state": No such file or directory
Is there any way we could stop replication without logging into psql shell.
Disk-full situation lead to some corruption in PG files and keep on restarting.
2023-02-06 08:17:54 UTC [1] LOG: starting ...
2
votes
4
answers
394
views
How to implement a specialized overload of the List.RemoveAll method, with an index parameter in the predicate?
The List<T>.RemoveAll is a quite useful method, that allows to remove efficiently multiple items from a list. Unfortunately in some scenarios I needed some extra features that the method doesn't ...
0
votes
1
answer
2k
views
How can I catch corrupt JPEGs when loading an image with imread() in python?
I`m talking about errors like "Corrupt JPEG data: bad Huffman code" or "Corrupt JPEG data: premature end of data segment". Currently, those count as some kind of warnings, not as ...
1
vote
1
answer
385
views
How to find images with a variable sized grey rectangle (JPEG corruption) in them?
I had to recover a hard drive and a lot of photos in it came out corrupted. I'm talking about 200.000 photos. I already wrote a script that finds corrupted JPEGs. But some of these images are not ...