View Issue Details

IDProjectCategoryView StatusLast Update
0002206Kali LinuxKali Package Bugpublic2018-01-29 11:49
Reportertuxthepenguin Assigned Tog0tmi1k  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionsuspended 
Product Version1.1.0 
Summary0002206: python.gevent error. python package compiled incorrectly
Description

when trying to use python.gevent_theadring getting error:

this happened while trying to implement pyshark:
import pyshark
capture = pyshark.LiveCapture(interface='wlan0')
capture.sniff(timeout=50)
capture
i have tried also to run it through interpreter yet, i got this error:
import pyshark

ImportError Traceback (most recent call last)
<ipython-input-1-e46ddf42872e> in <module>()
----> 1 import pyshark

/usr/local/lib/python2.7/dist-packages/pyshark-0.3.4-py2.7.egg/pyshark/init.py in <module>()
----> 1 from pyshark.capture.live_capture import LiveCapture
2 from pyshark.capture.file_capture import FileCapture
3 from pyshark.capture.remote_capture import RemoteCapture
4 from pyshark.capture.inmem_capture import InMemCapture

/usr/local/lib/python2.7/dist-packages/pyshark-0.3.4-py2.7.egg/pyshark/capture/live_capture.py in <module>()
----> 1 from pyshark.capture.capture import Capture
2 from pyshark.tshark.tshark import get_tshark_interfaces
3
4
5 class LiveCapture(Capture):

/usr/local/lib/python2.7/dist-packages/pyshark-0.3.4-py2.7.egg/pyshark/capture/capture.py in <module>()
1 from future import unicode_literals
2 import os
----> 3 import logbook
4 import sys
5

/usr/local/lib/python2.7/dist-packages/logbook/init.py in <module>()
12
13
---> 14 from logbook.base import LogRecord, Logger, LoggerGroup, NestedSetup, \
15 Processor, Flags, get_level_name, lookup_level, dispatch_record, \
16 CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG, NOTSET, \

/usr/local/lib/python2.7/dist-packages/logbook/base.py in <module>()
16 from datetime import datetime
17 from logbook import helpers
---> 18 from logbook.concurrency import thread_get_name, thread_get_ident, greenlet_get_ident
19
20 from logbook.helpers import to_safe_json, parse_iso8601, cached_property, \

/usr/local/lib/python2.7/dist-packages/logbook/concurrency.py in <module>()
29
30 if has_gevent:
---> 31 from gevent._threading import (Lock as ThreadLock,
32 RLock as ThreadRLock,
33 get_ident as thread_get_ident,

ImportError: No module named _threading

i tried importing threading first and importing pyshark, but the answer was the same.

Steps To Reproduce
  1. open ipython
  2. import pyshark --> not able to load the module
Additional Information

according to python-mailing list, Apparently, kali is using a version of Python compiled without support for threading, specificly for gevent lib

Activities

g0tmi1k

g0tmi1k

2018-01-29 11:49

administrator   ~0008043

Due to the age of the OS (Kali Moto [v1], Kali Safi [v2], Kali Rolling 2016.x), these legacy versions are no longer supported.
We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux - https://www.kali.org/downloads/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing,and also give information about your setup?
For more information, please read: https://kali.training/topic/filing-a-good-bug-report/

Issue History

Date Modified Username Field Change
2015-04-07 14:10 tuxthepenguin New Issue
2018-01-29 11:49 g0tmi1k Assigned To => g0tmi1k
2018-01-29 11:49 g0tmi1k Status new => closed
2018-01-29 11:49 g0tmi1k Resolution open => suspended
2018-01-29 11:49 g0tmi1k Note Added: 0008043