Error Exception: Service Spreadsheets failed while accessing document with id - exception

While i loading my html page, i was getting this error,
Exception: Service Spreadsheets failed while accessing document with id 1hdVqTRCAHzFUiI1zsjdLUPv6HfOOjl554BiE7jaKnL8. (line 8, file "Code")
Initially it was ok & working fine. But after a few times, I got this error issues.
Can anyone help me? This is my first time building html with Google Web Apps.
Thanks in advance.

Just an update.
I remembered that the error issues came just after i add some columns into the spreadsheet (importing some data). After i remove the columns, the error was gone. So, i guess the error was due to the huge dataset that the code cant handle.

Related

HTTP2 Protocol Error while loading the website

I am facing an issue while loading the angular web app after any deployment and getting error like ERR_HTTP2_PROTOCOL_ERROR. I am still confused about why this issue is coming again and again. Can anyone please help me with this issue.
Size of the client js file which gets auto-generated while building the angular web gets above 5MB size this error usually comes so if anyone facing the same error either optimize the code to bring down the size or manually minify the js file.

Odoo v12 - Uncaught TypeError: odoo.define is not a function

I am using Odoo v12 and when I try to access one of my database through browser it doesn't loads up properly. It comes up as blank screen and when I checked the developer console it shows following error:
Uncaught TypeError: odoo.define is not a function
Odoo -12: Developer console error message
It's a little late for this answer but still will give it a try. This seems to be an Odoo unsolved issue (happened to me with Odoo 12). There are a few workarounds:
quick fix: DELETE FROM ir_attachment WHERE url LIKE '/web/content/%';
If it doesn't work, try cleaning browser cache and retry.
If it doesn't work, just delete the db and postgresql's user and recreate them.
Recreating the DB usually works.
I know all of these are workarounds, but so far, this issue hasn't been solved by the Odoo team.
You can track the issue on GitHub
Inspect the browser --> Network --> refresh by checking and unchecking the disable cache option.
Only a temprory solution

Getting exception "Unknown Error" after bundling the application(exe)

We are using the evaluation version of JXBrowser for some charting application. We wanted to showcase a demo to our client just to check the overall performance of charts with JXBrowser. But we encountered some unexpected issue while we were trying to build an "EXE".
The issue:
We created a build and the passed the URL from the classpath(webView.getBrowser().loadURL(getClass().getResource("/chartiq/stx-advanced.html").toExternalForm());); the build successfully generated and if we run the build we are getting exception "Unknown Error" but its working fine in the IDE(Eclipse).
Afterwards, we tried to host the html pages at some server and we were able to get the html rendered in the application.
Question:
1. Is the aforementioned issue related to evaluation version?
2. If above question is not the case, is there any fix for that? As we have crawled the web and find nothing related to this.
For the reference I attached the screen shot showing the full exception stacktrace.
Any help will be appreciated.
Thanks,
Nikhil
The reason of this issue is that JxBrowser doesn't support loading resources from JAR files. Chromium engine used in JxBrowser cannot load the /chartiq/stx-advanced.html file located inside JAR archive. You need to extract the file and load the extracted file.
FYI: we have already started working on the functionality that allows loading HTML files and other resources from JAR archives. An updated build with this functionality will be available in December.

webpage: how to automate detection if webpage returns error?

I have a webpage generated by an application server (GlassFish) using JSP pages. If the application server goes down, the webpage returns an error (can't find file).
Is there any way to set things up so I get an email when someone visits this page and observes an error? For example, using .htaccess or anything else (simple)?
Alternatively, is there a way I can automate pinging the webpage somehow every 30 minutes and send me an email if the webpage returns an error?
Or, anyway to automate querying the application server and notifying me when it goes down?
What's the specific error? I would imagine it's a 404 Can't Find File, unless the application itself is throwing the error.
If it's 404 then in your htaccess file add:
ErrorDocument 404 http://www.domain.com/404page.html
Create a document called 404page.html and add it to your root directory via FTP. Put something meaningful to the user so they know there is an error. To inform you for the error you could create an auto submit form:
Auto submit form
Then you would need a simple php mailing script to grab the posted variables and mail send them via e-mail.
If it's not 404 you need to figure out where that error is being thrown from and add in an error page. But if the apps server is going down, I highly doubt it's responsible for throwing the error.

How to re-upload an extension with a deleted extension-ID?

I have a chrome extension with an existing extension Id and a local update file (on our server) that is used by many users.
I uploaded the extension to the extension store successfully.
Seeing I needed to make some changes I deleted the extension from the store.
I made the required changes and tried to upload the amended extension file again (with the same id). I got the error: ""An error occurred: Gallery system error, please try again later."
I read in some forums that I should wait. I'ved tried a few times and it almost 2 weeks since my first uplaod and I still cannot upload my new extension.
How can I resolve this?
Is there something that can be done to resolve this issue?
Chrome Web Store does not allow duplicate upload even after deletion, we reserve the ID forever, however we do not have clear message indicating this so people delete item casually, we have improved the message. This has become a common problem as Chrome M21 forbids apps installation from outside of CWS, we should communicate this better.
If you have strong reason to need the item id back (such as you have already been distributing the item under the ID for a long time), please post your item ID and CWS account email at http://code.google.com/p/chromium/issues/detail?id=138706 and we can try do a manual recover for you as an exception.
Sorry for this inconvenience.