Displaying 20 results from an estimated 29 matches for "deprecationwarn".
2006 Apr 16
2
Temporary fix for xen-tools build problem with python 2.4
...e can''t
figure out the root problem (i.e., what''s causing --prefix to be set), we
may consider making this a permanent fix?
(Extra note: After reboot, I now get this warning when I run "xm list":
[3:06pm] root@localhost{~}% xm list
/usr/lib/python2.4/xmllib.py:9: DeprecationWarning: The xmllib module is
obsolete. Use xml.sax instead.
warnings.warn("The xmllib module is obsolete. Use xml.sax instead.",
DeprecationWarning)
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 3801 4 r----- 32....
2013 Aug 01
1
Django 1.5 Upgrade
...ython2.6/site-packages/django followed by the
setup.py install. My django app is working, and appears to be running 1.5,
however anytime I use manage.py (for collectstatic or syncdb or test, for
example) I get these messages:
/usr/lib/python2.6/site-packages/django/core/management/__init__.py:465:
DeprecationWarning: The 'execute_manager' function is deprecated, you
likely need to update your 'manage.py'; please see the Django 1.4
release notes (https://docs.djangoproject.com/en/dev/releases/1.4/).
DeprecationWarning)
/usr/lib/python2.6/site-packages/django/core/management/__init__.py:409:...
2006 Mar 02
1
upgrade report (2.0.6 -> 3.0-testing+pkgxen)
...ils-3.0 gets installed. so this would brake old xen2 setups without
installing all needed stuff for xen3.
2) On the actual upgrade this happend:
(Reading database ... 52207 files and directories currently installed.)
Removing xen ...
/usr/lib/python2.3/site-packages/xen/xend/server/SrvDir.py:3:
DeprecationWarning: twisted.protocols.http has moved to twisted.web.http. See
http://twistedmatrix.com/projects/web.
from twisted.protocols import http
Shutting down all Xen domains:(111, 'Connection refused')
Error: Error connecting to xend, is xend running?
*
invoke-rc.d: initscript xendomains, action...
2014 Feb 27
1
AIX 7.1 Winbind Module Problems
...gcc or python it will fail miserably..
this is the logs from 3.6.0 build with make
[root] on [barrow] on [/rehash/samba-3.6.0/source3] {948} make
WAF_MAKE=1 ../buildtools/bin/waf build
/rehash/samba-3.6.0/buildtools/bin/.waf-1.5.19-d825ca58092f19b61518932e7b93eaa3/wafadmin/Utils.py:89:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
from md5 import md5
../buildtools/wafsamba/samba_utils.py:392: DeprecationWarning: the md5
module is deprecated; use hashlib instead
import md5
Waf: Entering directory `/rehash/samba-3.6.0/source3/bin'
[ 8/1242] Generating VERSION
[...
2012 Nov 03
1
Provision Samba4 on Macosx snow leopard
...ered: "enable disk services"
Ignoring unknown parameter "enable disk services"
Unknown parameter encountered: "enable print services"
Ignoring unknown parameter "enable print services"
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py:229:
DeprecationWarning: BaseException.message has been deprecated as of Python
2.6
self.message = message
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py:97:
DeprecationWarning: BaseException.message has been deprecated as of Python
2.6
message = e.message
ERROR(<class 'samba.provision...
2009 Nov 26
2
[error] avahi_entry_group_add_service_strlst("AdminNodeFQDN") failed: Invalid host name
...evels...
from /usr/share/ovirt-server/dutils/dutils.rb:19:in `require'
from /usr/share/ovirt-server/dutils/dutils.rb:19
from /usr/bin/ovirt-vm2node:6:in `require'
from /usr/bin/ovirt-vm2node:6
/usr/lib64/python2.6/site-packages/mod_python/importer.py:32:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
[Thu Nov 26 11:29:30 2009] [INFO] IPA: get_entry_by_cn 'ipausers'
Anything I can do to fix this?
--
Regards,
Netbulae
Jorick Astrego
2013 May 11
1
Samba git: build error when upgrading
...ter updating my git tree:
$ git remote -v
origin git://git.samba.org/samba.git (fetch)
origin git://git.samba.org/samba.git (push)
$ git pull
$ ./configure ...
$ make clean
WAF_MAKE=1 python ./buildtools/bin/waf build
./buildtools/wafsamba/samba_utils.py:397: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
Waf: Entering directory `/home/gerryr/build/samba4/bin'
symlink: samba/__init__.py -> python/samba/__init__.py
/home/gerryr/build/samba4/wscript: error: Traceback (most recent call last):
File "/hom...
2014 Feb 27
0
AIX WINBIND ISSUES
...g gcc or python it will fail miserably.. this
is the logs from 3.6.0 build with make
[root] on [barrow] on [/rehash/samba-3.6.0/source3] {948} make
WAF_MAKE=1 ../buildtools/bin/waf build
*/rehash/samba-3.6.0/buildtools/bin/*.waf-1.5.19-d825ca58092f19b61518932e7b93eaa3/wafadmin/Utils.py:89:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
from md5 import md5
../buildtools/wafsamba/samba_utils.py:392: DeprecationWarning: the md5
module is deprecated; use hashlib instead
import md5
Waf: Entering directory `/rehash/samba-3.6.0/source3/bin'
[ 8/1242] Generating VERSION
[ 1...
2014 Feb 27
0
AIX 7.1 Winbind Module Load Issues
...gcc or python it will fail miserably..
this is the logs from 3.6.0 build with make
[root] on [barrow] on [/rehash/samba-3.6.0/source3] {948} make
WAF_MAKE=1 ../buildtools/bin/waf build
/rehash/samba-3.6.0/buildtools/bin/.waf-1.5.19-d825ca58092f19b61518932e7b93eaa3/wafadmin/Utils.py:89:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
from md5 import md5
../buildtools/wafsamba/samba_utils.py:392: DeprecationWarning: the md5
module is deprecated; use hashlib instead
import md5
Waf: Entering directory `/rehash/samba-3.6.0/source3/bin'
[ 8/1242] Generating VERSION
[...
2013 Mar 07
4
[Gluster-devel] glusterfs-3.4.0alpha2 released
RPM: http://bits.gluster.org/pub/gluster/glusterfs/3.4.0alpha2/
SRC: http://bits.gluster.org/pub/gluster/glusterfs/src/glusterfs-3.4.0alpha2.tar.gz
This release is made off jenkins-release-19
-- Gluster Build System
_______________________________________________
Gluster-devel mailing list
Gluster-devel at nongnu.org
https://lists.nongnu.org/mailman/listinfo/gluster-devel
2019 Apr 24
0
[PATCH 3/3] python: silence usage of add_cdrom in test
...,4 +45,6 @@ class Test050HandleProperties(unittest.TestCase):
def test_add_cdrom(self):
g = guestfs.GuestFS(python_return_dict=True)
- g.add_cdrom("/dev/zero")
+ with warnings.catch_warnings():
+ warnings.filterwarnings("ignore", category=DeprecationWarning)
+ g.add_cdrom("/dev/zero")
--
2.20.1
2005 Sep 11
0
xend crashes, error 111 connection refused
Hi,
I have a problem with xend on Debian Sarge. I am using the 2.6.12-xen0
kernel with xen-unstable. I also installed the TwistedWeb package
TwistedWeb-0.5.0.
# xend start
/usr/lib/python2.3/site-packages/xen/xend/server/SrvDir.py:4:
DeprecationWarning: twisted.protocols.http has moved to
twisted.web.http. See http://twistedmatrix.com/projects/web.
from twisted.protocols import http
I think this warning is not very important. They only moved one module.
# xm list
(111, ''Connection refused'')
Error: Error connecting to xend...
2011 Aug 23
0
xe vm-export fails on debian squeeze
...-f'', ''-c'', ''-m'', ''VHD-a3ede265-e6af-4216-86a1-45f8283eae45'', ''-l'', ''VG_XenStorage-425877f7-3986-26fc-1254-35813e8c037c'', ''-a''] failed (22): ], /usr/lib/xen-common/xapi/sm/util.py:17: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import os, re, sys, popen2, subprocess
The vhd-util command fails with error 22. Any ideas on how to go about troubleshooting this?
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.c...
2009 Sep 08
0
RSPython can't find module
...manager has been registered implicitly using the
defaults (referenceManager())!
2: In getPythonHandler() :
the Python callback manager has been registered implicitly using the
defaults (referenceManager())!
and it works fine for built-in functions:
> .Python("range",0,10)
sys:1: DeprecationWarning: integer argument expected, got float
[1] 0 1 2 3 4 5 6 7 8 9
However, I can't load up any of my own libraries, even though they're in
the PYTHONPATH, and I can load them up in Python without problems.
> sir.py <- .Python("model",.module="sir")
Error in .Py...
2010 Jun 09
0
Bug#585371: xen-utils-3.4: Python string exceptions no more allowed in Python 2.6
...One of the changes brought by Python 2.6 is the removal of string
exceptions, so they won't work in Python 2.6 (just a side note: they
were also buggy before, since they were not guaranteed to work
reliable even in <2.6); as an example:
$ python2.5 -c "raise 'eggs'"
-c:1: DeprecationWarning: raising a string exception is deprecated
Traceback (most recent call last):
File "<string>", line 1, in <module>
eggs
$ python2.6 -c "raise 'eggs'"
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeErro...
2010 Jun 09
0
Bug#585372: xen-utils-4.0: Python string exceptions no more allowed in Python 2.6
...One of the changes brought by Python 2.6 is the removal of string
exceptions, so they won't work in Python 2.6 (just a side note: they
were also buggy before, since they were not guaranteed to work
reliable even in <2.6); as an example:
$ python2.5 -c "raise 'eggs'"
-c:1: DeprecationWarning: raising a string exception is deprecated
Traceback (most recent call last):
File "<string>", line 1, in <module>
eggs
$ python2.6 -c "raise 'eggs'"
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeErro...
2008 Apr 24
0
package-cleanup fails when cleaning kernels in CentOS 5
...ollowing 8 kernel related packages:
kernel-2.6.18-53.1.6.el5
kernel-2.6.18-53.1.4.el5
kernel-2.6.18-8.1.15.el5
kernel-2.6.18-8.el5
kernel-devel-2.6.18-8.1.15.el5
kernel-devel-2.6.18-53.1.6.el5
kernel-devel-2.6.18-8.el5
kernel-devel-2.6.18-53.1.4.el5
Is this ok [y/N]: y
/usr/bin/package-cleanup:312: DeprecationWarning: returnHeaderByTuple()
will go away in a future version of Yum.
hdr = my.rpmdb.returnHeaderByTuple(kernel)[0]
Traceback (most recent call last):
File "/usr/bin/package-cleanup", line 402, in ?
main()
File "/usr/bin/package-cleanup", line 371, in main
removeKern...
2012 Feb 28
0
fail2ban and httpd
...etc/fail2ban/filter.d/apache.conf:
failregex = [[]client <HOST>[]] (File does not exist|script not found or
unable to stat): .*(\.php|\.asp|\.exe|\.pl)
Test:
[root at web ~]# fail2ban-regex /var/log/httpd/error_log
/etc/fail2ban/filter.d/apache.conf
/usr/share/fail2ban/server/filter.py:430: DeprecationWarning: the md5
module is deprecated; use hashlib instead
import md5
Running tests
=============
Use regex file : /etc/fail2ban/filter.d/apache.conf
Use log file : /var/log/httpd/error_log
Results
=======
Failregex
|- Regular expressions:
| [1] [[]client <HOST>[]] (File does not exist|s...
2011 Aug 15
0
Problem importing virtual disk
...be-403a-98ae-a02e498af3a0 filename=c2_appliance.disk.xm
The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem.
message: Caught exception: SR_BACKEND_FAILURE: [ non-zero exit; ; /usr/lib/xen-common/xapi/sm/util.py:17: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import os, re, sys, popen2, subprocess
Traceback (most recent call last):
File "/usr/lib/xen-common/xapi/sm/LVMSR", line 1959, in <module>
SRCommand.run(LVHDSR, DRIVER_INFO)
File "/usr/lib/xen-common/xap...
2019 Apr 24
4
[PATCH 0/3] Few minor changes for bindings
*** BLURB HERE ***
Pino Toscano (3):
python: modernize inspect_vm example
perl: silence usage of add_cdrom in test
python: silence usage of add_cdrom in test
perl/t/060-handle-properties.t | 7 +++++--
python/examples/inspect_vm.py | 26 ++++++++++++--------------
python/t/test050HandleProperties.py | 5 ++++-
3 files changed, 21 insertions(+), 17 deletions(-)
--
2.20.1