You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because dockbarx/common.py imports dockbarx/log.py, which imports dockbarx/common.py for get_app_home_dir().
On a different note, in get_app_home_dir(), the home directory is gotten with os.environ['HOME'] but I believe that expanduser("~") is more portable. Don't quote me on this, but just an aside.
The text was updated successfully, but these errors were encountered:
Hey! Sorry for that, such a bad mistake for my part. =(
About being more portable, do you mean between Linux' OSes? I know there are better ways to get the home dir when you want you app to run Windows/MacOS/Linux but, at least for now, this is a Linux-only app.
HOME=/tmp python2.7
>>> import os
>>> os.path.expanduser("~")
'/tmp'
I checked if we could avoid trolling with this, but seems to be the same.
M7S
pushed a commit
that referenced
this issue
Jan 3, 2019
dbx_preference
fails to open with the following error:This is because
dockbarx/common.py
importsdockbarx/log.py
, which importsdockbarx/common.py
forget_app_home_dir()
.On a different note, in
get_app_home_dir()
, the home directory is gotten withos.environ['HOME']
but I believe thatexpanduser("~")
is more portable. Don't quote me on this, but just an aside.The text was updated successfully, but these errors were encountered: