Skip to content
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

Web app not working #6

Open
anxotato opened this issue Jul 28, 2023 · 4 comments
Open

Web app not working #6

anxotato opened this issue Jul 28, 2023 · 4 comments
Assignees

Comments

@anxotato
Copy link

I tried the link of the readme: https://rfsoc-frequency-planner.herokuapp.com/
but the online web app is not working. The following message appears:

Application error

An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail

Do you plan to solve this?

@jogomojo
Copy link
Contributor

This is an issue I've been meaning to deal with but haven't had time to get round to it yet. Heroku removed their free tier option and the app was deleted from their servers. We have a few options to deal with this:

  1. Remove the Heroku app from the repo and just leave the version that runs on the RFSoC board.
  2. Remove the Heroku app from the repo and replace it with an app that will run on a computer.
  3. Start paying for a Heroku paid subscription tier.

I don't have time at the moment to action this, but I'll revisit it in a couple of weeks. If anyone has any more suggestions, or have a preference to the options I listed above, then feel free to chime in.

@jogomojo jogomojo self-assigned this Jul 31, 2023
@anxotato
Copy link
Author

From my side, It would better to replace de Heroku app and modify it to be runned on a compute EVEN WITHOUT a RFSoC board, since it can be interesting to make analysis previously to pruchase one board.

Thanks for your repply.

@dnorthcote
Copy link
Member

The frequency planner can execute on a computer with Anaconda/Jupyter Lab installed. Just run the pip3 command, and the notebooks will appear in the Jupyter working folder. We will decide on Heroku shortly.

@matthuszagh
Copy link

Can you provide a bit more information on how to run this not on a general computer? I've tried:

  1. Open jupyter lab (eg navigate to http://localhost:8888/lab)
  2. Open the terminal and run pip3 install git+https://github.com/strath-sdr/rfsoc_frequency_planner.

After this, I don't see any additional workspaces:

~/.jupyter/lab/workspaces$ ll
total 12
drwxr-xr-x 2 matt.huszagh domain^users 4096 Oct 28 19:54 ./
drwxr-xr-x 3 matt.huszagh domain^users 4096 Oct 28 19:54 ../
-rw-r--r-- 1 matt.huszagh domain^users 2324 Oct 28 20:06 default-37a8.jupyterlab-workspace

I expect this is all probably obvious, but I'm not too familiar with jupyter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants