בניתי אותו בpowerpoint,
ניסיתי להגיש אותו כקובץ עם סיומת ppt, סיומת png , ניסיתי לתת לו שם upload_257, יצרתי קובץ זיפ ממנו עם השם upload_257, ושום דבר לא עובד, וניסיתי לכתוב בתוך הקובץ כטקסט את הביטוי: upload_257
אשמח לעזרה
היי,
המערכת לא תומכת בקובצי PPTX/PPT.
סיומת PNG אמורה לעבוד. אם תוכל לשלוח מה השגיאה שמופיעה לך ב־Devtools תחת הלשונית Networks כשאתה מנסה להעלות את הקובץ, בבקשה שיוצאת, בלשונית Response, יהיה לי יותר קל לדעת מה הבעיה
בnetwork אחרי העלאה לחצתי על 257:
מתחת Response headers, (ראיתי שבלשונית הresoponse יש לי את קובץ הHTML) קיבלתי את המידע הבא:
- access-control-allow-headers:
Content-Type,Authorization
- access-control-allow-methods:
GET,PUT,POST,DELETE
-
access-control-allow-origin:
-
content-encoding:
gzip
- content-type:
text/html; charset=utf-8
- date:
Sat, 21 Nov 2020 09:13:03 GMT
- server:
nginx/1.14.2
- status:
200
- vary:
Cookie
ה־Response Headers לא עוזרים לי אני צריך את מה שכתוב בלשונית Response
‘’’
מערכת הגשת תרגילים לקורס פייתון-
הודעות
0
<div class="notification dropdown-item rtl" data-read="true"> <i class="fa icon" aria-hidden="true"></i> <a href="/view/123871" class="notification-text rtl"> הפתרון שלך לתרגיל "חוק בנפורד" נבדק. </a> <span class="notification-date" title="2020-11-19 06:01:59.567953">לפני יומיים</span> </div> <div class="notification dropdown-item rtl" data-read="true"> <i class="fa icon" aria-hidden="true"></i> <a href="/view/123866" class="notification-text rtl"> הפתרון שלך לתרגיל "לזכור את הטיטאנים" נבדק. </a> <span class="notification-date" title="2020-11-19 05:42:48.656382">לפני יומיים</span> </div> <div class="notification dropdown-item rtl" data-read="true"> <i class="fa icon" aria-hidden="true"></i> <a href="/view/123292" class="notification-text rtl"> הפתרון שלך לתרגיל "אם הרחקתי ראות" נבדק. </a> <span class="notification-date" title="2020-11-19 04:55:24.239342">לפני יומיים</span> </div> <div class="notification dropdown-item rtl" data-read="true"> <i class="fa icon" aria-hidden="true"></i> <a href="/view/123872" class="notification-text rtl"> הבודק האוטומטי נתן 3 הערות על תרגילך ילדים זה שמחה?. </a> <span class="notification-date" title="2020-11-18 15:47:39.502520">לפני יומיים</span> </div> <div class="notification dropdown-item rtl" data-read="true"> <i class="fa icon" aria-hidden="true"></i> <a href="/view/123870" class="notification-text rtl"> הבודק האוטומטי נתן 1 הערות על תרגילך חוק בנפורד. </a> <span class="notification-date" title="2020-11-18 15:18:50.236829">לפני יומיים</span> </div> <div class="notification dropdown-item rtl" data-read="true"> <i class="fa icon" aria-hidden="true"></i> <a href="/view/123865" class="notification-text rtl"> הבודק האוטומטי נתן 1 הערות על תרגילך לזכור את הטיטאנים. </a> <span class="notification-date" title="2020-11-18 07:47:52.550699">לפני 3 ימים</span> </div> <div class="notification dropdown-item rtl" data-read="true"> <i class="fa icon" aria-hidden="true"></i> <a href="/view/123293" class="notification-text rtl"> הבודק האוטומטי נתן 2 הערות על תרגילך לזכור את הטיטאנים. </a> <span class="notification-date" title="2020-11-12 11:14:50.425819">לפני שבוע</span> </div> <div class="notification dropdown-item rtl" data-read="true"> <i class="fa icon" aria-hidden="true"></i> <a href="/view/123291" class="notification-text rtl"> הבודק האוטומטי נתן 2 הערות על תרגילך אם הרחקתי ראות. </a> <span class="notification-date" title="2020-11-12 10:10:45.294390">לפני שבוע</span> </div> <div class="notification dropdown-item rtl" data-read="true"> <i class="fa icon" aria-hidden="true"></i> <a href="/view/123290" class="notification-text rtl"> הבודק האוטומטי נתן 7 הערות על תרגילך אם הרחקתי ראות. </a> <span class="notification-date" title="2020-11-12 10:09:43.688633">לפני שבוע</span> </div> <div class="notification dropdown-item rtl" data-read="true"> <i class="fa icon" aria-hidden="true"></i> <a href="/view/122561" class="notification-text rtl"> הפתרון שלך לתרגיל "דקות של תהילה" נבדק. </a> <span class="notification-date" title="2020-11-11 00:06:24.339248">לפני שבוע</span> </div> <div id="read-notifications" class="notification dropdown-item"> <i class="fa fa-check" aria-hidden="true"></i> <a href="#">סמן הכל כנקרא.</a> </div> </div> </li> <li class="nav-item"> <a href="/send" class="nav-link"> <i class="fa fa-upload" aria-hidden="true"></i> העלאת תרגילים </a> </li> <li class="nav-item"> <a href="/exercises" class="nav-link"> <i class="fa fa-book" aria-hidden="true"></i> רשימת התרגילים </a> </li> <li class="nav-item"> <a href="/user/2258" class="nav-link"> <i class="fa fa-user" aria-hidden="true"></i> המשתמש שלי </a> </li> </ul> <ul class="navbar-nav mr-auto"><li class="nav-item"> <a href="/logout" class="nav-link"> <i class="fa fa-sign-out" aria-hidden="true"></i> התנתקות </a> </li> </ul> </div>
העלאת מחברות
גררו לכאן את קובץ המחברת, או לחצו ובחרו אותה מהמחשב שלכם.חזרו לרשימת התרגיליםהועלו: נכשלו:
'''<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha2/js/bootstrap.bundle.min.js" integrity="sha384-BOsAfwzjNJHrJ8cZidOg56tcQWfp6y72vEJ8xQ9w6Quywb24iOsW913URv1IS4GD" crossorigin="anonymous"></script>
אתה בטוח שמה שמסומן זו השורה שמופיעה אחרי שניסית להעלות את הקובץ?
השם שיופיע אמור להיות upload
כן
202020202020202020
אבל בתמונה שצילמת זו לא השורה שמסומנת
אני רואה שיש מתחת לכותרת name גם ערך upload , בתוך לשונית response שבו כתוב:
{“exercise_matches”:,“exercise_misses”:}
זה אומר ששם הקובץ שלך לא נכון. תוכל לצלם לי את הקובץ בסייר הקבצים שלך?
שים לב שהקובץ הוא קובץ Powerpoint ולא באמת png.
אתה יכול לראות בעמודה שכתוב “סוג: מצגת”.
ודא שאתה שומר את הקובץ כתמונה ולא כמצגת.
המערכת לא קיבלה png.
Jpg עובד חלק. פשוט תמירו לזה בצייר וזהו
השתמשתי בצייר ושמרתי כ png ולא היתה לי כל בעיה עם להעלות למערכת
המערכת קיבלה לי בלי בעיה קבצים מסוג PNG.