xdg.Basedirectory is not cross-platform or maintained
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntuone-dev-tools |
Fix Released
|
High
|
dobey | ||
ubuntuone-dev-tools (Ubuntu) |
Fix Released
|
Undecided
|
dobey |
Bug Description
Use ubuntu_
Current trace is:
Running tests
Adding path
Traceback (most recent call last):
File "C:\Python27\
main()
File "C:\Python27\
TestRunner(
File "C:\Python27\
options.
File "C:\Python27\
module_suite = self._load_
File "C:\Python27\
module = __import__(modpath, None, None, [""])
File "C:\src\
windows.py", line 25, in <module>
from ubuntuone.
File "C:\Python27\
tcase.py", line 34, in <module>
from ubuntuone.
File "C:\Python27\
vices\dbus.py", line 25, in <module>
from xdg.BaseDirectory import load_data_paths
ImportError: No module named xdg.BaseDirectory
Cleaning the generated code before running the style checks...
running clean
removing 'build' (and everything under it)
WARNING: the following files are not recognized by DistUtilsExtra.
pylintrc
run-tests
run-tests.bat
Performing style checks...
Traceback (most recent call last):
File "C:\Python27\
from xdg.BaseDirectory import xdg_data_dirs
ImportError: No module named xdg.BaseDirectory
Related branches
- Sidnei da Silva (community): Approve
-
Diff: 63 lines (+13/-3)1 file modifiedbin/u1lint (+13/-3)
- Natalia Bidart (community): Approve
-
Diff: 32 lines (+2/-7)2 files modifiedbin/u1lint (+1/-6)
ubuntuone/devtools/services/dbus.py (+1/-1)
- Ken VanDine: Approve
- Ubuntu branches: Pending requested
-
Diff: 1560 lines (+869/-366)17 files modifiedPKG-INFO (+1/-1)
bin/u1lint (+10/-5)
bin/u1trial (+142/-86)
debian/changelog (+20/-0)
debian/control (+10/-9)
debian/pycompat (+0/-1)
debian/rules (+6/-11)
run-tests (+3/-2)
setup.py (+4/-2)
ubuntuone/devtools/reactors/glib.py (+1/-1)
ubuntuone/devtools/reactors/qt4.py (+9/-2)
ubuntuone/devtools/services/dbus.py (+1/-1)
ubuntuone/devtools/testcase.py (+11/-245)
ubuntuone/devtools/testcases/__init__.py (+166/-0)
ubuntuone/devtools/testcases/dbus.py (+118/-0)
ubuntuone/devtools/testing/__init__.py (+1/-0)
ubuntuone/devtools/testing/txcheck.py (+366/-0)
Changed in ubuntuone-dev-tools: | |
assignee: | nobody → Natalia Bidart (nataliabidart) |
status: | New → In Progress |
importance: | Undecided → High |
description: | updated |
Changed in ubuntuone-dev-tools: | |
status: | In Progress → Fix Committed |
summary: |
- xdg.Basedirectory is not cross-platform + xdg.Basedirectory is not cross-platform or maintained |
Changed in ubuntuone-dev-tools: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-dev-tools: | |
status: | Fix Committed → Fix Released |
milestone: | none → 2.99.0 |
Changed in ubuntuone-dev-tools (Ubuntu): | |
assignee: | nobody → Rodney Dawes (dobey) |
I reset this bug back to in progress, and assigned it to me, because using ubuntu_sso for this introduces a circular dependency, which we need to avoid. The solution here is to migrate to the new dirspec library. I have a branch to do this, as well as a branch for dirspec which implements the necessary API to use it here.