qwebview in pyside after packaged with pyinstaller goes wrong - pyside

Here's my code
import sys
from PySide.QtCore import *
from PySide.QtGui import *
from PySide.QtWebKit import *
from encodings import *
from codecs import *
class BrowserWindow( QWidget ):
def __init__( self, parent=None ):
QWidget.__init__( self, parent )
self.Setup()
self.SetupEvent()
def Setup( self ):
self.setWindowTitle( u"Truease Speedy Browser" )
self.addr_input = QLineEdit()
self.addr_go = QPushButton( "GO" )
self.addr_bar = QHBoxLayout()
self.addr_bar.addWidget( self.addr_input )
self.addr_bar.addWidget( self.addr_go )
for attr in [
QWebSettings.AutoLoadImages,
QWebSettings.JavascriptEnabled,
QWebSettings.JavaEnabled,
QWebSettings.PluginsEnabled,
QWebSettings.JavascriptCanOpenWindows,
QWebSettings.JavascriptCanAccessClipboard,
QWebSettings.DeveloperExtrasEnabled,
QWebSettings.SpatialNavigationEnabled,
QWebSettings.OfflineStorageDatabaseEnabled,
QWebSettings.OfflineWebApplicationCacheEnabled,
QWebSettings.LocalStorageEnabled,
QWebSettings.LocalStorageDatabaseEnabled,
QWebSettings.LocalContentCanAccessRemoteUrls,
QWebSettings.LocalContentCanAccessFileUrls,
]:
QWebSettings.globalSettings().setAttribute( attr, True )
self.web_view = QWebView()
self.web_view.load( "http://www.baidu.com" )
layout = QVBoxLayout()
layout.addLayout( self.addr_bar )
layout.addWidget( self.web_view )
self.setLayout( layout )
def SetupEvent( self ):
self.connect(
self.addr_input,
SIGNAL("editingFinished()"),
self,
SLOT("Load()"),
)
self.connect(
self.addr_go,
SIGNAL("pressed()"),
self,
SLOT("Load()")
)
self.connect(
self.web_view,
SIGNAL("urlChanged(const QUrl&)"),
self,
SLOT("SetURL()"),
)
def Load( self, *args, **kwargs ):
url = self.GetCleanedURL()
if url != self.CurrentURL():
self.web_view.load( url )
def SetURL( self, *args, **kwargs ):
self.addr_input.setText( self.CurrentURL() )
def GetCleanedURL( self ):
url = self.addr_input.text().strip()
if not url.startswith("http"):
url = "http://" + url
return url
def CurrentURL( self ):
url = self.web_view.url().toString()
return url
def Main():
app = QApplication( sys.argv )
widget = BrowserWindow()
widget.show()
return app.exec_()
if __name__ == '__main__':
sys.exit( Main() )
I works well when i using python browser.py. but it goes wrong after packaged with pyinstaller -w browser.py.
it doesn't load images
can only display correct text in utf-8
And this is the pyinstaller output:
E:\true\wuk\app2>pyinstaller -w b.py
16 INFO: wrote E:\true\wuk\app2\b.spec
16 INFO: Testing for ability to set icons, version resources...
32 INFO: ... resource update available
32 INFO: UPX is not available.
46 INFO: Processing hook hook-os
141 INFO: Processing hook hook-time
157 INFO: Processing hook hook-cPickle
218 INFO: Processing hook hook-_sre
312 INFO: Processing hook hook-cStringIO
407 INFO: Processing hook hook-encodings
421 INFO: Processing hook hook-codecs
750 INFO: Processing hook hook-httplib
750 INFO: Processing hook hook-email
843 INFO: Processing hook hook-email.message
1046 WARNING: library python%s%s required via ctypes not found
1171 INFO: Extending PYTHONPATH with E:\true\wuk\app2
1171 INFO: checking Analysis
1171 INFO: building because b.py changed
1171 INFO: running Analysis out00-Analysis.toc
1171 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final executable
1171 INFO: Searching for assembly x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww ...
1171 INFO: Found manifest C:\WINDOWS\WinSxS\Manifests\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375.manifest
1187 INFO: Searching for file msvcr90.dll
1187 INFO: Found file C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcr90.dll
1187 INFO: Searching for file msvcp90.dll
1187 INFO: Found file C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcp90.dll
1187 INFO: Searching for file msvcm90.dll
1187 INFO: Found file C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcm90.dll
1266 INFO: Analyzing D:\Applications\Python\lib\site-packages\pyinstaller-2.1-py2.7.egg\PyInstaller\loader\_pyi_bootstrap.py
1266 INFO: Processing hook hook-os
1282 INFO: Processing hook hook-site
1296 INFO: Processing hook hook-encodings
1391 INFO: Processing hook hook-time
1407 INFO: Processing hook hook-cPickle
1468 INFO: Processing hook hook-_sre
1578 INFO: Processing hook hook-cStringIO
1671 INFO: Processing hook hook-codecs
2016 INFO: Processing hook hook-httplib
2016 INFO: Processing hook hook-email
2109 INFO: Processing hook hook-email.message
2312 WARNING: library python%s%s required via ctypes not found
2468 INFO: Processing hook hook-pydoc
2516 INFO: Analyzing D:\Applications\Python\lib\site-packages\pyinstaller-2.1-py2.7.egg\PyInstaller\loader\pyi_importers.py
2609 INFO: Analyzing D:\Applications\Python\lib\site-packages\pyinstaller-2.1-py2.7.egg\PyInstaller\loader\pyi_archive.py
2687 INFO: Analyzing D:\Applications\Python\lib\site-packages\pyinstaller-2.1-py2.7.egg\PyInstaller\loader\pyi_carchive.py
2782 INFO: Analyzing D:\Applications\Python\lib\site-packages\pyinstaller-2.1-py2.7.egg\PyInstaller\loader\pyi_os_path.py
2782 INFO: Analyzing b.py
2796 INFO: Processing hook hook-PySide
2875 INFO: Hidden import 'codecs' has been found otherwise
2875 INFO: Hidden import 'encodings' has been found otherwise
2875 INFO: Looking for run-time hooks
7766 INFO: Using Python library C:\WINDOWS\system32\python27.dll
7796 INFO: E:\true\wuk\app2\build\b\out00-Analysis.toc no change!
7796 INFO: checking PYZ
7812 INFO: checking PKG
7812 INFO: building because E:\true\wuk\app2\build\b\b.exe.manifest changed
7812 INFO: building PKG (CArchive) out00-PKG.pkg
7828 INFO: checking EXE
7843 INFO: rebuilding out00-EXE.toc because pkg is more recent
7843 INFO: building EXE from out00-EXE.toc
7843 INFO: Appending archive to EXE E:\true\wuk\app2\build\b\b.exe
7843 INFO: checking COLLECT
7843 INFO: building COLLECT out00-COLLECT.toc
Use pyinstaller browser.py, and in the console window i got
QFont::setPixelSize: Pixel size <= 0 (0)
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error
QFont::setPixelSize: Pixel size <= 0 (0)

