#5423 (Build a new version of eidreader)
by Luc Saffre · in Hosting (system administration) · assigned to Luc Saffre
Kokkuvõte
Children
Kommentaarid
- 1 aasta, 5 kuud ago by Luc Saffre about #5423 (Build a new version of eidreader) : I took this but put this to sleep. If I remember correctly, the 1.0.8 did not work on the PC of a customer, but I had no occasion to report error messages. Right now there is no urgent need.
- 1 aasta, 11 kuud ago by Luc Saffre about #5423 (Build a new version of eidreader) : Hannes, could you please do this again and create version 1.0.8 of eidreader.zip, as instructed [url eidreader.lino-framework.org/build.html here]? When done, either send me the eidreader.zip via email (it is ca 6MB), or upload it e.g. to your home on LF, I will then add it do the eid repository and...
- 2 aastat, 6 kuud ago by hannes about #5423 (Build a new version of eidreader) : This ticket seems to be ready, because the eireader was built and uploaded.
- 2 aastat, 8 kuud ago by hannes about #5423 (Build a new version of eidreader) (1 reply) : New build done and uploaded to LF.
In local windows 11 cmd prompt: C:\eidreader>cd dist C:\eidreader\dist>python -m zipfile -c eidreader.zip eidreader C:\eidreader\dist>eidreader LoadLibrary() failed with error 126: The specified module could not be found. {"eidreader_version": "1.0.7", "success": f... - 2 aastat, 8 kuud ago by Luc Saffre about #5423 (Build a new version of eidreader) : @hannes please make another build (after git pull). This is no longer urgent because we now have confirmation that we don't need this for #5411.
- 2 aastat, 8 kuud ago by Luc Saffre about #5423 (Build a new version of eidreader) : Uff, I converted eidreader from setup.py to pyproject.toml. Also it is now again a single script, not a package with a single file. "inv sdist release" no longer works (as described in #4909), I used "python -m build" and "twine upload dist/eidreader-1.0.7*".
- 2 aastat, 8 kuud ago by Luc Saffre about #5423 (Build a new version of eidreader) : TODO: do I need a pyproject.toml file?
- 2 aastat, 8 kuud ago by Luc Saffre about #5423 (Build a new version of eidreader) : Another idea is to convert the eid repository so that it works without a Python package.
- 2 aastat, 8 kuud ago by Luc Saffre about #5423 (Build a new version of eidreader) : I am reading the [url pyinstaller.org/en/stable/ PyInstaller manual] and trying to find possible explanations or what I could try next. (1) without the --noconsole option. (2) Change the shebang line of scripts/eidreader...
- 2 aastat, 8 kuud ago by Luc Saffre about #5423 (Build a new version of eidreader) : Seems that the eidreader module is not being packaged.
- 2 aastat, 8 kuud ago by hannes about #5423 (Build a new version of eidreader) : Tested eidreader also in Windows10, running from commandline gave: Unhandled exception in script.
Failed to execute script 'eidreader' due to unhandled exception. No module named 'eidreader'
Traceback (most recent call last): File "eidreader.py", line 2, in <module> ModuleNotFoundError: No module... - 2 aastat, 8 kuud ago by hannes about #5423 (Build a new version of eidreader) : Cloned from git repo and built a new version of eidreader. Also uploaded to LF dl folder.
- 2 aastat, 8 kuud ago by Luc Saffre about #5423 (Build a new version of eidreader) : Oops, there was a bug in the [url eidreader.lino-framework.org/build.html build instructions], they forgot to install a clone of the eidreader Git repository. Hannes, please make a next release using the updated instructions.
- 2 aastat, 8 kuud ago by hannes about #5423 (Build a new version of eidreader) : From commandline: Failed to execute script 'eidreader' due to unhandled exception: No module named 'eidreader'
Traceback (most recent call last): File "eidreader.py", line 2, in <module> ModuleNotFoundError: No module named 'eidreader' - 2 aastat, 8 kuud ago by Luc Saffre about #5423 (Build a new version of eidreader) : Next time, please don't put it to /root on SR but to the download directory of the hosting guide (mkdir ~/repositories/hg/docs/dl/) so that everybody can easily download it from [url hosting.lino-framework.org/dl/eidreader.zip]
- 2 aastat, 8 kuud ago by Luc Saffre about #5423 (Build a new version of eidreader) (1 reply) : Great, so our "deployment process" works. @hannes next time please test whether the eidreader.exe works correctly on your machine. In a terminal, "eidreader" should output one line of text as follows: {"eidreader_version": "1.0.6", "success": false, "message": "Could not find any reader with a card i...
- 2 aastat, 8 kuud ago by hannes about #5423 (Build a new version of eidreader) : New version of eidreader built in windows 11 and zip-file copied to /root of saffre-rumma.net.
- 2 aastat, 8 kuud ago by Luc Saffre about #5423 (Build a new version of eidreader) : @hannes do you have a Windows machine within reach where you can install Python? Could you try to build a new version of eidreader, as explained here: [url eidreader.lino-framework.org/build.html]
- 2 aastat, 8 kuud ago by Luc Saffre about #5423 (Build a new version of eidreader) : Created new Ticket #5423@hosting (Build a new version of eidreader).