Skip to contentSkip to conversation

pynfs breakage

DISCUSSION Jeff Layton 2 participants 4 messages Feb 15, 2021

Subsystems (2)
lore
Share & tools
lore

Jeff Layton

author maintainer
#0 lore raw

Hi Bruce!

The latest HEAD in pynfs doesn't run for me:

$ ./nfs4.1/testserver.py --help
Traceback (most recent call last):
  File "/home/jlayton/git/pynfs/nfs4.1/./testserver.py", line 38, in <module>
    import server41tests.environment as environment
  File "/home/jlayton/git/pynfs/nfs4.1/server41tests/environment.py", line 593
    def write_file(sess, file, data, offset=0 stateid=stateid4(0, b''),
                                              ^
SyntaxError: invalid syntax

If I revert this commit, then it works:

commit 49ae5ba83dd98936b3f5c24431a166866b70f34a (HEAD -> master, origin/master, origin/HEAD)

Author: J. Bruce Fields <[email protected]>
Date:   Thu Feb 11 16:22:58 2021 -0500

nfs41: read_file and write_file helpers

A couple simple helpers copied from 4.0.

Cheers,

Signature · 1 line
Jeff Layton <[email protected]>
#1 lore raw
Quoted 13 lines · Jeff Layton

Hi Bruce!

The latest HEAD in pynfs doesn't run for me:

$ ./nfs4.1/testserver.py --help
Traceback (most recent call last):
  File "/home/jlayton/git/pynfs/nfs4.1/./testserver.py", line 38, in <module>
    import server41tests.environment as environment
  File "/home/jlayton/git/pynfs/nfs4.1/server41tests/environment.py", line 593
    def write_file(sess, file, data, offset=0 stateid=stateid4(0, b''),
                                              ^
SyntaxError: invalid syntax
Quoted 1 line

If I revert this commit, then it works:

Yeah, sorry about that, I pushed out quickly thinking I'd tested it, but in fact it has a bunch of mistakes. Fixing....

--b.

Quoted 15 lines

commit 49ae5ba83dd98936b3f5c24431a166866b70f34a (HEAD -> master, origin/master, origin/HEAD)

Author: J. Bruce Fields <[email protected]>
Date:   Thu Feb 11 16:22:58 2021 -0500

nfs41: read_file and write_file helpers

A couple simple helpers copied from 4.0.

Cheers,

Signature · 1 line
Jeff Layton <[email protected]>
#2 lore raw
Quoted 14 lines · Bruce Fields
Quoted 13 lines · Jeff Layton

Hi Bruce!

The latest HEAD in pynfs doesn't run for me:

$ ./nfs4.1/testserver.py --help
Traceback (most recent call last):
  File "/home/jlayton/git/pynfs/nfs4.1/./testserver.py", line 38, in <module>
    import server41tests.environment as environment
  File "/home/jlayton/git/pynfs/nfs4.1/server41tests/environment.py", line 593
    def write_file(sess, file, data, offset=0 stateid=stateid4(0, b''),
                                              ^
SyntaxError: invalid syntax
Quoted 4 lines
Quoted 1 line

If I revert this commit, then it works:

Yeah, sorry about that, I pushed out quickly thinking I'd tested it, but in fact it has a bunch of mistakes. Fixing....

Should be fixed, apologies again.--b.

author maintainer
#3 lore raw
Quoted 15 lines · Bruce Fields
Quoted 14 lines · Bruce Fields
Quoted 13 lines · Jeff Layton

Hi Bruce!

The latest HEAD in pynfs doesn't run for me:

$ ./nfs4.1/testserver.py --help
Traceback (most recent call last):
  File "/home/jlayton/git/pynfs/nfs4.1/./testserver.py", line 38, in <module>
    import server41tests.environment as environment
  File "/home/jlayton/git/pynfs/nfs4.1/server41tests/environment.py", line 593
    def write_file(sess, file, data, offset=0 stateid=stateid4(0, b''),
                                              ^
SyntaxError: invalid syntax
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

If I revert this commit, then it works:

Yeah, sorry about that, I pushed out quickly thinking I'd tested it, but in fact it has a bunch of mistakes. Fixing....

Should be fixed, apologies again.--b.

No worries. Thanks for fixing it so fast!

Signature · 1 line
Jeff Layton <[email protected]>