Keep on getting error while trying to upload to esp32-cam - esp32

I just got my new esp32-cam and I keeps giving me the error below even though i did everything in the tutorial video I found on youtube correctly and even watched several others and it still gives the error
Traceback (most recent call last):
File "esptool.py", line 3682, in <module>
File "esptool.py", line 3675, in _main
File "esptool.py", line 3329, in main
File "esptool.py", line 263, in __init__
File "site-packages\serial\__init__.py", line 88, in serial_for_url
File "site-packages\serial\serialwin32.py", line 78, in open
File "site-packages\serial\serialwin32.py", line 222, in _reconfigure_port
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: WindowsError(31, 'A device attached to the system is not functioning.')
Failed to execute script esptool
the selected serial port Failed to execute script esptool
does not exist or your board is not connected

Related

ERROR: for mysql a bytes-like object is required, not 'str' using docker-compose and laravel sail

I’ve rebooted my system and then run all my containers using the vendor/bin/sail up command, the only one that failed to reload was MySQL. The error is the following :
ERROR: for mysql a bytes-like object is required, not 'str'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/docker/api/client.py", line 261, in _raise_for_status
response.raise_for_status()
File "/usr/lib/python3/dist-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.25/containers/afdd1cbf7f45d9b20612bca
f73eef1b0bc1dd631bc6aa3dcfbf630c64e8a3662/start
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/compose/service.py", line 625, in start_container
container.start()
File "/usr/lib/python3/dist-packages/compose/container.py", line 241, in start
return self.client.start(self.id, **options)
File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/usr/lib/python3/dist-packages/docker/api/container.py", line 1095, in start
self._raise_for_status(res)
File "/usr/lib/python3/dist-packages/docker/api/client.py", line 263, in _raise_for_status
raise create_api_error_from_http_exception(e)
File "/usr/lib/python3/dist-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.APIError: 500 Server Error: Internal Server Error ("b'Ports are not available: listen tcp 0.0.0.0:3306: bind: An attempt was made
to access a socket in a way forbidden by its access permissions.'")
I’m running this container on ubuntu server 20.04.
It might fix the problem if you provide an absolute path to your nginx/mysql conf file. I haven't tried the solution yet.

Oracle Internet Directory 12.2.1.3.0 Error occurred while performing invoke : Creation of wallets failed for domain

After successfully installing Oracle Internet Directory 12.2.1.3.0, I am able to connect with this command
connect('weblogic','Oracle20_1','t3://MYPC:7001')
but when I issue this command
oid_setup(orcladminPassword='Oracle20_1',odsPassword='Oracle20_1',realmDN='dc=us,dc=oracle,dc=com')
I get the error below.
Starting an edit session ...
Started edit session, be sure to save and activate your changes once you are done.
Traceback (innermost last):
File "<console>", line 1, in ?
File "/D:/Installations/Middleware/Oracle_Home/oid/plugins/wlst/oid-wlst-dependencies.jar!/wlstScriptDir/OidCustomCommands.py", line 14, in oid_setup
File "D:\Installations\Middleware\Oracle_Home\oid\plugins\wlst\oid-wlst-dependencies.jar\wlstScriptDir/oid_handler.py", line 274, in oid_doSetup
File "D:\Installations\Middleware\Oracle_Home\wlserver\modules\com.oracle.weblogic.management.scripting.jar\weblogic/management/scripting/utils/modules/wlstModule.py", line 38, in invoke
File "C:\Users\MYPC~1\AppData\Local\Temp\wlst_module17230875974479771820.py", line 753, in wlstInvoke
File "C:\Users\MYPC~1\AppData\Local\Temp\wlst_module33031062050886075784.py", line 240, in raiseWLSTException
WLSTException: Error occurred while performing invoke : Creation of wallets failed for domain "D:\Installations\Middleware\Oracle_Home\user_projects\domains\mydomain15"
Use dumpStack() to view the full stacktrace :
wls:/mydomain15/editCustom/oracle.oid.mbeans/oracle.oid.mbeans:type=OIDSystemComponent,name=OIDComponentManager>

VirtualBox anaconda installation failing

