datatracker
datatracker copied to clipboard
3.0MB is too small for expanded XML
type_defect | by [email protected]
rift draft is almost 4MB with figures now
Issue migrated from trac:3346 at 2022-03-04 09:07:45 +0000
@[email protected] changed status from new to under_review
@[email protected] commented
Tony - Please provide more detail - at what step are you running into a 3Mb limit, and what was the error message?
Is it possible you were doing a lot of other submissions that day and ran into one of the much higher cumulative daily limits?
I'm co-author on the draft Tony is referring to.
From: https://github.com/ietf-tools/datatracker/blob/9d10fb7dd1b94c105547feb4692c69897d95309e/ietf/settings.py
IDSUBMIT_MAX_DRAFT_SIZE = {
'txt': 2*1024*1024, # Max size of txt draft file in bytes
'xml': 3*1024*1024, # Max size of xml draft file in bytes
'html': 4*1024*1024,
'pdf': 6*1024*1024,
'ps' : 6*1024*1024,
}
I think we're hitting the XML limit for a single draft mentioned in settings.py
Thanks - what is the expanded size of your draft? (Run xml2rfc --expand locally), or point me to your current source?
3637381 bytes.
jhead@jhead-mbp rift-draft-main % ls -l draft-ietf-rift-15.exp.xml
-rw-r--r-- 1 jhead staff 3637381 Aug 1 15:01 draft-ietf-rift-15.exp.xml
Also check draft-dnoveck-nfsv4-rfc5661bis - almost 700 pages.