alatsombath / Fountain-of-Colors

Music visualizer for Rainmeter
https://www.deviantart.com/alatsombath/art/Fountain-of-Colors-desktop-music-visualizer-518894563
95 stars 9 forks source link

v3.8.4 Wallpaper mode issue #21

Open SaberAkiyama opened 5 years ago

SaberAkiyama commented 5 years ago

When I set to "Wallpaper", and I've saw an error log like this:

Exception calling "FromFile" with "1" argument(s): "C:\Users\ (User Name) \AppData\Roaming\Microsoft\Windows\Themes\TranscodedWallpaper"
At line:1 char:35
+ $image = [Drawing.Image]::FromFile <<<< (-join($env:APPDATA,'\Microsoft\Windows\Themes\TranscodedWallpaper'))
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

You cannot call a method on a null-valued expression.
At line:1 char:12
+ $image.Save <<<< ($ms, $image.RawForm (Fountain of Colors\Fountain of Colors.ini)

Also, an error for scripting file issue:

Script: ColorChanger:107: attempt to perform arithmetic on field '?' (a string value)

102 function HorizontalInterpolation()
103   for i = hLowerLimit, hUpperLimit do
104     local c, hPosNorm = 1, hPosNorm[i]
105     for b = 1, 8, 2 do
106       for a = 1, 3 do
107         colorIdx[i][c][a] = (hColorIdx[b][a] * (1 - hPosNorm) + hColorIdx[b+1][a] * hPosNorm)
108       end
109       c = c + 1
110     end
111   end
112 end

By the way, I use Windows 7, Rainmeter v4.3.0.3298 (Latest).