質問編集履歴
2
文章の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,6 +46,14 @@
|
|
46
46
|
return True
|
47
47
|
|
48
48
|
### 試したこと
|
49
|
+
ログを見たところ,これが原因の文章かと思われます。
|
50
|
+
TypeError: detect_updates() takes 0 positional arguments but 2 were given
|
51
|
+
|
52
|
+
コメントアウトなどして原因箇所を探ってみましたが,分からず。
|
53
|
+
最終的に下記のコードでテストしても同じエラーが出てきました。
|
54
|
+
|
55
|
+
def detect_updates():
|
56
|
+
print("aaa")
|
49
57
|
|
50
58
|
|
51
59
|
### 補足情報(FW/ツールのバージョンなど)
|
1
文法の修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
cloud functionsで
|
1
|
+
cloud functionsで関数のテストをするとエラーが出る
|
test
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
### 前提
|
2
|
-
プログラミング初心者です。
|
3
2
|
|
4
3
|
### 実現したいこと
|
5
4
|
あるwebサイトのhtmlを取得
|
@@ -10,7 +9,8 @@
|
|
10
9
|
定期実行に関してはをgoogleのcloud functionsのpubsubトリガーで行います。
|
11
10
|
|
12
11
|
### 発生している問題・エラーメッセージ
|
12
|
+
コードはgoogle colaboratoryで実行するとうまくいきました。
|
13
|
-
cloud functionsでデプロイ後,関数をテストすると下記のエラーが出ます。
|
13
|
+
しかしcloud functionsでデプロイ後,関数をテストすると下記のエラーが出ます。
|
14
14
|
|
15
15
|
Error: function terminated. Recommended action: inspect logs for termination reason. Additional troubleshooting documentation can be found at https://cloud.google.com/functions/docs/troubleshooting#logging Details:500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
|
16
16
|
|
@@ -46,7 +46,7 @@
|
|
46
46
|
return True
|
47
47
|
|
48
48
|
### 試したこと
|
49
|
-
|
49
|
+
|
50
50
|
|
51
51
|
### 補足情報(FW/ツールのバージョンなど)
|
52
52
|
下記の動画を参考に作成しました。
|