Comments (7)
Hi there @Marlick try add debug true in the json and see if there are any errors
from animated-art-engine.
i have the same issue as you Marlick! but later i found out that there is some code that miss in position, you have to open build.py in step3_generative_sheet_to_output and look out at line 183. after that, you can copy and paste this one at line 183 - 196 (change the previous) and i think it will works for you too:
def generate_gif_gifski(
output_directory, temp_img_folder, gif_name, gif_width, gif_height, kwargs
):
subprocess.run(
f"gifski -o {os.path.join(output_directory, gif_name)} "
f"-r={fps} "
f"-Q={quality} "
f"-W={gif_width} "
f"-H={gif_height} "
f"--repeat={0 if loop_gif else -1} "
f"{temp_img_folder}/*.png ",
shell=True,
**kwargs,
)
from animated-art-engine.
i have the same issue as you Marlick! but later i found out that there is some code that miss in position, you have to open build.py in step3_generative_sheet_to_output and look out at line 183. after that, you can copy and paste this one at line 183 - 196 (change the previous) and i think it will works for you too:
def generate_gif_gifski( output_directory, temp_img_folder, gif_name, gif_width, gif_height, kwargs ): subprocess.run( f"gifski -o {os.path.join(output_directory, gif_name)} " f"-r={fps} " f"-Q={quality} " f"-W={gif_width} " f"-H={gif_height} " f"--repeat={0 if loop_gif else -1} " f"{temp_img_folder}/*.png ", shell=True, **kwargs, )
I try to change the line 183 - 196 code to your provided code and it still doesn't work. Any direction I can do to find the debug log?
from animated-art-engine.
you can add --debug after the command
from animated-art-engine.
you can add --debug after the command
PS C:\Users\SkyYap\Documents\GitHub\animated-art-engine> make all --debug
GNU Make 4.4.1
Built for Windows32
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
Updating goal targets....
File 'all' does not exist.
Must remake target 'all'.
python3 all.py
********CREATING INITIAL JSON*******
********Starting step 1: Converting pngs to spritesheets********
Parsing layer folder Background
Parsing attributes in folder: Dark Blue#20
Parsing attributes in folder: Green#20
Parsing attributes in folder: Grey#20
Parsing attributes in folder: Light Blue#20
Parsing attributes in folder: Multicolor#1
Parsing attributes in folder: Orange#20
Parsing attributes in folder: Pink#20
Parsing attributes in folder: Yellow#20
Parsing layer folder Ball
Parsing attributes in folder: Blue#20
Parsing attributes in folder: Green#20
Parsing attributes in folder: Multicolor#1
Parsing attributes in folder: Orange#20
Parsing attributes in folder: Pink#20
Parsing attributes in folder: Purple#20
Parsing attributes in folder: Red#20
Parsing attributes in folder: Yellow#20
Parsing layer folder Hat
Parsing attributes in folder: Birthday#20
Parsing attributes in folder: Cowboy#20
Parsing attributes in folder: Green Square#5
Parsing attributes in folder: Mini Ball#1
Parsing attributes in folder: None#50
Parsing attributes in folder: Top Hat#20
Parsing attributes in folder: White Cap#20
Parsing attributes in folder: Wizard#1
Parsing layer folder Landscape
Parsing attributes in folder: Cupcake#10
Parsing attributes in folder: Face#20
Parsing attributes in folder: Goldfish#20
Parsing attributes in folder: Green Tower#30
Parsing attributes in folder: Mountain#20
Parsing attributes in folder: None#20
Parsing attributes in folder: Red Tower#30
> [email protected] generate
> node index.js 1 1
(node:23352) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
Created edition: 0, with DNA: 1c921a817eb651d707e4ae8412bb7754e0b6f1223788d87339b8eb2b7fffdb3c
Created edition: 1, with DNA: 42d51bbd5c9c7c4544c14d919b9ddfcbfd7c6ce660d61faff5a9bd519dcf137b
Created edition: 2, with DNA: 4dbd3ad313f8025e2d9459b5c73d800f315ef3c42194b128a00b33977a712c35
Created edition: 3, with DNA: e94fc8fff1048e42183192466acef13329c50ef8593e20fc893885941b1bd01b
********STARTING REGENERATION PROCESS*******
********Starting step 1: Converting pngs to spritesheets********
Parsing layer folder Background
Parsing attributes in folder: Dark Blue#20
Parsing attributes in folder: Green#20
Parsing attributes in folder: Grey#20
Parsing attributes in folder: Light Blue#20
Parsing attributes in folder: Multicolor#1
Parsing attributes in folder: Orange#20
Parsing attributes in folder: Pink#20
Parsing attributes in folder: Yellow#20
Parsing layer folder Ball
Parsing attributes in folder: Blue#20
Parsing attributes in folder: Green#20
Parsing attributes in folder: Multicolor#1
Parsing attributes in folder: Orange#20
Parsing attributes in folder: Pink#20
Parsing attributes in folder: Purple#20
Parsing attributes in folder: Red#20
Parsing attributes in folder: Yellow#20
Parsing layer folder Hat
Parsing attributes in folder: Birthday#20
Parsing attributes in folder: Cowboy#20
Parsing attributes in folder: Green Square#5
Parsing attributes in folder: Mini Ball#1
Parsing attributes in folder: None#50
Parsing attributes in folder: Top Hat#20
Parsing attributes in folder: White Cap#20
Parsing attributes in folder: Wizard#1
Parsing layer folder Landscape
Parsing attributes in folder: Cupcake#10
Parsing attributes in folder: Face#20
Parsing attributes in folder: Goldfish#20
Parsing attributes in folder: Green Tower#30
Parsing attributes in folder: Mountain#20
Parsing attributes in folder: None#20
Parsing attributes in folder: Red Tower#30
> [email protected] create_from_dna
> node utils/createFromDNA.js 0 12000
> [email protected] create_from_dna
> node utils/createFromDNA.js 1 12000
> [email protected] create_from_dna
> node utils/createFromDNA.js 2 12000
> [email protected] create_from_dna
> node utils/createFromDNA.js 3 12000
Starting step 3: Converting sprite sheets to gif
Converting spritesheet to gif for 0.png
Converting spritesheet to gif for 1.png
Converting spritesheet to gif for 2.png
Converting spritesheet to gif for 3.png
Successfully remade target file 'all'.
No special instruction was shown and yet the build/gif
from animated-art-engine.
Same issue, any solution?
from animated-art-engine.
Same issue, any solution?
still facing the same issue.
from animated-art-engine.
Related Issues (20)
- Make Regenerate
- Please help with Random
- ffmpeg -version block HOT 4
- DNA exists issue HOT 2
- Grouping and batching doesn't work with new make all that recreates all HOT 2
- audio files
- Canvas/Cairo Issue - can't run 'make all' [canvas.node, 0x0001): symbol not found in flat namespace '_cairo_fill'] HOT 2
- Error with PIL_image HOT 3
- Please help! Can't get this working on Mac arm64 HOT 1
- I've got problem with trait assigned in json file HOT 2
- PermissionError: [WinError 5] Access denied: 'step2_spritesheet_to_generative_sheet/output/images' HOT 1
- No output images in build folder HOT 3
- const incompatible function doesn't work HOT 3
- shuffleLayerConfigurations = true only shuffles the json files, not the gifs
- make all not working
- Step 2 Canvas Size Error? HOT 4
- frame repeats for the first 2 frames HOT 1
- Delete metadata.json file HOT 2
- Error when running Make first time setup command.
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 animated-art-engine.