Comments (9)
Looks like you can change:
/usr/lib/python3.6/site-packages/maildir_deduplicate/cli.py
Line: 51 and 52:
#@click_log.init(logger)
@click_log.simple_verbosity_option('logger',
default='INFO', metavar='LEVEL',
help='Either CRITICAL, ERROR, WARNING, INFO or DEBUG. Defaults to INFO.')
Line: 59:
level = logging.getLogger('logger').level
Not sure if there is more or not...
from mail-deduplicate.
Thanks bdillahu,
I made changes in cli.py and deduplicate.py in the spirit of this project. Now the script is running and showing all log entries until I finally run into #57 :-(
from mail-deduplicate.
Yeah, I commented out the one assert that it was failing on, but I'm not really sure that is 1) safe, and 2) working... I haven't had much time to test since then.
from mail-deduplicate.
Neither safe nor working. It just blocks my terminal after showing the report tables. Strange enough, I cannot find a running python process.
from mail-deduplicate.
Hi,
I have this issue now with the current version (just now did pip install) and python 2.7.15 (current homebrew version) - what gives?
from mail-deduplicate.
Although the patch provided by @bdillahu prevented from showing the error the application did not do the task.
The real fix for me was to clone the repository and use the develop branch:
git clone [email protected]:kdeldycke/maildir-deduplicate.git;
cd maildir-deduplicate;
python ./setup.py develop
from mail-deduplicate.
Traceback (most recent call last):
File "DeepSpeech.py", line 11, in
import absl.app
File "/home/sehar/venv/lib/python3.6/site-packages/absl/app.py", line 40, in
from absl import flags
File "/home/sehar/venv/lib/python3.6/site-packages/absl/flags/init.py", line 41, in
from absl.flags import _defines
File "/home/sehar/venv/lib/python3.6/site-packages/absl/flags/_defines.py", line 31, in
from absl.flags import _flagvalues
File "/home/sehar/venv/lib/python3.6/site-packages/absl/flags/_flagvalues.py", line 27, in
import logging
File "/home/sehar/DeepSpeech/absl/logging/init.py", line 92, in
from absl.logging import converter
File "/home/sehar/venv/lib/python3.6/site-packages/absl/logging/init.py", line 92, in
from absl.logging import converter
File "/home/sehar/venv/lib/python3.6/site-packages/absl/logging/converter.py", line 52, in
STANDARD_CRITICAL = logging.CRITICAL
AttributeError: module 'logging' has no attribute 'CRITICAL'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/init.py", line 5, in
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in
from apport.packaging_impl import impl as packaging
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in
import apt
File "/usr/lib/python3/dist-packages/apt/init.py", line 26, in
from apt.package import Package
File "/usr/lib/python3/dist-packages/apt/package.py", line 24, in
import logging
File "/home/sehar/DeepSpeech/absl/logging/init.py", line 92, in
from absl.logging import converter
File "/home/sehar/venv/lib/python3.6/site-packages/absl/logging/init.py", line 92, in
from absl.logging import converter
File "/home/sehar/venv/lib/python3.6/site-packages/absl/logging/converter.py", line 52, in
STANDARD_CRITICAL = logging.CRITICAL
AttributeError: module 'logging' has no attribute 'CRITICAL'
Original exception was:
Traceback (most recent call last):
File "DeepSpeech.py", line 11, in
import absl.app
File "/home/sehar/venv/lib/python3.6/site-packages/absl/app.py", line 40, in
from absl import flags
File "/home/sehar/venv/lib/python3.6/site-packages/absl/flags/init.py", line 41, in
from absl.flags import _defines
File "/home/sehar/venv/lib/python3.6/site-packages/absl/flags/_defines.py", line 31, in
from absl.flags import _flagvalues
File "/home/sehar/venv/lib/python3.6/site-packages/absl/flags/_flagvalues.py", line 27, in
import logging
File "/home/sehar/DeepSpeech/absl/logging/init.py", line 92, in
from absl.logging import converter
File "/home/sehar/venv/lib/python3.6/site-packages/absl/logging/init.py", line 92, in
from absl.logging import converter
File "/home/sehar/venv/lib/python3.6/site-packages/absl/logging/converter.py", line 52, in
STANDARD_CRITICAL = logging.CRITICAL
AttributeError: module 'logging' has no attribute 'CRITICAL'
from mail-deduplicate.
I got this error while running my run file for training my model
from mail-deduplicate.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from mail-deduplicate.
Related Issues (20)
- `--help` option and naked `mdedup` calls must print the same help screen HOT 4
- Hardlink Dupes HOT 4
- warn users of the 3.x release of the unsupported status HOT 6
- Update GitHub project description and link HOT 4
- add pip to pyproject.toml? HOT 6
- Object has no attribute '_subdir' error HOT 8
- Add option to ignore single messages when performing any actions HOT 2
- AttributeError: 'MaildirDedupMail' object has no attribute '_subdir' HOT 2
- iteritems is python2-only HOT 3
- -s discard-newer -a delete-discarded isn't deleting any mail HOT 2
- `boltons.ecoutils.pprint` error on Python 3.10 HOT 7
- OOM: `mdedup` hangs then exits with message `Killed` HOT 8
- No docs HOT 4
- Broken links HOT 1
- Broken links HOT 1
- Broken links HOT 1
- Create a new, deduplicated mailbox with unique emails too (Documentation: What is "discarded"?) HOT 3
- TypeError: 'NoneType' object is not subscriptable (mail with no Date) HOT 1
- Broken links
- 🎁 Multiple strategies
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 mail-deduplicate.