I encountered this same problem. It is caused by PyInstaller using incorrect versions of ssleay32.dll and libeay32.dll.
To fix, download and install "Win32 OpenSSL v1.0.1e".
Then create a spec file for your PyInstaller project:
pyi-makespec browser.py
Open your spec file, named browser.spec, and below the a = Analysis(['browser.py']) line, add:
for d in range(len(a.binaries)):
if a.binaries[d][0].lower() == 'ssleay32.dll':
print a.binaries[d]
a.binaries[d] = ('ssleay32.dll', 'C:\\\OpenSSL-Win32\\ssleay32.dll', 'BINARY')
if a.binaries[d][0].lower() == 'libeay32.dll':
print a.binaries[d]
a.binaries[d] = ('libeay32.dll', 'C:\\OpenSSL-Win32\\libeay32.dll', 'BINARY')
This will tell PyInstaller to use the OpenSSL-Win32 dlls instead of the ones your Python installation is using.
When running the Python script, my Python installation preferred the DLLs in my system path to those installed by pyOpenSSL/egenix, but when bundling with PyInstaller, it seems to prefer the pyOpenSSL/egenix ones. This should fix that.

Related

Failed to use Julia (0.6) and Atom (1.18.0 x64)

I uninstalled Julia 0.5 and 0.52 including folders and the Atom editor.
Then I reinstalled Julia 0.6 and in a next step, Atom 1.18.0 x64.
Within Atom, the following packages were installed afterwards:
uber-juno 0.1.2
julia-client 0.6.0
ink 0.7.4
language-julia 0.11.0
From within the Atom editor console I've got after typing Pkg.update() no response,
Then from within julia window: Pkg.update() I've got the following message:
julia> Pkg.update()
INFO: Initializing package repository C:\Users\Carsten\.julia\v0.6
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: GitError(Code:ERROR, Class:OS, failed to send request: Die Serververbindung konnte nicht hergestellt werden.
)
Stacktrace:
[1] macro expansion at .\libgit2\error.jl:99 [inlined]
[2] clone(::String, ::String, ::Base.LibGit2.CloneOptions) at .\libgit2\repository.jl:276
[3] #clone#100(::String, ::Bool, ::Ptr{Void}, ::Nullable{Base.LibGit2.AbstractCredentials}, ::Function, ::String, ::String) at .\libgit2\libgit2.jl:562
[4] (::Base.LibGit2.#kw##clone)(::Array{Any,1}, ::Base.LibGit2.#clone, ::String, ::String) at .\<missing>:0
[5] (::Base.Pkg.Dir.##8#10{String,String})() at .\pkg\dir.jl:55
[6] cd(::Base.Pkg.Dir.##8#10{String,String}, ::String) at .\file.jl:59
[7] init(::String, ::String) at .\pkg\dir.jl:53
[8] #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N} where N) at .\pkg\dir.jl:28
[9] update() at .\pkg\pkg.jl:228

Unknown Provider error while unit testing in jasmine

I have a module as below in a js file
app.js
angular.module( 'app', [ 'ui.bootstrap', 'routes', 'module2', 'ngAnimate', 'ngSanitize' ] );
If i am to write a unit test case then how should i load the modules in my unit test case??
Is it this way
module('app');
Other way
module('ui.bootstrap');
module('routes');
module('module2');
module('ngAnimate');
module('ngSanitize');
Which is right order or the right way to load the module...As am always getting the below error
Error: [$injector:unpr] Unknown provider: deepakProvider <- deepak
http://errors.angularjs.org/1.4.9/$injector/unpr?p0=deepakProvider%20%3C-%20deepak
at C:/jasmine/InformedEnrollment2/src/webapp/informedenrollment2/webclnt/components/angular/angular.js:68:12
at C:/jasmine/project/src/webapp/project/webclnt/components/angular/angular.js:4346:19
at Object.getService [as get] (C:/jasmine/project/src/webapp/project/webclnt/components/angular/angular.js:4494:39)
at C:/jasmine/project/src/webapp/project/webclnt/components/angular/angular.js:4351:45
at Object.getService [as get] (C:/jasmine/project/src/webapp/project/webclnt/components/angular/angular.js:4494:39)
at Object.<anonymous> (C:/jasmine/project/tests/DemoToTheTeam.js:20:47)
at Object.invoke (C:/jasmine/project/src/webapp/project/webclnt/components/angular/angular.js:4535:17)
at Object.workFn (C:/jasmine/project/node_modules/angular-mocks/angular-mocks.js:3071:20)
Error: Declaration Location
at window.inject.angular.mock.inject (C:/jasmine/project/node_modules/angular-mocks/angular-mocks.js:3033:25)
at Suite.<anonymous> (C:/jasmine/project/tests/DemoToTheTeam.js:19:15)
at C:/jasmine/project/tests/DemoToTheTeam.js:2:1
TypeError: Cannot read property 'multiply' of undefined
at Object.<anonymous> (C:/jasmine/project/tests/DemoToTheTeam.js:26:13)
50.0.2661 (Windows 7 0.0.0): Executed 7 of 7 (1 FAILED) (0.182 secs / 0.064 secs)

AU v3: Ignoring lax activation attempt for unsupported domain: apple-extension-service, viewbridge

There is an AudioUnitV3Example sample code by Apple for iOS. As well as Audio Unit Extension OS X target template in Xcode (7.2).
I created (for debug purpose) simple AUv3 PlugIns Host which used AVFoundation API to build playback engine graph. It is working well with standard AudioUnits shipped with OS X. It can instantiate AudioUnit, load preset, open effect window.
But I can't troubleshoot problem with custom AUv3 PlugIn created from Audio Unit Extension template.
It was already working some days ago and I was able to hit following breakpoint (as well as reach other code from AudioUnit lifecycle):
// AUAudioUnitFactory method.
func createAudioUnitWithComponentDescription(
desc: AudioComponentDescription) throws -> AUAudioUnit
But at some point a faced strange issue. The completionHandler for custom PlugIn, from the following method, never gets called:
// AVAudioUnit method.
class func instantiateWithComponentDescription(
audioComponentDescription: AudioComponentDescription,
options: AudioComponentInstantiationOptions,
completionHandler: (AVAudioUnit?, NSError?) -> Void)
Also there is following log messages in system.log:
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23653]: debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
for x86_64.
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23653]: Got a connection, waiting for process information for launching or attaching.
kernel[0]: warning: debugserver(23653) performed out-of-band resume on pid 23652
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23653]: Attach succeeded, ready to debug.
pkd[562]: INSTALLED:ua.com.wavelabs.Attenuator.AttenuatorAU ua.com.wavelabs.Attenuator.AttenuatorAU(1.0.1) <__NSConcreteUUID 0x7f8dcb847fb0> 4FD70868-0F5B-4979-A6DC-4018B4143934 /private/tmp/Attenuator.dst/Applications/Attenuator.app/Contents/PlugIns/AttenuatorAU.appex
pkd[562]: client 23594 plug-in ua.com.wavelabs.Attenuator.AttenuatorAU election := 257
com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.MediaLibraryService.23655): Path not allowed in target domain: type = pid, path = /Library/Frameworks/iTunesLibrary.framework/Versions/A/XPCServices/com.apple.iTunesLibraryService.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /System/Library/Frameworks/MediaLibrary.framework/Versions/A/XPCServices/com.apple.MediaLibraryService.xpc
--- last message repeated 1 time ---
com.apple.SecurityServer[88]: Session 101187 created
com.apple.SecurityServer[88]: Session 101188 created
com.apple.SecurityServer[88]: Killing auth hosts
com.apple.SecurityServer[88]: Session 101182 destroyed
com.apple.SecurityServer[88]: Session 101189 created
pkd[562]: enabling pid=23652 for plug-in ua.com.wavelabs.Attenuator.AttenuatorAU(1.0.1) 4FD70868-0F5B-4979-A6DC-4018B4143934 /private/tmp/Attenuator.dst/Applications/Attenuator.app/Contents/PlugIns/AttenuatorAU.appex
taskgated-helper[23666]: Starting taskgated-helper
taskgated-helper[23666]: validated embedded provisioning profile: file:///private/tmp/Attenuator.dst/Applications/Attenuator.app/Contents/PlugIns/AttenuatorAU.appex/Contents/embedded.provisionprofile
taskgated-helper[23666]: Found 1 provisioning profiles
taskgated-helper[23666]: allowing entitlement(s) for pid=23665 due to provisioning profile
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23668]: debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
for x86_64.
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23668]: Got a connection, waiting for process information for launching or attaching.
kernel[0]: warning: debugserver(23668) performed out-of-band resume on pid 23665
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23668]: Attach succeeded, ready to debug.
com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.AUHost.23652): Ignoring lax activation attempt for unsupported domain: ua.com.wavelabs.Attenuator.AttenuatorAU.apple-extension-service
com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.AUHost.23652): Ignoring lax activation attempt for unsupported domain: ua.com.wavelabs.Attenuator.AttenuatorAU.viewbridge
com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.AUHost.23652): Ignoring lax activation attempt for unsupported domain: ua.com.wavelabs.Attenuator.AttenuatorAU
From this log we can see that:
App Extension (PlugIn) successfully registered (INSTALLED:ua.com.wavelabs.Attenuator.AttenuatorAU).
Provisioning file validated and thus no Sandbox related issues (allowing entitlement(s) for pid=23665 due to provisioning profile).
Xcode debugger successfully attached to AUv3 Host and Attenuator App Extension.
Unfortunately something went wrong after log messages Ignoring lax activation attempt for unsupported domain .... PlugIn load stuck on waiting for return from callback, which will never be triggered.(
After stopping Xcode debug there is another part of system.log:
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23653]: Got a 'k' packet, killing the inferior process.
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23653]: Sending ptrace PT_KILL to terminate inferior process.
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23653]: 1 +0.000000 sec [5c65/0307]: error: ::ptrace (request = PT_THUPDATE, pid = 0x5c64, tid = 0x1903, signal = 0) err = Resource busy (0x00000010)
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23653]: 2 +0.000143 sec [5c65/0307]: error: ::task_info ( target_task = 0x1403, flavor = TASK_BASIC_INFO, task_info_out => 0x7fff56ac9f30, task_info_outCnt => 10 ) err = (os/kern) invalid argument (0x00000004)
com.apple.security.pboxd[23660]: __45-[NSRemoteServiceConnection _setupConnection]_block_invoke_2: connection failed unexpectedly; terminating process; delegate was (
0 RemoteViewServices 0x00007fff87e25a28 -[NSRemoteServiceConnection setDelegate:] + 255
1 com.apple.security.pboxd 0x00000001068e4771 com.apple.security.pboxd + 22385
2 com.apple.security.pboxd 0x00000001068e4c33 com.apple.security.pboxd + 23603
3 com.apple.security.pboxd 0x00000001068e3b8d com.apple.security.pboxd + 19341
4 libxpc.dylib 0x00007fff932b9396 _xpc_connection_call_event_handler + 35
5 libxpc.dylib 0x00007fff932b900f _xpc_connection_mach_event + 2198
6 libdispatch.dylib 0x00007fff914204ca _dispatch_client_callout4 + 9
7 libdispatch.dylib 0x00007fff9142093c _dispatch_mach_msg_invoke + 555
8 libdispatch.dylib 0x00007fff9141d134 _dispatch_queue_drain + 1207
9 libdispatch.dylib 0x00007fff9141f293 _dispatch_mach_invoke + 735
10 libdispatch.dylib 0x00007fff9141833f _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff9141c1cf _dispatch_root_queue_drain + 1890
12 libdispatch.dylib 0x00007fff9141ba34 _dispatch_worker_thread3 + 91
13 libsystem_pthread.dylib 0x00007fff8ff3d68f _pthread_wqthread + 1129
14 libsystem_pthread.dylib 0x00007fff8ff3b365 start_wqthread + 13
)
AttenuatorAU[23665]: host connection <NSXPCConnection: 0x618000300990> connection from pid 23652 invalidated
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23653]: Waited 10 ms for process to be reaped (state = Exited)
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23653]: 3 +0.011781 sec [5c65/1303]: error: ::read ( 3, 0x700000080a40, 1024 ) => -1 err = Bad file descriptor (0x00000009)
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23653]: Exiting.
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23668]: 1 +0.000000 sec [5c74/0307]: error: ::task_info ( target_task = 0x1403, flavor = TASK_BASIC_INFO, task_info_out => 0x7fff5c5c2a30, task_info_outCnt => 10 ) err = (os/kern) invalid argument (0x00000004)
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23668]: 2 +0.004318 sec [5c74/1303]: error: ::read ( 3, 0x700000080a40, 1024 ) => -1 err = Bad file descriptor (0x00000009)
com.apple.debugserver-#(#)PROGRAM:debugserver PROJECT:debugserver-340.4.120
[23668]: Exiting.
Xcode[23287]: DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-10119.9/DVTFoundation/Devices/DVTLocalComputer.m:375
Details: Error un-registering Plugin: '/tmp/Attenuator.dst/Applications/Attenuator.app/Contents/PlugIns/AttenuatorAU.appex' Error: Error Domain=PlugInKit Code=9 "no plugin at /private/tmp/Attenuator.dst/Applications/Attenuator.app/Contents/PlugIns/AttenuatorAU.appex" UserInfo={NSLocalizedDescription=no plugin at /private/tmp/Attenuator.dst/Applications/Attenuator.app/Contents/PlugIns/AttenuatorAU.appex}
Object: <DVTLocalComputer: 0x7fd9b9efa050>
Method: -stopDebuggingXPCServices:forPairedDevice:
Thread: <NSThread: 0x7fd9c211cb60>{number = 47, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
pkd[562]: UNINSTALLED:ua.com.wavelabs.Attenuator.AttenuatorAU ua.com.wavelabs.Attenuator.AttenuatorAU(1.0.1) 4FD70868-0F5B-4979-A6DC-4018B4143934 /private/tmp/Attenuator.dst/Applications/Attenuator.app/Contents/PlugIns/AttenuatorAU.appex
From this part of log we can see the following:
Debug terminated.
App Extension (PlugIn) uninstalled.
There is also backtrace related NSRemoteServiceConnection class.
Can anybody explain what are the messages Ignoring lax activation attempt for ... about?
Thank you!
Note: AUv3 Host is not a Containing app. Containing app exists as well, but is does nothing except of participating App Extension registration.
In order to reproduce issue you can download source code, open project AUSamplePlugIn/Attenuator.xcodeproj and launch schema AttenuatorAU.

Could not spawn process for group /var/www/rubycas

[ 2014-02-10 13:51:00.0173 22995/7f012fa3b700 Pool2/Implementation.cpp:883 ]: Could not spawn process for group /var/www/rubycas#default: An error occurred while starting up the preloader: it did not write a startup response in time.
in 'void Passenger::ApplicationPool2::SmartSpawner::throwPreloaderSpawnException(const string&, Passenger::SpawnException::ErrorKind, Passenger::ApplicationPool2::Spawner::BackgroundIOCapturerPtr&, const DebugDirPtr&)' (SmartSpawner.h:146)
in 'std::string Passenger::ApplicationPool2::SmartSpawner::negotiatePreloaderStartup(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)' (SmartSpawner.h:566)
in 'void Passenger::ApplicationPool2::SmartSpawner::startPreloader()' (SmartSpawner.h:206)
in 'virtual Passenger::ApplicationPool2::ProcessPtr Passenger::ApplicationPool2::SmartSpawner::spawn(const Passenger::ApplicationPool2::Options&)' (SmartSpawner.h:752)
in 'void Passenger::ApplicationPool2::Group::spawnThreadRealMain(const SpawnerPtr&, const Passenger::ApplicationPool2::Options&, unsigned int)' (Implementation.cpp:804)
[ 2014-02-10 13:51:00.0253 22995/7f0127fff700 agents/HelperAgent/RequestHandler.h:2088 ]: [Client 20] Cannot checkout session.
This is the error i encountered when i'm trying to access rubycas over apache
Rails 2.3.8
Phusion Passenger version 4.0.37
Ruby 1.8
Thanks,
Swaroop
Try taking a look at this troubleshooting page: Debugging startup problems

how to download large file on G-wan?

I use G-wan download files from directory 'www' ,it can download the files size less than 16M,if the files size is 16M, the G-wan is wrong:
Signal : 11:Unknown SIGSEGV problem
Signal src : 128:.
errno : 0
Thread : 1
Code Pointer: 0000004081a8 (module:gwan, function:??, line:0)
Access Address: 000000000000
Registers : EAX=7f1dbc0afa4e CS=00000033 EIP=0000004081a8 EFLGS=000000010287
EBX=7f1dc24af000 SS=d5ab0400 ESP=7f1dd59acd30 EBP=7f1dbc0afa4e
ECX=ffe3e5a1746a4230 DS=d5ab0400 ESI=1c997c47a33a4e FS=00000033
EDX=1c1a5e8b984000 ES=d5ab0400 EDI=7f1dbc0afa3e CS=00000033
Module :Function :Line # PgrmCntr(EIP) RetAddress FramePtr(EBP)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Segmentation fault
thanks for Gil.
Os: debian 7,rhel6.4
dwonload the file size is 80M ,file:0.0.0.0_8080/#0.0.0.0/www/MFC-7340-inst-B2-zh.EXE.this is trace content:
Wed, 14 Aug 2013 02:57:36 GMT: start
Wed, 14 Aug 2013 02:58:00 GMT 12 127.0.0.1
GET /MFC-7340-inst-B2-zh.EXE HTTP/1.1^M
Host: localhost:8080^M
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130806 Firefox/17.0 Iceweasel/17.0.8^M
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8^M
Accept-Language: en-US,en;q=0.5^M
Accept-Encoding: gzip, deflate^M
Connection: keep-alive^M
Cookie: SESS49960de5880e8c687434170f6476605b=iOQ_BgGEgAWbhB9zA0U5jZbEOXzmu3nkzhyBW00GJGM; Drupal.tableDrag.showWeight=0; Drupal.toolbar.collapsed=1; MOIN_SESSION_800_ROOT=8a77c4a58fefc1ad6b6830b5bc51ca680a480bae^M
^M
Wed, 14 Aug 2013 02:58:02 GMT: signal 11: Unknown SIGSEGV problem
source : 128:Kernel
thread : 0/2
state : SEND
client : 127.0.0.1:58472
request : /MFC-7340-inst-B2-zh.EXE
----------------
----------------
Signal : 11:Unknown SIGSEGV problem
Signal src : 128:.
errno : 0
Thread : 0
Code Pointer: 0000004081a8 (module:gwan, function:??, line:0)
Access Address: 000000000000
Registers : EAX=7f85482fd0c0 CS=00000033 EIP=0000004081a8 EFLGS=000000010293
EBX=7f8565501000 SS=6cd00400 ESP=7f856cbfcd30 EBP=7f85482fd0c0
ECX=ffeea9eeb46863d5 DS=6cd00400 ESI=11d59693c9ef4b FS=00000033
EDX=1156114b9a1e8b ES=6cd00400 EDI=7f85482fd0b0 CS=00000033
Module :Function :Line # PgrmCntr(EIP) RetAddress FramePtr(EBP)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
G-WAN has been used to serve much larger file sizes. Could you specify the exact file size you have used so we can try to duplicate this issue?
Generating a graceful crash report (your trace) is as easy as using the crash script examples given with the download archive so we need a bit more information to start answering your question.

Resources