What means the Error-Code 520 in IBM Notes? - ibm-cloud

I permanently get the "Notes Error 520". I get no additional (Debug-) Information from IBM Notes.
Does anyone know what this means and how to fix it?
I´m using IBM Notes IBM Notes 9 Social Edition Release 9.0.1FP6 Revision 20160423.1936-FP6 (Release 9.0.1FP6)
Screenshot --> Notes Error 520

Error 520 is a user-defined error code. What you're probably seeing is the developer's lazy error handling where it just does a
msgbox "Error: " + cstr(err)
What 520 means is that we would have no way of knowing what the error is without seeing the code that's running. Your best bet is to contact the developer and ask him/her.

Related

Action on Google deploy tab returns 504

When trying to access https://console.actions.google.com/project/*project-id*/release/ I get following error message:
If I open the developer console in Chrome and check for failed network calls it shows a 504 on https://console.actions.google.com/m/actions/agents/versions/get?projectNumber=*project-number* with this body:
I tried clearing my cache and tested on multiple browsers but since it also happens on other devices I guess this is a server issue.
Anyone who can help me out?
I was experiencing the same issue for a published Action.
According to Actions on Google support, it's because the cumulative size of all the versions of our action were causing that version request to timeout when it tries to pre-load them all at once.
The solution for me was to, raise a support request (I clicked the link in your screenshot, Actions on Google Support, included a screenshot of that message, request type deployment issue and a brief description of not being able to access the deploy/test tabs) and then when support responded, they asked which versions to keep/delete. I said delete all except one version either side of the currently deployed version.
A note on preventing this - I couldn't find a consistent method for deleting versions/releases. I believe the versions created in Dialogflow by doing a Publish A Version can be deleted in Dialogflow. But versions created by releases in Actions on Google, have the delete options greyed out in Dialogflow, and I couldn't find where to do that in Actions on Google.

Smart Card Validation Pin Error 0x80100001

I'm using gemalto usb token and SafeNet software to digitally sign my documents in Adobe Acrobat Pro. While everything worked fine and nothing has changed, I'm getting this error after entering my (correct) pin number. The message says: 'Error occurred during PIN validation'. According to authentication return values, it is related to:
SCARD_F_INTERNAL_ERROR: An internal consistency check failed.
Besides that, 'Validating Signatures' option in Adobe is disabled.
Thank you!
For somebody else encountering a similar problem: The error code is by PCSC, and so not necessarily card-related.
If other applications are also unable to verify the PIN, issue might be caused by reader driver, or as in the case above by any software required for accessing the card [here: SafeNet]. Re-installing those is worth a ttry.
Same problem here.
On a new PC couldn't use this token.
I checked how windows recognized the device on a different one where worked fine. Seems like the culprit is a newer driver from microsoft.
All I had to do was to replace it. Visit here and click:
"Gemalto IDPrime - SmartCard - 10/20/2017 12:00:00 AM - 8.5.0.7 Windows 10 Creators Update and Later Servicing Drivers"
Download the cab file.
Extract it.
Next you have to "update" the driver with the old one.

how to generate crash report using code like crash report provided by Apple

