1. Beatrix Willius
  2. Valentina Server
  3. Четверг, Ноябрь 11 2021, 02:45 PM
  4.  Подписаться через email
I'm pretty sure that I have done some testing with VServer on Monterey. But I've recently updated to 12.1 beta.

a) The AppleScripts can't be opened at all: The document “STOP” could not be opened. Script Editor cannot open files in the “Script” format. http://www.valentina-db.com/bt/view.php?id=9030

b) How do I stop the server with the stop_me.sh shellscript? It does like nothing. Doing a "sudo launchctl" directly in Terminal also does nothing at all. Does nothing means that the server is still running after executing the script.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Beatrix,

You can check if the server is running in the Activity Monitor, it is vserver_x64 process

Or use ps in the terminal:
$ ps ax | grep vserver

The output for me is:
71 ?? Ss 0:20.95 /Library/VServer_x64/vserver_x64.app/Contents/MacOS/vserver_x64
Комментарий
There are no comments made yet.
Beatrix Willius Ответ принят
Both Activity Viewer and Valentina Studio report that Valentina Server is running. After using stop_me.sh.
Вложения
Комментарий
There are no comments made yet.
Ruslan Zasukhin Ответ принят
Thank you, Beatrix,

we will try reproduce this
Комментарий
There are no comments made yet.
Ivan Smahin Ответ принят
Most probably it was stopped and running again because of
/Library/LaunchDaemons/com.paradigmasoft.vserver_x64.plist

Check there please - <key>KeepAlive</key> - set it to false.
Комментарий
There are no comments made yet.
Ivan Smahin Ответ принят
Otherwise - it works for me - to run it via "System Preferences" and stop with /Library/VServer_x64/stop_me.sh
MacOs 12.0.1, fresh, latest, just downloaded vServer.

Probably something wrong with permissions (it is usual for MacOS betas )
Комментарий
There are no comments made yet.
Beatrix Willius Ответ принят
Permissions errors belong into the nineties and the keep alive must work. I've installed the latest version of Valentina Server. Using the AppleScripts with the shell command "launchctl" now works fine. The pref pane isn't quite willing. What is the "legacy loader"? See attached screenshots.
Вложения
Комментарий
There are no comments made yet.
Beatrix Willius Ответ принят
Hmm.... how did I do that?

beatrixwillius@MacBook-Air-von-Beatrix ~ % sudo /Library/VServer_x64/start_me.sh
Password:
Starting VSERVER using LaunchD...
/Library/LaunchDaemons/com.paradigmasoft.vserver_x64.plist: Service is disabled
Load failed: 119: Service is disabled
Комментарий
There are no comments made yet.
Beatrix Willius Ответ принят
Everything is back to working now.
Комментарий
There are no comments made yet.
Beatrix Willius Ответ принят
Monterey doesn't like the prefs pane anymore. See screenshot.

And the pref pane crashes:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process: legacyLoader-x86_64 [98975]
Path: /System/Library/Frameworks/PreferencePanes.framework/Versions/A/XPCServices/legacyLoader-x86_64.xpc/Contents/MacOS/legacyLoader-x86_64
Identifier: com.apple.systempreferences.legacyLoader.x86_64
Version: 1.0 (1)
Build Info: PrefPanesFrameworkLegacyLoader-392000000000000~97
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
Responsible: System Preferences [98950]
User ID: 501

Date/Time: 2021-11-12 12:13:10.0801 +0100
OS Version: macOS 12.1 (21C5021h)
Report Version: 12
Anonymous UUID: AD0E17C4-56F5-D9DA-B323-5C0F432C4D48

Sleep/Wake UUID: 1033FFA4-5062-402C-87D9-AA4609F1C6E3

Time Awake Since Boot: 290000 seconds
Time Since Wake: 1182 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process: exc handler [98975]

Application Specific Information:
Crashing on exception: Couldn't posix_spawn: error 5


Application Specific Backtrace 0:
0 CoreFoundation 0x00007ff809bfa6cb __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff80995cdce objc_exception_throw + 48
2 Foundation 0x00007ff80a989972 -[NSConcreteTask launchWithDictionary:error:] + 4982
3 ValentinaServers 0x0000000114e1304f -[MainViewController(Administration) executeCommand:] + 240
4 ValentinaServers 0x0000000114e12d79 -[MainViewController(Administration) isServerPlistLoaded] + 157
5 ValentinaServers 0x0000000114e121e2 -[MainViewController updateControls_Server] + 471
6 Foundation 0x00007ff80a94d8f0 __NSFireTimer + 67
7 CoreFoundation 0x00007ff809b989dc __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
8 CoreFoundation 0x00007ff809b984cd __CFRunLoopDoTimer + 931
9 CoreFoundation 0x00007ff809b9802c __CFRunLoopDoTimers + 307
10 CoreFoundation 0x00007ff809b7e747 __CFRunLoopRun + 1993
11 CoreFoundation 0x00007ff809b7d8a9 CFRunLoopRunSpecific + 567
12 HIToolbox 0x00007ff812c9f121 RunCurrentEventLoopInMode + 292
13 HIToolbox 0x00007ff812c9ee77 ReceiveNextEventCommon + 587
14 HIToolbox 0x00007ff812c9ec15 _BlockUntilNextEventMatchingListInModeWithFilter + 70
15 AppKit 0x00007ff80c4d08d0 _DPSNextEvent + 886
16 AppKit 0x00007ff80c4cef3c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1411
17 ViewBridge 0x00007ff8114d5697 __75-[NSViewServiceApplication nextEventMatchingMask:untilDate:inMode:dequeue:]_block_invoke + 111
18 ViewBridge 0x00007ff8114d54d8 -[NSViewServiceApplication _withToxicEventMonitorPerform:] + 114
19 ViewBridge 0x00007ff8114c2feb -[NSViewServiceApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 151
20 AppKit 0x00007ff80c4c1339 -[NSApplication run] + 586
21 AppKit 0x00007ff80c4951d8 NSApplicationMain + 816
22 libxpc.dylib 0x00007ff809804291 _xpc_objc_main + 919
23 libxpc.dylib 0x00007ff809803c22 xpc_main + 99
24 ViewBridge 0x00007ff8114bc7c3 xpc_connection_handler + 0
25 ViewBridge 0x00007ff8114bebbe NSViewServiceApplicationMain + 1326
26 PreferencePanes 0x00007ff91c651236 PreferencePaneMain + 247
27 legacyLoader-x86_64 0x0000000104fbec8b main + 40
28 dyld 0x00000002052384fe start + 462
29 ??? 0x0000000000000003 0x0 + 3
Вложения
Комментарий
There are no comments made yet.
  • Страница :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories