Giter Club home page Giter Club logo

Comments (4)

stevehoover avatar stevehoover commented on August 16, 2024

Unfortunately, there isn't really anyone actively maintaining this framework at the moment (and I don't know of a good replacement). So you'd have to do some debugging. AWS and Xilinx have been known to release breaking changes (not that this is necessarily the issue).

from 1st-claas.

stevehoover avatar stevehoover commented on August 16, 2024

...oh, and the socket should come up fine. This has been working in the past.

from 1st-claas.

gefl0 avatar gefl0 commented on August 16, 2024

Thank you for your response.
I don't understand what I am doing wrong or what I am missing. I get the following errors from the mandelbrot_server.py file (whatever the target is sim, hw_emu or FPGA on F1) :

  1. There is no socket attribute in the 'MandelbrotApplication' instance because no socket is set in the FPGAServerApplication class from server .py file. Here bellow the error message I get :
    File "../webserver/mandelbrot_server.py", line 327, in renderImage
    if self.socket == None or settings["renderer"] == "python":
    AttributeError: 'MandelbrotApplication' object has no attribute 'socket'

  2. And when I finally modified the code in the server .py file to set a socket in the FPGAServerApplication class then I get a second error from the mandelbrot_server.py file because the ' get_image' function is not defined :
    File "../webserver/mandelbrot_server.py", line 336, in renderImage
    img_data = get_image(self.socket, GET_IMAGE, settings_str, False)
    NameError: name 'get_image' is not defined

It seems that the code is not completely developed, there is still work to be done. I can't understand how it is possible that it worked. What am I missing?

Best Regards

from 1st-claas.

stevehoover avatar stevehoover commented on August 16, 2024

I was able to execute the commands from the GettingStarted and launch mandelbrot successfully, so I'm not sure what the issue might be. This was on Ubuntu 20.04.5 LTS. Make sure you clone from github.com/osfpga, not github.com/stevehoover as was stated in the instructions. I've pushed an update for this, though, I don't believe this addresses your issue.

I'm running python3 - 3.8.10.
self.socket is assigned in framework/webserver/server.py.

from 1st-claas.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.