473,382 Members | 1,202 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

path error

I'm on an intel macbook using OS X 10.4 and for some reason my path is
being interpreted incorrectly. See the example:

dave@jared3-jared$ pwd
/Users/dave/til/jared <----- dirname = jared
dave@jared3-jared$ python
....
>>import os
os.path.abspath('')
'/Users/dave/til/Jared' <----- dirname = Jared
python is capitalizing my jared directory. It has worked for a long
time but suddenly doesn't. I'm working on the project over SVN, could
it be some kind of incompatibility with someone who submitted using
windows or something? Any solutions for this?

Jul 20 '07 #1
2 999
On Jul 20, 11:42 am, godavemon <davefow...@gmail.comwrote:
I'm on an intel macbook using OS X 10.4 and for some reason my path is
being interpreted incorrectly. See the example:

dave@jared3-jared$ pwd
/Users/dave/til/jared <----- dirname = jared
dave@jared3-jared$ python
...>>import os
>os.path.abspath('')

'/Users/dave/til/Jared' <----- dirname = Jared

python is capitalizing my jared directory. It has worked for a long
time but suddenly doesn't. I'm working on the project over SVN, could
it be some kind of incompatibility with someone who submitted using
windows or something? Any solutions for this?


Also my python version is

Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

Jul 20 '07 #2
On Jul 20, 11:45 am, godavemon <davefow...@gmail.comwrote:
On Jul 20, 11:42 am, godavemon <davefow...@gmail.comwrote:
I'm on an intel macbook using OS X 10.4 and for some reason my path is
being interpreted incorrectly. See the example:
dave@jared3-jared$ pwd
/Users/dave/til/jared <----- dirname = jared
dave@jared3-jared$ python
...>>import os
>>os.path.abspath('')
'/Users/dave/til/Jared' <----- dirname = Jared
python is capitalizing my jared directory. It has worked for a long
time but suddenly doesn't. I'm working on the project over SVN, could
it be some kind of incompatibility with someone who submitted using
windows or something? Any solutions for this?

Also my python version is

Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
I deleted the directory and updated. It fixed the problem. Still an
odd one, but not a problem anymore.

Jul 20 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Pierre Fortin | last post by:
This quest for understanding started very innocently... A simple error on my part, passing on args as "args" instead of "*args" to os.path.join() led me to wonder why an error wasn't raised... ...
8
by: Glenn A. Harlan | last post by:
Why am I receiving the below error when calling - Path.GetTempFileName() The directory name is invalid. Description: An unhandled exception occurred during the execution of the current web...
2
by: Tom Wells | last post by:
I have a little file upload page that I have been able to use to successfully upload files to the C: drive of LocalHost (my machine). I need to be able to upload to a network drive from the intranet...
6
by: I am Sam | last post by:
I keep getting this error and I don't know why: The path is too long after being fully qualified. Make sure path is less than 260 characters. Description: An unhandled exception occurred...
13
by: Adam | last post by:
Trying to get an asp.net 2.0 app running and am receiving this error. I see a bunch of people with this error on the net, but no solution: Works fine on my local machine, deployed to a server it...
5
by: Sakharam Phapale | last post by:
Hi All, I am using an API function, which takes file path as an input. When file path contains special characters (@,#,$,%,&,^, etc), API function gives an error as "Unable to open input file"....
10
by: wo_shi_big_stomach | last post by:
Newbie to python writing a script to recurse a directory tree and delete the first line of a file if it contains a given string. I get the same error on a Mac running OS X 10.4.8 and FreeBSD 6.1. ...
2
by: contractsup | last post by:
Environment: $ uname -a AIX <withheld2 5 000100614C00 $ db2level DB21085I Instance "<withheld>" uses "32" bits and DB2 code release "SQL08024" with level identifier "03050106"....
4
by: python | last post by:
Bad file names, i.e. filenames the OS considers illegal, will cause functions in the os.path module to raise an error. Example: import os.path print os.path.getsize( 'c:/pytest/*.py' ) On...
3
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I have one line code in my program, occasionaly I will receive the following error: "The Path parameter for the MapPath method did not correspond to a known path" ...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.