Closed samridhim closed 6 years ago
@samridhim, what branch are you using? As well are you trying to run ipython/python from the davitpy directory? There are problems with that that should be coming with the next master release in a few months, but have been incorporated into the develop
branch from #326. It's advisable to not run ipython from the top-level directory of this repo. Instead, go "up" one directory. Let me know if this resolves the issues here.
It runs when i switch to root. But now it is giving error for hwd.dat and sqlite.radar files.
On Tue, Mar 13, 2018 at 6:38 PM, Kevin Sterne notifications@github.com wrote:
@samridhim https://github.com/samridhim, what branch are you using? As well are you trying to run ipython/python from the davitpy directory? There are problems with that that should be coming with the next master release in a few months, but have been incorporated into the develop branch from
326 https://github.com/vtsuperdarn/davitpy/pull/326. It's advisable to
not run ipython from the top-level directory of this repo. Instead, go "up" one directory. Let me know if this resolves the issues here.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vtsuperdarn/davitpy/issues/348#issuecomment-372658992, or mute the thread https://github.com/notifications/unsubscribe-auth/AQAOwHYW63dFIIT89ZJFQrENcoBTu8Jcks5td8TNgaJpZM4SlnMj .
-- Samridhi Maheshwari
Do you mean switching to root user or the root directory (/
)? Otherwise, you might search for similar closed issues like #339 or #300.
Root user.
On Mar 14, 2018 7:37 PM, "Kevin Sterne" notifications@github.com wrote:
Do you mean switching to root user or the root directory (/)? Otherwise, you might search for similar closed issues like #339 https://github.com/vtsuperdarn/davitpy/issues/339 or #300 https://github.com/vtsuperdarn/davitpy/pull/300.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vtsuperdarn/davitpy/issues/348#issuecomment-373033059, or mute the thread https://github.com/notifications/unsubscribe-auth/AQAOwOqu-MdIY5uguYeAzNqzbktCP4eTks5teSQlgaJpZM4SlnMj .
If you didn't run the setup.py code as a root user, then there could he permissions issues with your /tmp/sd/
directory and all of the files within that directory.
I tried changed the permissions with chmod but still it wouldn't work! It works as a root user though...I'll try installing again as root.
On Mar 14, 2018 8:46 PM, "Kevin Sterne" notifications@github.com wrote:
If you didn't run the setup.py code as a root user, then there could he permissions issues with your /tmp/sd/ directory and all of the files within that directory.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vtsuperdarn/davitpy/issues/348#issuecomment-373058519, or mute the thread https://github.com/notifications/unsubscribe-auth/AQAOwC5_2aDMc0Tpz2l0Gg0_LjW1vocuks5teTRegaJpZM4SlnMj .
By chance are you the only user for that machine (as in there are no other user accounts on your computer)? And which OS are you running?
Ubuntu. I am the only user.
On Mon, Mar 26, 2018 at 9:10 PM, mts299 notifications@github.com wrote:
By chance are you the only user for that machine (as in there are no other user accounts on your computer)? And which OS are you running?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vtsuperdarn/davitpy/issues/348#issuecomment-376211643, or mute the thread https://github.com/notifications/unsubscribe-auth/AQAOwOmjWq26xwCghDnu4H6YY_6zB-p_ks5tiQwKgaJpZM4SlnMj .
-- Samridhi Maheshwari
Interesting. Which Ubuntu version are you using? Also, can tell me if the python/pip version in your user account is the same version as sudo? Also, have you tried using a different python environment?
This looks like a file permission issue. I'm closing due to inactivity/out of scope. If you are still having troubles, we can re-open if needed.
IPython profile: davitpy
[TerminalIPythonApp] Loading IPython extension: storemagic [TerminalIPythonApp] Running code in user namespace: %load_ext autoreload [TerminalIPythonApp] Running code in user namespace: %autoreload 2 [TerminalIPythonApp] Running code in user namespace: from davitpy import pydarn
ImportError Traceback (most recent call last)