Comments (4)
Hi,
XFiles should not hang when a thumbnailer fails (returns nonzero); but since it waits for the thumbnailer to exit, XFiles can hang if it does not return.
Can you try to run XFiles on the directory where thumbnailing hangs and check whether it is a thumbnail script not exiting?
On the $HOME
error, I could not reproduce it, can you provide more information on how you faced it?
from xfiles.
XFiles should not hang when a thumbnailer fails (returns nonzero); but since it waits for the thumbnailer to exit, XFiles can hang if it does not return.
so what do i do when thumbnail fails? it fails most of the time and i have to manually delete xfiles cache to regenerate thumbanils.
newfstatat(AT_FDCWD, ".steampath", {st_mode=S_IFLNK|0777, st_size=29, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, ".steampath", 0x7ffe5d959820, 0) = -1 ENOENT (No such file or directory)
write(2, "xfiles: ", 8) = 8
write(2, "/home/sewn", 10) = 10
write(2, ": No such file or directory\n", 28) = 28
i believe above is an error from a dangling symlink from scanning a directory, and such the function responsible for getting files is only provided with an argument, the argument is the error.
you can reproduce this by making an invalid symlink.
from xfiles.
i believe above is an error from a dangling symlink from scanning a directory, and such the function responsible for getting files is only provided with an argument, the argument is the error.
yeah thats the issue, also shouldn't it be printing the name of the file which fails to stat?
Line 520 in e6a181c
should be something like this
if (!(islink && errno == ENOENT))
warn("%s", array[i]->d_name);
from xfiles.
Line 520 in e6a181c
should be something like this
if (!(islink && errno == ENOENT)) warn("%s", array[i]->d_name);
Indeed, it was warning an issue related to the directory, but the issue is related to a file in it.
It is fixed now.
i believe above is an error from a dangling symlink from scanning a directory, and such the function responsible for getting files is only provided with an argument, the argument is the error.
XFiles passes the full path of a file to the thumbnailer, even if it is a broken link, it is upon the thumbnailer command to either exit in failure or save a icon indicating the broken symbol as thumbnail. I still think it is the thumbnailer command which is hanging; if it hang again, can you check XFile's process tree and check whether that is the case?
from xfiles.
Related Issues (20)
- two selection bugs HOT 6
- Virtual root HOT 2
- Virtual filesystem HOT 2
- Seg. fault if the dir contains items owned by non-existent users. HOT 1
- Exec file and symlinc dir icons are no longer shown. HOT 2
- Segmentation fault when selecting a broken symlink HOT 2
- using mime types instead of extensions HOT 2
- Seg fault on close HOT 4
- All XFiles windows have 'Untitled' title when running MLVWM window manager HOT 4
- Spawned terminals override umask to 0000. HOT 1
- Select files as prompt HOT 4
- [Feature Request] Spatial Mode HOT 1
- Xfiles crash when launched trough xclickroot HOT 4
- Refresh file view when folder updates using inotify API
- List view
- XEmbedding terminals and editors via xfilesctl is broken HOT 5
- Change the process' working directory HOT 1
- Could support for the Freedesktop.org Thumbnail specification be added? HOT 4
- [Feature Request] Support zooming or changing the icon size
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 xfiles.