StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
hanzy  
#1 Posted : Friday, June 28, 2019 1:43:49 PM(UTC)
hanzy

Rank: Member

Reputation:

Groups: Approved
Joined: 6/28/2019(UTC)
Posts: 15
China
Location: Guiyang

Thanks: 1 times
hi Rob! great work as ever! but i'm currently encountering a sync error.

i registered an account to utilize the bult-in sync service. but everytime i click the sync option in the context menu of s+.net from system-tray, there's a popup saying "downloading settings error: 'internal server error'". and i can't upload my settings either.
i think my network is fine. so why? does it have anything to do with my account settings or what?

thank you again for the work.
Rob  
#2 Posted : Friday, June 28, 2019 2:08:43 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 536
United States

Thanks: 5 times
Was thanked: 113 time(s) in 100 post(s)
Hmm, I'll have to look into that.

I might need to update the website to add some extra logging so I can see what error you're receiving behind the scenes.

I'm assuming you've clicked Logout then logged back in, right?
hanzy  
#3 Posted : Friday, June 28, 2019 2:31:57 PM(UTC)
hanzy

Rank: Member

Reputation:

Groups: Approved
Joined: 6/28/2019(UTC)
Posts: 15
China
Location: Guiyang

Thanks: 1 times
Originally Posted by: Rob Go to Quoted Post
Hmm, I'll have to look into that.

I might need to update the website to add some extra logging so I can see what error you're receiving behind the scenes.

I'm assuming you've clicked Logout then logged back in, right?


well, after i registered and activated my account, i tried the sync service and failed. i don't recall i have clicked logout...
Rob  
#4 Posted : Saturday, June 29, 2019 3:24:15 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 536
United States

Thanks: 5 times
Was thanked: 113 time(s) in 100 post(s)
I've installed ELMAH in the website's code, so I should be able to see the error next time it happens.

Reply here the the date/time you try (including your time zone) and I'll check the logs to see what the error is.
hanzy  
#5 Posted : Saturday, June 29, 2019 4:15:00 AM(UTC)
hanzy

Rank: Member

Reputation:

Groups: Approved
Joined: 6/28/2019(UTC)
Posts: 15
China
Location: Guiyang

Thanks: 1 times
Originally Posted by: Rob Go to Quoted Post
I've installed ELMAH in the website's code, so I should be able to see the error next time it happens.

Reply here the the date/time you try (including your time zone) and I'll check the logs to see what the error is.

i tried just now and failed again.
time: 18: 14
date:29, june.
timezone: beijing.
Rob  
#6 Posted : Saturday, June 29, 2019 4:24:43 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 536
United States

Thanks: 5 times
Was thanked: 113 time(s) in 100 post(s)
Well that's interesting, no error is showing in the logs. I'm going to push out an update sometime today with some code that will copy the error/response HTML to the clipboard on failure, maybe that will help.
Rob  
#7 Posted : Saturday, June 29, 2019 4:38:36 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 536
United States

Thanks: 5 times
Was thanked: 113 time(s) in 100 post(s)
0.3.1.9 should now copy the error to the clipboard if it fails. So after you try, just open Notepad or something and Control+V/Paste...or paste it here in this thread, I suppose.
hanzy  
#8 Posted : Saturday, June 29, 2019 6:29:46 AM(UTC)
hanzy

Rank: Member

Reputation:

Groups: Approved
Joined: 6/28/2019(UTC)
Posts: 15
China
Location: Guiyang

Thanks: 1 times
Originally Posted by: Rob Go to Quoted Post
0.3.1.9 should now copy the error to the clipboard if it fails. So after you try, just open Notepad or something and Control+V/Paste...or paste it here in this thread, I suppose.


here is what i get:

<!DOCTYPE html>
<html>
<head>
<title>StrokesPlus.net - Error</title>
<meta name="keywords" content="windows, mouse gestures, strokeit alternative, gestures, windows 7, windows 8, free, freeware, text expansion, touch screen, hot keys, scripting, automation">
<meta name="description" content="The free and powerful mouse gesture program for Windows 7 SP1 to Windows 10, available in 32-bit and 64-bit.">
<meta name="author" content="StrokesPlus.net - Rob Yapchanyk">
<meta name="theme-color" content="#00CCFF">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-27904082-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'UA-27904082-2');
</script>
<link rel="icon" sizes="256x256" type="image/png" href="/images/Sp256x256_Cyan.png">
<link id="favicon"
rel="icon"
type="image/png"
href="/icon.png">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
#background {
z-index: -999;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('/images/StrokesPlus.net_NoBG.svg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: contain;
background-position: center;
opacity: 0.05;
filter:alpha(opacity=05);
}
</style>
<link href="/Content/css?v=2D9DvCeZfKwCPrwZJBEOh-jv-MehHzLXK7Yb8x8vbWM1" rel="stylesheet"/>

