#4003 Template and File Import Error Messages
Closed: Fixed 5 years ago by pingou. Opened 5 years ago by bex.

I received an email like this:

Subject: [Pagure] Issue import report

Loading: templates/default.md -- 1/1 ... ... SKIPPED - No JSON data
Loading: templates/default.md -- 1/1 ... ... SKIPPED - No JSON data

This doesn't tell me what repo has the problem and I don't know where the JSON format is documented, as I was under the impression that templates were fake-md files.


I also got this:

Subject: [Pagure] Issue import report

Loading: files/8d890eaef8a6010f86f941c471905591e1801fbf28dcbc8bb4bae7fb1e6b8f45-receipts.pdf -- 1/1 ... ... FAILED

The file name helps me narrow it down a bit - but ... the error message seems to be false as the file appears to have loaded. However, the loaded file is a broken image icon that is a link to the real file.

These emails are triggered if you push to the ticket git repository with the ticket hook enabled.
Basically, upon any push to this repo with this hook, it'll try to update the database with the content that was pushed, in this case since you're pushing md files (the templates), it doesn't find JSON and just keeps going.

In other words, these should be safe to ignore.

However, indicating in the report the project that it is about is a good idea :)

Metadata Update from @pingou:
- Issue tagged with: RFE, easyfix

5 years ago

Metadata Update from @pingou:
- Issue set to the milestone: 5.6

5 years ago

Metadata Update from @pingou:
- Issue assigned to pingou

5 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #4423 Merged 5 years ago