Comments (7)
Hi,
It seems to be a bug with permissions on your system. I have checked and we are properly calling getPath
function after ready
event of the app. 'documents'
is a standard param for the getPath
function so it must be something with permissions on your OS
from publii.
That's highly possible, but I'm sure if I knew what you are talking about, I would have already fixed it.
How did you check the getPath ?
Is that test is related to my Windows or to Publii ?
from publii.
In my opinion it is related to your Windows. There can be 2 possible reasons:
-
Permissions: There might be permission issues that prevent Electron from accessing the documents directory. Make sure your application has the necessary permissions to access the file system.
-
System-Specific Issues: The user's documents directory could be configured in a non-standard way on their system, or there could be an issue with the operating system that's preventing access to the directory.
getPath function throws error if the specific path (in this case documents) is not available.
Also I have read somewhere that some users can use One Drive sync with their documents folder - are you using this feature? Maybe it is a problem caused by One Drive sync and marking the folder resource as busy?
from publii.
so;
it work when I disable Memory integrity
https://support.microsoft.com/en-us/windows/core-isolation-e30ed737-17d8-42f3-a2a9-87521df09b78
from publii.
@JOduMonT - that's interesting - on my Windows laptop used for tests I have this settings enabled and Publii works fine. I suppose that it can be related to some additional settings which are enabled with this option, but to be honest - I have no idea which one :/
from publii.
@JOduMonT - that's interesting - on my Windows laptop used for tests I have this settings enabled and Publii works fine. I suppose that it can be related to some additional settings which are enabled with this option, but to be honest - I have no idea which one :/
yes; I disabled it for the installation
then by curiosity renebled it and then now Publii works even with that option enabled
it make me think it's more related to a dependancy then Publii itself.
from publii.
today I hit that issue again; and it was not during the installation;
I would say it's a user behavior issue ;)
I'm curious if someone could try my mis behavior to see if it's related or not to it.
Basically
- Close Publii
- Goto ./Publii directory
- Delete everything inside
- Reopen Publii
== then in my case; only backups, languages and plugins are recreated then I have the error
🤔 which make me think that it miss the super user privileges to create the reset; which was probably only allow during the 1st installation of the app.
from publii.
Related Issues (20)
- [Question]: Custom Wrapper possible?
- [Bug]: Json Feed show only Default Author name HOT 1
- [Bug]: Cannot upload website via FTP, FTPS or SFTP HOT 5
- [Feature Request]: Import from Mastodon thread
- [Bug]: Rendering process failed An error occurred during rendering process: "undefined" is not valid JSON HOT 4
- [Bug]: [Windows 11] Crash upon launching - "A Javascript error occured in the main process" HOT 2
- [Bug]: language change error occurred - please try again
- [Bug]: SQL3 error: database locked HOT 2
- [Bug]: Meta robots tag not generated when (index, follow) is selected. HOT 2
- [Feature Request]: 希望官网能加入中文
- [Feature Request]: how can i sync websites in multiple working computers conveniently ? HOT 5
- Please delete this
- [Feature Request]: Reduce the size of the featured image
- [Feature Request]: Email address obfuscation/encryption HOT 1
- [Feature Request]: XMPP: Post to PubSub
- [Feature Request]: Finetune for Content Security Policy
- [Feature Request]: Allow video as featured image HOT 2
- [Bug]: Paste option on right click menu
- [Bug]: changing ssh key results in JS error
- [Bug]: Posts-dropdown / tags-dropdown UI cannot be seen or edited in Publii app
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from publii.