Package Details: python-airnef 1.1-7

Git Clone URL: https://aur.archlinux.org/python-airnef.git (read-only, click to copy)
Package Base: python-airnef
Description: Wireless download from your Nikon/Sony/Canon camera
Upstream URL: https://testcams.com/airnef/
Licenses: GPL-3.0-only
Submitter: ser
Maintainer: SpotlightKid
Last Packager: SpotlightKid
Votes: 4
Popularity: 0.000000
First Submitted: 2015-10-16 07:27 (UTC)
Last Updated: 2024-05-10 04:28 (UTC)

Latest Comments

1 2 Next › Last »

emgaron commented on 2024-05-10 09:31 (UTC)

Yes, now it works out of the box - thank you for your support of this package!

SpotlightKid commented on 2024-05-10 04:30 (UTC)

@emgaron: Turns out, airnef had an outdated, vendored copy of six.py, which is incompatible with Python 3.12. I updated the package to not install this module, so it uses the system-installed one, which works with Python 3.12.

emgaron commented on 2024-05-09 23:32 (UTC)

Just tried the latest version of the package (thank you very much!). Unfortunately, the ModuleNotFoundError: No module named 'six.moves' still happens. I just did a quick experiment (I'm not a Python-expert...) and added import six.moves to the else case in the airnef Python-script - then it seems to work.

emgaron commented on 2024-05-09 10:12 (UTC) (edited on 2024-05-09 12:38 (UTC) by emgaron)

Just installed this package on an up-to-date Arch and airnef fails to start:

$ airnef
Traceback (most recent call last):
  File "/usr/bin/airnef", line 42, in <module>
    from six.moves.tkinter import *
ModuleNotFoundError: No module named 'six.moves'

The only reference I found to six.moves is /usr/lib/python3.12/site-packages/pip/_vendor/six/moves which belongs to python-pip 24.0-2.

Also, the link for the source does not work any more - it looks like the testcams.com site no longer exists. I've used https://horshack-dpreview.github.io/airnef/Version_1.1/airnef_v1.1_Source.zip instead.

SpotlightKid commented on 2021-04-30 21:00 (UTC)

@warp4ever: sorry, I can't help you with finding or fixing bugs in the upstream software. Please contact the author of airnef or use the forum liked on the home page.

warp4ever commented on 2021-04-30 20:41 (UTC) (edited on 2021-04-30 20:42 (UTC) by warp4ever)

With new patch I can connect, but no downloads because Wifi on camera switches off when I click on the download button

airnef v1.1 - Wireless transfer of images/movies for Nikon cameras [GPL v3] Copyright (c) TestCams.com, Time: 04/30/21 22:28:18, Py: 3.9.4, OS: Linux

Connection established to 192.168.1.1:15740 Camera Model "D500", S/N "XXXXXXX" MTP_OP_GetTransferList: Socket error, partial data received - 0x0 of 0x0 bytes for specific payload, 0x0 of 0x0 of total data bytes expected. Error: timed out >> Connection Failed <<Could not open socket: [Errno 113] No route to host>> Connection Failed <<Could not open socket: [Errno 101] Network is unreachable>> Connection Failed <<

SpotlightKid commented on 2021-04-17 16:48 (UTC)

@warp4ever: this is an upstream bug. The import of the "re" module is missing in airnef.py.

Since upstream doesn't seem to be developed anymore, I updated the patch, which gets applied when building this package to add the missing import, which should fix the issue. If not, let me know.

warp4ever commented on 2021-04-17 15:24 (UTC)

Not working: Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python3.9/tkinter/init.py", line 1892, in call return self.func(args) File "/usr/bin/airnef", line 810, in <lambda> self.createStartDownloadFrameAndButton_PackOnRightInParent(self.contentFrame, lambda : self.wizard_1_0_ButtonClick('start_download_selected_in_camera'), File "/usr/bin/airnef", line 860, in wizard_1_0_ButtonClick launchAirnefcmd(argStr) File "/usr/bin/airnef", line 249, in launchAirnefcmd argList = createArgListFromArgStr(argStr) File "/usr/bin/airnef", line 231, in createArgListFromArgStr return [x.strip('"') for x in re.split('( |".?")', argStr) if x.strip()] NameError: name 're' is not defined

SpotlightKid commented on 2020-06-28 17:15 (UTC)

@atescula: upstream switched their web server to HTTPS only (with redirect from HTTP to HTTPS) but apparently there's a problem with the certificate (only shows with curl/openssl. not with FF/Chromium). I added --insecure to the curl options. The SHA512 hash should still protect AUR users from tampering.

atescula commented on 2020-06-28 14:11 (UTC)

curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. ==> ERROR: Failure while downloading http://www.testcams.com/airnef/Version_1.1/airnef_v1.1_Source.zip Aborting... Error downloading sources: python-airnef [andrei@peanut airnef]$