UnitTests on Windows - 'tuple' object has no attribute 'replace' · Issue #74 · shotgunsoftware/python-api · GitHub
Skip to content

UnitTests on Windows - 'tuple' object has no attribute 'replace' #74

Description

@patrickwolf

Error occurring when running the unit tests on Windows with Python 2.7.8:

Error
Traceback (most recent call last):
  File "C:\dev\shotgun\python_api3\tests\test_api.py", line 378, in test_share_thumbnail
    shot_path = _get_path(shot_url)
  File "C:\dev\shotgun\python_api3\tests\test_api.py", line 1639, in _get_path
    return os.path.join(url[:4])
  File "C:\Python27\lib\ntpath.py", line 64, in join
    result_drive, result_path = splitdrive(path)
  File "C:\Python27\lib\ntpath.py", line 115, in splitdrive
    normp = p.replace(altsep, sep)
AttributeError: 'tuple' object has no attribute 'replace'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions