question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

instaloader version: 4.9b1

.../files/instaloader $ instaloader --login=username :saved

Loaded session from /data/data/com.termux/files/home/.config/instaloader/session-username.
Logged in as username
Retrieving saved posts...
[   1/1332] Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/bin/instaloader", line 33, in <module>
    sys.exit(load_entry_point('instaloader==4.9b1', 'console_scripts', 'instaloader')())
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/instaloader/__main__.py", line 467, in main
    _main(loader,
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/instaloader/__main__.py", line 178, in _main
    instaloader.download_saved_posts(fast_update=fast_update, max_count=max_count,
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/instaloader/instaloader.py", line 81, in call
    return func(instaloader, *args, **kwargs)
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/instaloader/instaloader.py", line 1076, in download_saved_posts
    self.posts_download_loop(node_iterator, ":saved",
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/instaloader/instaloader.py", line 1007, in posts_download_loop
    downloaded = self.download_post(post, target=target)
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/instaloader/instaloader.py", line 667, in download_post
    filename = self.__prepare_filename(filename_template, lambda: post.url)
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/instaloader/instaloader.py", line 625, in __prepare_filename
    os.makedirs(os.path.dirname(filename), exist_ok=True)
  File "/data/data/com.termux/files/usr/lib/python3.10/os.py", line 225, in makedirs
    mkdir(name, mode)
OSError: [Errno 22] Invalid argument: ':saved'

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Thammuscommented, Dec 18, 2021

This is a known problem on file systems that do not support certain characters (#575) like :. However, you can use –dirname-pattern to specify a different target directory.

0reactions
Thammuscommented, Jan 15, 2022

Such a functionality has been discussed in #576 and related issues (like PR #854).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix issues with saved payment info & passwords - Android
You can save your contact, payment, and sign-in info to Chrome. If something doesn't work when you let Chrome remember your info, try...
Read more >
Solved: Issue in saved/starred filters - Atlassian Community
JIRA tells us to create a new filter. I have to remove all my previous filters and then save the new one.
Read more >
How to troubleshoot errors when you save Excel workbooks
Possible reasons why documents don't save ... Select the tab that applies to you, or go to the "Quick resolution" section. ... If...
Read more >
How to Fix the "Word Cannot Complete the Save Due to a File ...
So, to fix the issue, consider changing the file name and saving it in a different location. Here's how to do it. Click...
Read more >
How to solve the saving issues? - Musixmatch Help Center
If you click on “try again” 2 or 3 times, most of the time the saving failed issue disappears. When that does not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found