Giter Site home page Giter Site logo

Comments (8)

HandyGuySoftware avatar HandyGuySoftware commented on May 25, 2024

WolfTohsaka, can you run the program using the -v 2 option (or set verbose=2 in the .rc file), then send/post the dupReport.log file so I can try to trace the problem? Thanks.

from dupreport.

WolfTohsaka avatar WolfTohsaka commented on May 25, 2024

Could be a datetime problem, as I use a French-locale Debian :

wolf@dupReport:~/dupReport-master$ locale
LANG=fr_FR.UTF-8
LANGUAGE=
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=

End of the .log :


SELECT messageId FROM emails WHERE messageId='<MWMVKGGQO2U4.0U8P5T43BVTG3@wolf-HP>'
Message [<MWMVKGGQO2U4.0U8P5T43BVTG3@wolf-HP>] already in email database
create_summary_report(): SELECT source, destination, lastDate,lastTime,lastFileCount,lastFileSize from backupsets order by source, destination
create_email_text(): textTup=('Duplicati Backup Summary Report\n',)  fmtTup=('^',)create_email_text(): textTup=('Date', 'Time', 'Files', '+/-', 'Size (GB)', '+/- (GB)', 'Added', 'Deleted', 'Modified', 'Errors', 'Result')  fmtTup=('11', '9', '>10', '10', '>18', '18', '>10', '>10', '>10', '>10', '<11')bkSetRows=[[('wolfPC', 'BackupBox01wolf', '2017/24/10', '11:00:39', 86055, 10362526558)]]
Src=[wolfPC] Dest=[BackupBox01wolf] lastDate=[2017/24/10] lastTime=[11:00:39] lastFileCount=[86055] lastFileSize=[10362526558]
create_email_text(): textTup=('***** wolfPC to BackupBox01wolf *****',)  fmtTup=('',)SELECT endDate, endtime, examinedFiles, sizeOfExaminedFiles, addedFiles, deletedFiles, modifiedFiles,             filesWithError, parsedResult, warnings, errors FROM emails WHERE sourceComp='wolfPC' AND destComp='BackupBox01wolf'             AND  ((endDate > '2017/24/10') OR  ((endDate == '2017/24/10') AND (endtime > '11:00:39'))) order by endDate, endTime
emailRows=[[]]

And opening the .db file, seems theres something weird in the fridge :

emailDate gets a "2017-10-24" as expected

But beginDate and endDate get "2017/24/10" (Yes, the Duplicati-running computer gets a French locale too)

from dupreport.

WolfTohsaka avatar WolfTohsaka commented on May 25, 2024

FYI went fishing the mail,

Goes like :



EndTime: 24/10/2017 11:00:39
BeginTime: 24/10/2017 11:00:00

from dupreport.

HandyGuySoftware avatar HandyGuySoftware commented on May 25, 2024

Once the program runs it remembers the emails it read. You'll need to reset the database with dupReport.py -i, then run the program with the -v 2 to capture the full log. The locale thing might be the issue, but the full log (with -v 2) will tell me for sure (& how to fix it).

from dupreport.

HandyGuySoftware avatar HandyGuySoftware commented on May 25, 2024

WolfTohsaka, doing some research I can't seem to confirm that the locale setting is the problem. I've added some more debug code to test with.

Please download dupReport.py from the "beta" branch and run it with option '-v2'. Then post the last 20 lines from the dupReport.log file. That should give me the information I need to figure out what's happening. Thanks.

from dupreport.

WolfTohsaka avatar WolfTohsaka commented on May 25, 2024

With the beta branch, it worked by copying the .rc and doing a -i first,

Thanx

from dupreport.

HandyGuySoftware avatar HandyGuySoftware commented on May 25, 2024

OK, then. That's great (but strange). I didn't change anything in the beta build, just added some more debug statements. Just for testing, can you run the 'master' branch version of the program again and see if it goes back to the old behavior?

from dupreport.

HandyGuySoftware avatar HandyGuySoftware commented on May 25, 2024

Closed, but still a mystery...

from dupreport.

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.