This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Py Zero 2 W is Out!
#51
Hello Stelian
i tried your image and it seems to work as shipped.

Because i have a strange jlx12864 display, i need to change the commands in the ugfx.cpp file and build again with pypilot.build.

When i do this, the web controll interface doesn't work. I looked at ~/pypilot/web folder and the file web.py seems corrupted to me.
Reply
#52
Hi kagouraki,

I don't see any web.py corruption here...

I too have some strange issues when building using pypilot.build:

First of all you need to wait a few minutes after the boot so all the needed development packages (gcc etc) get installed.

Then, from the pypilot directory, run "sudo python3 dependencies.py", some extra python packages will be installed through pip, I think some of them may be required for the build.

Then run "sudo sh pypilot.build", which will build and install the tcz package.

However, for some strange reason I haven't investigated yet, it seems that you need to build TWO times: the first package which is built is not ok (if you look closely, at the end of the build, where the size of the package is shown, you will notice the new build is a few kilobytes smaller than the previous). This is the sign that the build is incorrect. Issuing the pypilot.build a second time will build a correct package.

I really need to look closer into this !
Reply
#53
Yes. i looked it again. The web.py file is corrupted look at the picture. They have different sizes.
Also as long as i checked, the filesize of the package is the same when i run the pypilot.build for a second or a third time. It doesnt change when i build again.


Attached Files Image(s)
   
Reply
#54
Latest web.py (https://raw.githubusercontent.com/pypilo...web/web.py) is exactly 6.8 kB in size, so it looks like the file on the sdcard (rightside picture above) is OK.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)