This user account status is Approved

Forum Replies Created

RE: Dummy driver for cam and serial connection.

So, now that I have the dev env set up, I can go ahead and start with the testing work. Is this a viable guide to get started? Seems pretty straightforward, but I haven't dug into the implementation...

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

Success! I had the config as you specified, but there was one last avrdude thing going wrong. I was able to run the server from PyCharm and connect to the web interface! I'm up and running!

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

@mario Awesome! Based on this and some fiddling in PyCharm, I've got past that error. I think I'm almost there. ssh://pi@10.25.25.145:22/usr/bin/python3 -u /home/pi/dev/FabScanPi-Server/src/fabsca...

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

@mario Yes I'm using the latest image, then updated to latest. I've manually installed avrdude-reset now but am still getting the same error. /usr/bin/python3.8 /snap/pycharm-professional/201/plugin...

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

I followed the instructions here on the pi to get avrdude-autoreset, but no change in the PyCharm error:

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

Getting better. Here's the output in PyCharm when I try to run: /usr/bin/python3.8 /home/mping/dev/FabScanPi-Server/src/fabscanpi-server --loglevel=debug --config=/home/pi/fabscan/src/fabscan/config/...

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

I did some fiddling with the config settings and got the 0.9.0 running, but still no success from PyCharm

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

I updated the rpi as stated above. Now that it's on 0.9.0+202006051157 I get the following from PyCharm when I attempt to run. On branch feature/python3Your branch is up to date with 'origin/feature/...

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

@mario I installed the 0.8.2 image from above. I've got the scanner at least calibrating, but so far haven't had success with a scan, but no matter. Can you tell me exactly what your setup is? It ...

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

@mario Apologies for the late response. I got fixated in just trying to get a decent scan or calibration. I'm running 0.8.2 after reinstalling the image from scratch. I designed laser holders and a...

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

Yep, I followed the guide, and set it up for remote run. The errors I'm getting come when go through the steps. It appears a version of tornado removed the 'asynchronous' decorator. What are the ver...

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

I should add, I'm running on Ubuntu 20.04.Python version is 3.8.2 tornado version is 6.0.4

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

Removing the decorator resolves the error leaving the @tornado.gen.coroutine in place -- not sure if that's the correct solution. Also, I'm wondering if I fubar'd the current installation for develo...

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

So far I've run into the following: missing module 'cv2' -- I installed it with: pip3 install opencv-python Now I get the following when running from PyCharm: File "/home/mping/dev/FabScanPi-Server/...

In forum [Software/Hardware] Development

4 years ago
RE: Dummy driver for cam and serial connection.

I'm happy to help with the doc FYI, if the steps aren't to complex to figure out, I'd be happy to document them as I go.

In forum [Software/Hardware] Development

4 years ago
RE: Dummy driver for cam and serial connection.

Yah, it seems like a stub would be more useful than a mock inside of a formal testing framework. I went ahead and got PyCharm Pro -- the monthly fee is reasonable and using the same tools as yours wi...

In forum [Software/Hardware] Development

4 years ago
RE: Dummy driver for cam and serial connection.

I'm used to doing this in C# moving entry points to services implementing interfaces so they can be implemented by mocks or by real backends. Not sure what the typical approach is in python. Are we ...

In forum [Software/Hardware] Development

4 years ago
RE: Setting up development system

I see that there's a dev task to migrate from Python 2 to 3. Is that complete? Which version of Python should I install?

In forum [Software/Hardware] Development

4 years ago
Setting up development system

Hey all. I posted my Introduction over in the forums, and wanted to stimulate getting steps to put together whatever is needed for development. I have a laptop with a fresh Ubuntu 20.04 install, and ...

In forum [Software/Hardware] Development

4 years ago