Giter Club home page Giter Club logo

apix's Introduction

About

class SoftwareQualityEngineer:
    """We write software that tests other software"""

    def __init__(self):
        self.name = "Jake Callahan"
        self.position = "Technical Lead"
        self.team = "Satellite QE"
        self.company = "Red Hat"
        self.title_modifier = "Principal"

    def __repr__(self):
        return " - ".join((self.name, self.position, self.team, self.company))

    @property
    def social(self):
        """Contact me easily here:"""
        return {
            "Twitter": "https://twitter.com/JakeJCallahan",
            "YouTube": "https://youtube.com/c/JakeCallahan",
        }

GitHub Jake YouTube Channel Subscribers YouTube Channel Views Twitter Follow

GitHub Stats

Jake's GitHub Stats

apix's People

Contributors

jacobcallahan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

apix's Issues

Missing log file results in failure

apix explore --help
Traceback (most recent call last):
  File "/home/tasander/.local/bin/apix", line 11, in <module>
    load_entry_point('apix==0.3.1', 'console_scripts', 'apix')()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/tasander/.local/lib/python3.8/site-packages/apix/__main__.py", line 10, in <module>
    from apix import logger
  File "/home/tasander/.local/lib/python3.8/site-packages/apix/logger.py", line 34, in <module>
    setup_logzero()
  File "/home/tasander/.local/lib/python3.8/site-packages/apix/logger.py", line 28, in setup_logzero
    logzero.logfile(
  File "/home/tasander/.local/lib/python3.8/site-packages/logzero/__init__.py", line 416, in logfile
    rotating_filehandler = RotatingFileHandler(filename, mode=mode, maxBytes=maxBytes, backupCount=backupCount, encoding=encoding)
  File "/usr/lib64/python3.8/logging/handlers.py", line 148, in __init__
    BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib64/python3.8/logging/handlers.py", line 55, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1143, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib64/python3.8/logging/__init__.py", line 1172, in _open
    return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/logs/apix.log'

This only appears to be the issue with the /tmp/logs directory not being created. After creating, I get a clean run.

apix explore --help
usage: apix [-h] -n API_NAME -u HOST_URL [-b BASE_PATH] [-v VERSION] [-p PARSER] [--data-dir DATA_DIR] [--compact] [--debug]

optional arguments:
  -h, --help            show this help message and exit
  -n API_NAME, --api-name API_NAME
                        The name of the API (satellite6).
  -u HOST_URL, --host-url HOST_URL
                        The url for the API's host (http://my.host.domain/).
  -b BASE_PATH, --base-path BASE_PATH
                        The apidoc location relative to the host's url (apidoc/).
  -v VERSION, --version VERSION
                        The API version we're exploring (6.3).
  -p PARSER, --parser PARSER
                        The name of the parser to use when pulling data (apipie).
  --data-dir DATA_DIR   The base directory in which to save exports.
  --compact             Strip all the extra information from the saved data.
  --debug               Enable debug loggin level.

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.