-
Notifications
You must be signed in to change notification settings - Fork 201
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
Mf fixes #1465
Mf fixes #1465
Conversation
…plate which I have been editing accidentally.
…rst save_to_db() call.
@sehlen It could be because I do not have a few of the additional sage packages the LMFDB uses (notably: git+git://github.com/jwbober/conrey-dirichlet-characters.git@master#egg=dirichlet_conrey) installed on my dev system at home (I haven't been able to get Sage 7.1 to rebuild properly with all the packages listed in requirements.txt). I'll be careful to double check on Atkin before reporting further errors. |
@AndrewVSutherland OK it almost has to be the conrey dirichlet characters although I would expect that you should see more errors.
|
Page http://127.0.0.1:37777/ModularForm/GL2/Q/holomorphic/11/10/4/a/ (running on Atkin now) produces a server error caused by "AttributeError: 'unicode' object has no attribute 'absolute_degree'" The pages http://127.0.0.1:37777/ModularForm/GL2/Q/holomorphic/13/10/4/a/ and http://127.0.0.1:37777/ModularForm/GL2/Q/holomorphic/23/6/2/a/ produce server errors caused by "TypeError: 'NoneType' object is not iterable" The page http://127.0.0.1:37777/ModularForm/GL2/Q/holomorphic/31/30/1/a/ produces a server error caused by "TypeError: unsupported operand type(s) for -: 'Undefined' and 'int'" There are data problems (hecke orbit space dimensions not summing to the correct value) for the spaces 11.4.3, 11.6.3, 16.2.13, 16.2.13, 18.2.7, 20.2.3, 21.2.4, 21.2.5, 22.2.3, 32.4.21, 36.5.5. This isn't an issue for this PR (they already cause errors on www.lmfdb.org), just letting you know. |
For /ModularForm/GL2/Q/holomorphic/11/10/4/a: This space shouldn't be there (I'm not fixing this now as a more systematic update will run soon, I hope). Go to /ModularForm/GL2/Q/holomorphic/11/10/4/ and observe that it links to /ModularForm/GL2/Q/holomorphic/11/10/3. The second one http://127.0.0.1:37777/ModularForm/GL2/Q/holomorphic/13/10/4/a/ seems like a bug, I will check tomorrow. The last one is a data issue and has maybe been observed before, not sure. |
@sehlen OK, thanks, just let me know when you make a new commit and I will retest. I have updated emf_test_pages.py to check all the spaces it can find in the database within our stated extent (any character) -- it hasn't finished yet but I'll let you know first thing tomorrow if it finds any more (I'll also merge the new emf_test_pages.py into the lmfdb master branch). |
(http://127.0.0.1:37777/ModularForm/GL2/Q/holomorphic/13/10/4/a/ and http://127.0.0.1:37777/ModularForm/GL2/Q/holomorphic/23/6/2/a/). _nv_coeff_index was not set for some reason. Moreover, make sure it's always set when savong to the db.
All right - all problems should be solved with a combination of a code update and a small data update in the two cases where the "TypeError: 'NoneType' object is not iterable" error occurred. Note that these forms do have "new" records with the properties we show when hiding the q-expansion stored in the db and they will be different on prod. As far as I can see, everything should work on prod but I have to admit, I replaced some data without making a backup to check with. But since the modular_forms2 db certainly still contains many records that are identical to what we have on prod, this should be well tested already. When you feel this is tested enough, it should go to beta, and after a little testing to prod, I think. |
@sehlen Thanks for the update, I'll test it now. In terms of the data, will any of the changes you made cause problems for the software currently running on prod? If not I might be inclined to copy the 11 collections we copied before over to prod -- and yes I always save one backup that we can recover from very quickly (just a rename) if anything goes wrong. Another question, which collections on prod are actually used by the software, is it just the 11 collections: "dimension_table" "dimension_table.chunks" "dimension_table.files" "webmodformspace" "webmodformspace.chunks" "webmodformspace.files" "webnewforms" "webnewforms.chunks" "webnewforms.files" "webeigenvalues.chunks" "webeigenvalues.files" or are there others? It would be nice to remove anything we don't need on prod (it would free up space to keep backup collections around). |
@sehlen It looks good, I think we are ready to merge. |
@AndrewVSutherland Regarding the data:
|
@AndrewVSutherland Probably it's indeed a good idea to copy the data. http://www.lmfdb.org/ModularForm/GL2/Q/holomorphic/56/10/27/ However, this has not been updated systematically, yet. |
regarding the data. the only thing I'm not sure if (and I don't have access On Sun, 29 May 2016 16:31 Stephan Ehlen, notifications@github.com wrote:
|
Thanks for noticing, @fredstro. It is the correct dimension table (pretty On Sun, May 29, 2016, 10:59 Fredrik Strömberg notifications@github.com
|
@sehlen Great, I can trim the list down to 9 collections. I will update these 9 on prod later today. |
On 2016-05-29 10:08, Stephan Ehlen wrote:
Correct, beta (by which I mean the mongo db running on But I might suggest that if you know you can get rid of any of the For example, are the collections WebNewForms.files and
I think I might be happier having the data we tested on prod, so that it When do you expect to have the larger update done?
|
I removed all but the following 12 collections from the production mongo db and everything still seems to work: dimension_table I'm hesitant to remove the last three because they are referenced in the code (in web_character.py). |
I haven't looked at this in a while but I believe that the webchar collections are in fact used but not necessary (i.e. the website also runs without it) |
Thanks. I'll leave them in for the moment (the don't take up much space On 2016-05-29 16:51, Stephan Ehlen wrote:
|
@sehlen at some point we should also see if we can use the webchars class On Sun, 29 May 2016 22:55 Andrew Sutherland, notifications@github.com
|
This is an alternative to #1453
which does not show the random modular form for now but includes the bugfixes (+1 more bugfix that does not affect the website at all).