Dangerdad137
Dangerdad137
@dangerdad137
Active Member
Joined: May 2, 2020
Last seen: Dec 21, 2020
Topics: 1 / Replies: 21
Reply
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 straight...

4 years ago
Reply
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...

4 years ago
Reply
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...

4 years ago
Reply
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. /u...

4 years ago
Reply
RE: Setting up development system

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

4 years ago
Reply
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...

4 years ago
Reply
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

4 years ago
Reply
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/py...

4 years ago
Reply
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. ...

4 years ago
Reply
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 i...

4 years ago
Reply
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 remov...

4 years ago
Reply
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

4 years ago
Reply
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 wond...

4 years ago
Reply
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 ...

4 years ago
Reply
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.

4 years ago
Reply
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 ...

4 years ago
Reply
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 sur...

4 years ago
Reply
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?

4 years ago
Topic
Replies: 23
Views: 2057