Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Add Path" fails with "AttributeError: startswith
" #12

Closed
spyder-bot opened this issue Feb 16, 2015 · 2 comments
Closed

"Add Path" fails with "AttributeError: startswith
" #12

spyder-bot opened this issue Feb 16, 2015 · 2 comments

Comments

@spyder-bot
Copy link
Collaborator

From [email protected] on 2009-08-27T18:29:01Z

A rather simple error occurs when using the "Add Path" dialog box (File ->
Add Path). The add_path function (pathmanager.py:202) calls abspath() with
the selected directory, which is a PyQt4.QtCore.QString.

Calling str or unicode on the 'directory' variable resolves the issue.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=12

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2009-08-27T22:52:41Z

That is a simple error indeed... unfortunately this kind of error is OS-dependent
with PyQt4: on Windows, types are sometimes converted (QString -> unicode) - on
Linux, they are never converted. I suppose you're on Linux.

Anyway, it will be really easy to fix in v1.0.0beta4.

Thanks for reporting this bug!

Status: Accepted

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2009-08-29T01:52:29Z

Fixed in v1.0.0beta4 (as well as another similar bug in findinfiles.py)

Status: Fixed

ccordoba12 added a commit that referenced this issue Feb 20, 2015
goanpeca pushed a commit to goanpeca/spyder that referenced this issue Jun 4, 2020
Update theme to Alabaster and configure; add updated logo
goanpeca pushed a commit to goanpeca/spyder that referenced this issue Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant