Closed jkubNTIA closed 9 years ago
You need to Delete the database and repopulate it. Please do that and let me know. Thanks.
From: jkub01 notifications@github.com Sent: Saturday, March 7, 2015 6:42 PM To: usnistgov/SpectrumBrowser Cc: Ranganathan, Mudumbai Subject: Re: [SpectrumBrowser] I now get an error when I click on 'generate daily occupancy chart' (#124)
Assigned #124https://github.com/usnistgov/SpectrumBrowser/issues/124 to @ranganathanmhttps://github.com/ranganathanm.
Reply to this email directly or view it on GitHubhttps://github.com/usnistgov/SpectrumBrowser/issues/124#event-248070793.
This is fixed too after removing the spectrumdb database and repopulating it.
I now get an error when I click on 'generate daily occupancy chart' I tried this with both authentication required and authentication not required. Here is my stack trace: Log Message : URL = http://localhost:8000/spectrumbrowser/getDailyMaxMinMeanStats/Norfolk/1406815200/30/Radar-SPN43/3450500000/3649500000/user-14257715937755636162 getDailyMaxMinMeanStats : Norfolk 1406815200 30 updated session ID expireTime Unexpected error: <type 'exceptions.KeyError'> (<type 'exceptions.KeyError'>, KeyError('_dataKey',), <traceback object at 0x7f456ed41950>) Traceback (most recent call last): File "/home/jkub/Documents/SpectrumBrowser/flask/flaskr.py", line 1104, in getDailyStatistics return GetDailyMaxMinMeanStats.getDailyMaxMinMeanStats(sensorId, startTime, dayCount,sys2detect, fmin, fmax,subBandMinFreq,subBandMaxFreq, sessionId) File "/home/jkub/Documents/SpectrumBrowser/flask/GetDailyMaxMinMeanStats.py", line 122, in getDailyMaxMinMeanStats stats = compute_daily_max_min_mean_median_stats_for_swept_freq(cur, subBandMinFreq, subBandMaxFreq) File "/home/jkub/Documents/SpectrumBrowser/flask/GetDailyMaxMinMeanStats.py", line 28, in compute_daily_max_min_mean_median_stats_for_swept_freq powerArray = msgutils.trimSpectrumToSubBand(msg, subBandMinFreq, subBandMaxFreq) File "/home/jkub/Documents/SpectrumBrowser/flask/msgutils.py", line 240, in trimSpectrumToSubBand data = msgutils.getData(msg) File "/home/jkub/Documents/SpectrumBrowser/flask/msgutils.py", line 71, in getData messageBytes = fs.get(ObjectId(msg[Defines.DATA_KEY])).read() KeyError: '_dataKey' Log Message : DailyStatisticsChart : Failure communicating with server Exception Info: Exception Message: Stack Trace : Error response 500