n1kdo / n1mm_view

Real-time statistics viewer for N1MM+ on Field Day
BSD 2-Clause "Simplified" License
32 stars 13 forks source link

Sorry I'm new at this! #15

Closed devildog1977 closed 4 years ago

devildog1977 commented 5 years ago

Following your directions, and trying to start the ./dashboard.py I'm getting an error that says No Module named basemap. The whole error reads this

Traceback (most recent call last): File "./dashboard.py", line 19 in import graphics File "/home/pi/nimm_view/graphics/py". line 17 in from mpl_toolkits.basemap import Basemap Import Error: No module named basemap

I also had to get the basemap from this location instead of the one mentioned in the directions. https://sourceforge.mirrorservice.org/m/ma/matplotlib/matplotlib-toolkits/basemap-1.0.7/

I was getting a 404 error with the link in your directions, not sure if that was the problem or not. I'm sorry for being a newb and asking this question.

Thanks in advance!

n1kdo commented 5 years ago

What platform? Windows, Linux-x86 or Raspberry Pi? I have not tried to install fresh for a while.

devildog1977 commented 5 years ago

Hello Sir, I was trying to install it on the last eat version of Raspberry Pi.

Thanks in adavance

n1kdo commented 5 years ago

Hi, I have not had much time to work on this code for a while, and that trend is likely to continue.

It sounds like that there is an issue installing Basemap. This looks to be the official version: https://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/ -- the tarball is at https://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/basemap-1.0.7/basemap-1.0.7.tar.gz/download

Please let me know if/how you get it working. If you are just fooling around with it, then it is a whole lot easier to install the "wheels" on Windows, getting all the pieces built for Raspberry Pi is painful and time consuming.

devildog1977 commented 5 years ago

Hey Jeff, understood I’ll try both approaches. Would you happen to know what version of Raspberry PI you had the development on? I just plan on using the view at field day this year, broadcast it on a tv for visitors to see our contacts. Anyway thanks for getting back to me!

Scott Ko4w

Sent from my iPhone

On Feb 22, 2019, at 15:06, Jeff Otterson notifications@github.com wrote:

Hi, I have not had much time to work on this code for a while, and that trend is likely to continue.

It sounds like that there is an issue installing Basemap. This looks to be the official version: https://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/ -- the tarball is at https://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/basemap-1.0.7/basemap-1.0.7.tar.gz/download

Please let me know if/how you get it working. If you are just fooling around with it, then it is a whole lot easier to install the "wheels" on Windows, getting all the pieces built for Raspberry Pi is painful and time consuming.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ke0pci commented 5 years ago

Scott, Were you able to resolve?
With a current Raspbian image (version "April 2019'), it is not necessary to manually download and compile matplotlib or basemap. I also found that numpy was already in place. Just do: $ sudo apt-get install -y python-matplotlib $ sudo apt-get install -y python-mpltoolkits.basemap Each of these will take several minutes. Don't try to do both at once.

devildog1977 commented 5 years ago

Hey there

I haven’t tried that but definitely will try it, want to get this up and going before field day.

Thanks for the follow up

Scott

Sent from my iPhone

On May 23, 2019, at 15:55, k0pci notifications@github.com wrote:

Scott, Were you able to resolve? With a current Raspbian image, it is not necessary to manually download and compile matplotlib or basemap. Just do: $ sudo apt-get install -y python-matplotlib` $ sudo apt-get install -y python-mpltoolkits.basemap Each of these will take several minutes. Don't try to do both at once.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

devildog1977 commented 5 years ago

Hi again

Ok I'm definitely getting closer,

Now it says n4n Field Day 2016

Scrolling at the bottom Chart engine failed, N4N Field Day 23:17:24 N4F Field Day is over.

Any thoughts?

Scott

Scott

On Thu, May 23, 2019 at 6:20 PM Scott Gaudet kc1exs@gmail.com wrote:

Hey there

I haven’t tried that but definitely will try it, want to get this up and going before field day.

Thanks for the follow up

Scott

Sent from my iPhone

On May 23, 2019, at 15:55, k0pci notifications@github.com wrote:

Scott, Were you able to resolve? With a current Raspbian image, it is not necessary to manually download and compile matplotlib or basemap. Just do: $ sudo apt-get install -y python-matplotlib` $ sudo apt-get install -y python-mpltoolkits.basemap Each of these will take several minutes. Don't try to do both at once.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/n1kdo/n1mm_view/issues/15?email_source=notifications&email_token=AISFX5R3GKKHEVLJ3LUURLDPW3ZCNA5CNFSM4GPTN67KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWDKBIA#issuecomment-495362208, or mute the thread https://github.com/notifications/unsubscribe-auth/AISFX5V55YHHXITZJEIWMCLPW3ZCNANCNFSM4GPTN67A .

n1kdo commented 5 years ago

edit config.py. change the date there. Good luck on field day.

devildog1977 commented 5 years ago

Hey there, I did that and it did change the date. Now the date is showing correctly, saying field day starts in 25 days, but now the "Chart Engine" is red and says failed. My collector.py is giving data e.g. "received score message" etc. so I think that's correct. Thoughts?

n1kdo commented 5 years ago

Hi, when the display shows that "Chart Engine Failed" there should be an error with a traceback in the console, where the program sends its output. Can you find the error message?

ke0pci commented 5 years ago

For testing, set the event to start yesterday so that your test data is included in the span of time covered by your event..

If the Collector is showing that it is reading data, you should be golden. Setting the event from yesterday through june 23 will make one of the graphs stretched too far to see detail, but you will see in all other screens that it is working.

I will work on a new installer and updated usage instructions.

n1kdo commented 4 years ago

basemap is kaput, gone. I replaced it with Cartopy. This has made the installation process considerably easier. Hopefully this will correct your issue.

Good luck with Field Day 2020!

I'm closing this issue, since the problem described has been superseded by events.