Comments (8)
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.
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.
FYI went fishing the mail,
Goes like :
EndTime: 24/10/2017 11:00:39
BeginTime: 24/10/2017 11:00:00
from dupreport.
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.
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.
With the beta branch, it worked by copying the .rc and doing a -i first,
Thanx
from dupreport.
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.
Closed, but still a mystery...
from dupreport.
Related Issues (20)
- Fix Typos in convert.py file HOT 1
- Add OS Name & Version to Log File HOT 1
- dupReport.py installer changes folder name HOT 2
- Error crash when target destination is unavailable HOT 1
- smtplib.SMTPDataError: (501, b'Syntax error - line too long') HOT 18
- Typo in [report] section HOT 1
- Change description of -verbose command line option HOT 1
- Program crashes when can't connect to SMTP server HOT 1
- Fix Typos in docs/WhatIsDupreport.md HOT 1
- Indicate Warning or Error in subject line of the mail report HOT 16
- Only send on failure HOT 1
- Parsing failures HOT 4
- Enabling "Less secure apps" is required for Gmail access HOT 2
- "Nonetype has no attribute groups" - dupreport crash HOT 7
- Add an Ignore option to the Source-Destination Section of the .RC file HOT 1
- Need more flexibility in defining Subject Line and S-D regex in .rc file (Was: RegEx suddenly does not match anymore) HOT 16
- dupReport is ignoring Backup Warning Threshold HOT 1
- Typo in the docs for the-b option HOT 1
- Syslog output crashes ELK Logstash 8.1.2 HOT 1
- Ignored S/D Pairs still show up in LastSeen Report
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dupreport.