Log-Skalieren und Memory #110
Closed
opened 2023-07-28 18:07:16 +00:00 by dominik
·
7 comments
No Branch/Tag Specified
Labels
Clear labels
Kind/Breaking
Kind/Bug
Kind/Crash
Kind/Documentation
Kind/Enhancement
Kind/Feature
Reviewed/Won't Fix
Type/BDS
Type/DSC
Type/Fit
Type/General
Type/NMR
Breaking change that won't be backward compatible
Something is not working
This issue describes unexpected shutdowns or non-responsive behaviors
Improves documentation
Improve existing functionality
New feature
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Priority
Very low
The priority is very low
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid isssue
This issue won't be fixed
Status
Need More Info
Feedback is required to reproduce issue or to continue work
Status
On Hold
This issue or pull request is on hold
Status
Stale
Issues without activity for more than 6 months
Issues connected to BDS
Issues connected to DSC
Issue is connected to fitting data
issue connected to general functionality
Issues connected to NMR
Milestone
No items
No Milestone
Assignees
aahmad (Arshid Ahmad)
anisar (Aqsa Nisar)
ckolb (Christian Kolb)
cwolter (Celine Wolter)
dominik (Dominik Demuth)
dwuerz (David Würz)
elisa (Elisa Steinruecken)
fwolter (Finn Wolter)
huczhang (Huanchen Zhang)
jepsinrajkp (Jepsinraj Kakkuzhiyulla Parambath)
kschroeder (Katharina Schroeder)
malbrecht (Maximilian Albrecht)
mandal (Suvendu Mandal)
markusro (Markus Rosenstihl)
mbergmann (Mark Bergmann)
mhaneke (Markus Haneke)
robin (Robin Horstmann)
saeckech (Christoph Säckel)
skloth (Sebastian Kloth)
skrueger (Sandra Krüger)
ypiliauskaya (Yauheniya Piliauskaya)
Clear assignees
No Assignees
dominik
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: IPKM/nmreval#110
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Ich glaube, das Problem war schon mal da und war auch schon mal gelöst:
Beim logarithmisch Darstellen werden manchmal die Achsengrenzen nicht logarithmisch für die Bechnung der minor Ticks übergeben, z.B: (1e-9, 1e9) statt (-9, 9), was viel zu viele Ticks erzeugt und den RAM sprengt.
Keine Ahnung, warum das jetzt wieder ein Problem ist ☹️
Das Auswerteprogramm (Date of used AppImage: 26 July 2023 16:53) ist wieder gecrasht und ließ sich dann auch nicht mehr starten. Ich bin mir nicht ganz sicher was das ausgelöst hat, evtl habe ich zuletzt ein Datenset kopiert oder berechnen lassen. PC Neustart hat geholfen. Folgendes ist vom Error-Log das über das Programm zugänglich ist noch übrig, ich weiß leider nicht wo das Log gespeichert wird:
File "/tmp/.mount_NMRevaM1PdHW/usr/src/gui_qt/main/management.py", line 171, in _load_session
graph = QGraphWindow.set_state(g)
File "/tmp/.mount_NMRevaM1PdHW/usr/src/gui_qt/graphs/graphwindow.py", line 725, in set_state
graph.set_range(x=state['limits'][0], y=state['limits'][1])
File "/tmp/.mount_NMRevaM1PdHW/usr/src/gui_qt/graphs/graphwindow.py", line 489, in set_range
func(xy[0], xy[1], padding=0)
File "/tmp/.mount_NMRevaM1PdHW/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py", line 283, in method
return getattr(self.vb, name)(*args, **kwargs)
File "/tmp/.mount_NMRevaM1PdHW/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py", line 641, in setXRange
self.setRange(xRange=[min, max], update=update, padding=padding)
File "/tmp/.mount_NMRevaM1PdHW/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py", line 556, in setRange
raise Exception("Cannot set range [%s, %s]" % (str(mn), str(mx)))
Exception: Cannot set range [0.0, inf]
01/08/2023 09:55:58 - INFO - root : Use C functions
01/08/2023 09:56:01 - INFO - root : zsync information 2023-08-01 08:56:51+02:00, 8d8fd2410d2e1d637a2f236d346447d021750109, NMReval-2023.160-d7eaff5-x86_64.AppImage
01/08/2023 09:56:01 - INFO - root : file information 2023-07-26 16:53:38, 4b8d729f4c1f88c7ab47e1700a1556e93e667853
01/08/2023 09:56:01 - INFO - root : Looking for updates, compare to file /autohome/saeckech/.local/bin/NMReval-latest-x86_64.Appimage
01/08/2023 09:56:02 - INFO - root : zsync information 2023-08-01 08:56:51+02:00, 8d8fd2410d2e1d637a2f236d346447d021750109, NMReval-2023.160-d7eaff5-x86_64.AppImage
01/08/2023 09:56:02 - INFO - root : file information 2023-07-26 16:53:38, 4b8d729f4c1f88c7ab47e1700a1556e93e667853
01/08/2023 09:56:03 - ERROR - root : Uncaught exception:
Traceback (most recent call last):
File "/tmp/.mount_NMRevaB8AsCt/usr/bin/evaluate.py", line 24, in
mplQt = NMRMainWindow()
File "/tmp/.mount_NMRevaB8AsCt/usr/src/gui_qt/main/mainwindow.py", line 82, in init
self.check_for_backup()
File "/tmp/.mount_NMRevaB8AsCt/usr/src/gui_qt/main/mainwindow.py", line 1124, in check_for_backup
self.management.load_files([str(backup_by_date[-1][0])])
File "/tmp/.mount_NMRevaB8AsCt/usr/src/gui_qt/main/management.py", line 164, in load_files
self.add_new_data(ret_dic, new_plot)
File "/tmp/.mount_NMRevaB8AsCt/usr/src/gui_qt/main/management.py", line 222, in add_new_data
self._load_session(d[0], graphs=d[1])
File "/tmp/.mount_NMRevaB8AsCt/usr/src/gui_qt/main/management.py", line 171, in _load_session
graph = QGraphWindow.set_state(g)
File "/tmp/.mount_NMRevaB8AsCt/usr/src/gui_qt/graphs/graphwindow.py", line 725, in set_state
graph.set_range(x=state['limits'][0], y=state['limits'][1])
File "/tmp/.mount_NMRevaB8AsCt/usr/src/gui_qt/graphs/graphwindow.py", line 489, in set_range
func(xy[0], xy[1], padding=0)
File "/tmp/.mount_NMRevaB8AsCt/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py", line 283, in method
return getattr(self.vb, name)(*args, **kwargs)
File "/tmp/.mount_NMRevaB8AsCt/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py", line 641, in setXRange
self.setRange(xRange=[min, max], update=update, padding=padding)
File "/tmp/.mount_NMRevaB8AsCt/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py", line 556, in setRange
raise Exception("Cannot set range [%s, %s]" % (str(mn), str(mx)))
Exception: Cannot set range [0.0, inf]
01/08/2023 09:56:26 - INFO - root : Use C functions
01/08/2023 09:56:29 - INFO - root : zsync information 2023-08-01 08:56:51+02:00, 8d8fd2410d2e1d637a2f236d346447d021750109, NMReval-2023.160-d7eaff5-x86_64.AppImage
01/08/2023 09:56:29 - INFO - root : file information 2023-07-26 16:53:38, 4b8d729f4c1f88c7ab47e1700a1556e93e667853
01/08/2023 09:56:29 - INFO - root : Looking for updates, compare to file /autohome/saeckech/.local/bin/NMReval-latest-x86_64.Appimage
01/08/2023 09:56:29 - INFO - root : zsync information 2023-08-01 08:56:51+02:00, 8d8fd2410d2e1d637a2f236d346447d021750109, NMReval-2023.160-d7eaff5-x86_64.AppImage
01/08/2023 09:56:29 - INFO - root : file information 2023-07-26 16:53:38, 4b8d729f4c1f88c7ab47e1700a1556e93e667853
y-Achse skaliert auch nicht richtig bei einem unspektakulären Datenset. Dazu ist kein Eintrag im Error-Log erschienen.
Nachdem ich manuell halbwegs passende Grenzen für die y-Achse eingegeben habe, funktioniert auch der Autozoom wieder.
Dass die Version noch stirbt, überrascht mich nicht, weil erst danach Dinge geändert wurden, Es könnte mit aktuelleren Versionen vielleicht besser laufen.
Den Rest muss ich mir anschauen, was passiert (das Bild hilft nur so semi-viel)
Ist heute Mittag nochmal abgestürzt, diesmal habe ich als der PC langsam wurde einen Screenshot mit terminal-top machen können. Vielleicht hilft das ja.
Die y-Achse hat nachdem ich zwei Datensets interpoliert habe wieder den Autozoom nicht geschafft, auch nachdem ich manuell passende Startwerte festgelegt habe nicht.
Hat nicht weiters gestört, dachte aber, vielleicht hilft es bei der Fehlersuche. Die Datensets hänge ich an.
Die Datensätze könnten hilfreich sein, ich schau' mir das an.
Anmerkung zum Interpolieren: Das funktioniert nicht wirklich gut, wenn die x-Werte Duplikate aufweisen, und Extrapolieren noch viel weniger, weil: "If the values in x are not unique, the resulting behavior is undefined" (sagt scipy)
Problem sind die inf-Werte in yscale_4 aus der schlimmen Extrapolation; werden die Werte ausgeblendet oder gelöscht funktioniert auch das Skalieren.
Hat mit dem ursprünglichen Problem des Issues nichts zu tun, deswegen wird es geschlossen