Open tobiasBora opened 1 year ago
Note that this issue has been reported repeatedly (might be caused when decorator is too recent… but hey in 2023 there is no reason to use a really old version of decorator if master can handle a more recent one), I don’t know why for some people upgrading solves the issue, for others it does not solve anything… at least on NixOs I can’t find any other alternative than upgrading moviepy to master instead of 1.0.3. Some related issues:
https://github.com/Zulko/moviepy/issues/1625#issuecomment-973056577 fixed decorator problem
@linyu0219 this is a hack as my understanding of this command is that it downgrades the version of decorator, which might create conflicts if other libraries require a recent version. Moreover, this does not work on Nix where the version of each package is pinned for maximum reproducibility (and of course Nix packs the latest version of decorator). Since master seems to be compatible with the latest version of decorator, why can't we create a new release?
This does not resolve the mentioned issue, after uninstalling decorator and installing moviepy, I get Successfully installed decorator-4.4.2 moviepy-1.0.3
. However same error occurs when performing the before mentioned. Python : 3.10
Have you tried with master? The point of this issue is to create a new release as 1.0.3 is not working while master seems to solve this problem.
See my comment and suggestion in Issue #1986 .
This sounds like a duplicate of #1986, in which case I'd like to close this ticket in favour of the other one. As pointed out above, it contains comments which suggest to update to the latest master
. Please check if upgrading fixes the issue.
Ah, @tobiasBora you yourself said it fixed it for you, can we close this? I'm trying to point all duplicates to the other ticket. Thx.
Well this issue is technically unrelated, I just ask for an official release.
Well this issue is technically unrelated, I just ask for an official release.
Doesn't this then just translate to... adding noise? New tickets for known issues don't speed things up, they only add (administrative) overhead.
Expected Behavior
A code as simple as:
should work. As shown below, it fails with the version 1.0.3, but not with master, so it might be time to release a new version.
Actual Behavior
It will fail (at least on any recent NixOs, including unstable, that packs latest version of moviepy 1.0.3):
However, if I upgrade the source code of moviepy (while maintaining the version of all other packages and libraries), the error is gone.
In NixOs, this can be done, eg. by changing in the derivation:
with:
I would happily submit this change online, but I seems cleaner to create first a new version upstream, so that NixOs only follows official versions… especially as no release has been made in the last 3 years!
Steps to Reproduce the Problem
On any system with a recent nix installed, enter into a shell with the appropriate dependencies locally loaded with:
(not extremely good looking, but at least it’s a one liner that pins precisely the good dependencies, that should be fairly reproducible due to the pure nature of nix, and that will not install or disturb in any way the host system, again due to the pure nature of nix) Then, run:
and experience the issue.
Now, to see the fix, exit the shell with Ctrl-D to unload the dependencies, then:
(even less good looking, but at least it is a one-liner that patches moviepy appropriately while not changing anything on the host system) and run again the same ipython commands: it should work.
Specifications