Displaying 20 results from an estimated 23 matches for "_core".
Did you mean:
core
2004 Jun 08
1
Nested shared library calls in Linux
...long as you build RSPython with a shared (not static)
Python library).
But on Linux I get an error:
> library(RSPython)
> importPythonModule("wx")
Error in .PythonEval(cmd) : Error in Python call:
/export/share/disk501/lab0605/wettenhall/usr/local/lib/
python2.2/site-packages/wx/_core.so:
undefined symbol: PyExc_IOError
I am working within my home area at the moment:
~
= /home/users/lab0605/wettenhall/
= /export/share/disk501/lab0605/wettenhall/
By running strace, I found that the Python command "import wx"
correctly loads
~/usr/local/lib/python2.2/site-packages/...
2008 May 13
0
[LLVMdev] Python bindings available.
...ef *should* be via
mp_obj->LLVMModuleProviderRef->getModule.
Like so:
class ModuleProvider(object):
def __init__(self, ptr, module):
self.ptr = ptr
self.module = module
module._attach_to_provider(self)
@property
def module_ptr_non_owning:
return _core.LLVMGetModule(self.ptr)
class Module(object):
def __init__(self, ptr):
self._ptr = ptr
self.provider = None
def _attach_to_provider(self, provider):
self.provider = provider
self._ptr = None
@property
def ptr(self):
if self.provider:...
2008 May 13
2
[LLVMdev] Python bindings available.
On 2008-05-13, at 02:12, Mahadevan R wrote:
>>> That's not how the object works...
>
> Gordon, I think I can make it work if we have the following additional
> function in LLVM-C:
>
> LLVMModuleRef LLVMGetModule(LLVMModuleProviderRef MP) {
> return wrap(unwrap(MP)->getModule());
> }
Can I ask, how general is your solution? I only intended to use this
2008 May 13
2
[LLVMdev] Python bindings available.
...the problem you're trying to solve. How about something like this?
(Please forgive any accent; I don't speak snake fluently.)
class Pet(object):
@staticmethod
def new():
# Create a 'free' pet. It can later become owned, but not to more
than one owner.
return Pet(_core.LLVMCreatePet(), None)
def __init__(self, ptr, owner):
self.ptr = ptr
self.owner = owner
def __del__(self):
# Do not call the dtor if something else has committed to do so
for us!
if !self.owner:
_core.LLVMDisposePet(self.ptr)
class Owner(pet):
@staticmethod...
2012 Mar 28
0
[LLVMdev] GSoC 2012 Proposal: Python bindings for LLVM
...:
*f_sum = my_module.add_function(ty_func, "sum").*
How the above statement is implemented to call LLVM C function successfully?
The llvm-py package has six modules, of which the most important is the
core module, consisting of the following files:
*core.py * high-level support code
*_core.c * low-level wrapper code for LLVM Core libraries
*wrap.h * It includes header files needed for the low-level wrapper code
In *core.py*, there is a class "Module", which has a method "add_function",
defined as the following:
*def add_function(self, ty, name):
"&...
2006 Sep 12
6
Patch for Unicode on windows
This patch makes Unicode the default build for windows. You can
override the default by setting a WXRUBY_NO_UNICODE environment variable.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2014 Jan 31
1
Libvirt Error Creating VMs for Nimbus Cloud
...irDomainCreateXML() failed',
conn=self)
libvirtError: An error occurred, but the cause is unknown
2014-01-31 13:48:45,589 - ERROR - Problem creating the VM: An error
occurred, but the cause is unknown
Traceback (most recent call last):
File "/opt/nimbus/src/python/workspacecontrol/main/wc_core_creation.py",
line 155, in _common_withnetsecurity
_common_withtmplease(nic_set, kernel, local_file_set, c, netsecurity,
platform, justprint)
File "/opt/nimbus/src/python/workspacecontrol/main/wc_core_creation.py",
line 174, in _common_withtmplease
platform.create(local_fil...
2007 Apr 28
0
[975] branches/wxruby2/wxwidgets_282/rake/rakemswin.rb: Correct spacing for link command; remove odbc and db_table which aren''t
...WXLIBDIR","wxbase28#{$POSTFIX}_odbc.lib")
-$wx_libs += File.join("#$WXLIBDIR","wxbase28#{$POSTFIX}_xml.lib")
-$wx_libs += File.join("#$WXLIBDIR","wxmsw28#{$POSTFIX}_adv.lib")
-$wx_libs += File.join("#$WXLIBDIR","wxmsw28#{$POSTFIX}_core.lib")
-$wx_libs += File.join("#$WXLIBDIR","wxmsw28#{$POSTFIX}_dbgrid.lib")
-$wx_libs += File.join("#$WXLIBDIR","wxmsw28#{$POSTFIX}_html.lib")
-$wx_libs += File.join("#$WXLIBDIR","wxmsw28#{$POSTFIX}_media.lib")
-$wx_libs += File.join(&...
2007 Mar 17
0
[884] branches/wxruby2/wxwidgets_282/rake/rakemswin.rb: Compile flag fixes for Windows/Wx 2.8 (Artur Kuptel)
...WXLIBDIR","wxbase28#{$POSTFIX}_odbc.lib")
+$wx_libs += File.join("#$WXLIBDIR","wxbase28#{$POSTFIX}_xml.lib")
+$wx_libs += File.join("#$WXLIBDIR","wxmsw28#{$POSTFIX}_adv.lib")
+$wx_libs += File.join("#$WXLIBDIR","wxmsw28#{$POSTFIX}_core.lib")
+$wx_libs += File.join("#$WXLIBDIR","wxmsw28#{$POSTFIX}_dbgrid.lib")
+$wx_libs += File.join("#$WXLIBDIR","wxmsw28#{$POSTFIX}_html.lib")
+$wx_libs += File.join("#$WXLIBDIR","wxmsw28#{$POSTFIX}_media.lib")
+$wx_libs += File.join(&...
2005 Jul 24
11
Official name change to wxruby2
The CVS module has been renamed from wxruby-swig to wxruby2, and I have
checked in the related changes to reflect the name change. Anyone with a
CVS tree will need to re-checkout from CVS because of the module name
change.
There is now a wx.rb in the lib/ directory, which loads the wxruby2
shared library that gets built.
I have tagged this as 0.0.22.
Next steps:
- Apply Choice.i patch from
2007 Apr 07
1
Web Site Trak errors and Python tracebacks
...self._pool = core.svn_pool_create(self._parent_pool())
File "/var/lib/python-support/python2.4/svn/core.py", line 177, in
svn_pool_create
return Pool(parent_pool)
File "/var/lib/python-support/python2.4/libsvn/core.py", line 1080, in
svn_pool_create
return apply(_core.svn_pool_create, args)
File "/var/lib/python-support/python2.4/libsvn/core.py", line 3103, in
_wrap
obj.set_parent_pool(self)
File "/var/lib/python-support/python2.4/libsvn/core.py", line 2994, in
set_parent_pool
self._parent_pool = parent_pool or application_pool...
2007 Apr 11
1
problem with wiki - Trac internal error
...f._pool = core.svn_pool_create(self._parent_pool())
File "/var/lib/python-support/python2.4/svn/core.py", line 177, in
svn_pool_create
return Pool(parent_pool)
File "/var/lib/python-support/python2.4/libsvn/core.py", line
1080, in svn_pool_create
return apply(_core.svn_pool_create, args)
File "/var/lib/python-support/python2.4/libsvn/core.py", line
3103, in _wrap
obj.set_parent_pool(self)
File "/var/lib/python-support/python2.4/libsvn/core.py", line
2994, in set_parent_pool
self._parent_pool = parent_pool or application...
2009 Aug 17
0
"no space while hiding cursor" + extreme slowness on Quadro NVS 140M
...se/nouveau-drm-99999999 (0)
4pll00555 ~ # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3,
glibc-2.10.1-r0, 2.6.30-gentoo-r4-thinkpad x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-thinkpad-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_ at _2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 14 Aug 2009 09:15:01 +0000
app-shells/bash: 4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python: 2.4.4-r13, 2.5.4-r2, 2.6.2-r1, 3.1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake: 2.6.4-r2
sys-apps/baselayout: 2...
2009 Aug 19
1
Mouse Cursor drifts in some directx games
...t/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686)
=================================================================
System Settings
=================================================================
System uname: Linux-2.6.30-gentoo-r4-i686-Intel-R-_Core-TM-2_Duo_CPU_T7700_ at _2.40GHz-with-glibc2.0
Timestamp of tree: Tue, 18 Aug 2009 22:30:02 +0000
app-shells/bash: 3.2_p39
dev-lang/python: 2.5.4-r3, 2.6.2-r1
dev-util/cmake: 2.6.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel...
2014 Mar 12
2
[PATCH v6 04/11] qspinlock: Optimized code path for 2 contending tasks
...nd parport_pc parport soundcore serio_raw
i2c_piix4
virtio_console virtio_balloon microcode pcspkr nfsd auth_rpcgss
nfs_acl lockd s
unrpc uinput xfs libcrc32c sr_mod cdrom ata_generic pata_acpi qxl
virtio_blk vir
tio_net drm_kms_helper ttm drm ata_piix libata virtio_pci virtio_ring
floppy i2c
_core virtio dm_mirror dm_region_hash dm_log dm_mod
[ 1529.936714] CPU: 12 PID: 11106 Comm: umount Not tainted
3.14.0-rc6-qlock #1
[ 1529.936714] Hardware name: Red Hat KVM, BIOS Bochs 01/01/2011
[ 1529.936714] task: ffff881f9183b540 ti: ffff881f920fa000 task.ti:
ffff881f920f
a000
[ 1529.936714] RIP: 0...
2014 Mar 12
2
[PATCH v6 04/11] qspinlock: Optimized code path for 2 contending tasks
...nd parport_pc parport soundcore serio_raw
i2c_piix4
virtio_console virtio_balloon microcode pcspkr nfsd auth_rpcgss
nfs_acl lockd s
unrpc uinput xfs libcrc32c sr_mod cdrom ata_generic pata_acpi qxl
virtio_blk vir
tio_net drm_kms_helper ttm drm ata_piix libata virtio_pci virtio_ring
floppy i2c
_core virtio dm_mirror dm_region_hash dm_log dm_mod
[ 1529.936714] CPU: 12 PID: 11106 Comm: umount Not tainted
3.14.0-rc6-qlock #1
[ 1529.936714] Hardware name: Red Hat KVM, BIOS Bochs 01/01/2011
[ 1529.936714] task: ffff881f9183b540 ti: ffff881f920fa000 task.ti:
ffff881f920f
a000
[ 1529.936714] RIP: 0...
2017 Feb 21
1
segfault in lib20_expire_plugin
...devel (34f7cc3)] to [2.2.devel (b3443fc)] dovecot
stops with a segfault:
Fatal: master: service(imap): child 21179 killed with signal 11 (core dumped)
imap[21179]: segfault at 0 ip 00000000f726eef1 sp 00000000ffa3b050 error 4 in
lib20_expire_plugin.so[f726d000+3000]
gdb /usr/lib/dovecot/imap /var/_core/core_imap-11-5000-5000-21179
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Reading symbols from /usr/lib/dovecot/imap...Reading symbols from
/usr/lib/debug/.build-id/99/6f1cf1a262cf5738f075ec046d9a7d344d9693.debug...done.
done.
[New LWP 21179]
[Thread debugging using libthread_db enabled]
Using host...
2016 Dec 26
6
[Bug 99202] New: system freeze - fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT] - MULTIPLE_WARP_ERRORS - DATA_ERROR 00000004 [INVALID_VALUE] - ILLEGAL_CLASS ch 11 - RT_STORAGE_TYPE_MISMATCH - CLASS_SUBCH_MISMATCH
...: Version: 1.0.12
$> emerge --info | head -n3
Portage 2.3.3 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma,
gcc-4.9.3, glibc-2.23-r3, 4.8.2-gentoo_M16 x86_64)
=================================================================
System uname:
Linux-4.8.2-gentoo_M16-x86_64-Intel-R-_Core-TM-_i7_CPU_870_ at _2.93GHz-with-gentoo-2.3
$> USE="opengl"; for PKG in $(equery -q hasuse $USE); do echo $PKG: $(equery -q
uses $PKG |grep $USE); done | head -n 2
app-emulation/qemu-2.7.0-r7: +opengl
app-emulation/wine-1.9.20: +opengl
# opencl is builtin for mesa and wine
$> USE=...
2014 Mar 12
17
[PATCH v6 00/11] qspinlock: a 4-byte queue spinlock with PV support
v5->v6:
- Change the optimized 2-task contending code to make it fairer at the
expense of a bit of performance.
- Add a patch to support unfair queue spinlock for Xen.
- Modify the PV qspinlock code to follow what was done in the PV
ticketlock.
- Add performance data for the unfair lock as well as the PV
support code.
v4->v5:
- Move the optimized 2-task contending code to the
2014 Mar 12
17
[PATCH v6 00/11] qspinlock: a 4-byte queue spinlock with PV support
v5->v6:
- Change the optimized 2-task contending code to make it fairer at the
expense of a bit of performance.
- Add a patch to support unfair queue spinlock for Xen.
- Modify the PV qspinlock code to follow what was done in the PV
ticketlock.
- Add performance data for the unfair lock as well as the PV
support code.
v4->v5:
- Move the optimized 2-task contending code to the