Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
AttributeError: 'module' object has no attribute 't1_dump'
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Loz  
View profile  
 More options May 22 2012, 1:09 pm
From: Loz <lwilliams0...@googlemail.com>
Date: Tue, 22 May 2012 10:09:50 -0700 (PDT)
Local: Tues, May 22 2012 1:09 pm
Subject: AttributeError: 'module' object has no attribute 't1_dump'
Hi,

I am a developer in the UK trying to use the S3QL package on a Linux
EC2 box.

I have tried (for hours!) to get it installed but keep hitting this on
the python setup.py test install for S3QL.

Have you any suggestions?

TIA
Lawrence

copying build/lib.linux-x86_64-2.6/s3ql/_deltadump.so -> src/s3ql
Uncaught top-level exception -- and tb handler failed!
Traceback (most recent call last):
  File "setup.py", line 317, in <module>
    main()
  File "setup.py", line 175, in main
    command_options={ 'sdist': { 'formats': ('setup.py', 'bztar') } },
  File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.6/distutils/dist.py", line 975, in
run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in
run_command
    cmd_obj.run()
  File "build/bdist.linux-x86_64/egg/setuptools/command/test.py", line
137, in run
    self.with_project_on_sys_path(self.run_tests)
  File "build/bdist.linux-x86_64/egg/setuptools/command/test.py", line
117, in with_project_on_sys_path
    func()
  File "setup.py", line 296, in run_tests
    testLoader=ScanningLoader())
  File "/tmp/s3ql-1.11.1/unittest2-0.5.1-py2.6.egg/unittest2/main.py",
line 97, in __init__
    self.parseArgs(argv)
  File "/tmp/s3ql-1.11.1/unittest2-0.5.1-py2.6.egg/unittest2/main.py",
line 152, in parseArgs
    self.createTests()
  File "/tmp/s3ql-1.11.1/unittest2-0.5.1-py2.6.egg/unittest2/main.py",
line 161, in createTests
    self.module)
  File "/tmp/s3ql-1.11.1/unittest2-0.5.1-py2.6.egg/unittest2/
loader.py", line 148, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/tmp/s3ql-1.11.1/unittest2-0.5.1-py2.6.egg/unittest2/
loader.py", line 123, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "setup.py", line 288, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/tmp/s3ql-1.11.1/unittest2-0.5.1-py2.6.egg/unittest2/
loader.py", line 120, in loadTestsFromName
    parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 't1_dump'


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikolaus Rath  
View profile  
 More options May 22 2012, 1:39 pm
From: Nikolaus Rath <Nikol...@rath.org>
Date: Tue, 22 May 2012 13:39:56 -0400
Local: Tues, May 22 2012 1:39 pm
Subject: Re: [s3ql] AttributeError: 'module' object has no attribute 't1_dump'
On 05/22/2012 01:09 PM, Loz wrote:

> Hi,

> I am a developer in the UK trying to use the S3QL package on a Linux
> EC2 box.

> I have tried (for hours!) to get it installed but keep hitting this on
> the python setup.py test install for S3QL.

You seem to be running Python 2.6. S3QL requires Python 2.7. If you use
Ubuntu, you may get away with Python 2.6 because the Ubuntu packages in
the PPA have been specially patched to work with Python 2.6 as well.

Best,

   -Nikolaus

--
  Time flies like an arrow, fruit flies like a Banana.

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikolaus Rath  
View profile  
 More options May 22 2012, 1:52 pm
From: Nikolaus Rath <Nikol...@rath.org>
Date: Tue, 22 May 2012 13:52:02 -0400
Local: Tues, May 22 2012 1:52 pm
Subject: Re: [s3ql] AttributeError: 'module' object has no attribute 't1_dump'
On 05/22/2012 01:39 PM, Nikolaus Rath wrote:

> On 05/22/2012 01:09 PM, Loz wrote:
>> Hi,

>> I am a developer in the UK trying to use the S3QL package on a Linux
>> EC2 box.

>> I have tried (for hours!) to get it installed but keep hitting this on
>> the python setup.py test install for S3QL.

> You seem to be running Python 2.6. S3QL requires Python 2.7. If you use
> Ubuntu, you may get away with Python 2.6 because the Ubuntu packages in
> the PPA have been specially patched to work with Python 2.6 as well.

..but otherwise you need to either use Python 2.7 or manually make the
necessary changes. The later is of course not recommended, not
supported, and at your own risk.

Best,

   -Nikolaus

--
  Time flies like an arrow, fruit flies like a Banana.

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Loz  
View profile   Translate to Translated (View Original)
 More options May 22 2012, 3:20 pm
From: Loz <lwilliams0...@googlemail.com>
Date: Tue, 22 May 2012 12:20:15 -0700 (PDT)
Local: Tues, May 22 2012 3:20 pm
Subject: Re: AttributeError: 'module' object has no attribute 't1_dump'
Thanks for the steer - the issue i have is other software depends on
2.6 - including yum.

Is there anyway to make s3ql run off a separate 2.7 installation?

Thanks again
Lawrence

On May 22, 6:52 pm, Nikolaus Rath <Nikol...@rath.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikolaus Rath  
View profile  
 More options May 22 2012, 3:51 pm
From: Nikolaus Rath <Nikol...@rath.org>
Date: Tue, 22 May 2012 15:51:00 -0400
Subject: Re: [s3ql] Re: AttributeError: 'module' object has no attribute 't1_dump'
Hi Lawrence,

Please format your messages according to
http://email.about.com/cs/netiquettetips/qt/et090402.htm
Thanks!

Loz <lwilliams0...@googlemail.com> writes:
>> > You seem to be running Python 2.6. S3QL requires Python 2.7. If you use
>> > Ubuntu, you may get away with Python 2.6 because the Ubuntu packages in
>> > the PPA have been specially patched to work with Python 2.6 as well.

>> ..but otherwise you need to either use Python 2.7 or manually make the
>> necessary changes. The later is of course not recommended, not
>> supported, and at your own risk.

> Thanks for the steer - the issue i have is other software depends on
> 2.6 - including yum.

> Is there anyway to make s3ql run off a separate 2.7 installation?

S3QL can run with any Python installation you want. By default, it uses
whatever Python is installed under the "python" command. If you want to
use e.g. "python2.7" instead, you can install S3QL with

# python2.7 setup.py [...]

instead of

# ./setup.py [...]

and it will use the python2.7 interpreter instead.

The real challenge might be to install two different Python versions in
parallel. With Debian and Ubuntu, this is supported out of the box, but
I have heard that this isn't the norm with every distribution.

Best,

   -Nikolaus

--
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »