I'm searching on a CKAN site and I have this error from solr on test site, which I don't have on dev site
[Mon Jun 10 13:30:10.723687 2019] [:error] [pid 126661:tid 140082572949248] Solr responded with an error (HTTP 400): [Reason: org.apache.solr.search.SyntaxError: Cannot parse '\xd7\x95\xd7\x95\xd7\xa2\xd7\x93\xd7\x95\xd7\xaa \xd7\x9c\xd7\x90\xd7\x95\xd7\x9e\xd7\x99\xd7\x95\xd7\xaa \xd7\x9e\xd7\x95\xd7\x9c\xd7\x9e\xd7\x95"\xd7\xa4 owner_org:"762ccf21-0422-4022-8c98-e47df9fb0a98"': Lexical error at line 1, column 72. Encountered: <EOF> after : ""]
[Mon Jun 10 13:30:10.724038 2019] [:error] [pid 126661:tid 140082572949248] Group search error: ('SOLR returned an error running query: {\\'sort\\': u\\'score desc, metadata_modified desc\\', \\'fq\\': [u\\'\\', u\\'+site_id:"default"\\', \\'+state:active\\'], \\'facet.mincount\\': 1, \\'rows\\': 21, \\'facet.field\\': [u\\'organization\\', u\\'groups\\', u\\'tags\\', u\\'res_format\\', u\\'license_id\\'], \\'facet.limit\\': \\'50\\', \\'facet\\': \\'true\\', \\'q\\': u\\'\\\\u05d5\\\\u05d5\\\\u05e2\\\\u05d3\\\\u05d5\\\\u05ea \\\\u05dc\\\\u05d0\\\\u05d5\\\\u05de\\\\u05d9\\\\u05d5\\\\u05ea \\\\u05de\\\\u05d5\\\\u05dc\\\\u05de\\\\u05d5"\\\\u05e4 owner_org:"762ccf21-0422-4022-8c98-e47df9fb0a98"\\', \\'start\\': 0, \\'wt\\': \\'json\\', \\'fl\\': \\'id validated_data_dict\\'} Error: SolrError(u\\'Solr responded with an error (HTTP 400): [Reason: org.apache.solr.search.SyntaxError: Cannot parse \\\\\\'\\\\u05d5\\\\u05d5\\\\u05e2\\\\u05d3\\\\u05d5\\\\u05ea \\\\u05dc\\\\u05d0\\\\u05d5\\\\u05de\\\\u05d9\\\\u05d5\\\\u05ea \\\\u05de\\\\u05d5\\\\u05dc\\\\u05de\\\\u05d5"\\\\u05e4 owner_org:"762ccf21-0422-4022-8c98-e47df9fb0a98"\\\\\\': Lexical error at line 1, column 72. Encountered: <EOF> after :
What does the error means?
What can I do to reproduce it on dev?
Which configuration may I missing from dev to test?
Thanks
Related
I got an error when command "gcloud preview app deploy app.yaml --promote"
:
ERROR: (gcloud.preview.app.deploy) Error Response: [13] CPU Quota Exceeded: in use: 7, requested: 2, limit: 8 Version: 20151201t142343.388948918338383472
Is there anything to solve this situation?
Since I just ran into this too, and was a bit boggled:
it seems like every deploy you do for e.g. a node.js project creates a new compute engine CPU. If you go into your project's gcloud dashboard, you can see the number of compute engine instances - remove old ones, and you can deploy again.
just went through an unexpected downtime with this.. running appengine flex environment with a meteor app with minimal resource usage (bandwidth, disk, memory, qps)..
i guess i have to navigate to a quotas section located at https://console.cloud.google.com/iam-admin/quotas?project=your-project-id
here's what my "request" looks like when submitted as example:
and submit a request for resources that have been auto set to null values.. thanks for the heads up google. i trust the SLA to leave me at the mercy of their whims..
but for others, hopefully this gives a better indication of what to do when encountering:
DEBUG: HttpError accessing <https://appengine.googleapis.com/v1/apps/<project-id>/services/default/versions?alt=json>: response: <{'status': '400', 'content-length': '217', 'x-xss-protection': '1; mode=block', 'x-content-type-options': 'nosniff', 'transfer-encoding': 'chunked', 'vary': 'Origin, X-Origin, Referer', 'server': 'ESF', '-content-encoding': 'gzip', 'cache-control': 'private', 'date': 'Wed, 25 Oct 2017 04:42:45 GMT', 'x-frame-options': 'SAMEORIGIN', 'alt-svc': 'quic=":443"; ma=2592000; v="39,38,37,35"', 'content-type': 'application/json; charset=UTF-8'}>, content <{
"error": {
"code": 400,
"message": "The following quotas were exceeded: DISKS_TOTAL_GB (quota: 0, used: 10 + needed: 0), INSTANCES (quota: 0, used: 1 + needed: 0).",
"status": "INVALID_ARGUMENT"
}
}
>
DEBUG: (gcloud.app.deploy) Error Response: [400] The following quotas were exceeded: DISKS_TOTAL_GB (quota: 0, used: 10 + needed: 0), INSTANCES (quota: 0, used: 1 + needed: 0).
https://appengine.googleapis.com/v1/apps/<project-id>/services/default/versions?alt=json
Traceback (most recent call last):
File "~/.pyenv/versions/2.7.11/envs/env-2.7.11/lib/python2.7/site-packages/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 789, in Execute
resources = args.calliope_command.Run(cli=self, args=args)
File "~/.pyenv/versions/2.7.11/envs/env-2.7.11/lib/python2.7/site-packages/google-cloud-sdk/lib/googlecloudsdk/calliope/backend.py", line 754, in Run
resources = command_instance.Run(args)
File "~/.pyenv/versions/2.7.11/envs/env-2.7.11/lib/python2.7/site-packages/google-cloud-sdk/lib/surface/app/deploy.py", line 62, in Run
use_service_management=use_service_management)
File "~/.pyenv/versions/2.7.11/envs/env-2.7.11/lib/python2.7/site-packages/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py", line 624, in RunDeploy
flex_image_build_option=flex_image_build_option)
File "~/.pyenv/versions/2.7.11/envs/env-2.7.11/lib/python2.7/site-packages/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py", line 418, in Deploy
endpoints_info)
File "~/.pyenv/versions/2.7.11/envs/env-2.7.11/lib/python2.7/site-packages/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/appengine_api_client.py", line 162, in DeployService
self.client.apps_services_versions.Create, create_request)
File "~/.pyenv/versions/2.7.11/envs/env-2.7.11/lib/python2.7/site-packages/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/api/requests.py", line 71, in MakeRequest
raise exc
HttpException: Error Response: [400] The following quotas were exceeded: DISKS_TOTAL_GB (quota: 0, used: 10 + needed: 0), INSTANCES (quota: 0, used: 1 + needed: 0).
https://appengine.googleapis.com/v1/apps/<project-id>/services/default/versions?alt=json
ERROR: (gcloud.app.deploy) Error Response: [400] The following quotas were exceeded: DISKS_TOTAL_GB (quota: 0, used: 10 + needed: 0), INSTANCES (quota: 0, used: 1 + needed: 0).
https://appengine.googleapis.com/v1/apps/<project-id>/services/default/versions?alt=json
and an amazingly friendly error message when visiting the site via http:
Error: Server Error
The server encountered a temporary error and could not complete your
request.
Please try again in 30 seconds.
I am currently working on Oracle Adf and currently trying to install Oracle fusion demo application opening infrastructure.jws and running buildAll on build.xml giving me following warnings and error
Oct 3, 2013 5:25:21 PM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Oct 3, 2013 5:25:22 PM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Oct 3, 2013 5:25:25 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Oct 3, 2013 5:25:25 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable.
Oct 3, 2013 5:25:25 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Oct 3, 2013 5:25:25 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable.
Oct 3, 2013 5:25:26 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Oct 3, 2013 5:25:26 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable.
Oct 3, 2013 5:25:26 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Oct 3, 2013 5:25:26 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable.
Oct 3, 2013 5:25:26 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Oct 3, 2013 5:25:27 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Following errors are appearing
Buildfile: C:\JDeveloper\mywork\FusionOrderDemo\Infrastructure\Ant\build.xml
init:
[javac] Compiling 1 source file to C:\JDeveloper\mywork\FusionOrderDemo\Infrastructure\Ant\classes
setProperties:
createDatabase:
refreshSchema:
BUILD FAILED
C:\JDeveloper\mywork\FusionOrderDemo\Infrastructure\Ant\build.xml:51: The following error occurred while executing this line:
C:\JDeveloper\mywork\FusionOrderDemo\Infrastructure\DBSchema\build.xml:100: The following error occurred while executing this line:
C:\JDeveloper\mywork\FusionOrderDemo\Infrastructure\DBSchema\build.xml:63: The following error occurred while executing this line:
C:\JDeveloper\mywork\FusionOrderDemo\Infrastructure\DBSchema\build.xml:28: C:\Oracle2\Middleware\jdeveloper\wlserver_10.3\server\lib not found.
Total time: 4 seconds
The above are the warnings and errors can anyone please help me with this.Thank You.
Regards,
Furqan Ahmed.
try by changing the jdeveloper home to
jdeveloper.home=C:/Oracle/Middleware/jdeveloper
it has worked for me
Base Directory for library lookup
jdeveloper.home=C:/oracle/Middleware/jdeveloper
Please see that I use / instead of your \ you use. I tested the scripts an they work if you set the properties to the correct values.
https://community.oracle.com/thread/2325005?start=0&tstart=0
It seems that over night the Google Drive API methods files().patch( , ).execute() has stopped working and throws an exception. This problem is also observable through Google's reference page https://developers.google.com/drive/v2/reference/files/patch if you "try it".
The exception response is:
500 Internal Server Error
cache-control: private, max-age=0
content-encoding: gzip
content-length: 162
content-type: application/json; charset=UTF-8
date: Thu, 22 Aug 2013 12:32:06 GMT
expires: Thu, 22 Aug 2013 12:32:06 GMT
server: GSE
{
"error": {
"errors": [
{
"domain": "global",
"reason": "conditionNotMet",
"message": "Precondition Failed",
"locationType": "header",
"location": "If-Match"
}
],
"code": 500,
"message": "Precondition Failed"
}
}
This is really impacting our application.
We're experiencing this as well. A quick-fix solution is to add this header: If-Match: * (ideally, you should use the etag of the entity but you might not have a logic for conflict resolution right now).
Google Developers, please give us a heads up if you're planning to deploy breaking changes.
Looks like sometime in the last 24 hours the Files.Patch issue has been put back to how it used to work as per Aug 22.
We were also hitting this issue whenever we attempted to Patch the LastModified Timestamp of a file - see log file extract below:
20130826 13:30:45 - GoogleApiRequestException: retry number 0 for file patch of File/Folder Id 0B9NKEGPbg7KfdXc1cVRBaUxqaVk
20130826 13:31:05 - ***** GoogleApiRequestException: Inner exception: 'System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Google.Apis.Requests.Request.InternalEndExecuteRequest(IAsyncResult asyncResult) in c:\code.google.com\google-api-dotnet-client\default_release\Tools\BuildRelease\bin\Debug\output\default\Src\GoogleApis\Apis\Requests\Request.cs:line 311', Exception: 'Google.Apis.Requests.RequestError
Precondition Failed [500]
Errors [
Message[Precondition Failed] Location[If-Match - header] Reason[conditionNotMet] Domain[global]
]
'
20130826 13:31:07 - ***** Patch file request failed after 0 tries for File/Folder 0B9NKEGPbg7KfdXc1cVRBaUxqaVk
Today's run of the same process is succeeding whenever it Patches a files timestamp, just as it was prior to Aug 22.
As a result of this 4/5 day glitch, we now have hundreds (possibly thousands) of files with the wrong timestamps.
I know the API is Beta but please, please Google Developers "let us know in advance of any 'trialing fixes'" and at least post in this forum to acknowledge the issue to save us time trying to find the fault in our user programs.
duplicated here Getting 500: Precondition Failed when Patching a folder. Why?
I recall a comment from one of dev videos saying "use Update instead of Patch as it has one less server roundtrip internally". I've inferred from this that Patch checks etags but Update doesn't. I've changed my code to use Update in place of Patch and the problem hasn't recurred since.
Gotta love developing against a moving target ;-)
I have a login page implemented in cakephp. It was working fine, but some days before we implemented SSL after that it is working fine on server, but I am not able to login on my local system. Moreover it is not throwing any errors, but when I looked into apache error log file it is throwing the following error ->
[Fri Jul 20 11:55:10 2012] [error] [client ::1] PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/Backup/www/Web/SourceCode/instantmeeting/cake/libs/cache.php on line 155,
referer: /Web/SourceCode/instantmeeting/enterprise/web_user/login
[Fri Jul 20 11:55:10 2012] [error] [client ::1] PHP Stack trace:,
referer: /Web/SourceCode/instantmeeting/enterprise/web_user/login
[Fri Jul 20 11:55:10 2012] [error] [client ::1] PHP 1. {main}()
/Backup/www/Web/SourceCode/instantmeeting/app/webroot/index.php:0,
referer: /Web/SourceCode/instantmeeting/enterprise/web_user/login
[Fri Jul 20 11:55:10 2012] [error] [client ::1] PHP 2. include()
/Backup/www/Web/SourceCode/instantmeeting/app/webroot/index.php:81,
referer: /Web/SourceCode/instantmeeting/enterprise/web_user/login
Does anyone know what might be causing this?
This is a PHP5 deprecated ERROR.
This happens becuase you may be trying to pass an object by value not by reference.
This used to be possible in PHP4, but is now deprecated as PHP5 follows more strict OOP principles.
In most programming languages, an object can be passed to functions or
other objects by reference, not by value. In other words, rather than
passing a new object with the same values, the actual object is
passed, meaning changes are kept.
I would suggest that there is something like (this is just an example):
In PHP4 this code would output Jason because you'd basically be passing a copy of $var:
class Man{
var $Name;
}
function aaaa($Man){
$Man->Name = 'Boby';
}
$var = new Man();
$var->Name = 'Jason';
aaa($var); // Passing an Object **by value**
echo $var->Name; // Will output Jason
Because of this you had to manualy pass it by reference to the aaa() function like:
aaa(&$var);
echo $var->Name; // Will output Boby
This will work without the reference in PHP5!
What is your PHP version on the server? You should upgrade and check out what is there on line 155 in /Backup/www/Web/SourceCode/instantmeeting/cake/libs/cache.php
to solve a problem described at [question]: Solr: where to store additional information?
i wrote a function termcnt(fieldname) which just count specific terms in document regarding specified fieldname.
Using solr admin page (http://localhost:8080/admin/form.jsp) in "Solr/Lucene Statement" I queried:
fq={!frange l=3 u=1000}termcnt(wc_text)
and got an error:
type Status report
message org.apache.lucene.queryParser.ParseException: Cannot parse 'fq={!frange l=3 u=1000}termcnt(wc_text)': Encountered " <RANGEEX_GOOP> "u=1000 "" at line 1, column 16. Was expecting: "}" ...
description The request sent by the client was syntactically incorrect (org.apache.lucene.queryParser.ParseException: Cannot parse 'fq={!frange l=3 u=1000}termcnt(wc_text)': Encountered " <RANGEEX_GOOP> "u=1000 "" at line 1, column 16. Was expecting: "}" ... ).
where is my mistake?
thank you
P.S. when I'm queering:
_val_:"termcnt(wc_text)"
my function is working properly...
P.P.S even with sum func i have the same results :(
fq={!frange l=3 u=1000}sum(2,3)
solr 3.2.0
lucene 3.2.0
(from maven repository)
stack trace (as requested):
1 jul 2011 9:33:39 org.apache.solr.common.SolrException log
SEVERE: org.apache.solr.common.SolrException: org.apache.lucene.queryParser.ParseException: Cannot parse 'fq={!frange l=3 u=100000}termcnt(wc_text)': Encountered " <RANGEEX_GOOP> "u=100000 "" at line 1, column 16.
Was expecting:
"}" ...
at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:108)
at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:173)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1360)
at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:286)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:272)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1730)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse 'fq={!frange l=3 u=100000}termcnt(wc_text)': Encountered " <RANGEEX_GOOP> "u=100000 "" at line 1, column 16.
Was expecting:
"}" ...
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:211)
at org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:80)
at org.apache.solr.search.QParser.getQuery(QParser.java:142)
at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:84)
... 21 more
Caused by: org.apache.lucene.queryParser.ParseException: Encountered " <RANGEEX_GOOP> "u=100000 "" at line 1, column 16.
Was expecting:
"}" ...
at org.apache.lucene.queryParser.QueryParser.generateParseException(QueryParser.java:1818)
at org.apache.lucene.queryParser.QueryParser.jj_consume_token(QueryParser.java:1700)
at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:1510)
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1309)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1266)
at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1226)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206)
... 24 more
1 jul 2011 9:33:39 org.apache.solr.core.SolrCore execute
INFO: [] webapp= path=/select params={explainOther=&fl=&indent=on&start=0&q=fq%3D{!frange+l%3D3+u%3D100000}termcnt(wc_text)&hl.fl=&qt=&wt=&fq=&rows=10&version=2.2} status=400 QTime=21
I believe the interface has changed somewhat since this was written--but your query
fq={!frange l=3 u=1000}sum(2,3)
seems to be written correctly. You might try to url encode it, like
fq=%7B!frange+l%3D3+u%3D1000%7Dsum(2%2C3)
But I have a feeling this issue is solved just from newer versions of Solr and the admin panel.