<script src="/bundles/modernizr?v=w9fZKPSiHtN4N4FRqV7jn-3kGoQY5hHpkwFv5TfMrus1"></script>

</head>
<body>
<div class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div style="border: 2px solid #cccccc; background-color: #FFFFFF; height: 47px; border-radius:50%; width: 47px; margin-left:2px;margin-top:2px;text-align:center;">
<a href="/">
<img src="/images/Sp36x36.png" border="0" style="width:36px;height:36px;margin-left:5px;margin-top:3px;" alt="StrokesPlus.net" title="StrokesPlus.net" />
</a>
</div>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="hidden-sm"><a href="/">Home</a></li>
<li><a href="/Features">Features</a></li>
<li><a href="/Screenshots">Screenshots</a></li>
<li><a href="/FAQ">FAQ</a></li>
<!--<li><a href="/Membership">Membership</a></li>-->
<li><a href="/Downloads">Downloads</a></li>
<li><a href="https://forum.strokesplus.net">Forum</a></li>
<li><a href="/Translation">Translation</a></li>
<li><a href="/Help">Help</a></li>
</ul>
<form action="/Account/LogOff" class="navbar-right" id="logoutForm" method="post"><input name="__RequestVerificationToken" type="hidden" value="GLqSC9np1BoDHQwzJ-Cm6Tog7aahZ_kJcgf-EZJytm8rLvXl4JFGkpxJD_epOX46ZrmOJ0t5NxYckfhEG5faudKszgFulfz29Knc0XKdWc1lzlCNQVCmjxuotcZv3kA_6Y0OLg2" /> <ul class="nav navbar-nav navbar-right">
<!--<li>
<a href="/Manage" title="Manage">Hello hanzy!</a>
</li>-->
<li><a href="javascript:document.getElementById('logoutForm').submit()">Sign Out</a></li>
</ul>
</form>
</div>
</div>
</div>
<div id="background"></div>
<div class="container body-content">



<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">An error occurred while processing your request.</h2>


<!--
<hr />
<footer>
<p>&copy; 2019 - Rob Yapchanyk</p>
</footer>
-->
</div>

<script src="/bundles/jquery?v=M552tGwpbxyE0RkheBDCh-odjZ90lxzXTh-V82YYM2Y1"></script>

<script src="/bundles/bootstrap?v=bbEJ2ScKVlyqWjTgYuKEkUz-ttkkonivutKu1shtpzM1"></script>


</body>
</html>
Rob  
#9 Posted : Saturday, June 29, 2019 11:29:17 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 536
United States

Thanks: 5 times
Was thanked: 113 time(s) in 100 post(s)
Ha, I should enable remote errors so you actually get a meaningful response which is helpful for me to troubleshoot, since ELMAH doesn't seem to be catching it.

Try it again and post the results.
hanzy  
#10 Posted : Saturday, June 29, 2019 11:57:07 AM(UTC)
hanzy

Rank: Member

Reputation:

Groups: Approved
Joined: 6/28/2019(UTC)
Posts: 15
China
Location: Guiyang

Thanks: 1 times
Originally Posted by: Rob Go to Quoted Post
Ha, I should enable remote errors so you actually get a meaningful response which is helpful for me to troubleshoot, since ELMAH doesn't seem to be catching it.

Try it again and post the results.


tried and wish it help:


<!DOCTYPE html>
<html>
<head>
<title>The parameters dictionary contains a null entry for parameter 'enddate' of non-nullable type 'System.DateTime' for method 'System.Web.Mvc.JsonResult ApiGetSyncList(System.String, System.String, System.String, System.String, System.DateTime, Int32, Int32)' in 'StrokesPlus.net_MVC.Controllers.AccountController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.<br>Parameter name: parameters</title>
<meta name="viewport" content="width=device-width" />
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
@media screen and (max-width: 639px) {
pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
}
@media screen and (max-width: 479px) {
pre { width: 280px; }
}
</style>
</head>

<body bgcolor="white">

<span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>

<h2> <i>The parameters dictionary contains a null entry for parameter 'enddate' of non-nullable type 'System.DateTime' for method 'System.Web.Mvc.JsonResult ApiGetSyncList(System.String, System.String, System.String, System.String, System.DateTime, Int32, Int32)' in 'StrokesPlus.net_MVC.Controllers.AccountController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.<br>Parameter name: parameters</i> </h2></span>

<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

<b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

