Skip to content

Default example doesn't work #1

@quadrismegistus

Description

@quadrismegistus

Am I doing something wrong? I'm running the code exactly as in the readme.

(base) ryan@sisko~/etc/clippy 13:50:42 $ python clip.py art/sea/boats/small_boat_1/ 100 3 -c
sh: color: command not found
sh: cls: command not found
Traceback (most recent call last):
  File "clip.py", line 376, in <module>
    clippy(args.path, args.speed, args.cycles, args.color)
  File "clip.py", line 370, in clippy
    clip = Clip(path, speed, cycles, color)
  File "clip.py", line 205, in __init__
    raise ClipException("""
__main__.ClipException: 
                    Your folder specified by path, must contain a subfolder 
                    called 'ascii'. This ascii subfolder must contain at least 
                    1 txt file. Your folder hierarchy should look similar to:

                    C:.
                    └───art
                        ├───animals
                        ├───buildings
                        │   └───castles
                        ...     └───my_folder
                                    └───ascii
                                        └───my_art_1.txt
                                        └───my_art_2.txt
                                        ...
                                        ...
                                        └───my_art_n.txt

                    
(base) ryan@sisko~/etc/clippy 13:50:43 $ ls art/sea/boats/small_boat_1/ascii/
small_boat_1a.txt	small_boat_1d.txt	small_boat_1g.txt	small_boat_1j.txt	small_boat_1m.txt
small_boat_1b.txt	small_boat_1e.txt	small_boat_1h.txt	small_boat_1k.txt	small_boat_1n.txt
small_boat_1c.txt	small_boat_1f.txt	small_boat_1i.txt	small_boat_1l.txt	small_boat_1o.txt

Thanks for a cute and creative library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions