how can I fix this issue. this error occur when I try to run local server with Jekyll. I expect that this error came from my file name. (when the file name had changed from Thai character to English character, none of the error occur).
So, Are there any way to fix this error without changing the file name?
see the error
see the error
Related
I see this error when I try opening RStudio on Mac after installing it:
Unexpected exception: Escape sequence was neither a valid property nor a valid character class name. The error occurred while parsing the regular expression fragment: 'LUDE=C:\py>>>HERE>>>thon27\inc'.
From the log:
ERROR R SUICIDE: Unexpected exception: Escape sequence was neither a valid property nor a valid character class name. The error occurred while parsing the regular expression fragment: 'LUDE=C:\py>>>HERE>>>thon27\inc'.; LOGGED FROM: void <anonymous namespace>::rSuicide(const std::string &) /Users/rstudio/rstudio/src/cpp/session/SessionMain.cpp:1023
How do I resolve the issue?
The RStudio installer version is 1.1.463. I saw the same issue with 1.1.453 as well. I am in Mac OS Sierra (version 10.12.6).
I had some erroneous paths in $ cat /etc/paths. Removed them and RStudio works fine.
When I installed Phalcon 2.0.13 according to the https://docs.phalconphp.com/en/latest/reference/install.html description and I wanted to launch my test script then I got the following error (literally it is just a warning but it causes Phalcon not to be loaded which causes errors):
{
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/phalcon.so' - /usr/lib/php/20131226/phalcon.so: undefined symbol: php_pdo_get_dbh_ce in Unknown on line 0
}
What is this symptom cased by and how could I get rid of it?
After struggling a lot, I managed to solve the problem. The {extension=phalcon.so} line should be put NOT in php.ini. Much rather, you should create a /etc/php/5.6/cli/conf.d/30-phalcon.ini file containing {extension=phalcon.so}.
The reason is that this way you can guarantee that the processing order of the ini files is appropriate.
If you want to use Phantom not just in cli but in apache module as well then copy the ini file in the corresponding directory too.
(The directory names can be different in your system.)
I will glad to get an any help in the next issue:
when I run a numerous recipes (when I run an each in a separate way it doesn't fails), I sometimes get a next error:
"ArgumentError: too short control escape"
log:
[2016-03-15T15:41:55+01:00] INFO: Running queued delayed notifications before re-raising exception
[2016-03-15T15:41:55+01:00] ERROR: Running exception handlers
[2016-03-15T15:41:55+01:00] ERROR: Exception handlers complete
[2016-03-15T15:41:55+01:00] FATAL: Stacktrace dumped to c:/chef/chef-stacktrace.out
[2016-03-15T15:41:55+01:00] FATAL: ArgumentError: too short control escape
chef-stacktrace.out:
Generated at 2016-03-14 15:56:29 +0100
ArgumentError: too short control escape
C:/opscode/chef/embedded/apps/chef/lib/chef/formatters/error_inspectors/resource_failure_inspector.rb:66:in 'recipe_snippet'
C:/opscode/chef/embedded/apps/chef/lib/chef/formatters/error_inspectors/resource_failure_inspector.rb:43:in 'add_explanation'
It happens randomly and I can't to find an explanation,
Thanks
I'm guessing something is going wonky with the regexp compile. It supposed to use Regexp.escape(source) but something might be slipping through? Please include the full error output though.
After a deep investigations, we have found the root cause of the issue. The name of the Github repository was interpreted by Chef as an escape character (the name of repository was starting with capital letter "C") which caused the configuration to fail alternately.
It regards to Chef 12.0.3 version (I hope, they fixed it in a newer next version)
We changed the name of repository and it solved the problem.
I am working on Omega 4 Theme in Drupal 7, which uses SingularityGS.
I am trying to run this command "drush omega-guard" and I am getting following error.
error sass/h-mart.no-query.scss (Line 61 of /usr/local/rvm/gems/ruby-1.9.3-p484#omega.h_mart/gems/singularitygs-1.6.2/stylesheets/singularitygs/helpers/_str-replace.scss: Invalid US-ASCII character "\xC2")
error sass/h-mart.styles.scss (Line 61 of /usr/local/rvm/gems/ruby-1.9.3-p484#omega.h_mart/gems/singularitygs-1.6.2/stylesheets/singularitygs/helpers/_str-replace.scss: Invalid US-ASCII character "\xC2")
Compilation failed in 2 files.
This error can be resolved by changing the character encoding to UTF-8 but I am not sure from where I can do that.
I run following code from shell prompt which resolves the issue
export LC_CTYPE="en_US.UTF-8"
Reference link
http://paulchr.ablass.me/blog/schlagworte/encoding/
Check out my answer here. It might help you with the charset problems. https://stackoverflow.com/a/61100643/2828913
I'm using Windows Command Line and Apache gives me the error in this encoding:
httpd.exe: Syntax error on line 163 of Z:/usr/local/apache/conf/httpd.conf:
ot load Z:/usr/local/php5/php5apache2_2.dll into server: %1 \xed\xe5 \xff\xb\xff\xe5\xf2\xf1\xff \xef\xf0\xe8\xeb\xee\xe6\xe5\xed\xe8\xe5\xec Win32.
I can't find the tool to convert the error message from this \xed\xe5 to UTF-8. What encoding does Apache use?
This Should change it to utf-8.
In httpd.conf add :
AddDefaultCharset utf-8
Make sure you put it at the bottom of the file so that it overrides pre-existing directives.
Hope that helps