i want to generate crash report for Symbolicate iOS Crash to View Crash Logs,so i want to get the crash report using code,at present i only get :
* -[__NSArrayM objectAtIndex:]: index 121 beyond bounds [0 .. 23]
Application received signal SIGSEGV
(
0 CoreFoundation 0x3120e2bb + 186
1 libobjc.A.dylib 0x38f2b97f objc_exception_throw + 30
2 CoreFoundation 0x3120e1c5 + 0
3 myshine 0x001f9f51 myshine + 1503057
4 libsystem_c.dylib 0x393a9e8b _sigtramp + 34
5 myshine 0x000ac985 myshine + 137605
6 myshine 0x000ac35d myshine + 136029
7 CoreFoundation 0x311ab7cf + 74
)
not have
/ 1: Process Information
Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F
CrashReporter Key: 5a56599d836c4f867f6eec76afee451bf9ae5f31
Hardware Model: iPhone4,1
Process: Rage Masters [4155]
Path: /var/mobile/Applications/A5635B22-F5EF-4CEB-94B6-FE158D885014/Rage Masters.app/Rage Masters
Identifier: Rage Masters
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
/ / 2: Basic Information
Date/Time: 2012-10-17 21:39:06.967 -0400
OS Version: iOS 6.0 (10A403)
Report Version: 104
// 3: Exception
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
i want to get the same report
So you want to write your own crash reporter so you can get the reports and symbolicate them?
Writing crash reports is very very hard, see these two articles from the developer of the Open Source library PLCrashReporter to get an idea what is involved: http://landonf.bikemonkey.org/code/objc/Reliable_Crash_Reporting.20110912.html and http://landonf.bikemonkey.org/code/crashreporting/Reliable_Crash_Reporting_1.1.20130119.html
In short:
All code must be async-safe. That means you can NOT use any Objective-C code. Most of the C methods are also not async safe.
You can (basically) not allocate new memory once a crash occurred.
All the details you are asking and the ones that are not yet asked to write such a reporter would require to write way more than could fit in an answer.
Just don't write it yourself and safe yourself some trouble. There are plenty of ready to use solutions out there. Some are Open Source and can be validated if they are safe to the above rules, some are closed source and cannot be easily validated (The articles above do go into details for some of them).
I will not make any recommendation on the various solutions, since I am biased as I am a developer of one Open Source and one commercial solution. The articles linked above do analyze some of the available solutions.
So here are some.
Open Source:
PLCrashReporter: Uses in thousands of apps since 2009. Safe, reliably, creates standard format crash reports that can be symbolicated.
KSCrash: Pretty new. Creates standard format crash reports. Can connect to different server solutions.
QuincyKit: Client SDK and PHP based server component based on PLCrashReporter. Makes integrating PLCrashReporter easy and server component collects reports and groups them once they are symbolicated. Symbolication can be automated using your own Mac to do the actual symbolication. (Disclaimer: I am the developer of this)
Hosted/Commercial Solutions:
Bugsense: Free and paid plans. Uses PLCrashReporter under the hood. Rest of the SDK seems to be closed source. Server side symbolication.
BugSnag: Free and paid plans. Open Source SDK. Uses KSCrash under the hood.
Crashlytics: Free. Closed source. Did use PLCrashReporter under the hood, now use their own implementation. Server side symbolication.
Crittercism: Free and paid plans. Uses PLCrashReporter under the hood. Rest of the SDK seems to be closed source. Server side symbolication.
HockeyApp: Paid plans, 1 month trial. Uses PLCrashReporter under the hood, all SDKs open source. Creates standard format crash reports. Server side symbolication. (Disclaimer: I am one of the Co-Founders and developers of this)
Sentry: Paid, Pretty new, Open Source (SDK and Server). Uses KSCrash under the hood.
Testflight: Free, closed source. Server side symbolication.
There surely are some more out there which I forgot about.
For this you need to have a dYSM file that was generated at the time of creating your distribution build.
Below link can be of some help to you..
Symbolicating iPhone App Crash Reports
In Xcode target,
set 'Debug information Formate' to DWARF.
Generate Debug Symbols : Yes
Strip Debug Symbols During Copy: YES
See image for more info. In final upload make sure you revert same. This is for testing.

SugarCRM CE smarty error after upgrade

I recently upgraded our SugarCRM CE form 5.x to 6.2.6. I had some uphill experience but I overcome everything except one issue.
The following error appears in the "Email Address" area on Contact, Opportunity and other similar pages.
Warning: Smarty error: unable to read resource:
"include/SugarFields/Fields/Base/detailViewFunction.tpl" in
/home/campusre/public_html/sugar/include/Smarty/Smarty.class.php on
line 1095
I did a search on SugarCRM forum and I found only one similar thread that was old and not answered. I also contacted our hosting company to check if this problem is related with the file or folder permission but they confirmed that it is not the problem in this case.
I am a developer but didn't do any SugarCRM and Smarty development before. I am investigating the code by my self but without success so far.
Any suggestion will be highly appreciated.
Thanks in advance.
unable to read resource: include/SugarFields/Fields/Base/detailViewFunction.tpl
This usually means that incorrect permissions are set on this file or that the file doesn't exist. However, in this case it looks like a casing issue. The file is actual camel case and named DetailViewFunction.tpl. It looks like you are running into a case-sensitive issue. My initial guess is that it is due to an old module or piece of code from 5.x.

getting strange error when submitting to iTunes Connect

I am on the last stage of my upload, and i clicked submit, only to receive the error;
There was an error saving changes: NullPropertyException. Stack is: [Ljava.lang.StackTraceElement;#5528cffb
what does that mean?
I am 99% sure I built correctly.
the error changes ( the # bit) after a refresh and click of submit again.
Help me out please!
Sam
Apple's websites all run on WebObjects, which is Java based. Hence the Java error. This is almost certainly a problem on their side. I'd try submitting again tomorrow and if it still fails, contacting their support.