Having trouble installing anaconda on my Ubuntu VirtualBox. Have tried rebooting and have tried assigning a bigger chunk of base memory but still failing at the final few hurdles.
Unpacking payload ...
concurrent.futures.process._RemoteTraceback:
'''
Traceback (most recent call last):
File "concurrent/futures/process.py", line 368, in _queue_management_worker
File "multiprocessing/connection.py", line 251, in recv
TypeError: __init__() missing 1 required positional argument: 'msg'
'''
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "entry_point.py", line 69, in <module>
File "concurrent/futures/process.py", line 484, in _chain_from_iterable_of_lists
File "concurrent/futures/_base.py", line 611, in result_iterator
File "concurrent/futures/_base.py", line 439, in result
File "concurrent/futures/_base.py", line 388, in __get_result
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or
pending.
[1981] Failed to execute script entry_point

Deploy Laravel on Cloud Foundry

I`m trying to deploy Laravel on Cloud Foundry, but at the end, it failed.
I followed this tutorial step by step. Also, I tried to solve my problem by this question but it doesn't work for me. And the overall view of my app is looks like this
However this is the errors, when I push the app to cf:
WARNING: A version of PHP has been specified in both `composer.json` and `./bp-config/options.json`.
WARNING: The version defined in `composer.json` will be used.
The extension 'fpm' is not provided by this buildpack.
The extension 'tokenizer' is not provided by this buildpack.
[ErrorException]
file_put_contents(/tmp/app/htdocs/bootstrap/cache/services.json): failed to open stream: No such file or directory
-----> Composer command failed
Traceback (most recent call last):
File "/tmp/buildpacks/ca44b1cd9a98d10d3246e577384a9145/scripts/compile.py", line 50, in <module>
.from_build_pack('lib/additional_commands')
File "/tmp/buildpacks/ca44b1cd9a98d10d3246e577384a9145/lib/build_pack_utils/builder.py", line 208, in extensions
process_extension(path, ctx, 'compile', process, args=[self])
File "/tmp/buildpacks/ca44b1cd9a98d10d3246e577384a9145/lib/build_pack_utils/utils.py", line 69, in process_extension
success(getattr(extn, to_call)(*args))
File "/tmp/buildpacks/ca44b1cd9a98d10d3246e577384a9145/extensions/composer/extension.py", line 414, in compile
return composer.compile(install)
File "/tmp/buildpacks/ca44b1cd9a98d10d3246e577384a9145/lib/extension_helpers.py", line 154, in compile
self._compile(install)
File "/tmp/buildpacks/ca44b1cd9a98d10d3246e577384a9145/extensions/composer/extension.py", line 181, in _compile
self.run()
File "/tmp/buildpacks/ca44b1cd9a98d10d3246e577384a9145/extensions/composer/extension.py", line 316, in run
*self._ctx['COMPOSER_INSTALL_OPTIONS'])
File "/tmp/buildpacks/ca44b1cd9a98d10d3246e577384a9145/extensions/composer/extension.py", line 360, in run
shell=True)
File "/tmp/buildpacks/ca44b1cd9a98d10d3246e577384a9145/lib/build_pack_utils/runner.py", line 109, in stream_output
raise CalledProcessError(retcode, cmd)
build_pack_utils.runner.CalledProcessError: Command '<open file '<fdopen>', mode 'w' at 0x7fa7340816f0>' returned non-zero exit status 1
Failed to compile droplet
Exit status 223
Staging failed: Exited with status 223
I need your help to solve this issue!

python urllib2.urlopen errno 61 (again?!?)

Ok, I know this error has come up before, and yes, I'm using python 2.7.3 on mac osx 10.7.5 (also same error using mavericks), not the latest or best. But (of course) it's legacy code -- and it worked yesterday, and it doesn't work today.
What changed? Well, I did switch from RCN to Comcast as ISP provider, and also moved cities. I don't see any previous posts about those specific changes, and I've tried everything I can think of, over many hours.
I can reproduce the error with this:
import urllib2
urllib2.urlopen('http://ichart.yahoo.com/table.csv?s=ABT&a=11&b=27&c=2013&d=0&e=&(e)s&f=2013')
And the error is:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 61] Connection refused>
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
urllib2.URLError: urlopen error [Errno 61] Connection refused
If I put that url into a browser, it says cannot connect. So it may not be a python issue. I doubt the website has been down for as long as I've tried to make it work. I've checked the proxies, and as far as I can tell, I'm not using a proxy.
Any ideas out there?

Resources