Instapy: Error with extension.xpi

Created on 16 Aug 2019  路  15Comments  路  Source: timgrossmann/InstaPy

Hi guys,

I get the following output:

Traceback (most recent call last):
File "start.py", line 150, in
multi_logs=True)
File "C:\UsersX\AppData\Roaming\Python\Python37\site-packagesinstapyinstapy.py", line 330, in __init__
self.logger,
File "C:\UsersX\AppData\Roaming\Python\Python37\site-packagesinstapy\browser.py", line 132, in set_selenium_local_session
browser.install_addon(create_firefox_extension(), temporary=True)
File "C:\UsersX\AppData\Roaming\Python\Python37\site-packagesinstapy\browser.py", line 49, in create_firefox_extension
with zipfile.ZipFile(zip_file, "w", zipfile.ZIP_DEFLATED, False) as zipf:
File "C:\UsersX\AppData\Local\Continuumanaconda3\envsinstagram\lib\zipfile.py", line 1204, in __init__
self.fp = io.open(file, filemode)
OSError: [Errno 22] Invalid argument: 'C:\Users\X\InstaPy\assets\extension.xpi'

I tried to uninstall and install InstaPy again, and also I have used different scripts, but I keep getting this problem. Can someone help me? Thank you in advance

wontfix

Most helpful comment

i found a solution... just delete this file C:\UsersX\InstaPyassets\extension.xpi

it worked for me :)

All 15 comments

The same happens to me!

do you fix it out?

I'm having that problem when I try to run 2 or more scripts in the same time.

But if a run a ' taskkill -f -im firefox.exe /-t ' and starts a script again, it will work. But only once :/ to run a different script (not at the same time) I have to run a taskkill again.

Same issue, I reinstal everything again with out succes.

Same here

Same here

@tomerBZ @manualvarez @otomay @jonap339 @John9421 Did you find a solution ?

Using an old version, works like a charm 馃槀

which version are you ussing?

Using an old version, works like a charm 馃槀

which version

i found a solution... just delete this file C:\UsersX\InstaPyassets\extension.xpi

it worked for me :)

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this problem still occurs, please open a new issue

which version are you ussing?

Hey. Same problem with me. Any update?
which version are you using?

which version are you ussing?

Hey. Same problem with me. Any update?
which version are you using?

deleting the extension.xpi file works for me, it is located in c/users/user/instapy/assets/extention.xpi

closing the firefox browser windows and started the application worked for me. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

harrypython picture harrypython  路  3Comments

drcyber975 picture drcyber975  路  3Comments

46960 picture 46960  路  3Comments

seuraltimez picture seuraltimez  路  3Comments

n0sw34r picture n0sw34r  路  3Comments