-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
klibs export #6
Comments
Hi @abidi-wq, very strange error! Can you try updating to the latest release of KLibs? https://github.com/a-hurst/klibs/releases/tag/0.7.6b1 Hopefully that should fix the issue, and will at least give me a better starting point to begin debugging from. |
Hi, It doesn't work :( Best, Traceback (most recent call last): |
Sorry!! the klibs export function work before running the experiment however after the experiment it display the same message even with the other file (Taskswitching) |
@abidi-wq Thanks for the error log, I'll take a look later today and see if I can figure it out! |
@abidi-wq Okay, I think I fixed the issue! I made some changes to how the database works recently and accidentally broke export compatibility with older databases. I've tested and fixed this in the latest git version, which you can install with
Let me know if that works! |
Hi, It still don't work :( C:\Users\wied\AppData\Local\Programs\Python\Python36>pip install git+https://github.com/a-hurst/klibs.git C:\Users\wied\AppData\Local\Programs\Python\Python36\TaskSwitching_expe>klibs export *** Exporting data from TaskSwitching *** Traceback (most recent call last): C:\Users\wied\AppData\Local\Programs\Python\Python36\TaskSwitching_expe> |
Whoops, I messed up the update command! You're still running the version before the fix. Here's the correct update command (needs the
|
I runned the command but still don't work, it display the same error message. C:\Users\wied\AppData\Local\Programs\Python\Python36>pip install -U git+https://github.com/a-hurst/klibs.git *** Exporting data from TaskSwitching *** Traceback (most recent call last): C:\Users\wied\AppData\Local\Programs\Python\Python36\TaskSwitching> |
Huh, looks like it's still not updating properly: those line number should be different if you were running the latest code. Can you try uninstalling klibs and then reinstalling it with the command above? Just |
Hi Austin, Many thanks, it work. Best regards, |
Hello,
I have a little problem with klibs export function.
When I run klibs export, it display the following error :
C:\Users\wied\AppData\Local\Programs\Python\Python36\TaskSwitching_expe>klibs export
*** Exporting data from TaskSwitching ***
Local database: None
Traceback (most recent call last):
File "C:\Users\wied\AppData\Local\Programs\Python\Python36\Scripts\klibs-script.py", line 11, in
load_entry_point('KLibs==0.7.5a9', 'console_scripts', 'klibs')()
File "c:\users\wied\appdata\local\programs\python\python36\lib\site-packages\klibs_main_.py", line 182, in klibs_main
commandscmd
File "c:\users\wied\appdata\local\programs\python\python36\lib\site-packages\klibs\cli.py", line 399, in export
DatabaseManager().export(table, multi_file, join)
File "c:\users\wied\appdata\local\programs\python\python36\lib\site-packages\klibs\KLDatabase.py", line 477, in init
shutil.copy(P.database_path, P.database_local_path)
File "c:\users\wied\appdata\local\programs\python\python36\lib\shutil.py", line 239, in copy
if os.path.isdir(dst):
TypeError: _isdir: path should be string, bytes or os.PathLike, not NoneType
Best regards,
malek
The text was updated successfully, but these errors were encountered: