Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MessdatenSilo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lennard Kloock
MessdatenSilo
Commits
0e646b36
Commit
0e646b36
authored
3 years ago
by
Lennard
Browse files
Options
Downloads
Patches
Plain Diff
New data
parent
fa61e45f
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
__pycache__/main.cpython-37.pyc
+0
-0
0 additions, 0 deletions
__pycache__/main.cpython-37.pyc
bash.log
+48
-0
48 additions, 0 deletions
bash.log
data/log.2022-06-19_23.log
+3
-0
3 additions, 0 deletions
data/log.2022-06-19_23.log
logs/log
+25
-0
25 additions, 0 deletions
logs/log
with
76 additions
and
0 deletions
__pycache__/main.cpython-37.pyc
0 → 100644
+
0
−
0
View file @
0e646b36
File added
This diff is collapsed.
Click to expand it.
bash.log
+
48
−
0
View file @
0e646b36
...
...
@@ -19560,3 +19560,51 @@ Fast-forward
scripts/push.bash | 2 +
sketches/Temperaturmessung/Temperaturmessung.ino | 12 ++--
7 files changed, 79 insertions(+), 52 deletions(-)
[main fa61e45] New data
4 files changed, 1132 insertions(+), 1 deletion(-)
create mode 100644 data/log.2022-06-18_23.log
To https://github.com/SirWalross/MessdatenSilo.git
60946e7..fa61e45 main -> main
2022-06-20 00:00:01
804K ./.github
3,4M ./data
13M ./.git
20K ./sketches
728K ./logs
20K ./scripts
46M .
46M insgesamt
Info: DMS arduino: /dev/ttyACM0, Temp arduino: /dev/ttyACM1
Checking connected devices...
Checking installed cores...
Compiling sketches...
Uploading sketches...
Finished
Error in sys.excepthook:
Traceback (most recent call last):
File "/home/pi/Desktop/MessdatenSilo/main.py", line 56, in handle_exception
logger.error("Uncaught exception", exc_info=(exc_type, exc_value, exc_traceback))
NameError: name 'logger' is not defined
Original exception was:
Traceback (most recent call last):
File "measure.py", line 26, in <module>
from main import logger, data_logger, fh, get_offset, setup_loggers
ImportError: cannot import name 'logger' from 'main' (/home/pi/Desktop/MessdatenSilo/main.py)
Starting python script:
2022-06-20 22:58:35
2022-06-20 00:00:56, WARNING, [main_logger.main:141] Starting
2022-06-20 00:00:56, WARNING, [main_logger.main:151] Connected to serial ports
2022-06-20 23:58:31, ERROR, [main_logger.handle_exception:56] Uncaught exception
Traceback (most recent call last):
File "main.py", line 207, in <module>
main(yaml.safe_load(open(f"{Path(__file__).parent}/config.yml")))
File "main.py", line 201, in main
Path(f"{Path(__file__).parent}/data/data").unlink(missing_ok=True) # delete old data file
TypeError: unlink() got an unexpected keyword argument 'missing_ok'
Python script ended
Bereits aktuell.
This diff is collapsed.
Click to expand it.
data/log.2022-06-19_23.log
0 → 100644
LFS
+
3
−
0
View file @
0e646b36
Source diff could not be displayed: it is stored in LFS. Options to address this:
view the blob
.
This diff is collapsed.
Click to expand it.
logs/log
+
25
−
0
View file @
0e646b36
...
...
@@ -954,3 +954,28 @@ Traceback (most recent call last):
off2 = 4 if int(convert(con2.readline())) == 2.0 else 0
ValueError: invalid literal for int() with base 10: '30.00'
2022-06-19 23:58:35, WARNING, [main_logger.main:200] Finished
2022-06-20 00:00:56, WARNING, [main_logger.main:141] Starting
2022-06-20 00:00:56, INFO, [main_logger.main:147] Factors: 1.855, 0.000, 0.923, -1.000, Offset: 4.814, 0.000, -0.231, -0.058
2022-06-20 00:00:56, WARNING, [main_logger.main:151] Connected to serial ports
2022-06-20 00:00:59, INFO, [main_logger.main:188] Didn't receive data from arduino, off1: None, off2: None, recv1: None, recv2: None
Traceback (most recent call last):
File "main.py", line 165, in main
off1 = 0 if int(convert(con1.readline())) == 1.0 else 4
ValueError: invalid literal for int() with base 10: ''
2022-06-20 00:01:02, INFO, [main_logger.main:188] Didn't receive data from arduino, off1: None, off2: None, recv1: None, recv2: None
Traceback (most recent call last):
File "main.py", line 165, in main
off1 = 0 if int(convert(con1.readline())) == 1.0 else 4
ValueError: invalid literal for int() with base 10: ''
2022-06-20 00:01:05, INFO, [main_logger.main:188] Didn't receive data from arduino, off1: None, off2: None, recv1: None, recv2: None
Traceback (most recent call last):
File "main.py", line 165, in main
off1 = 0 if int(convert(con1.readline())) == 1.0 else 4
ValueError: invalid literal for int() with base 10: ''
2022-06-20 23:58:31, ERROR, [main_logger.handle_exception:56] Uncaught exception
Traceback (most recent call last):
File "main.py", line 207, in <module>
main(yaml.safe_load(open(f"{Path(__file__).parent}/config.yml")))
File "main.py", line 201, in main
Path(f"{Path(__file__).parent}/data/data").unlink(missing_ok=True) # delete old data file
TypeError: unlink() got an unexpected keyword argument 'missing_ok'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment