Giter Club home page Giter Club logo

adbleed's People

Contributors

jorritolthuis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

adbleed's Issues

Error in configparser

When setting a new value for a variable in commit 04fc0fe, an error is raised.

  File "/Users/jorrit/Documents/GitHub/AdBleed/src/configuration.py", line 55, in setNumberOfHosts
    self.setConf(self.noOfHosts[0], self.noOfHosts[1], str.encode(value))
  File "/Users/jorrit/Documents/GitHub/AdBleed/src/configuration.py", line 20, in setConf
    self.config.set(section, variable, value)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/configparser.py", line 1192, in set
    self._validate_value_types(option=option, value=value)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/configparser.py", line 1177, in _validate_value_types
    raise TypeError("option values must be strings")
TypeError: option values must be strings

This error occurs when the user tries to change the value of any variable using the CLI. This version of the CLI is committed in 61e77d0.

Error loading hosts.txt

Since the update of hosts.txt in bbdbd68, an error occurs. A possible cause could be related to that a Unicode character that is not described in a certain line, however this is not clearly the problem here.

Traceback (most recent call last):
  File "***/AdBleed/src/main.py", line 5, in <module>
    disco = Discovery()
  File "***/AdBleed/src/discovery.py", line 16, in __init__
    for line in file:
  File "***/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc9 in position 787: ordinal not in range(128)
Program ended with exit code: 1

Debugging shows that retrieving line 78558 is problematic. The line before that still enters the loop.

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.