It is currently March 29th, 2024, 8:35 am

VKontakte Player 2.4.0

Share and get help with Plugins and Addons
User avatar
Active Colors
Moderator
Posts: 1251
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

Re: VKontakte Player 2.1.0

Post by Active Colors »

Aragas wrote:Are you sure that you use corrent login/pass/twofactor? Even then it shouldn't throw an exception
Yes for sure I use correct password. Can you implement some logging functionality to track on which step the error appears?
User avatar
Aragas
Posts: 64
Joined: December 24th, 2012, 6:56 pm

Re: VKontakte Player 2.1.0

Post by Aragas »

Active Colors wrote:Yes for sure I use correct password. Can you implement some logging functionality to track on which step the error appears?
Will do. Just hope this isn't a VKNet bug.
User avatar
Active Colors
Moderator
Posts: 1251
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

Re: VKontakte Player 2.1.0

Post by Active Colors »

Aragas wrote:Will do. Just hope this isn't a VKNet bug.
Well, it worked first time as I mentioned before. Not sure what happens after that. Do you store any configs? Any possibility to reset any settings?
User avatar
Aragas
Posts: 64
Joined: December 24th, 2012, 6:56 pm

Re: VKontakte Player 2.1.0

Post by Aragas »

Active Colors wrote:Well, it worked first time as I mentioned before. Not sure what happens after that. Do you store any configs? Any possibility to reset any settings?
No, that's the funny thing. It isn't saving anything except music.
Replace the RainManager.dll in "%APPDATA%\Roaming\Rainmeter\Plugins" with one of attached, depends on your platform ofc.
UDPADE:
Forgot the main part. It will write a crash report in "%APPDATA%\Roaming\Rainmeter\RainManager", just upload it here.
You do not have the required permissions to view the files attached to this post.
User avatar
Active Colors
Moderator
Posts: 1251
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

Re: VKontakte Player 2.1.0

Post by Active Colors »

Aragas wrote:No, that's the funny thing. It isn't saving anything except music.
Replace the RainManager.dll in "%APPDATA%\Roaming\Rainmeter\Plugins" with one of attached, depends on your platform ofc.
UDPADE:
Forgot the main part. It will write a crash report in "%APPDATA%\Roaming\Rainmeter\RainManager", just upload it here.
After updating RainManager I don't get any logs. Possibly it crashes before the RainManager is initialized.
zz.PNG
You do not have the required permissions to view the files attached to this post.
User avatar
Aragas
Posts: 64
Joined: December 24th, 2012, 6:56 pm

Re: VKontakte Player 2.1.0

Post by Aragas »

Active Colors wrote:After updating RainManager I don't get any logs. Possibly it crashes before the RainManager is initialized.
zz.PNG
My fault, fixed.
Check it now in "%USERPROFILE%\Documents\Rainmeter\RainManager"
I think VK requires capcha, but I need confirmation.
You do not have the required permissions to view the files attached to this post.
User avatar
Active Colors
Moderator
Posts: 1251
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

Re: VKontakte Player 2.1.0

Post by Active Colors »

Aragas wrote:My fault, fixed.
Check it now in "%USERPROFILE%\Documents\Rainmeter\RainManager"
I think VK requires capcha, but I need confirmation.
I think API allows you to retrieve captcha. Or maybe it checks the useragent. Can it be changed?

Log:

Code: Select all

