GithubHelp home page GithubHelp logo

grepg's Introduction

Hi there ๐Ÿ‘‹

grepg's People

Contributors

evidanary avatar tejal29 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

grepg's Issues

Does not install on Ubuntu

I get the following exception

Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1436, in install
requirement.install(install_options, global_options, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 672, in install
self.move_wheel_files(self.source_dir, root=root)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 902, in move_wheel_files
pycompile=self.pycompile,
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 206, in move_wheel_files
clobber(source, lib_dir, True)
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 193, in clobber
os.makedirs(destsubdir)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/grepg-0.0.5.dist-info'

Storing debug log for failure in /home/yranadive/.pip/pip.log

Error when calling grepg on Windows

When calling any Grepg command on windows (Python 3.5.2) I get the following error:
Grepg is installed using pip install grepg

Traceback (most recent call last):
  File "C:\Users\Viktor\AppData\Local\Programs\Python\Python35-32\Scripts\grepg-script.py", line 9, in <module>
    load_entry_point('grepg==0.1.0', 'console_scripts', 'grepg')()
  File "c:\users\viktor\appdata\local\programs\python\python35-32\lib\site-packages\pkg_resources\__init__.py", line 542, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "c:\users\viktor\appdata\local\programs\python\python35-32\lib\site-packages\pkg_resources\__init__.py", line 2569, in load_entry_point
    return ep.load()
  File "c:\users\viktor\appdata\local\programs\python\python35-32\lib\site-packages\pkg_resources\__init__.py", line 2229, in load
    return self.resolve()
  File "c:\users\viktor\appdata\local\programs\python\python35-32\lib\site-packages\pkg_resources\__init__.py", line 2235, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "c:\users\viktor\appdata\local\programs\python\python35-32\lib\site-packages\grepg\main.py", line 6, in <module>
    from twitter.common import app, log
  File "c:\users\viktor\appdata\local\programs\python\python35-32\lib\site-packages\twitter\common\app\__init__.py", line 39, in <module>
    from .application import Application
  File "c:\users\viktor\appdata\local\programs\python\python35-32\lib\site-packages\twitter\common\app\application.py", line 39, in <module>
    from twitter.common.process import daemonize
  File "c:\users\viktor\appdata\local\programs\python\python35-32\lib\site-packages\twitter\common\process\__init__.py", line 7, in <module>
    from .process_provider_ps import ProcessProvider_PS
  File "c:\users\viktor\appdata\local\programs\python\python35-32\lib\site-packages\twitter\common\process\process_provider_ps.py", line 2, in <module>
    from process_handle_ps import ProcessHandlePs
ImportError: No module named 'process_handle_ps'

grepg --help should show a field for match-op

--help does not show match-op

โžœ grepg.vim git:(master) grepg --help
Usage: grepg -u <user_name> [-t <topic_name> -s <search_term>]

Options:
-h, --help, --short-help
show this help message and exit.
--long-help show options from all registered modules, not just the
main module.
-v, --verbose Log to stdout [default: False]
-f, --force Force fetch cheats and update cached cheats. Default
Cache TTL 10 seconds [default: False]
-u USER, --user=USER username
-t TOPIC, --topic=TOPIC
topic
-s SEARCH, --search=SEARCH
text to search
-c, --colorize colorize output
-n, --no-colorize no colorize output [default: True]

Should have history of queries on local filesystem

We should log the query history in case someone wants to look at them on their local filesystem.

Perhaps the option should be called --log-queries-path=DIRECTORY_NAME
not generating a log when not supplied.

Filename could be something like grepg-queries.log with tab separated fields (IOS8901 date, hits, query) e.g.
2016-04-01T13:01:02Z\truby open file\t3
2016-05-09T12:01:02Z\tpython open file\t0

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.