Comments (8)
OK, pushed an update. Also fixed #38 . Give it a try. (Fingers crossed)
from dupreport.
What version of Python are you running?
from dupreport.
Hello, I use Python 3.2.5.1 on Windows - from this portable package http://portablepython.com/wiki/PortablePython3.2.5.1/
But if you think that may cause problem, I can try it to another version
from dupreport.
I am suspecting that Portable Python does not have the full datetime libraries that regular Python has. dupReport 2.1 uses a more extensive library set than 2.0 did, which is why it requires Python 3 to run. It also appears that Portable Python is no longer under development, which would explain why it is still on Python Version 2. Would it be possible to install a full current Python 3 distribution?
from dupreport.
Thanks and sorry - from the beginning I was afraid I could use the problem version.
Now I tried it on two Windows PC, one with latest installed Python 3.6.3
And second PC with WinPython 3.4.4.2 (portable python still in development)
This is error message from Python 3.6.3
C:\Users\kratkoruky\Desktop\python>dupReport.py -i
Traceback (most recent call last):
File "C:\Users\kratkoruky\Desktop\python\dupReport.py", line 182, in <module>
globs.inServer.processMessage(nxtMsg)
File "C:\Users\kratkoruky\Desktop\python\dremail.py", line 425, in processMessage
globs.log.write(3, 'endTimeStamp=[{}] beginTimeStamp=[{}]'.format(drdatetime.fromTimestamp(dateParts['endTimestamp']
datetime.fromTimestamp(dateParts['beginTimestamp'])))
File "C:\Users\kratkoruky\Desktop\python\drdatetime.py", line 131, in fromTimestamp
dt = datetime.datetime.fromtimestamp(ts)
TypeError: an integer is required (got type str)
And from WinPython
PS D:\WinPython-64bit-3.4.4.2\python-3.4.4.amd64> .\python.exe D:\dupReport-2.1.0_Beta\dupReport-2.1.0_Beta\dupReport.py
-i
Traceback (most recent call last):
File "D:\dupReport-2.1.0_Beta\dupReport-2.1.0_Beta\dupReport.py", line 187, in <module>
globs.inServer.processMessage(nxtMsg)
File "D:\dupReport-2.1.0_Beta\dupReport-2.1.0_Beta\dremail.py", line 425, in processMessage
globs.log.write(3, 'endTimeStamp=[{}] beginTimeStamp=[{}]'.format(drdatetime.fromTimestamp(dateParts['endTimestamp']), drdatetime.fromTimestamp(dateParts['beginTimestamp'])))
File "D:\dupReport-2.1.0_Beta\dupReport-2.1.0_Beta\drdatetime.py", line 131, in fromTimestamp
dt = datetime.datetime.fromtimestamp(ts)
TypeError: a float is required
PS D:\WinPython-64bit-3.4.4.2\python-3.4.4.amd64>
End of WinPython log:
]
Warnings: []
Errors: []
, Failed: .*, 0, 1
drdatetime.fromTimestamp(1512214115, DD.MM.YYYY, HH:MM:SS)
from dupreport.
Keep runing into the TypeError: a float is required myself.
Should dt = datetime.datetime.fromtimestamp(float(ts))?
from dupreport.
Yeah, just seeing that now. Not sure why it works here but tripping you guys up. Give me a minute...
from dupreport.
THANKS ! :-)
It works.
WinPython nad Python 3.6.3 they no longer have a problem
On the other hand PortablePython3.2.5.1 has still library problem ( #36 (comment) ), so he is not compatible with 2.1.0 beta.
I'm switching to WinPython - thanks again.
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.