לא מצליח להגיש את התרגיל מן המסד

בניתי אותו בpowerpoint,
ניסיתי להגיש אותו כקובץ עם סיומת ppt, סיומת png , ניסיתי לתת לו שם upload_257, יצרתי קובץ זיפ ממנו עם השם upload_257, ושום דבר לא עובד, וניסיתי לכתוב בתוך הקובץ כטקסט את הביטוי: upload_257
אשמח לעזרה

היי,
המערכת לא תומכת בקובצי PPTX/PPT.
סיומת PNG אמורה לעבוד. אם תוכל לשלוח מה השגיאה שמופיעה לך ב־Devtools תחת הלשונית Networks כשאתה מנסה להעלות את הקובץ, בבקשה שיוצאת, בלשונית Response, יהיה לי יותר קל לדעת מה הבעיה :slight_smile:

לייק 1

בnetwork אחרי העלאה לחצתי על 257:

מתחת Response headers, (ראיתי שבלשונית הresoponse יש לי את קובץ הHTML) קיבלתי את המידע הבא:

  1. access-control-allow-headers:

Content-Type,Authorization

  1. access-control-allow-methods:

GET,PUT,POST,DELETE

  1. access-control-allow-origin:

  2. content-encoding:

gzip

  1. content-type:

text/html; charset=utf-8

  1. date:

Sat, 21 Nov 2020 09:13:03 GMT

  1. server:

nginx/1.14.2

  1. status:

200

  1. vary:

Cookie

ה־Response Headers לא עוזרים לי :slight_smile: אני צריך את מה שכתוב בלשונית Response

לייק 1

‘’’

מערכת הגשת תרגילים לקורס פייתון
הלוגו של פרויקט לומדים פייתון: נחש צהוב על רקע עיגול בצבע תכלת, ומתחתיו כתוב - לומדים פייתון.
  • הודעות 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">
                הפתרון שלך לתרגיל &#34;חוק בנפורד&#34; נבדק.
              </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">
                הפתרון שלך לתרגיל &#34;לזכור את הטיטאנים&#34; נבדק.
              </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">
                הפתרון שלך לתרגיל &#34;אם הרחקתי ראות&#34; נבדק.
              </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">
                הפתרון שלך לתרגיל &#34;דקות של תהילה&#34; נבדק.
              </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

אבל בתמונה שצילמת זו לא השורה שמסומנת

לייק 1

אני רואה שיש מתחת לכותרת name גם ערך upload , בתוך לשונית response שבו כתוב:
{“exercise_matches”:,“exercise_misses”:}

זה אומר ששם הקובץ שלך לא נכון. תוכל לצלם לי את הקובץ בסייר הקבצים שלך?

שים לב שהקובץ הוא קובץ Powerpoint ולא באמת png.
אתה יכול לראות בעמודה שכתוב “סוג: מצגת”.
ודא שאתה שומר את הקובץ כתמונה ולא כמצגת.

לייק 1

המערכת לא קיבלה png.
Jpg עובד חלק. פשוט תמירו לזה בצייר וזהו

אמור לאפשר png, ר’ כאן

לייק 1

השתמשתי בצייר ושמרתי כ png ולא היתה לי כל בעיה עם להעלות למערכת :slight_smile:

לייק 1

המערכת קיבלה לי בלי בעיה קבצים מסוג PNG.

לייק 1