This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author 888xray999
Recipients 888xray999, paul.j3, rhettinger
Date 2020-03-05.09:50:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583401814.93.0.053077511778.issue39845@roundup.psfhosted.org>
In-reply-to
Content
Yes, the problem seems to be with sys.argv.:

Windows output:
python .\main.py -d Z:\tmp\test\DJI\ 'C:\unu doi\'
sys.argv:
['.\\CamCardOrganizer.py', '-d', 'Z:\\tmp\\test\\DJI\\', 'C:\\unu doi"']
args namespace:
Namespace(capturedatefmt='%y.%m.%d', capturetimefmt_full='%y.%m.%d_%H-%M-%S', ca
pturetimefmt_short='%y.%m.%d_%H', dest_dir='C:\\unu doi"', dry_run=True, output_
file='stdout', processes=2, src_dir='Z:\\tmp\\test\\DJI\\', tl_interval_threshol
d=30, tl_numimages_threshold=75, verbose=False, version=None)

Linux output:
python main.py --verbose ~/tmp/test/DJI/ /tmp/123
sys.argv:
['CamCardOrganizer.py', '--verbose', '/home/ion/tmp/test/DJI/', '/tmp/123']
args namespace:
Namespace(capturedatefmt='%y.%m.%d', capturetimefmt_full='%y.%m.%d_%H-%M-%S', capturetimefmt_short='%y.%m.%d_%H', dest_dir='/tmp/123', dry_run=False, output_file='stdout', processes=2, src_dir='/home/ion/tmp/test/DJI/', tl_interval_threshold=30, tl_numimages_threshold=75, verbose=True, version=None)
History
Date User Action Args
2020-03-05 09:50:14888xray999setrecipients: + 888xray999, rhettinger, paul.j3
2020-03-05 09:50:14888xray999setmessageid: <1583401814.93.0.053077511778.issue39845@roundup.psfhosted.org>
2020-03-05 09:50:14888xray999linkissue39845 messages
2020-03-05 09:50:14888xray999create