73 questions
1
vote
0
answers
58
views
Cline AI Extension History Not Loading (in VS Code): Empty taskHistory.json and large task context (>10MB)
I’ve been using the Cline VSCode extension (formerly claude-dev) for several months with hundreds of tasks. The extension panel suddenly blanked out during an active session. After restarting VSCode, ...
0
votes
0
answers
39
views
How to check if uploaded file pdf/doc is corrupted or not in next.js CSR?
I have a one requirement where i need to share the files at back-end need to put validation that file should not be empty or corrupted.
For the empty file i am able to detect based on size but to ...
0
votes
0
answers
63
views
How to repair a PDF file that was transmitted with a wrong MIME type
I have a service A (flask) that transmits a file to service B (Django) using python's requests library.
from typing import TYPE_CHECKING
import magic
if TYPE_CHECKING:
from werkzeug....
0
votes
1
answer
173
views
How can I recover vbaproject.bin from my corrupt powerpoint.pptm file
I have a .pptm file with 70 hours of code work in it. It has become corrupted and I have no backup (very stupid I know!). What I do have is the .ppam which was generated from a slightly earlier ...
1
vote
2
answers
100
views
Replace corrupted alphanumeric id substring containing unwanted spaces
I have content that is coming dynamic but some characters from string are missing. I want to replace that characters to make it correct. I have complete order id but in content it's coming with space....
1
vote
0
answers
1k
views
Docker nexus3 repo failing to come up, Orient DB corrupted
The nexus repository have been running in docker for years, never faced any issue. The server it's running on is a VM and using ceph cluster storage where the nexus data is being stored. Last week ...
0
votes
0
answers
74
views
Avoid reading corrupted file
I currently have a loop that reads HTML codes that are saved in a .txt extension. To read the text inside the HTML code, I have been using gettxt() function from htm2txt package.
The problem is that ...
2
votes
0
answers
231
views
Very slow query with PostgreSQL [closed]
I have a very serious problem with PostgreSQL 14. In practice, every 5 days or so my tables, or rather some, are corrupted. When I launch a simple query, it does not execute and it remains stuck.`...
0
votes
1
answer
57
views
Frist few bytes of a char* are corrupted after creating it with malloc()
Whenever I create a char* with malloc(), the first few bytes get random data, which is different every time I compile the code. In this case, I wanted to concatenate 2 char* to create 1 char*.
char *...
1
vote
0
answers
203
views
corrupted files uploading csv and zip files via postman toward django rest api
Hi, I'm using django 4.0.6 (python 3.8) with djangorestframework
3.13.1 on windows. I'm testing on localhost my app with postman and postman agent up to date.
The main goal is to send 3 csv file, 1 ...
0
votes
2
answers
245
views
extract corrupted strings
I received a file that had a weird encoding and wondered if there's any way to
check for 'corrupted' strings. For e.g.
dat <- c("天脊煤化工集团股份有é\231\220å…¬å\217¸", "...
0
votes
0
answers
374
views
Jupyter Notebook - sqlite3.DatabaseError
Hello everyone: I am a university student and I regularly work in a jupyter notebook environment, within a WSL system in my computer.
All of a sudden, my jupyter notebook kernel "died" and ...
-3
votes
1
answer
336
views
How to protect my SQLite db by intentionally corrupting it, then fix it through code?
This is my first app on Android with Java and SQLite.
ISSUE:
I have a local SQLIte db on my app. I was very surprised to see how easy it is to get access to the db once you have installed the app (no ...
0
votes
0
answers
675
views
Why does csv files convert to weird number format after it's been edited or renamed?
I had been facing this abnormal issue quite a while and yet to debug the real reason behind this why CSVs act so weird when they work with long numbers like Mobile Numbers.
suppose, I was working with ...
1
vote
0
answers
1k
views
Recover a corrupted database/tables
Our customer faces an issue with a corrupted database caused by a 3rd party software. Unfortunatelly they found out too late and no longer have a valid backup to return to. Fixing views etc. is easy ...
0
votes
0
answers
126
views
Multiple objects reading and writing to file in C++ in Linux
I am developing an C++ application, in Linux environment, that has a class that reads and writes some configuration parameters in a file (JSON format preferentially). This class has many objects ...
0
votes
1
answer
864
views
pyspark json read to tag bad records
I want to use pyspark to parse files with json data and would like to tag 'bad/unexpected' records. By 'Bad/unexpected records' i mean those which do not follow the schema i specify.
I have this input ...
0
votes
1
answer
143
views
Java - Get Japanese from JTextField and save to File
I am trying to get Japanese input from a JTextField (with the getText() method) and saving that to a File. I am confident that it does get Japanese format from the JTextField since I can append() that ...
2
votes
1
answer
551
views
Restoring a Gramps Corrupt Database (Berkeley Database)
I have tried to transfer my Gramps DB files from one computer to another but I keep getting the below error after even trying to break the lock of the database file:
Gramps has detected a ...
-1
votes
1
answer
241
views
java instance member corruption
I have a Java 1.6 multi-threaded application (5-7 threads, most idle), which has a strange behavior.
The flow involves updating a device, with a 4-byte ID.
I hold the ID in a private byte-array. When ...
1
vote
1
answer
3k
views
How can I fix this corrupted rpmdb?
My rpmdb is corrupted, and the usual procedure for fixing it doesn't seem to work.
This is the error:
cris@PolariSuse [~]$ rpm -qa > /dev/null
error: rpmdbNextIterator: skipping h# 64697
Header ...
1
vote
2
answers
1k
views
All files of android project got corrupted
When I opened my previous android project on android studio after 15 days. I found that files had been corrupted.There was only a message that "File was loaded in wrong encoding - 'UTF-8'". Is it ...
5
votes
1
answer
4k
views
Java: Image upload with JavaScript - File is damaged, corrupted or too large
I am using Spring Boot as backend server and I have a JavaScript frontend.
For sending data between front- and backend I'm using the Axios library, which usually works pretty fine.
The Problem:
The ...
2
votes
0
answers
409
views
BCP export working for PDF but not for JPG [duplicate]
I have this query in place that exports the files from a database to the original format. I run it in SQL Management Studio, hence the EXEC at the end to export the file using BCP.
SELECT @sql = 'BCP ...
2
votes
0
answers
771
views
Downloaded PDF in R - Corrupted File
I've been trying to download some pdfs in R, with the following code:
link <- paste0("http://","www.energisa.com.br/empresa/paginas/servicos-online/autoatendimento/extrato-segunda-via-publica-...
1
vote
1
answer
413
views
realloc : corrupted data returned
I'm trying to read from a file using C and after shrinking the size using realloc I get corrupted data. I don't really see what the problem could be.
Here's the function that returns the string :
...
0
votes
1
answer
556
views
Corrupted block in hdfs cluster
The screenshot added below shows the output of hdfs fsck /. It shows that the "/" directory is corrupted. This is the masternode of my Hadoop cluster. What to do?
2
votes
0
answers
813
views
What happened to my Python file?
I've been working on creating a ray caster in Python, using Pygame, and I went back to work on it earlier today to find that it would not load properly. When I opened it, it appeared as if it were a ...
0
votes
0
answers
388
views
How do you find out if a file is corrupted?
Earlier I found that a jpg, which was a scan of an important document was corrupted.
I have no clue how it got corrupted. Since this file was managed by my app and never accounted that files might ...
1
vote
2
answers
1k
views
XML serialization results in a file full of null characters
I'm serializing an object (of class Car) and saving it as an xml file. However sometimes (very rare event, I can't replicate it) I get a file that contains only null characters (characters with 0 ...
1
vote
1
answer
2k
views
How to intentionally corrupt a file with Applescript
What I'm trying to do is essentially shred a file. I was recently in a security protocol meeting at my company, and one of the speakers showed us how he could recover a file that was put in the trash ...
2
votes
0
answers
284
views
CorruptSSTableException as value length exceeds the maximum of 268435456, which is set via max_value_size_in_mb in cassandra.yaml
What does this mean in Cassandra ? does it mean a value in a column has exceeded.If so how do we find out which value has caused this exception.
We are using 3.7 version of Cassandra . Also how to ...
0
votes
1
answer
291
views
Validating downloaded image
This downloads image to a disk:
image = open permalink_url, "rb", &:read
...
File.binwrite "images/#{hash}", image
Sometimes it comes corrupted:
while there was no exception.
How do I check if ...
1
vote
1
answer
12k
views
Database 'msdb' cannot be opened due to inaccessible files or insufficient memory or disk space
I am facing this issue at one of my clients system.
When we are connecting to to SQL server 2008 DB engine through SSMS, I am getting the error
Database 'msdb' cannot be opened due to inaccessible ...
0
votes
0
answers
26
views
variable with memory issue?
I have 3 variables: i j k. i = 9 and j k = 0. my code is doing the following test: if(i>j && i>k) and I don't get a match.
If I detail the test, i>j works and i>k not.
Am I missing something ...
2
votes
1
answer
5k
views
Fixing invalid memory alloc request at PostgreSQL 9.2.9
I've encountered a problem querying some of my tables recently. When I try to select data I get an ERROR telling: ERROR: invalid memory alloc request size 4294967293. This generally indicates data ...
0
votes
0
answers
841
views
R error handling using read.table and defined colClasses having corrupt lines in CSV file
I have a big .csv file to read in. Badly some lines are corrupt, meaning that something is wrong in the formatting like a number like 0.-02 instead of -0.02. Sometimes even the line break (\n) is ...
1
vote
0
answers
3k
views
Trying to purposely corrupt data in a photo to get the effect
I'm trying to purposely corrupt the data in a photo and recover it to get the cool effect it leaves behind. I don't want to recreate it in Photoshop, i'd like to do it organically if that make sense. ...
0
votes
0
answers
274
views
MySQL how to strip out junk or corrupt characters?
MySQL 5.6
Rows 1-3 seem to have some junk characters. Row 4 is good data.
select id, firstname, length(firstname) len,
substring(firstname,1,1) ss1, ascii(substring(firstname,1,1)) a1,
substring(...
-1
votes
1
answer
354
views
Hardcoded string in XML gets corrupted
Here's a strange one...
In an XML-feed, generated in PHP by a loop over a few lines, one HARDCODED string changes in ONE spot.
The generated XML-file is 36000-something rows. On row 8020 the ...
3
votes
1
answer
720
views
Corrupted Images From BitmapFactory
Once in a while when I am downloading images, some of them will appear with gray lines as displayed in the sample image below:
This tends to happen exclusively on poor network conditions.
My code for ...
2
votes
1
answer
276
views
Data corruption using git
I was working on a project and experienced hardware failure. I have about 30 commits I did not get to push before this happened. I recovered from the crash and checked my repo. I now get this error ...
0
votes
1
answer
551
views
Downloading, writing, converting and saving with imagemagick in python (corrupt images)
Okay so I've been trying to solve this for about six hours now and it's just not happening.
I've got this function that grabs a bunch of image (GIF) files from a URL based on a timestamp (using the ...
1
vote
1
answer
2k
views
How Can i check the video file in sdcard is corrupted or not in android?
i am downloading the file from server and store in sdcard but some times for net connection files are not downloaded completely so i want to check video file is corrupted or not if it is corrupted ...
1
vote
1
answer
3k
views
java mail attachments getting corrupted
This is my code for attaching the files to the mail:
Multipart mp=new MimeMultipart("mixed");
BodyPart mbody=new MimeBodyPart();
mbody.setHeader("Content-Type", "text/html; charset=us-ascii");
mbody....
2
votes
0
answers
1k
views
Duplicate records and loss of primary key on MS Access table in multi-user database
Apologies if a similar question has been addressed elsewhere but I'm struggling to find the obvious answer to my issue....
I have rolled out a split end database (.accdb created in Access 2013) to 6 ...
0
votes
1
answer
4k
views
MySQL Databases Corrupted
We run a MySQL Database 5.5 server on a Windows Server 2008 R2 KVM VPS, where our system automatically sets up new databases for customers as needed. A completely separate drive/partition ran out of ...
3
votes
1
answer
5k
views
How to solve cUrl corrupting file during download
I really, really need help as to how to solve this issue I'm having:
Using script:
<?php
$curl = curl_init();
$fp = fopen("somefile.zip", "w");
curl_setopt ($curl, CURLOPT_URL, "http:/...
2
votes
1
answer
746
views
image base64 corrupt post (Objective-C)
I'm trying to send a post with several parameters and include an image in base64.
The image coding does it well, I checked the base64 image in a online base64 to image converter and looks like the ...
6
votes
0
answers
1k
views
Corrupted JS, CSS and PHP files
I know that this is a really dumb question but after I reformatted my flash drive ( it says it's corrupted and needs to be formatted so I did it ) and used a recovery software to recover the files ...