2018-11-01から1ヶ月間の記事一覧

【MySQL】ERROR 1253 (42000): COLLATION 'utf8_general_ci' is not valid for CHARACTER SET 'utf8mb4'

エラー内容 mysqlにログインし、READMEに沿ってデータベースを作成する際に以下のエラーが発生した。 mysql> create database sns_manager default character set utf8mb4 collate utf8_general_ci; ERROR 1253 (42000): COLLATION 'utf8_general_ci' is not…

【Docker】ERROR: unauthorized: authentication required

環境 Mac: Mojave 10.Mojave 10.14.1 Doker: 18.09.0 エラー内容 あるプロジェクトをcloneしてきて以下のコマンドを打ったところでエラー発生。 $ docker-compose run init Creating network "docker_default" with the default driver Pulling db (mysql:5.…

【Kerasエラー】Your generator is NOT thread-safe.Keras requires a thread-safe generator when`use_multiprocessing=False, workers > 1`.For more information see issue #1638.

環境 Ubuntu: 16.04 Python: 3.6 Tensorflow: 1.9.0 Keras: 2.2.0 NVIDIA Driver: 410.72 CUDA: 10.0 エラー内容 GCPで学習していたら、他のサーバでは出なかったエラーに遭遇した。 Epoch1の重みを保存した後にEpoch2〜38に以下のエラーが一気に出力され、E…

【GCP】ssh_exchange_identification: read: Connection reset by peer

環境 クライアント:Mac OS Mojave 10.14.1 サーバー:Ubuntu 16.04 エラー 今までは以下のコマンドでGCPに入れたのに、何故か突然エラーを吐き出すようになった。 $ gcloud compute --project "<PROJECT_NAME>" ssh --zone "<REGION_NAME>" "<VM_NAME>" ssh_exchange_identification: read: Conn</vm_name></region_name></project_name>…

エラー「ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory」

問題点 $ python >>> import tensorflow as tf Traceback (most recent call last): File "/home/saneatsu_wakana/PConv-Keras/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module> from tensorflow.python.pywrap_ten</module>…

Seleniumでスクレイピングするときに「is not clickable at point (772, 590). Other element would receive the click:」的なものが出る問題

エラー発生 Seleniumでスクレイピングをする際にheadlessのオプションを追加すると以下のようなエラーが出てくる。 product_src_url_and_img_url_hash[:src_url]: https://~~. Error: unknown error: Element <a href="#" id="ms_001" style="outline:none;" title="...(M)">36</a> is not clickable at point (772, 590). Othe…

【Rails v5.2】bundle install時の「ERROR: While executing gem ... (Errno::EACCES)」を解消

環境 ruby: 2.4.2p198 Rails: 5.2.1 エラー発生 $ bundle install : : Fetching mysql2 0.4.10 Installing mysql2 0.4.10 with native extensions Errno::EACCES: Permission denied @ rb_sysopen - /usr/local/var/rbenv/versions/2.4.2/lib/ruby/gems/2.4.…