Showing posts with label Won't. Show all posts
Showing posts with label Won't. Show all posts

Tuesday, 10 February 2015

Nfs: Client won't connect topic






New to Ubuntu. Running 14.04 64bit. Have installed nfs-common, confirmed it's installed, rebooted and tried to mount my non-Ubuntu server unsuccessfully. All the other boxes on the LAN have no problem. Checked to see if the nfs module is loaded.


Code:


# modprobe nfs
modprobe: FATAL: Module nfs not found.


Somehow I don't think it's going to work without the module. Could someone please give me a suggestion.






terminal won't let me type password topic






14.04.1 after i type comman and enter it asks for password but when I type nothing happens.






Can't type character "P" uppercase in terminal: it just won't accept it topic






Hello fellow GNU lovers!

I guess I can safely say I found a very weird bug, of which I haven't found any single reference anywhere on the Internet. So I have got to post here to ask for suggestions and general help with my issue.
The issue:
I can't type the letter P in its uppercase form in my terminal... When I try entering one on my keyboard, it's just as if nothing happens.
  • Shift+P won't type an uppercase P in the terminal, does nothing instead.
  • Copy "P" and paste into terminal will result in nothing pasted.
  • Copy "Pokemon" and paste into terminal will result in "okemon".
  • Typing an uppercase 'P' or copy-pasting it in any other program will work as expected (like here in Firefox, or there in gedit).

I can, however, autocomplete a folder name from "pokemon" to "Pokemon". Or have an access to a "SPACE" folder by just typing "sp" and then autocomplete using TAB. (For curious people who don't know how to be able to have autocomplete ignore case this way, you have to activate it in a ~/.inputrc file by pasting in this file the command set completion-ignore-case on.)
However, it just got annoying a few moments ago when I wanted to rsync Pokemon /my_new_folder/ because then the autocomplete doesn't work (I don't know why, maybe rsync doesn't have it).

So, putting aside the issue of being able to copy this specific folder, which there are millions of other ways of doing it (and I'm going to pick one and just do it right after I posted this), I'd like to be able to type uppercase 'P' characters again into my terminal... ^^''
So does anyone have a clue what I could do? Why this is happening to my terminal? What tests I could run to figure out how this is possible?

Thank you for reading! Thanks for caring! =)

PS: By the way, I'm on Ubuntu Gnome 14.10. I think I had this problem before, that it's not new. And, checking my laptop with Ubuntu 13.10... the terminal does accept the uppercase 'P' character as expected, no problem there.






Monday, 9 February 2015

Ubuntu won't boot. Getting error message. topic






So I've got a computer that I'm working on without an operating system. I've tried several times to boot with a CD or a USB w/ linux. However, no matter what version I try to install, I get the same error message. What does it mean, and how do I solve it? Any help will be much appreciated, I am at a lost. 2015-02-09 09.29.09.jpg

See attachment.











Attached Images












Ubuntu won't boot after install. topic






I am totally new to the Linux world and i can't really figure it out on my own, so please help!

After i install Ubuntu from the liveUSB my laptop won't boot from the hdd, even though the Ubuntu installer said it installed successfuly.
I have no idea what to do next... if i have the liveUSB still connected it will boot from it, when i manually select the hdd it just gives me this screen :
IMG_20150209_145705.jpg... and after a few seconds it will show me the boot devices :
IMG_20150209_145651.jpg

When i restart my laptop from the liveUSb and the usb still connected it shows me this screen :
IMG_20150209_130648.jpg


I don't know what to do, please help!

My laptop is Lenovo IdeaPad Z570 Intel i5, nvidia geforce 540M 4GB ram

Thanks in advance,
Andrew!











Attached Images












Sunday, 8 February 2015

Cron won't run Python Twitter Bot topic






It runs perfectly manually and in cron's bash environment - so I'm assuming there might be something about crontab in the OAuth process itself? I have tried running env in cron and pasting the PATH I found there also...

twitter_follow_bot.py

Code:


from twitter import Twitter, OAuth, TwitterHTTPError
import os


# put your tokens, keys, secrets, and Twitter handle in the following variables
OAUTH_TOKEN = "..."
OAUTH_SECRET = "..."
CONSUMER_KEY = "..."
CONSUMER_SECRET = "..."
TWITTER_HANDLE = "..."


# put the full path and file name of the file you want to store your "already followed"
# list in
# OMITTED - ALREADY_FOLLOWED_FILE = "already-followed.csv"


t = Twitter(auth=OAuth(OAUTH_TOKEN, OAUTH_SECRET,
            CONSUMER_KEY, CONSUMER_SECRET))




def search_tweets(q, count=100, result_type="recent"):
    """
        Returns a list of tweets matching a certain phrase (hashtag, word, etc.)
    """


    return t.search.tweets(q=q, result_type=result_type, count=count)


startuprun.py

Code:


from twitter_follow_bot import auto_fav


auto_fav("startup", count=100)


sudo crontab -e (the last line is an alternate tester - today is "7" in cron's calendar..

Code:


PATH=/usr/bin:/bin
SHELL=/usr/bin/bash


*/15 * * * * 1-2 /usr/bin/python /var/www/html/twitter/startuprun.py  >> /tmp/cron.output
*/15 * * * 3-4 /usr/bin/python /var/www/html/twitter/entrepreneurrun.py  >> /tmp/cron.output
*/15 * * * 5-6 /usr/bin/python /var/www/html/twitter/venturecapitalrun.py  >> /tmp/cron.output
*/1 * * * 7 /usr/bin/python /var/www/html/twitter/techrun.py >> /tmp/cron.output
*/1 * * * 7 python /var/www/html/twitter/techrun.py >> /tmp/cron.output


Errors are no longer writing to cron.output so I think it might be on twitters end.

Anyone know of any issues between cron and the authorisation process? Or maybe something else that I've missed? I've also tried putting a shebang for bash, python at the top of crontab but no joy...