<br><br>

<b> Exception Details: </b>System.ArgumentException: The parameters dictionary contains a null entry for parameter 'enddate' of non-nullable type 'System.DateTime' for method 'System.Web.Mvc.JsonResult ApiGetSyncList(System.String, System.String, System.String, System.String, System.DateTime, Int32, Int32)' in 'StrokesPlus.net_MVC.Controllers.AccountController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.<br>Parameter name: parameters<br><br>

<b>Source Error:</b> <br><br>

<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>

</td>
</tr>
</table>

<br>

<b>Stack Trace:</b> <br><br>

<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>

[ArgumentException: The parameters dictionary contains a null entry for parameter &#39;enddate&#39; of non-nullable type &#39;System.DateTime&#39; for method &#39;System.Web.Mvc.JsonResult ApiGetSyncList(System.String, System.String, System.String, System.String, System.DateTime, Int32, Int32)&#39; in &#39;StrokesPlus.net_MVC.Controllers.AccountController&#39;. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters]
System.Web.Mvc.ActionDescriptor.ExtractParameterFromDictionary(ParameterInfo parameterInfo, IDictionary`2 parameters, MethodInfo methodInfo) +430
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +111
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
System.Web.Mvc.Async.&lt;&gt;c.&lt;BeginInvokeSynchronousActionMethod&gt;b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39
System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +77
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42
System.Web.Mvc.Async.&lt;&gt;c__DisplayClass11_0.&lt;InvokeActionMethodFilterAsynchronouslyRecursive&gt;b__0() +80
System.Web.Mvc.Async.&lt;&gt;c__DisplayClass11_2.&lt;InvokeActionMethodFilterAsynchronouslyRecursive&gt;b__2() +387
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42
System.Web.Mvc.Async.&lt;&gt;c__DisplayClass3_6.&lt;BeginInvokeAction&gt;b__4() +50
System.Web.Mvc.Async.&lt;&gt;c__DisplayClass3_1.&lt;BeginInvokeAction&gt;b__1(IAsyncResult asyncResult) +188
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
System.Web.Mvc.&lt;&gt;c.&lt;BeginExecuteCore&gt;b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState) +26
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
System.Web.Mvc.&lt;&gt;c.&lt;BeginProcessRequest&gt;b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState) +40
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +648
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +131
</pre></code>

</td>
</tr>
</table>

<br>

<hr width=100% size=1 color=silver>

<b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0

</font>

</body>
</html>
<!--
[ArgumentException]: The parameters dictionary contains a null entry for parameter &#39;enddate&#39; of non-nullable type &#39;System.DateTime&#39; for method &#39;System.Web.Mvc.JsonResult ApiGetSyncList(System.String, System.String, System.String, System.String, System.DateTime, Int32, Int32)&#39; in &#39;StrokesPlus.net_MVC.Controllers.AccountController&#39;. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters
at System.Web.Mvc.ActionDescriptor.ExtractParameterFromDictionary(ParameterInfo parameterInfo, IDictionary`2 parameters, MethodInfo methodInfo)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_6.<BeginInvokeAction>b__4()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
--><!--
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->
Rob  
#11 Posted : Saturday, June 29, 2019 12:12:16 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 536
United States

Thanks: 5 times
Was thanked: 113 time(s) in 100 post(s)
Code:
The parameters dictionary contains a null entry for parameter "enddate" of non-nullable type "System.DateTime"


Okay, now we're getting somewhere!

So it is getting an invalid or missing enddate, which explains the error.

What do you see in the Date dropdown in the Sync Settings window? Or are you not able to get that window top open at all?
hanzy  
#12 Posted : Saturday, June 29, 2019 12:30:46 PM(UTC)
hanzy

Rank: Member

Reputation:

Groups: Approved
Joined: 6/28/2019(UTC)
Posts: 15
China
Location: Guiyang

Thanks: 1 times
Originally Posted by: Rob Go to Quoted Post
Code:
The parameters dictionary contains a null entry for parameter "enddate" of non-nullable type "System.DateTime"


Okay, now we're getting somewhere!

So it is getting an invalid or missing enddate, which explains the error.

What do you see in the Date dropdown in the Sync Settings window? Or are you not able to get that window top open at all?


well, i can see the drop calendar... could it be a localization problem?

UserPostedImage
UserPostedImage

Rob  
#13 Posted : Saturday, June 29, 2019 12:49:11 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 536
United States

Thanks: 5 times
Was thanked: 113 time(s) in 100 post(s)
Looks like it's something about Chinese month names https://stackoverflow.com/questions/35909221/chinese-date-string-not-recognized-at-a-valid-datetime.

I'll have look into this a little more to see how to handle these.
hanzy  
#14 Posted : Saturday, June 29, 2019 12:54:02 PM(UTC)
hanzy

Rank: Member

Reputation:

Groups: Approved
Joined: 6/28/2019(UTC)
Posts: 15
China
Location: Guiyang

Thanks: 1 times
Originally Posted by: Rob Go to Quoted Post
Looks like it's something about Chinese month names https://stackoverflow.com/questions/35909221/chinese-date-string-not-recognized-at-a-valid-datetime.

I'll have look into this a little more to see how to handle these.


thanks. this is not an urgent issue to me, but hopefully everything is easy to deal with.
Rob  
#15 Posted : Saturday, June 29, 2019 4:20:49 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 536
United States

Thanks: 5 times
Was thanked: 113 time(s) in 100 post(s)
Version 0.3.2.0 hopefully will correct the issue, let me know.
hanzy  
#16 Posted : Sunday, June 30, 2019 1:15:22 AM(UTC)
hanzy

Rank: Member

Reputation:

Groups: Approved
Joined: 6/28/2019(UTC)
Posts: 15
China
Location: Guiyang

Thanks: 1 times
Originally Posted by: Rob Go to Quoted Post
Version 0.3.2.0 hopefully will correct the issue, let me know.


i doubted the syncs were actually succeeded because everytime before the error poppup appeared, there were some network uploads observed by the netspeedmonitor software.
now the sync works just fine and i can see all previous syncs in the sync option window.
many thanks.
hanzy  
#17 Posted : Sunday, June 30, 2019 1:20:15 AM(UTC)
hanzy

Rank: Member

Reputation:

Groups: Approved
Joined: 6/28/2019(UTC)
Posts: 15
China
Location: Guiyang

Thanks: 1 times
btw, how many synced settings at most will the server preserve?
is the syncing function automatical or merely manual?
can i manually delete the settings i don't need remotely?
Rob  
#18 Posted : Sunday, June 30, 2019 6:44:13 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 536
United States

Thanks: 5 times
Was thanked: 113 time(s) in 100 post(s)
Right now, there are no limitations but I know that likely will not be a realistic scenario long term. I just periodically watch the total storage space used and will come up with a plan down the road when it's starting to approach a threshold for requiring action.

I'm thinking initially, I will just archive or purge saved settings over X months old, but before I make any decisions I will engage the community for ideas.

Regarding when this occurs:
  1. When you first Login, from the Login window or when you start S+ after having already logged in previously
  2. When you update your settings, like clicking OK in the Settings window
  3. When you click the Upload Now button in the Synchronize Settings window
hanzy  
#19 Posted : Sunday, November 3, 2019 8:52:44 PM(UTC)
hanzy

Rank: Member

Reputation:

Groups: Approved
Joined: 6/28/2019(UTC)
Posts: 15
China
Location: Guiyang

Thanks: 1 times
Originally Posted by: Rob Go to Quoted Post
Right now, there are no limitations but I know that likely will not be a realistic scenario long term. I just periodically watch the total storage space used and will come up with a plan down the road when it's starting to approach a threshold for requiring action.

I'm thinking initially, I will just archive or purge saved settings over X months old, but before I make any decisions I will engage the community for ideas.

Regarding when this occurs:
  1. When you first Login, from the Login window or when you start S+ after having already logged in previously
  2. When you update your settings, like clicking OK in the Settings window
  3. When you click the Upload Now button in the Synchronize Settings window


thank you for the help 4 months ago.
i stopped using s+.net since then because i'm more familiar with the old s+.
now i come back to s+.net and have new problems...

the synced settings i can see in the sync settings window, are all before 2019-07-01 (gmt +8). if i click "upload", then it seems succeeded because no error window ever pops up. but the new settings are just not there. probably, the uploads were indeed successful because another software has monitored some upload traffic everytime i click "upload".
besides, recently, while s+.net is minimized to the tray, it occasionally pops up an sync error message that says "发生一个或多个错误", which literally means one or more errors happened. and what i got from the clipboard is the same simple message. why?

btw, here is a a problem with activating windows where gestures begin.
always activating windows where gestures begin doesn't work for my office 2016 with following codes (i set it to dock the window to the right half screen, the same code works for the old s+), even if i have the "Always Activate Window Where Gesture Begins" option checked. how to make it work?

sp.SendAltDown();
sp.Sleep(5);
sp.SendVKey(vk.NUMPAD4);
sp.Sleep(5);
sp.SendAltUp();

thank you again.

Edited by user Sunday, November 3, 2019 8:54:03 PM(UTC)  | Reason: Not specified

Rob  
#20 Posted : Monday, November 4, 2019 10:53:39 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 536
United States

Thanks: 5 times
Was thanked: 113 time(s) in 100 post(s)
Sorry, I have been very busy with work. But I have not forgotten about your post. I will get back to you within a week.
hanzy  
#21 Posted : Monday, November 4, 2019 10:55:32 PM(UTC)
hanzy

Rank: Member

Reputation:

Groups: Approved
Joined: 6/28/2019(UTC)
Posts: 15
China
Location: Guiyang

Thanks: 1 times
Originally Posted by: Rob Go to Quoted Post
Sorry, I have been very busy with work. But I have not forgotten about your post. I will get back to you within a week.


it's ok. not a matter of urgency anyway.
Rob  
#22 Posted : Tuesday, November 5, 2019 6:39:26 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 536
United States

Thanks: 5 times
Was thanked: 113 time(s) in 100 post(s)
I had put an index on that table (settings sync), thinking it would be helpful to speed up the list results.

However, the index is killing the inserts due to timeouts. I hadn't noticed, but my settings weren't being uploaded either.

I disabled the index and it seems things are working again.

I need to move the blob field to a different table as well as update the upload code on the web side to better handle and communicate errors.

---

I don't have Office 2016, so I can't duplicate your issue (it works in Office 365 apps).

However, there have been many code changes to help better handle many different types of windows, it's a difficult thing to get right.

For example, people had issues with a Find window for an app, they wanted to paste into the search box, but it would activate the main app window, etc. There were many tweaks made to find a good balance and it is likely that is causing the issue you're experiencing.

You might try disabling the "Always Activate Window Where Gesture Begins" option, then under Global Actions > Settings > Before Action select Before Action Script > Use Script.

Then try some script like:
Code:
action.Window.Activate();

Edited by user Tuesday, November 5, 2019 6:41:45 AM(UTC)  | Reason: Not specified

hanzy  
#23 Posted : Wednesday, November 6, 2019 12:55:13 AM(UTC)
hanzy

Rank: Member

Reputation:

Groups: Approved
Joined: 6/28/2019(UTC)
Posts: 15
China
Location: Guiyang

Thanks: 1 times
Originally Posted by: Rob Go to Quoted Post
I had put an index on that table (settings sync), thinking it would be helpful to speed up the list results.

However, the index is killing the inserts due to timeouts. I hadn't noticed, but my settings weren't being uploaded either.

I disabled the index and it seems things are working again.

I need to move the blob field to a different table as well as update the upload code on the web side to better handle and communicate errors.

---

I don't have Office 2016, so I can't duplicate your issue (it works in Office 365 apps).

However, there have been many code changes to help better handle many different types of windows, it's a difficult thing to get right.

For example, people had issues with a Find window for an app, they wanted to paste into the search box, but it would activate the main app window, etc. There were many tweaks made to find a good balance and it is likely that is causing the issue you're experiencing.

You might try disabling the "Always Activate Window Where Gesture Begins" option, then under Global Actions > Settings > Before Action select Before Action Script > Use Script.

Then try some script like:
Code:
action.Window.Activate();


ok, i'm waiting for the update.

as to the windows activating thing, action.Window.Activate() alone doesn't solve the problem. actually, i just found the same problem exists for the old version as well... anyway, "action.Window.Activate()" combined with " Sleep(30)" work fine. it seems that office 2016 just lags so much on my system that i have to wait for its windows activation.

many thanks.
Rob  
#24 Posted : Wednesday, November 6, 2019 5:42:56 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 536
United States

Thanks: 5 times
Was thanked: 113 time(s) in 100 post(s)
Quote:
ok, i'm waiting for the update


This was a web site issue, not the app. Check to see if it is working for you.
hanzy  
#25 Posted : Wednesday, November 6, 2019 9:38:33 AM(UTC)
hanzy

Rank: Member

Reputation:

Groups: Approved
Joined: 6/28/2019(UTC)
Posts: 15
China
Location: Guiyang

Thanks: 1 times
Originally Posted by: Rob Go to Quoted Post
Quote:
ok, i'm waiting for the update


This was a web site issue, not the app. Check to see if it is working for you.


no good... i can't see my latest uploads.
Rob  
#26 Posted : Thursday, November 7, 2019 5:45:59 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 536
United States

Thanks: 5 times
Was thanked: 113 time(s) in 100 post(s)
Yeah, it's still taking a long time to insert.

I've increased the database command timeout for now, hopefully that will help until I come up with a replacement set of code.
thanks 1 user thanked Rob for this useful post.
hanzy on 11/7/2019(UTC)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.