-
Notifications
You must be signed in to change notification settings - Fork 14
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
Metadata does not load #172
Comments
@stringkm could you open easy access and run the 3 following queries? Let me know if they work, and if they not -copy/paste an error they return.
|
Here are the results: DESSCI ~> select table_name from DES_ADMIN.CACHE_TABLES union select table_name from user_tables;
<class 'ValueError'>
|
Please try this:
|
Unfortunately, even after reinstalling with a new environment, the results are similar, but the error codes are slightly different (maybe due to using python 2 instead of 3?). (eatest) :~$ easyaccess DESSCI ~> select table_name from DES_ADMIN.CACHE_TABLES union select table_name from user_tables; <type 'exceptions.ValueError'>
|
Thanks @stringkm for the help in figuring this ou! t, I believe both are the same errors (which have appeared before) |
Ok, I will try to recreate this error on Ubuntu. Thanks. |
One more thing. Could you paste me here the result from |
Linux antec-Z87-D3HP 4.4.0-144-generic #170~14.04.1-Ubuntu SMP Mon Mar 18 15:02:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux |
I setup docker with your version of Ubuntu and easyaccess works normally. |
@stringkm, @madamow this is puzzling, as I haven't been able to reproduce the problem either :( andis related also to #152
|
Thanks! |
No problem. In case you need it, my pandas version is 0.24.0 and my numpy version is 1.14.3. |
This is why I wanted to see |
(base) katelyn@antec-Z87-D3HP:~$ conda activate eatest ; conda export env CommandNotFoundError: No command 'conda export'. (eatest) katelyn@antec-Z87-D3HP: CommandNotFoundError: No command 'conda export'. |
sorry, |
(eatest) katelyn@antec-Z87-D3HP:~$ conda env export
|
...and content of ~/.easyaccess/config.ini |
[easyaccess] [display] |
Ok, I (think I) know what is wrong. |
Yes, I think that was the culprit. With prefetch set to 30000, basic function calls like find_tables and describe_table seem to work. |
With those settings you tried to use more memory than you had available. And that was the problem. |
Thanks! |
Thanks both @madamow and @stringkm, definitely a new pair of eyes helped,as i said in the other issue, i completely ruled out this solution as it never occurred to me it was returning that many rows, still is weird (for small tables) it complains, there isba leak somewhere but this is good news anyways. Thanks |
I am running easyaccess 1.4.7 on Ubuntu 14.04, but I've had this issue in prior versions of easyaccess also. When I open easyaccess I receive the error:
$ easyaccess
Connecting to DB ** dessci ** ...
Loading metadata into cache...
There was an error when refreshing the metadata
Also, when I type "refresh_metadata_cache", I get the same error:
DESSCI ~> refresh_metadata_cache
Loading metadata into cache...
There was an error when refreshing the metadata
Without the metadata, I am unable to use basic functions such as "find_tables" which gives:
DESSCI ~> find_tables %y3a1%
| ☆ | Ctrl-C to abort;
<class 'ValueError'>
array size too large
and "describe_table" which gives:
DESSCI ~> describe_table y3a2_coadd_object_summary
Table not found.
I tried uninstalling using "conda remove easyaccess", then reinstalling using conda, but the error did not change. Is there a way to force easyaccess to download a fresh copy of the metadata or download it manually?
The text was updated successfully, but these errors were encountered: