質問編集履歴

3

修正

2020/01/23 14:50

投稿

ruuuu
ruuuu

スコア174

test CHANGED
File without changes
test CHANGED
@@ -94,4 +94,14 @@
94
94
 
95
95
  **追記です**
96
96
 
97
+ エラーの出ている箇所なのですが、
98
+
99
+ ```
100
+
97
- エラーの出ている箇所なのですが、```baseball.py", line 17, in <module>```こちらのように記述されているため、17行目に発生しているものと思われます。
101
+ baseball.py", line 17, in <module>
102
+
103
+ item_name = table_adrs.select_one(".name")
104
+
105
+ ```
106
+
107
+ こちらのように記述されているため、17行目に発生しているものと思われます。

2

追記

2020/01/23 14:50

投稿

ruuuu
ruuuu

スコア174

test CHANGED
File without changes
test CHANGED
@@ -89,3 +89,9 @@
89
89
  こちらのエラーの解決のため、ご助言頂けましたら幸いです。
90
90
 
91
91
  よろしくお願いします。
92
+
93
+
94
+
95
+ **追記です**
96
+
97
+ エラーの出ている箇所なのですが、```baseball.py", line 17, in <module>```こちらのように記述されているため、17行目に発生しているものと思われます。

1

文法修正

2020/01/23 14:46

投稿

ruuuu
ruuuu

スコア174

test CHANGED
File without changes
test CHANGED
@@ -78,13 +78,13 @@
78
78
 
79
79
  こちらを実行しますと、以下のエラーが出力されます。
80
80
 
81
- ```
82
81
 
82
+
83
- "ResultSet object has no attribute '%s'. You're probably treating a list of elements like a single element. Did you call find_all() when you meant to call find()?" % key
83
+ > "ResultSet object has no attribute '%s'. You're probably treating a list of elements like a single element. Did you call find_all() when you meant to call find()?" % key
84
84
 
85
85
  AttributeError: ResultSet object has no attribute 'select_one'. You're probably treating a list of elements like a single element. Did you call find_all() when you meant to call find()?
86
86
 
87
- ```
87
+
88
88
 
89
89
  こちらのエラーの解決のため、ご助言頂けましたら幸いです。
90
90