Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] python3-magic and pass-import problem
Date: Mon, 13 Jul 2020 16:36:00 +0200	[thread overview]
Message-ID: <20200713143600.qbF1ljqqmJ26NvF8q2mBVT-BmdZ-vZr0HQh-8rqdUeE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23535@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]

Closed issue by bda65 on void-packages repository

https://github.com/void-linux/void-packages/issues/23535

Description:
### System
x86_64 Glibc
* xuname:  
  *Void 5.7.8_1 x86_64 GenuineIntel uptodate rrFFFF
* packages:  
  *python3-magic-0.4.18_1
  *pass-import-3.0_1

### Actual behavior
Import from cvs file (exported from firefox) return this:
```
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.8/site-packages/pass_import/__main__.py", line 425, in <module>
    main()
  File "/usr/lib/python3.8/site-packages/pass_import/__main__.py", line 407, in main
    decryptsource(conf)
  File "/usr/lib/python3.8/site-packages/pass_import/__main__.py", line 260, in decryptsource
    frmt, encoding = get_magics(path)
  File "/usr/lib/python3.8/site-packages/pass_import/tools.py", line 42, in get_magics
    res = magic.detect_from_content(header)
AttributeError: module 'magic' has no attribute 'detect_from_content'
```
### Steps to reproduce the behavior
```
pass import csv file.csv --cols 'url,login,pass'
```

      parent reply	other threads:[~2020-07-13 14:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-12 10:20 [ISSUE] " bda65
2020-07-12 13:12 ` bda65
2020-07-12 23:38 ` sgn
2020-07-13  0:04 ` sgn
2020-07-13  0:32 ` sgn
2020-07-13 13:05 ` bda65
2020-07-13 13:15 ` sgn
2020-07-13 14:36 ` sgn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200713143600.qbF1ljqqmJ26NvF8q2mBVT-BmdZ-vZr0HQh-8rqdUeE@z \
    --to=sgn@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).