Giter Site home page Giter Site logo

Comments (12)

tierpod avatar tierpod commented on September 23, 2024

@jwnetwerk Thank you for your report!

*.gz files are supported and should be read and unpacked successfully

[ERROR] files: XML syntax error on line 1: illegal character code U+001F, skip

This looks like XML file has incorrect encoding.

Could you please attach such gz or xml file for future investigation?

from dmarc-report-converter.

jwnetwerk avatar jwnetwerk commented on September 23, 2024

Hi, I find out that the problem do not appears when using IMAP. Only when uploading the file directly.
I can supply you with some files, can I mail it to you?

from dmarc-report-converter.

tierpod avatar tierpod commented on September 23, 2024

Yes, or you can attach it right here ("Attach files by dragging & dropping")

from dmarc-report-converter.

jwnetwerk avatar jwnetwerk commented on September 23, 2024

To which address can I mail it? Because of the content I'm not happy at attaching it to this public topic.

from dmarc-report-converter.

tierpod avatar tierpod commented on September 23, 2024

I'm investigating files you provided and it's interesting. It looks like all 3 files gzipped twice:

$ cat xs4all.nl*.xml.gz | gunzip > 1.xml
$ file 1.xml
1.xml: gzip compressed data
$ cat 1.xml | gunzip > 2.xml
$ file 2.xml
2.xml: XML 1.0 document, ASCII text

After that 2.xml is converted successfully.

But they were sent from different email providers (I received reports from outlook.com on my own installation and they were converted fine). Are you sure your email server doesn't change these attachments somehow?

from dmarc-report-converter.

jwnetwerk avatar jwnetwerk commented on September 23, 2024

These mails are received directly from the senders without any modification.

from dmarc-report-converter.

tierpod avatar tierpod commented on September 23, 2024

Hi @jwnetwerk . I added some workaround for this case in branch issue#22, can you build this version and check?

from dmarc-report-converter.

jwnetwerk avatar jwnetwerk commented on September 23, 2024

I tried with the latest build. This still gives the following error:
2022/02/08 14:30:02 [ERROR] files: XML syntax error on line 1: illegal character code U+001F in file /tmp/dmarc_files/protection.outlook.com!***!1643500800!1643587200.xml, skip

from dmarc-report-converter.

tierpod avatar tierpod commented on September 23, 2024

Have you built this version from branch issue#22? Please, show the output of:

./dmarc-report-converter -version

from dmarc-report-converter.

jwnetwerk avatar jwnetwerk commented on September 23, 2024

sorry. used version: v0.6-20220203
not familiar with making a build from source

from dmarc-report-converter.

tierpod avatar tierpod commented on September 23, 2024

Ok, I released v0.6.2 and hope it will fix this problem. Please, update your installation and check.

from dmarc-report-converter.

jwnetwerk avatar jwnetwerk commented on September 23, 2024

You are great, It is working now. Thanks!

from dmarc-report-converter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.