The error is as follows
D:\electron\electron-19-x-y\electron\src>ninja -C out/Testing electron
ninja: Entering directory `out/Testing'
[408/42140] ACTION //electron/shell/common/extensions/api:generated_api_types_schema_generator(//build/toolchain/win:win_clang_x64)
FAILED: gen/electron/shell/common/extensions/api/cryptotoken_private.cc gen/electron/shell/common/extensions/api/cryptotoken_private.h
D:/electron/depot_tools/bootstrap-2#3_8_10_chromium_23_bin/python3/bin/python3.exe ../../tools/json_schema_compiler/compiler.py ../../electron/shell/common/extensions/api/cryptotoken_private.idl --root=../../ --destdir=gen --namespace=extensions::api::%(namespace)s --generator=cpp --include-rules=extensions/common/api:extensions::api::%(namespace)s
../../electron\shell\common\extensions\api\cryptotoken_private.idl(5) : Unexpected EoF reached after
^
'canning error. Illegal character '
Related
I am trying to encrypt the password using maven by following this link- Generate settings-security.xml file for maven password encryption. But, in the step after creating master password and creating the file settings-security.xml, but while trying to run the command- mvn --encrypt-password '!12345', I am getting the following error:
[ERROR] Error executing Maven.
[ERROR] org.codehaus.plexus.util.xml.pull.XmlPullParserException: start tag unexpected character { (position: TEXT seen <settingsSecurity>\n<master{... #2:9)
[ERROR] Caused by: start tag unexpected character { (position: TEXT seen <settingsSecurity>\n<master{... #2:9)
abhinashkumarjha#C02DP5F7MD6R ~ % mvn --encrypt-password '!Abhi#090342'
[ERROR] Error executing Maven.
[ERROR] org.codehaus.plexus.util.xml.pull.XmlPullParserException: start tag unexpected character { (position: START_TAG seen <settingsSecurity><master{... #1:26)
[ERROR] Caused by: start tag unexpected character { (position: START_TAG seen <settingsSecurity><master{... #1:26)
My settings-security.xml looks like this:
<settingsSecurity>
<master{42xI34HcwGIH/t9Bhr5P4ctsVIjOtvPO81b2eb9uYWY=}</master>
</settingsSecurity>
Thanks in Advance!!
when i try to install module for backup database odoo 11: https://www.odoo.com/apps/modules/11.0/auto_backup/, i use postgres 10,and ubuntu 18.04 LTS i have this error:
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 832, in convert_csv_import
raise Exception(_('Module loading %s failed: file %s could not be processed:\n %s') % (module, fname, warning_msg))
Exception: Module loading auto_backup failed: file auto_backup/security/ir.model.access.csv could not be processed:
No matching record found for external id 'model_db_backup' in field 'Object'
Missing required value for the field 'Object' (model_id)
No matching record found for external id 'model_db_backup' in field 'Object'
Missing required value for the field 'Object' (model_id)
I am trying to use yeoman.
I have not found anyone who has had this particular error.
So far I have successfully installed Yeoman. When I run the yo command I get the following error:
/usr/local/lib/node_modules/yo/node_modules/fast-glob/out/providers/reader-sync.js:45
throw err;
^
Error: EACCES: permission denied, scandir '/usr/sbin/authserver'
at Object.fs.readdirSync (fs.js:875:3)
at exports.readdir (/usr/local/lib/node_modules/yo/node_modules/#mrmlnc/readdir-enhanced/lib/sync/fs.js:18:20)
at Object.safeCall [as safe] (/usr/local/lib/node_modules/yo/node_modules/#mrmlnc/readdir-enhanced/lib/call.js:24:8)
at DirectoryReader.readNextDirectory (/usr/local/lib/node_modules/yo/node_modules/#mrmlnc/readdir-enhanced/lib/directory-reader.js:78:10)
at Readable.DirectoryReader.stream._read (/usr/local/lib/node_modules/yo/node_modules/#mrmlnc/readdir-enhanced/lib/directory-reader.js:57:18)
at Readable.read (_stream_readable.js:455:10)
at readdirSync (/usr/local/lib/node_modules/yo/node_modules/#mrmlnc/readdir-enhanced/lib/sync/index.js:27:21)
at Function.readdirSyncStat (/usr/local/lib/node_modules/yo/node_modules/#mrmlnc/readdir-enhanced/lib/index.js:34:10)
at ReaderSync.dynamicApi (/usr/local/lib/node_modules/yo/node_modules/fast-glob/out/providers/reader-sync.js:61:24)
at ReaderSync.api (/usr/local/lib/node_modules/yo/node_modules/fast-glob/out/providers/reader-sync.js:53:25)
Emitted 'error' event at:
at DirectoryReader.emit (/usr/local/lib/node_modules/yo/node_modules/#mrmlnc/readdir-enhanced/lib/directory-reader.js:365:14)
at call.safe (/usr/local/lib/node_modules/yo/node_modules/#mrmlnc/readdir-enhanced/lib/directory-reader.js:81:14)
at onceWrapper (/usr/local/lib/node_modules/yo/node_modules/#mrmlnc/readdir-enhanced/lib/call.js:45:17)
at onceWrapper (/usr/local/lib/node_modules/yo/node_modules/#mrmlnc/readdir-enhanced/lib/call.js:45:17)
at exports.readdir (/usr/local/lib/node_modules/yo/node_modules/#mrmlnc/readdir-enhanced/lib/sync/fs.js:22:5)
at Object.safeCall [as safe] (/usr/local/lib/node_modules/yo/node_modules/#mrmlnc/readdir-enhanced/lib/call.js:24:8)
[... lines matching original stack trace ...]
at readdirSync (/usr/local/lib/node_modules/yo/node_modules/#mrmlnc/readdir-enhanced/lib/sync/index.js:27:21)
I"m getting the following error in my production server, I gave the maximum possible permission for this wp-content directory and I still get this error, can you please assist ?
PHP Warning: include(): Failed opening
'/var/www/html/wp-content/plugins/text-my-app/Services/Twilio/Rest/.php'
for inclusion (include_path='.:/usr/share/php') in
/var/www/html/wp-content/plugins/text-my-app/Services/Twilio.php on
line 9, PHP Fatal error: Uncaught Error: Class 'Services_Twilio_Rest_'
not found in
/var/www/html/wp-content/plugins/text-my-app/Services/Twilio/Resource.php:47\nStack
trace:\n#0
/var/www/html/wp-content/plugins/text-my-app/Services/Twilio/Rest/Account.php(23):
Services_Twilio_Resource->setupSubresources('applications',
'available_phone...', 'outgoing_caller...', 'calls', 'conferences',
'incoming_phone_...', 'notifications', 'outgoing_caller...',
'recordings', 'sms_messages', 'short_codes', 'transcriptions',
'connect_apps', 'authorized_conn...', 'usage_records',
'usage_triggers', 'queues')\n#1
/var/www/html/wp-content/plugins/text-my-app/Services/Twilio/Resource.php(25):
Services_Twilio_Rest_Account->init(Object(Services_Twilio),
'/2010-04-01/Acc...')\n#2
/var/www/html/wp-content/plugins/text-my-app/Services/Twilio/ListResource.php(39):
Services_Twilio_Resource->__construct(Object(Services_Twilio),
'/2010-04-01/Acc...')\n#3
/var/www/html/wp-content/plugins/text-my-app/Services/Twilio.php(73):
Services_Twilio_ListResource->get('AC2ab0e6e0b in
/var/www/html/wp-content/plugins/text-my-app/Services/Twilio/Resource.php
on line 47, referer:
I am trying to Set-up a development environment of Kong. I have Kong & cassandra installed in my machine and able to run Kong Fine. I am facing problem when I am trying to set-up the development environment.
First I tried the Source Install as mentioned here.
Issue1
Execution of sudo make install in the directory in which Kong github repo was cloned gave me the following message:-
Use --force to force removal (warning: this may break modules).
Failed removing.
Updating manifest for /usr/local/lib/luarocks/rocks
kong 0.4.2-1 is now built and installed in /usr/local (license: MIT)
After that execution of sudo make dev failed with the below error:-
bin/kong config -c kong.yml -e TEST
lua: bin/kong:13: module 'kong.cli.utils' not found:
no field package.preload['kong.cli.utils']
no file '/usr/local/share/lua/5.2/kong/cli/utils.lua'
no file '/usr/local/share/lua/5.2/kong/cli/utils/init.lua'
no file '/usr/local/lib/lua/5.2/kong/cli/utils.lua'
no file '/usr/local/lib/lua/5.2/kong/cli/utils/init.lua'
no file './kong/cli/utils.lua'
no file '/usr/share/lua/5.2/kong/cli/utils.lua'
no file '/usr/share/lua/5.2/kong/cli/utils/init.lua'
no file './kong/cli/utils.lua'
no file '/usr/local/lib/lua/5.2/kong/cli/utils.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.2/kong/cli/utils.so'
no file '/usr/lib/lua/5.2/kong/cli/utils.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './kong/cli/utils.so'
no file '/usr/local/lib/lua/5.2/kong.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.2/kong.so'
no file '/usr/lib/lua/5.2/kong.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './kong.so'
stack traceback:
[C]: in function 'require'
bin/kong:13: in main chunk
[C]: in ?
make: *** [dev] Error 1
Then I tried the vagrant install which also failed.
Issue 2
After executing the below command:-
KONG_PATH=/home/j/code/github.com/kong vagrant up
I got the following error:-
There is a syntax error in the following Vagrantfile. The syntax error
message is reproduced below for convenience:
/home/j/code/github.com/kong-vagrant/Vagrantfile:17: syntax error, unexpected ':', expecting kEND
config.vm.network :forwarded_port, guest: 8000, host: 8000
^
/home/j/code/github.com/kong-vagrant/Vagrantfile:18: syntax error, unexpected ':', expecting kEND
config.vm.network :forwarded_port, guest: 8001, host: 8001
^
/home/j/code/github.com/kong-vagrant/Vagrantfile:20: syntax error, unexpected ':', expecting kEND
Can someone let me know what is going wrong?
Environment
Lua - 5.2.0
Ubuntu 12.04 LTS - 64 Bit
Issue 1 was because I was using Lua 5.2. Kong supports only Lua 5.1
as mentioned here
Issue 2 was because of the Vagrant version. Kong-vagrant works only
with Vagrant 1.7 onwards.