dylanaraps / pywal

🎨 Generate and change color-schemes on the fly.
MIT License
8.23k stars 313 forks source link

Hangs on writing the file #616

Closed arthurmelton closed 2 years ago

arthurmelton commented 2 years ago

I have used this in the past and it has worked but for some reason, it hangs. (I have waited for 1hr to see if it does anything and nope.) What I have observed is that it does everything but save the file (as you can see from the dump) I have no idea why it can but I hope I can. What I get back is

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/pywal/__main__.py", line 208, in main
    parse_args(parser)
  File "/usr/lib/python3.9/site-packages/pywal/__main__.py", line 180, in parse_args
    sequences.send(colors_plain, to_send=not args.s, vte_fix=args.vte)
  File "/usr/lib/python3.9/site-packages/pywal/sequences.py", line 85, in send
    util.save_file(sequences, term)
  File "/usr/lib/python3.9/site-packages/pywal/util.py", line 84, in save_file
    file.write(data)

I hope this helps.

arthurmelton commented 2 years ago

Sorry I saw that you already fixed it you just did not update the pip install way (not with git).

arthurmelton commented 2 years ago

but even with the new version it still hangs tho

arthurmelton commented 2 years ago

so I did find out that restarting my computer did fix it