Comments (19)
Had the same problem with a standard image. It worked when I converted my image to RGB - 8 bits/channel
from gource.
@Pontesegger's fix worked for me as well. It appears that whatever library gource is using to read PNG files on macOS doesn't like 8-bit grayscale PNGs. Converting them to 8bit RGB fixes the problem.
from gource.
I just re-saved all the PNG images and re-commited them: 56b7b30
I'm curious if this fixes the issue.
You could copy them into /usr/local/share/gource/
or install it with brew install gource --HEAD
from gource.
Maybe try uninstalling and reinstalling libpng, sdl2, sdl2_image packages, then reinstall gource. Also check the file permissions on /usr/local/share/gource/ and file.png are readable by your user.
You could put some debug in src/core/texture.cpp TextureResource::load(bool reload) to see why it is failing. If IMG_Load() is failing to return a surface then it is maybe a problem with your sdl2_image (or file permissions, or something).
from gource.
The same issue here, tried recompile from sources, head, and dev, the same error
from gource.
Hey, encountered same error, uninstalled libpng, sdl2, sdl2_image packages and refreshed the install of using homebrew, no luck.
[06:25 PM | grizzly] $ gource
gource: failed to load resource '/opt/boxen/homebrew/Cellar/gource/0.43_3/share/gource/file.png'
from gource.
Same issue here, tried to uninstall sdl2, sdl2_image and libpng packages, no luck (too).
from gource.
I installed via brew install gource
and this is happening for me as well.
from gource.
bug still here
from gource.
Does gource use any structures in libpng which were removed ie. during the shift to latest 1.6.x branch? Just wondering. Gource's file INSTALL suggests having a libpng12 and what I reckoned, from there onwards, PNG library project page says that there's been changes in ie. removing direct access to "internals" like some PNG's structs. Seems a bit similar as: http://stackoverflow.com/questions/21472958/sdl-image-img-load-fails-on-png
from gource.
I'm experiencing this as well. Any updates on this, or anything we can give you to help you resolve this issue? I've had the same result with a version installed from apt-get (Ubuntu), as well as installing every dependency manually and then compiling Gource from source.
from gource.
Gource uses SDL2_image library to load pngs. Presumably the SDL2_image IMG_Load() function in texture.cpp is failing to load the image. It could be a problem with that library or how Gource uses it (e.g. something wrong with configure.ac).
from gource.
For what it's worth: The path is correct, the file is a working PNG, and 777 permissions do not solve it.
Edit: Would an strace log help?
Inspecting with GDB shows that it is the IMG_Load call that's the issue, returning '0'. Haven't found any further clues. Both SDL 1.2 and SDL 2 seem to cause the same issue.
from gource.
I manually compiled and installed SDL2 from their website, and that has seemed to resolve it!
https://www.libsdl.org/projects/SDL_image/
from gource.
Yeah !!! At last !
Thank you, it works here also !
Le 10 nov. 2016 à 13:38, Erik [email protected] a écrit :
I manually compiled and installed SDL2 from their website, and that has seemed to resolve it!
https://www.libsdl.org/projects/SDL_image/ https://www.libsdl.org/projects/SDL_image/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #43 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AAZNGXdWFB7YohJV9CnMQH5uaTxlpJXhks5q8xA8gaJpZM4GcHLl.
from gource.
On Windows go into gource folder and open the folder named data and look for a file named file.png. If it is not there replace it with the file.png from the gource repository.
from gource.
This problems still occurs with gource 0.44 installed via homebrew. Is there any chance that this will get solved at any point?
from gource.
lesteenman comment implies to me its a problem with the SDL2_image package in homebrew.
from gource.
Same problem still here (on Windows 10)
from gource.
Related Issues (20)
- Wiki > Videos: Incorrect markdown for link HOT 1
- CJK support HOT 2
- Is Gource safe to use on private repos? HOT 5
- fails to parse git log straight from repo HOT 1
- no --version arg
- Perforce python script
- Feature request: Option to hide/exclude certain directories from output. HOT 2
- --fixed-user-size breaks user name distance
- [Feature Request] Show simultainiusly Developer Count while Video is running.
- Can't use REGEX in windows powershell HOT 1
- usage for video HOT 1
- How to always show directory names HOT 2
- Unable to start on Wayland session
- Advanced Styling and related bugs
- using gource to map pretty network graphs
- has gravatar changed their api?
- Title and Key collision
- Documentation: document data privacy aspects of using gource
- Link to http://opengroup.org/onlinepubs/007908799/xsh/strftime.html no longer works
- gource as a reference for an evolutionary dataset generation framework from codebases
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 gource.