Comments (5)
Hello @TuRDMaN, maybe it's something related to setuptools or distribute. Can you check this answer on SO: https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources?
What Python version are you using?
from box-linux-sync.
Thanks for the help! So I ran the install for setuptools and tried again, and now I get this error:
Traceback (most recent call last):
File "./box-sync", line 47, in
from noiselabs.box.main import box_main
ImportError: No module named 'noiselabs'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./box-sync", line 51, in
from noiselabs.box.main import box_main
File "/home/millar/box-linux-sync/src/noiselabs/box/main.py", line 29, in
from noiselabs.box.output import BoxConsole
File "/home/millar/box-linux-sync/src/noiselabs/box/output.py", line 31, in
from noiselabs.box.config import BASEDIR
File "/home/millar/box-linux-sync/src/noiselabs/box/config.py", line 24, in
import ConfigParser
ImportError: No module named 'ConfigParser'
I'm pretty sure that is because the install is running with Python3 instead of Python2. Both versions are installed, but Python3 is symlinked to Python. What is the suggested method of dealing with this?
from box-linux-sync.
You're right. This piece of software is written for Python2 and won't run on Python3.
The solution is to write a Python3 compatible app or run this app with the Python2 interpreter. Do you have both?
from box-linux-sync.
Thanks for the help! I've got everything all sorted now. Changed the first line of box-sync to #!/usr/bin/python2
Check then passed, but setup failed. I had to create a davfs2 group, and add myself to it. Followed the instructions after that, and everything is working now!
from box-linux-sync.
@TuRDMaN . Thanks! This fix needs to be made even if you are running under virtualenv
from box-linux-sync.
Related Issues (20)
- `box-sync check` should warn about legacy URL's in the fstab file
- Filter synchronized files by subfolder? HOT 1
- Single-sign on support HOT 1
- davfs2 check incompatible
- No Syncing HOT 4
- Doesn't work with corporate integration HOT 1
- Symlinks supported?
- Authentication required during start, prevents autostart on boot HOT 1
- Installation issue on Ubuntu HOT 2
- check warns wrongly about davfs use_locks
- Special characters in password = "Mounting failed" HOT 2
- Need a way to check if syncing has finished
- /sbin/mount.dafs: Mounting failed HOT 1
- Cant get rid of the "Box" device on uninstall HOT 1
- Seem like just mount webdav,When I stop box-sync,Can I save my files?
- Tagged releases and changelog
- Add support for enterprise version?
- Failed to unmount sync dir
- 2022-08 Stopped working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from box-linux-sync.