Code Monkey home page Code Monkey logo

motivate's People

Contributors

adiagg2000 avatar althafhussaink avatar antavelos avatar arshan-q avatar ashtsh avatar billhammond-dev avatar bubblemelon avatar chamow97 avatar chironly avatar eazydev avatar fleaz avatar fullstackman avatar fuzzmz avatar karuvally avatar lucyparry avatar lyupin avatar michellymenezes avatar missingbytes avatar mubaris avatar nandy-andy avatar nupurgunwant avatar otazz avatar oyeyipo avatar savannahar68 avatar sesh22 avatar shwuup avatar sreyasrangaraju avatar toivomattila avatar ushirask avatar vvanarasi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

motivate's Issues

Can't update database

Software Specs:

  • Ubuntu 16.04.4 LTS x86_64
  • Python 3.6.5
  • Bash Shell

Steps to Reproduce:

  1. Clone this repository using git clone https://github.com/mubaris/motivate.git
  2. cd motivate
  3. Exec ./UPDATE

Expected Result:
Motivate quote database is updated.

Actual Result:
bash: ./UPDATE: No such file or directory

There is no "UPDATE" script inside the repository? So, how do I update the database?

duplicate quote

In the first data file this appears twice:
More powerful than the will to win is the courage to begin

Fix README

The README doesn't line up with the contents of the repo due to recent changes, could it be updated?

I got notified of a new release, but cloning and following the instructions fresh no longer work.

Cannot install - "This script must be with sudo"

Sorry to spam this board, but I really hope to install motivate into my Macbook (using terminal). The problem I encountered is, the terminal always telling me "This script must be with sudo" when I executed the ./install.sh command.
image

I tried to solve this and I did read some of the related posts from Slackoverflow, but still failed.
For example, I ran sudo ./install.sh and it returned
image

`sh install.sh` : Failed. Return "This script must be with sudo".

chmod +x install.sh and then ./install.sh : Failed. Return "This script must be with sudo".

*I also double checked if I'm in the right directory but still could not install. Hope to have any help! Thank you! :)
image

*Other Info
Macbook Pro, macOS Sierra version 10.12.6

Wrong JSON

there are some files having wrong json format and give error while running the project.
Can I fix that issue ?
Here attached the screenshot of that issue..
error

"can't find the data folder. You probably haven't run 'install.sh' " when typing ' moti ' in the command terminal

I followed the README.md Installation instructions (for no root privilege). I cloned the repo, 'cd' into the motivate directory, and setup the softlinks to get:

softlinks

I've appended the PWD (from within the motivation directory) to the PATH variable:

PATH

Then the README.md says "later you can run by calling moti". So when I type 'moti' from within the motivate directory I get the following error:

error

I see the "Can't find the data folder" error and it's telling me I probably haven't run 'install.sh', but why isn't that step specifically mentioned in the installation instructions for no root privilege? And wouldn't I need elevated privileges to run sudo install.sh?

Add support for Windows

Does this program work in windows? I see there code in here referencing Sudo which is just for Linux so is that the only system that this program works for? I kept getting an error when trying to use it in windows

ran per install instructions typed motivate and got this error

Traceback (most recent call last):
File "/Users/admin/.motivate/motivate", line 11, in
rand_no = random.randint(1, num_of_json)
File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/random.py", line 220, in randint
return self.randrange(a, b+1)
File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/random.py", line 198, in randrange
raise ValueError("empty range for randrange() (%d,%d, %d)" % (istart, istop, width))
ValueError: empty range for randrange() (1,1, 0)

ANSI colour codes don't work in (newer) Windows 10 command line

Firstly - Hello and nice project!

I have a query however - Unfortunately the method of using ANSI escape sequences to colour the output doesn't seem to work in all cases on Windows 10. I'm running Windows 10 Home, Version 1703, Build 15063.674 and the output includes parts of the escape strings printed with the quote like this -

motivate_before

I may be doing something wrong (?) but from what I can gather from this and this the feature was available briefly but then removed by default, and as far as I can see there is no straightforward way to colour individual lines of text output (without further configuration or an external tool), although others may know better?

A simple way to at least get the quotes looking nice is to use platform.system() to test if the OS is Windows, and then not include the colour sequences if it is, so the output looks like this -

motivate_after

I have tried this on my own fork so will submit a PR if anyone wants it? :)

This repo is active?

Hi guys,

This repo is active? Because there is a lot of PR but no one releases them.

Can not install - "data is not a directory"

I followed sudo version of installation instructions and when I run the command below
installing error

I got message "ln: target '/usr/local/share/motivate/data' is not a directory"
I already saw a previous issue related to installation failing, but this is a different one.

This issue is presented using Ubuntu 16.04LTS

Unable to push to remote branch

I'm getting this error when I try to push my branch to remote

c:\PythonOpenSource\motivate>git push -u origin abhib_quotes
remote: Permission to mubaris/motivate.git denied to Abhi-Bhargava1.
fatal: unable to access 'https://github.com/mubaris/motivate.git/': The requested URL returned error: 403

Do i need write permissions for this repository?
Thanks

missing scripts

The install.sh and update scripts are missing from the repo

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.