RainManager Crash Log Report v 1.0.4.0
System specifications:
Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1 [.NET]
Core architecture: 64 Bit
System language: English (United States)
Logical processors: 4
Error information:
Type: VkNet.Exception.VkApiException
Message: Form element not found.
HelpLink: Empty
Source: VkNet
TargetSite : HtmlAgilityPack.HtmlNode GetFormNode()
CallStack:
   at VkNet.Utils.WebForm.GetFormNode()
   at VkNet.Utils.WebForm.ParseInputs()
   at VkNet.Utils.WebForm..ctor(WebCallResult result)
   at VkNet.Utils.Browser.Authorize(UInt64 appId, String email, String password, Settings settings, Func`1 code, Nullable`1 captchaSid, String captchaKey, String host, Nullable`1 port)
   at VkNet.VkApi.Authorize(UInt64 appId, String emailOrPhone, String password, Settings settings, Func`1 code, Nullable`1 captchaSid, String captchaKey, String host, Nullable`1 port)
   at VkNet.VkApi.Authorize(ApiAuthParams params)
   at VKPlayer.Plugin.AudioPlayerSkin.AuthorizationForm_SubmitClicked(String login, String pass, String twofactor)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.ShowDialog()
   at VKPlayer.Plugin.AudioPlayerSkin.ExecuteBang(String command)
   at RainManager.RainmeterSkinHandler.M_ExecuteBang(IntPtr measurePtr, String args)
   at RainManager.PluginAPI.ExecuteBang(IntPtr measurePtr, IntPtr argsPtr)
You should report this error if it is reproduceable or you could not solve it by yourself.
UPDATE: Just noticed you updated main skin. I downloaded new version. Here is the new log:

Code: Select all

RainManager Crash Log Report v 1.0.4.0
System specifications:
Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1 [.NET]
Core architecture: 64 Bit
System language: English (United States)
Logical processors: 4
Error information:
Type: VkNet.Exception.VkApiException
Message: Form element not found.
HelpLink: Empty
Source: VkNet
TargetSite : HtmlAgilityPack.HtmlNode GetFormNode()
CallStack:
   at VkNet.Utils.WebForm.GetFormNode()
   at VkNet.Utils.WebForm.ParseInputs()
   at VkNet.Utils.WebForm..ctor(WebCallResult result)
   at VkNet.Utils.Browser.Authorize(UInt64 appId, String email, String password, Settings settings, Func`1 code, Nullable`1 captchaSid, String captchaKey, String host, Nullable`1 port)
   at VkNet.VkApi.Authorize(UInt64 appId, String emailOrPhone, String password, Settings settings, Func`1 code, Nullable`1 captchaSid, String captchaKey, String host, Nullable`1 port)
   at VkNet.VkApi.Authorize(ApiAuthParams params)
   at VKPlayer.Plugin.AudioPlayerSkin.Authorize(String login, String pass, String twofactor, Nullable`1 sid, String capcha)
   at VKPlayer.Plugin.AudioPlayerSkin.AuthorizationForm_SubmitClicked(String login, String pass, String twofactor)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.ShowDialog()
   at VKPlayer.Plugin.AudioPlayerSkin.ExecuteBang(String command)
   at RainManager.RainmeterSkinHandler.M_ExecuteBang(IntPtr measurePtr, String args)
   at RainManager.PluginAPI.ExecuteBang(IntPtr measurePtr, IntPtr argsPtr)
You should report this error if it is reproduceable or you could not solve it by yourself.
User avatar
Aragas
Posts: 64
Joined: December 24th, 2012, 6:56 pm

Re: VKontakte Player 2.1.0

Post by Aragas »

Active Colors wrote:I think API allows you to retrieve captcha. Or maybe it checks the useragent. Can it be changed?

Log:
UPDATE: Just noticed you updated main skin. I downloaded new version. Here is the new log:
Thanks for your response! This error is from the VK API library, not from my code. I will try to find a fix soon
User avatar
Active Colors
Moderator
Posts: 1251
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

Re: VKontakte Player 2.1.0

Post by Active Colors »

Aragas wrote:Thanks for your response! This error is from the VK API library, not from my code. I will try to find a fix soon
Would be awesome if you could find a fix. Best of luck!
Exchy
Posts: 1
Joined: November 1st, 2016, 12:34 pm

Re: VKontakte Player 2.4.0

Post by Exchy »

I can't install any version of VK player above 2.2.1, Rainmeter says it's not a valid packaged
You do not have the required permissions to view the files attached to this post.