Comments (4)
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.
...oh, and the socket should come up fine. This has been working in the past.
from 1st-claas.
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) :
-
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' -
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.
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)
- Supporting self-hosted FPGAs HOT 2
- combine init and install.sh
- HDK vs. SDK
- Help with provisioning a cloud "local" machine
- Package with Docker
- Remove host from prebuilts
- Improve work model when using multiple machines
- OpenCL warnings
- Use cloud-init
- Async in webserver
- Cleanly exit webserver
- Terraform <ctrl>-C
- Microservices for on-premise Alveo u200/u250 HOT 2
- verilator with multiple sv modules
- Websocket timeout
- Move mandelbrot-react out
- Clifford Wolf changed their name and homepage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 1st-claas.