Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #352096 > unrolled thread

Bug#1057921: offlineimap: NameError: name 'fcntl' is not defined

Started bySebastian Ramacher <sramacher@debian.org>
First post2023-12-10 19:10 +0100
Last post2023-12-19 13:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.rc


Contents

  Bug#1057921: offlineimap: NameError: name 'fcntl' is not defined Sebastian Ramacher <sramacher@debian.org> - 2023-12-10 19:10 +0100
    Bug#1057921: marked as done (offlineimap: NameError: name 'fcntl'  is not defined) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-12-19 13:10 +0100

#352096 — Bug#1057921: offlineimap: NameError: name 'fcntl' is not defined

FromSebastian Ramacher <sramacher@debian.org>
Date2023-12-10 19:10 +0100
SubjectBug#1057921: offlineimap: NameError: name 'fcntl' is not defined
Message-ID<HJwpz-cFfG-5@gated-at.bofh.it>
Package: offlineimap
Version: 7.3.3+dfsg1-1+0.0~git20231201.77e70ed+dfsg-1
Severity: grave
X-Debbugs-Cc: sramacher@debian.org

offlineimap no longer works after the last upgrade due to a missing
import.

$ offlineimap -a mailhost
OfflineIMAP 8.0.0
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
imaplib2 v3.05, Python v3.11.7, OpenSSL 3.1.4 24 Oct 2023
*** Processing account mailhost
Establishing connection to tunnel:ssh -i /home/sebastian/.ssh/offlineimap -C -q mailhost -S none '/usr/bin/imapd ./Maildir' (mailhost_imap)
ERROR: While attempting to sync account 'mailhost'
  name 'fcntl' is not defined
*** Finished account 'mailhost' in 0:00
ERROR: Exceptions occurred during the run!
ERROR: While attempting to sync account 'mailhost'
  NameError: name 'fcntl' is not defined


Traceback:
  File "/usr/share/offlineimap3/offlineimap/accounts.py", line 298, in syncrunner
    self.__sync()
  File "/usr/share/offlineimap3/offlineimap/accounts.py", line 375, in __sync
    remoterepos.getfolders()
  File "/usr/share/offlineimap3/offlineimap/repository/IMAP.py", line 698, in getfolders
    imapobj = self.imapserver.acquireconnection()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 552, in acquireconnection
    imapobj = imaplibutil.IMAP4_Tunnel(
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/offlineimap3/offlineimap/imaplibutil.py", line 133, in __init__
    IMAP4.__init__(self, tunnelcmd, **kwargs)
  File "/usr/lib/python3/dist-packages/imaplib2.py", line 336, in __init__
    self.open(host, port)
  File "/usr/share/offlineimap3/offlineimap/imaplibutil.py", line 145, in open
    self.set_nonblocking(self.read_fd)
  File "/usr/share/offlineimap3/offlineimap/imaplibutil.py", line 151, in set_nonblocking
    fl = fcntl.fcntl(fd, fcntl.F_GETFL)
         ^^^^^

Cheers

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (650, 'unstable-debug'), (650, 'unstable'), (601, 'testing'), (600, 'experimental-debug'), (600, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-5-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages offlineimap depends on:
ii  offlineimap3  0.0~git20231201.77e70ed+dfsg-1

offlineimap recommends no packages.

offlineimap suggests no packages.

-- no debconf information

-- 
Sebastian Ramacher

[toc] | [next] | [standalone]


#352995 — Bug#1057921: marked as done (offlineimap: NameError: name 'fcntl' is not defined)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2023-12-19 13:10 +0100
SubjectBug#1057921: marked as done (offlineimap: NameError: name 'fcntl' is not defined)
Message-ID<HMH57-eDnt-21@gated-at.bofh.it>
In reply to#352096

[Multipart message — attachments visible in raw view] — view raw

Your message dated Tue, 19 Dec 2023 12:08:13 +0000
with message-id <E1rFYtR-00DAXv-RH@fasolo.debian.org>
and subject line Bug#1057921: fixed in offlineimap3 0.0~git20231218.d29a4dc+dfsg-1
has caused the Debian Bug report #1057921,
regarding offlineimap: NameError: name 'fcntl' is not defined
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1057921: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057921
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web