Ubuntu what is wrong with this file directory pathname?

2012-10-01  Source: Original Site  Category:Ubuntu  Views:0 

Advertisement

NOTE: I figured out my problem described below. PLEASE DISREGARD THIS THREAD. Thanks!

<><><>
<><><><>
<><><><><>
I'm a newbie to Linux, so please go easy on me. :-)

I am so very close to executing a small Python script a friend wrote for me, but something with the directory path in the following line is buggy:

BATCH_TEXT_FILE = '/home/GWBush-ubuntu/Desktop/sampleCSV.txt'

Just a few notes:
(1) The directory structure in the line above is definitely correct, because I executed the Python script using the same path! (both the Python script and the filename above are in Desktop)
(2) The file sampleCSV.txt is definitely in that end directory, I'm lookin' at it right now in Desktop.

Do I have an syntax error there above?

Related articles
  • Ubuntu what is wrong with this file directory pathname? 2012-10-01

    NOTE: I figured out my problem described below. PLEASE DISREGARD THIS THREAD. Thanks! <><><> <><><><> <><><><><> I'm a newbie to Linux, so please go easy on me. :-) I am so very

  • Ubuntu What is wrong with this code? 2014-05-10

    What is wrong with this code? if [ -f *foo* ]; then rm -f *foo*; fi What the code is suppose to do is if there is a *foo* file, then remove it without interaction. If there is not, then nothing happens, not even an error return.

  • Ubuntu What is wrong with this picture and wget??? 2012-03-22

    So, check this out: http://static.die.net/earth/mercator/1600.jpg Its a simple earth's picture, but it gained my attention while I tried to get it using wget instead of 'Save as' functionality of firefox so as to practice... This is the output of wge

  • Ubuntu What is wrong with this xorg file it's form an ati 9600 pro 2012-05-25

    Like i seed i't from a 9600 pro and it's on a dual monitor Big Desktop conf. write now. what i want to do next is get visual effects on. when i try to turn them on it gives me an error. that says ( The Composite extension is not available ) my xorg f

  • Ubuntu What's Wrong With This? fstab question. 2012-10-03

    I have an HPmediaVault which is a NAS. I have setup folders on this NAS which I want to mount in ubuntu. I can not make this mount. Is there anything wrong with my syntax? hpmediavault:/shares/Volume1/FileShare /mnt/hpmediavault/Volume1/FileShare nfs

  • Ubuntu What to Do with this file? 2012-05-22

    Hi I am very much new to this community. I want to know that how i can install following software on my ubuntu 7.04 . The link given will take u to a file of 14 kb it contains anReadme and another file whose extansion is not understood by me so if so

  • Ubuntu What is wrong with this release ??? 2014-04-27

    Am I the only one that is having problems with 10.10? I move off a window and the app closes. I can only get one desktop to show in the tray. I can't get VmWare player to install. I blew up 10.4 to 10.10 install this morning and decided to reinstall

  • Ubuntu What's wrong with this modeline? 2012-04-05

    I'm trying to get a resolution of 1440x900 @ 60Hz I've set xorg.conf to that effect, including generating a modeline, but I XServer boots into 1440x1024 @ 53Hz Where is this value coming from? If not xorg.conf then is there another override somewhere

  • Ubuntu What is wrong with this init script? 2014-12-10

    I need to write my own custom init script for creation initrd image. Unfortunately Linux booting fails to create root file system on sda3. The script fails at line mount -o defaults --ro -t ext4 /dev/sda3 /sysroot Can anyone advise what is wrong in t

  • Ubuntu What is wrong with my file system? 2013-12-22

    I booted up my computer into ubuntu and got some error messages. I ran "sudo -f fsck" for each of my hard drives, and everything looked fine. I reboot, and get the same error message: (it's at the command line so I wrote down everything I could see)

  • Ubuntu what's wrong with this chmod? 2015-05-28

    I am owner of the /MyFolder1 (this is a 300 GB ext3 partition). When I do chmod -R 644 /MyFolder1/* Then all files become inaccessible (nautilus doesn't see anything). ls -l show the left column with plenty of question marks. What I want to do is giv

  • Ubuntu What's wrong with this shared memory/semaphore code? 2013-07-26

    I'm playing around with semaphore/shared memory, I wrote this code, but it doesn't seem to be working (i.e. the integer value doesn't appear to get increased by each client, run it and you'll see what I mean) #include <stdio.h> #include <std

  • Ubuntu What's Wrong with this Script to Open IE URLs in Firefox? 2013-07-31

    Hi. A while back, I successfully used the guide for registering MHT web archives in this post: http://ubuntuforums.org/showthread.php?p=3311005#post3311005. The original purpose of the thread was on how to open .url internet shortcuts (what Internet

  • Ubuntu What is wrong with this command ??? Please ! 2014-01-29

    [email protected]:~$ sudo su [sudo] password for peter: [email protected]:/home/peter# cd / [email protected]:/# tar xvpzf backup.tgz -C / tar: backup.tgz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar

  • Ubuntu What is wrong with this fstab? 2012-06-18

    Hi. I have multiple drives that I use on a regular basis in my fstab. I have a secondary hard drive in my laptop that automatically mounts to ~/storage (formatted ntfs), a flash drive that automatically mounts to ~/flash (formatted vfat), and an exte

  • Ubuntu what is wrong with this 2012-07-26

    i am trying to stop the system beep in ubuntu i read on a site that i could use the command sudo rmmod pcspkr to temporarily disable it from the terminal. i tried to write a script and saved it in sessions to do the same thing but doesnt work. see be

  • Ubuntu What's wrong with this picture? 2013-01-19

    I'm logged into xfce, but it has a gnome desktop. What gives? I think I'll just re-install ubuntu, it's been acting up too often lately, especially with XFCE...

  • Ubuntu Whats going wrong with this installation? 2013-02-14

    I've been following this to the letter to install my USB adapter: https://wiki.ubuntu.com/WifiDocs/Driver/zydas_zd1211?highlight=%28safecom%29 but I get this in response when I go to make clean && make && make install ncomplete type /

  • Ubuntu What's wrong with this (simple c++)? 2014-02-01

    i'm a beginning c++ "student" - self-teaching. anyway, i entered some code as i was told to by the book i'm learning from, and when i try to compile, i seem to get all sorts of errors. i know what they mean; what i want to know is why they're there a

  • Ubuntu What's wrong with this script? 2015-03-06

    I've got a script here that's supposed to log me into my proxy server... here's the script: #!/usr/bin/expect -f spawn ssh -D 1088 -p 80 [email protected] expect "*password:*" send -- "mypassword\r" ---------------------------- When I run that s