Experience shows that this happens when there are too many non-versioned files.
Unchecking "Show Unversioned Files" helped me.
You can also use “add to ignore list” to exclude directories that should not be captured with git.
OR would have worked too -- logically speaking: NOT (A) AND NOT (B) = NOT (A OR B)
Oh, I've figured out the problem. It turns out that changing a variable solved my problem.
From this:
var decoded;
for (const key of objectKeys) {
if (originalText.includes(key)) {
continue;
} else {
decoded = result.replaceAll(key, replaceObject[key])
}
}
To this:
var decoded = result;
for (const key of objectKeys) {
if (originalText.includes(key)) {
continue;
} else {
decoded = decoded.replaceAll(key, replaceObject[key])
}
}
Thank you so much, this worked perfectly for me! It also resolves problems with the design view of WindowBuilder.
This is due to Iconify Intellisense. There is already an Issue open with exactly this question in the Github repo.
In monorepo this error can happen when there is multiple vite versions, you need to install the same version, source: https://github.com/vitest-dev/vitest/issues/4048
When you’re talking about a 20 GB log file, you’ll definitely want to lean on S3’s multipart upload API. That’s what it’s built for: breaking a large file into smaller chunks (up to 10,000 parts), uploading them in parallel, and then having S3 stitch them back together on the backend. If any part fails, you can just retry that one chunk instead of the whole file.
Since the consuming application doesn’t want to deal with pre-signed URLs and can’t drop the file into a shared location, one pattern I’ve used is to expose an API endpoint in front of your service that acts as a broker:
The app calls your API and says “I need to send logs.”
Your service kicks off a multipart upload against S3 using your AWS credentials (so the app never touches S3 directly).
The app streams the file (or pushes chunks through your API), and your service forwards them to S3 using the multipart upload ID.
Once all parts are in, your service finalizes the upload with S3.
That gives you a central place to send back success/failure notifications:
On successful completion, your service can push a message (SNS, SQS, webhook, whatever makes sense) to both your system and the caller.
On error, you can emit a corresponding failure event.
The trade-off is that your API tier is now in the data path, so you’ll need to size it appropriately (20 GB uploads aren’t small), and you’ll want to handle timeouts, retries, and maybe some form of flow control. But functionally, this avoids presigned URLs, avoids shared locations, and still gives you control over how/when to notify both sides of the result.
self.addEventListener('fetch')
doesn`t call. NEVER !
WHY ???
Just have received this email after I couldnt log in anymore.
After that I have resetted my password account and it still didnt let me login.
But I was finally able to enter like this:
Login as Root at https://signin.aws.amazon.com/
When asking for 2FA / MFA then click on the bottom "Trouble signing in?"
Then click on Re-sync with AWS Servers
Then put in two 2FA codes after waiting for 30s apprx.
Finally enter again
Done ✅
i face the same issue, exactly as you described it. Have you found a fix ?
If your API is running correctly and returning a status code of 200, the basic solution is to send a message from your number to the WhatsApp number first where you expect to receive messages. Once you’ve done this initial message exchange, you will start receiving messages from WhatsApp
To call a stored procedure first create a Procedure which is like this:
Create Procedure CallStoredProcedure(parameters)
Language Database
External Name "Your_Stored_Procedure_Name"
Then just call this procedure with the required parameter
With the help of Anthropic I have found the issue. In the first kernel I was defining the swap space DenseXY while in the second the 3D matrix was declared DenseZY. I did not think this could make any difference except for how many cache misses I would have maybe encountered. Actually if I change all the declarations to DenseXY it compiles and runs.
By the way, for the sake of good order, I also understood that the density of the stride is opposite to what my intuition brought me to:
Stride3D.DenseXY:
Memory order: X → Y → Z (X changes fastest, Z changes slowest) For array[z][y][x]: consecutive X elements are adjacent in memory Memory layout: [0,0,0], [0,0,1], [0,0,2], ..., [0,1,0], [0,1,1], ..., [1,0,0]
Stride3D.DenseZY:
Memory order: Z → Y → X (Z changes fastest, X changes slowest) For array[x][y][z]: consecutive Z elements are adjacent in memory Memory layout: [0,0,0], [1,0,0], [2,0,0], ..., [0,1,0], [1,1,0], ..., [0,0,1]
This is an old post but I've had the same problem just now (using Squish for Windows toolkit).
Was caused by squish not using QA automation. This fixed it:
https://qatools.knowledgebase.qt.io/squish/windows/howto/automating-modern-ui-windows-store-apps/
I use :g/hello/s//world/g but I have been using vi forever. :/
I cannot reproduce your issue. If I setup a project, according to your description it works just fine.
I created a default project Next.js 15 project:
npx create-next-app@latest
Added an MP3 to public/audio/sample.mp3
Replaced the page.tsx with:
"use client";
const playDeleteSound = async () => {
try {
const audio = new Audio("/audio/sample.mp3");
await audio.play();
} catch (error) {
console.log("Audio playback error:", error);
}
};
export default function Home() {
return (
<div className="flex items-center justify-center min-h-screen bg-gray-100">
<button
onClick={playDeleteSound}
className="px-6 py-3 rounded-2xl bg-blue-600 text-white text-lg font-semibold shadow-md hover:bg-blue-700 transition"
>
▶ Play Sound
</button>
</div>
);
}
It shows a play button, when I click that, it starts playing the file.
Full project code: https://github.com/Borewit/serve-mp3-with-nextjs
Using Boost 1.89.0 solved the issue.
had the same problem and I see that still does not have an answer. If someone has the same error in leave-one out:
Error in round(x, digits) : non-numerical argument to mathematical function
Update your package - I used meta package v.8.1.0, updated to v.8.2.0, now works fine.
You just need to do $('#mySelect').empty();.
You can go like this:
import { Op } from 'sequelize'
where: { id: { [Op.in]: [1,2,3,4]} }
I found an answer on this https://www.qnx.com/developers/docs/6.5.0SP1.update/com.qnx.doc.neutrino_lib_ref/s/spawnv.html site, where it says
P_NOWAIT — execute the parent program concurrently with the new child process.
P_NOWAITO — execute the parent program concurrently with the new child process. You can't use wait() to obtain the exit code.
but i'm not sure if this applies to windows (cause it doesn't have wait(), only WaitForSingleObject()) and if by using P_NOWAIT I am obliged to call wait() on the pid
I have found a workaround for this.
A custom meter (System.Diagnostics.Metrics.Meter) is visible "MyTest" and from it a System.Diagnostics.Metrics.Counter named "asas" has been created with Meter.CreateCounter()
But: i dont think its intended to work so this might get patched.
i have solved this problem
using Ctrl+Shift+P → TypeScript: Restart TS Server
because my nodemodules are not read properly by typesript server
@Marks's solution works if the panel never opens, but if it sometimes opens that can be annoying since it's a toggle. As far as I can tell there's no action to open the panel, but I cobbled something together with closePanel, togglePanel, and compound tasks:
{
"label": "close Panel",
"command": "${command:workbench.action.closePanel}",
"type": "shell",
"problemMatcher": [],
},
{
"label": "open Panel",
"command": "${command:workbench.action.togglePanel}",
"type": "shell",
"problemMatcher": [],
"dependsOn": [
"close Panel"
],
"runOptions": {
"runOn": "folderOpen"
}
},
Not the prettiest, but it gets the job done.
Thank you, @tino for your solution! I had to make a minor adjustment as well in order for it to work on my end (Django 5.1.1).
Instead of the callback function that was originally proposed here was my minor tweak:
def skip_static_requests(record):
if record.args.__len__() and str(record.args[0]).startswith("GET /static/"):
return False
return True
Sometimes, the record.args[0] was not a string and was therefore running into problems with calling the startswith method.
I'm unable to find this option and I don't have GitLens installed.
react-datepicker alone doesn’t mimic native segmented typing, but you can achieve it with customInput + a mask library like react-input-mask
Sorry for the question.
Overlooked that there is already a PR questioning for enterprise accout support.
Use this for reference: https://github.com/AUTOMATIC1111/stable-diffusion-webui
You put your model file in models->stable-diffusion folder run through the ui.
For more information, use the above link.
Keep in mind that setting environment variables apply to all the agents on the host as a system capability, while using the API creates a USER capability that is local to that specific agent. This is useful if you have multiple agents on a single host.
For details on **Yoosee for Windows**, check out Yoosee Windows
This site returns a valid HTTP status code for any request type:
https://httpstatus.io/mocking-data
For me , I downgraded the electron version to make it compatible with nan of the node version and it worked. I used electron 30x
It turns out the error message was too long (95000 chars).
Not sure where the boundary is, 5000 chars still works ok.
I would have expected different behaviour so I guess this is a bug.
This problem is impossible to solve for given rules and a random numbers shuffle. To better visualize it in your head, imagine that your traveling point is a head of a snake in the snake game (but snake always grows, so it's tail stays at the start)
At some point you may enclose yourself, and you can only spiral inwards until you crash into your own body. The same thing happens here. If visited cells form closed area and your traveling point is is inside of it, you can't escape out of this area (because you can visit cell only once). So after some number of moves it will reach cell where every neighbour of it was already visited
def is_even():
x = input("Enter number: ")
x = int(x)
if x % 2 == 0:
return f" {x} is an even number"
else:
return f" {x} is an odd number"
print(is_even())
Public Function FileTxtWr(ByVal sFile As String, _
ByRef sRow() As String) As Boolean
Dim sUTF As String
Dim iChn As Integer
Dim i As Integer
sUTF = Chr$(239) & Chr$(187) & Chr$(191)
sRow(1) = sUTF & sRow(1)
iChn = FreeFile
On Local Error GoTo EH
Open sFile For Output Shared As iChn
On Local Error GoTo 0
For i = 1 To UBound(sRow)
Print #iChn, sRow(i)
Next i
Close iChn
FileTxtWr = True
Exit Function
EH:
FileTxtWr = False
End Function
For now, I'm just going with option 2 and silencing "reportExplicitAny" project-wide until I find a better solution. In my pyproject.toml:
[tool.basedpyright]
reportExplicitAny = "none"
Working with FilamentPHP repeaters can definitely get tricky when reactivity starts overriding field values. I’ve faced similar issues where fields reset unexpectedly, and it can be frustrating to debug. Sometimes separating calculations into a dedicated function or handling them after all inputs are set helps a bit. It reminded me of the rotmg dps calculator I once used, where real-time updates needed to balance accuracy without breaking existing inputs — kind of the same challenge here with keeping values stable while calculations run.
Reposting the answer from @GeorgeFields, because it solved the issue for me:
"...It ended up being a Gradle Daemon that had been running before I started Docker.
...So, I just didgradle --stopand then then next time it worked."
Here is a small class which does exactly that from CrazySqueak's answer. So please upvote his answer not mine!
import threading
class AdvTimer():
def __init__(self, interval, callback):
self.interval = interval
self.callback = callback
def restart(self):
self.timer.cancel()
self.start()
def start(self):
self.timer = threading.Timer(self.interval, self.callback)
self.timer.start()
That sounds like a tough situation to deal with, especially since managing multiple access tokens for the same institute can get really messy for both you and the users. Having to split products like investments and loans into separate configs feels like a workaround rather than a proper solution. I read something on investiit. com that touched on similar integration challenges, and it seems like the key is finding the balance between user experience and Plaid’s current limitations. Hopefully, Plaid adds more flexibility soon.
Bruce Roberts - The C Language, appearing in Byte Vol. 8 No. 8, August 1983, emphasis added:
Why is C so popular? The primary reason is that it allows programmers to easily transport programs from one computer or operating system to another while taking advantage of the specific features of the microprocessor in use. And C is at home with systems from 8-bit microcomputers to the Cray-1, the world's fastest computer. As a result, C has been called a "portable assembly language," but it also includes many of the advanced structured-programming features found in languages like Pascal.
If you want to get a zip code OR the full street name, you may want to use something like
((\d\d\d \d\d)|([A-Z,"Å","Ä","Ö"][a-zA-Z0-9,"Å","Ä","Ö","å","ä","ö"]{0,25}$))
Note that in [A-Z,"Å","Ä","Ö"], I've removed the number so when typing a full street, it cannot start with a number
I had same error on Mac for desktop application. Fix was:
File, Invalidate caches
In project folders, delete "build" folder under common and under desktop
Start IntelliJ, wait for re-index, rebuild project
=> All good.
json properties must be in camelCase instead of PascalCase. This is the default naming convention in web development
I found the steps outlined here: https://google.github.io/adk-docs/deploy/agent-engine/
You can achieve this by wrapping your dropdown inside a div and applying a max-height to div.
.ddDivWrap{
max-height: 180px;
overflow-y: auto;
width: 450px;
}
I’ve also developed an application similar to yours, but using the FuncAnimation class with blit=False, and I don’t experience any flickering. Have you tried using FuncAnimation in the end?"
You can configure Newtonsoft.Json in Hangfire to ignore reference loops:
services.AddHangfire(cfg => cfg.UseSerializerSettings(new JsonSerializerSettings()
{
ReferenceLoopHandling = ReferenceLoopHandling.Ignore
}));
%timegenerated:::date-pgsql% does exactly the job.
I found the root cause: it wasn’t an issue with my code, but with the Angular Google Maps wrapper.
The (mapDblclick) event was not being forwarded correctly for AdvancedMarkerElement. After I opened an issue on the Angular Components GitHub (https://github.com/angular/components/issues/31801), the team fixed it.
So if you’re hitting the same problem, just update to the latest version of @angular/google-maps and double-click events on map-advanced-marker will work as expected.
所以只需要把 yaml 文件中的 required: true 属性去掉就可以了。
you should not use ref.read in the build method
This scenario is currently not supported in Azure HDInsight. The Team is actively working on it. You might see some updates by mid sept.
You can loop the array and use a basic if-statement
array = [3, 6, -1, 8, 2, -1]
for i in range(len(array )):
if array[i] != -1:
array[i] = array[i] + 2
print(array)
Result:
[5, 8, -1, 10, 4, -1]
It is not clear what the .zip file contains but there is no option to upload .zip packages to Azure Automation. You can only upload .whl files which are the equivalent of PowerShell modules. Note that Azure Automation has moved to runtime environments so create runtime environment for Python 3.10 and for that environment you can add packages.
Alternatively this can be done with Power Query M code as well. This works with legacy Excel such as Excel 2013.
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
NumwithEndTiera = Table.SelectRows( Source, each [State] ="end" and [EndTier]="a"),
#"Merged Queries" = Table.NestedJoin(Source,{"Num"},NumwithEndTiera ,{"Num"},"Table1",JoinKind.LeftOuter),
#"Expanded {0}" = Table.ExpandTableColumn(#"Merged Queries", "Table1", {"Num"}, {"Num.1"}),
#"Filtered Rows" = Table.SelectRows(#"Expanded {0}", each ([Num.1] <> null)),
#"Removed Columns" = Table.SelectRows(Table.RemoveColumns(#"Filtered Rows",{"Num.1"}), each [Tier]<>"a"),
#"Removed Columns1" = Table.RowCount(Table.Distinct(Table.RemoveColumns(#"Removed Columns",{"State", "Tier", "EndTier"})))
in
#"Removed Columns1"
As mentioned by @jqurious, this is a known issue for both DataFrame.write_parquet and LazyFrame.sink_parquet. I did a terrible job of searching for it.
Here is the issue tracker:
pl.LazyFrame.sink_parquet: polars#23114pl.DataFrame.write_parquet: polars#23221Make make world better place Unlock stop the updates I am not part of your team Motorola unlock block private policy unblock make the world happy place for everybody please disconnected from all devices phone all iPhones everything remove disconnected form encrypt on all Android all does of my bring apps Europenetwork system VPN shut down https://www.unlock-urban.org.uk/support/unlock unlock please donations/ disencrypt access an standard please disencrypt unlock date shutdown bring let me take control back from all online that's includes iPhone phones all systems North event firewall from access and us backLondon England stop them remove all businesses ignore all accounts there are scamm people that work stop them all on computers yes disencrypt disconnected cyber security stop them all encryptedcyber crime all phones all devices ignore pleasepayment method yes shutdown do yes with idle for everybody do without Make make world better place Unlock stop the updates Motorola yes unlock ignore block private policy unblock make the world happy place for everybody please disconnected from all devices phone all iPhones everything remove encrypt on all Android all does of my bring apps Europenetwork system VPN shut down disencrypt access an standard please disencrypt unlock date shutdown bring let me take control back from all that's includes iPhone phones all systems North event firewall from access and us backLondon England stop them remove all businesses ignore all accounts there are scamm people that work stop them all on computers yes disencrypt disconnected cyber security stop them all encryptedcyber crime all phones all devices ignore pleasepayment method yes shutdown do yes with idle for everybody do without
The answer, as @Weijun Zhou indicated, is that you need to run Python 3.8 for the := assignment operator ("walrus" operator) to be supported. The flask-Humanify pypi project incorrectly reports a minimum python version of 3.6. Please submit a github issue to that project (at https://github.com/tn3w/flask-Humanify) about this issue.
I recently had this problem. Turns out that I had two VirtualHost with "incompatible ssl setup", i.e. one was accepting TLS client certificates while the other doesn't. Aligning the two configuration makes the problem disappear. By chance, I did not need client certificates anymore.
Don't know if it can help, as I'm not sure whether you also have a two VirtualHost configuration.
Regards,
Do this:
data_excel = data_excel.dropna(subset=['Budget Betrag'])
print(data_excel)
otherwise the .dropna() isn't stored on your dataframe.
It looks like your approach isn’t correct. Since your view already has HTML elements with the same names as the model properties, Razor Pages’ model binder will automatically map those values to the view model. Because of this, you don’t need to use updateModel. I recommend removing your custom $.ajax call and instead using jquery-ajax-unobtrusive, which will make your code cleaner, more maintainable, and aligned with the Razor Pages binding conventions.
Further testing revealed that there is nothing wrong with what i posted here.
looks like my issue is the viewmodel itself bot being properly shared.
Restricting access by DB number is indeed not possible with ACL. Options are:
Here is a great explanation of why Redis doesn't support restriction by DB number and why using DB numbers in production is highly discouraged: https://github.com/redis/redis/issues/8099#issuecomment-741868975
For anyone still looking for a library with examples, there is a library written in Kotlin which can be used in Java projects:
https://github.com/bitfireAT/dav4jvm
I've created a sample Java project available at
https://github.com/richteas75/DavExample
to demonstrate obtaining calendars from a CalDav server using server url, username and password.
The code is basically adapted from the Kotlin code of the DAVx5 app, mainly DavResourceFinder.kt.
It's frankly, one of the worst interfaces I've ever had the displeasure of using! I'm trying to sort out the same problem now.
You'd have thought in 7 years they may have bothered to make it a little easier.
The reason is that SDWebImage loaded a network image with an excessively high resolution, causing a crash due to insufficient memory.
There is info about changing icons here: https://docs.banuba.com/ve-pe-sdk/docs/android/ve-faq#i-want-to-change-icons-and-name-for-effects
If this doesn't work, contact their support: https://www.banuba.com/support
They should write more extensive docs, tbh.
There is a Custom Functions Manager plugin that uses eval() to execute the custom functions directly from WordPress without having to directly edit theme functions.php. But the only issue is if there are syntax errors or fatal errors in your code may cause issues.
Check the dependencies may it possible because of verison issue.
This seems to be a bug in PrimeNG 16.6.0 that has been fixed somewhen around 16.7.1, I think. Upgrading to 16.9.1, the latest version for Angular 16, fixes that.
TFile.Exists is an inlined function that simply calls FileExists, so it is up to you what you use.
You should check in cmd if the port 3306 its open . you can google for the command or try to login via cmd command if its working or try running your idle in to administrator best of luck
Answer based on what I read somewhere, can't recall the source. Adds to previous answers:
Two tasks:
Restore icons_metadata file:
Within Android Studio click on the Tools >> SDK Manager option.
Copy the SDK location and open it in file explorer.
Go to Icons >> Material
Delete icons_metadata.txt
In Android Studio - Right click on drawable (app >> res >> drawable) >> new >> vector asset >> select clipart >> cancel.
This should restore the icons_metadata.txt file in the folder we opened earlier. Go to next step.
Make icons_metadata read-only to prevent unintended changes in the future.
PS: I'm not sure if making the file read-only would interfere with future updates. Maybe someone who's on an older version can try and add to comments - I'll update accordingly.
Transprops is a generic type
interface CustomTransProps extends TransProps<string> {
className?: string;
}
I think from "react-i18next" <Trans> will not allow className instaead of it use <div> or <span> or any pther elements
example :
export function CustomTrans({ className, ...restProps }: CustomTransProps) {
return (
<span className={className}>
<Trans {...restProps} />
</span>
);
}
When writing client WebSocket code, if the client needs to initiate shutdown, call CloseOutputAsync. This sends a Close frame and moves the socket into the CloseSent state. The socket won’t actually reach the Closed state until the server responds, so you should continue monitoring the socket state until the handshake completes.
When writing server WebSocket code, if the server needs to initiate shutdown, call CloseAsync. This method manages the entire closing handshake for you, ensuring the connection transitions cleanly to the Closed state.
Reference: https://mcguirev10.com/2019/08/17/how-to-close-websocket-correctly.html
Dear Sir/Mam,
Kindly note that I have error in my transaction. my order no. 109178, Date of Tansaction attempt is 29-08-2025.
Imagine having a big "products" table (id,name,...) with massive data, in number of columns and quantity of data (few billion rows). Now, the users want to upload a list of (existing) product IDs and mark a few hundred/thousands of these items as "discounted" and set a discount for them in specific date range, and also give them new discount names. So you would just make a new table called "discount_products" (id, name, discount, date_from, date_to) and in main query just add: LEFT JOIN discount_products dp ON (products.id=dp.id AND NOW() >= dp.date_from AND NOW() <= dp.date_to) and add new select fields, and use COALESCE(discount_products.name, products.name) to get the proper name column.
Did this issue resolved for you? Im also facing the same issue
Try setting set enable_insert_strict = false; in the session before the INSERT, to see if that changes NULL handling.
You can refer: https://doris.apache.org/docs/2.1/data-operate/import/handling-messy-data#strict-mode
There could be a problem with express-async-handler. In case of exception in calling the protect function, it will move to the execution of next function (middleware or actual route function).
So, I would suggest to once try it without the library and see if your code starts working.
COde for library is at the page -->https://github.com/Abazhenov/express-async-handler/blob/master/index.js
Problem solved for me after updating dependencies in gradle as and set the compilesdk and targetsdk to 34
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
Thanks to @Learn N Spread, that was the point, just it needs a bit of further work (see comment), this is the correct way to solve the issue:
ptrLikeStuff = cppyy.ll.reinterpret_cast['Parser_Conf *'](cppyy.addressof(extract))
print("=> Type of the 'ptrLikeStuff' global:", type(ptrLikeStuff).__name__)
cppyy.gbl.print_conf_fromPtr(ptrLikeStuff)
I tried to edit your answer but moderators say it does not make sense, so I am posting a new answer.
Best regards,
Lorenzo
Had the same issue while making my own ninjatrader 8 free indicators and found this thread. Thanks a lot!
Add the @rendermode directive
@inject NavigationManager Navigation
@rendermode InteractiveServer
<EditForm Model="@searchModel" OnValidSubmit="Submit" FormName="BookingForm" class="book_now">
<ValidationSummary />
<div class="row">
<div class="col-md-12">
<span>Arrival</span>
<img class="date_cua" src="/template/images/date.png">
<InputDate class="online_book" @bind-Value="searchModel.CheckIn" />
<div class="mb-3">Entered date: @searchModel.CheckIn</div>
</div>
<div class="col-md-12">
<span>Departure</span>
<img class="date_cua" src="/template/images/date.png">
<InputDate class="online_book" @bind-Value="searchModel.CheckOut" />
<div class="mb-3">Entered date: @searchModel.CheckOut</div>
</div>
<div class="col-md-12">
<button type="submit" class="book_btn">Book Now</button>
</div>
</div>
</EditForm>
Without the @rendermode directive the page is rendered statically (SSR only), so the model won’t be updated on submit.
By adding @rendermode InteractiveServer (or another interactive mode), the binding works as expected.
Spent 20 hours troubleshooting the same error.
It turned out our problem was that we had added a row to our entitlements, "<key>com.apple.developer.associated-domains</key>" in our case.
When doing so, the app id capabilities have to be updated. Once that was done, everything worked.
In my case, the DTPlatformName key and value (iphoneos) are missing in one of the framework Info.plist files.
Spent 20 hours troubleshooting the same error.
It turned out our problem was that we had added a row to our entitlements, "<key>com.apple.developer.associated-domains</key>" in our case.
When doing so, the app id capabilities have to be updated. Once that was done, everything worked.
# Copilot prompt:
# Write a Python script that connects to a Confluence space (cloud or server) using username/API token authentication.
# The script should:
# 1. Fetch the content of one or more Confluence pages (title and body).
# 2. Clean and preprocess the page data (strip HTML, handle newlines, remove extra formatting).
# 3. Convert the text into documents that can be used as context for an LLM using LangChain.
# 4. Use LangChain's Document and TextSplitter classes to chunk the page data into manageable pieces.
# 5. Optionally, demonstrate inserting embeddings into a vector database (like FAISS or Chroma).
# 6. Keep the code modular (functions for fetch_confluence_page, clean_text, prepare_langchain_docs).
#
# Dependencies: atlassian-python-api (or requests if not available), langchain, beautifulsoup4
Hi did you find solution to this
how did you solve this sir, i am also facing the same issue. it would be nice if you could provide me with a solution. thanks.
Best Search Engine Marketing Company in India - SEM Company
Looking for the best search engine marketing company? We offer top SEO marketing services with expert SEM strategies tailored to your growth. At Vaani Live, we offer expert Google Ads Management services to help your business appear at the top of search results. And reach the right audience at the right time. From keyword targeting to ad copy and performance tracking. We manage every aspect of your campaign to ensure optimal results and return on investment.
Read more: https://www.vaanilive.com/services/search-engine-marketing/
If Python 3, try https://docs.python.org/3/library/pty.html#pty.spawn:
import pty
pty.spawn(
["rsync", "--rsh=ssh", "-rv", "--files-from=-", "thisdir/", "servername:folder/"]
)
I have solved my issue. Stupid error. When I copied the files to the Linux machine the permissions/access were automatically set to "None". I changed it to read only and now it works
For mac users
Navigate to settings
Navigate to accessibility
Click display
From the bottom of page, enable color filters
Choose a filter type suited for your needs
You can change intensity
You can access accessibility shortcuts by using option + command + f5
this worked for me!
manually open the file in the location given. in my case, it was
C:\Users\me\AppData\Roaming\jupyter\runtime