Giter Site home page Giter Site logo

Comments (9)

bdillahu avatar bdillahu commented on May 27, 2024

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.

mistrey avatar mistrey commented on May 27, 2024

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.

bdillahu avatar bdillahu commented on May 27, 2024

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.

mistrey avatar mistrey commented on May 27, 2024

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.

jefftemplon avatar jefftemplon commented on May 27, 2024

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.

basvanbeeknl avatar basvanbeeknl commented on May 27, 2024

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.

sehargul-123 avatar sehargul-123 commented on May 27, 2024

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.

sehargul-123 avatar sehargul-123 commented on May 27, 2024

I got this error while running my run file for training my model

from mail-deduplicate.

github-actions avatar github-actions commented on May 27, 2024

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)

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.