whatsapp-portable icon indicating copy to clipboard operation
whatsapp-portable copied to clipboard

JavaScript error when new update available

Open TobinskiGitHub opened this issue 3 years ago • 49 comments

Hi!

I have still the same problem with 2.2134.10-32 like bevor. I already change the folder to store WhatsApp, but the same issue occur again.

image

Logs

`Wed, 13 Oct 2021 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:118 > -------- Wed, 13 Oct 2021 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:119 > Operating System: Windows 10.0.18363 Wed, 13 Oct 2021 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:120 > Starting WhatsApp 2.2134.10-32 (portapps 3.3.1)... Wed, 13 Oct 2021 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:121 > Release date: 2021/10/13 02:44:15 Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:122 > Publisher: CrazyMax (https://github.com/portapps/whatsapp-portable) Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:123 > Root path: C:\06-Download\whatsapp-portable-win64-2.2134.10-32 Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:127 > Configuration: common: disable_log: false args: [] env: {} app_path: "" app: cleanup: false

Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:167 > Process: C:\06-Download\whatsapp-portable-win64-2.2134.10-32\app\WhatsApp.exe Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:168 > Args (config file): Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:169 > Args (cmd line): Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:170 > Args (hardcoded): --user-data-dir=C:\06-Download\whatsapp-portable-win64-2.2134.10-32\data Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:171 > Working dir: C:\06-Download\whatsapp-portable-win64-2.2134.10-32\app\app-2.2134.10 Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:172 > App path: C:\06-Download\whatsapp-portable-win64-2.2134.10-32\app Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:173 > Data path: C:\06-Download\whatsapp-portable-win64-2.2134.10-32\data Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:174 > Previous path: Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:180 > Launching WhatsApp Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:190 > Exec C:\06-Download\whatsapp-portable-win64-2.2134.10-32\app\WhatsApp.exe --user-data-dir=C:\06-Download\whatsapp-portable-win64-2.2134.10-32\data

Wed, 13 Oct 2021 09:29:49 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:211 > Closing WhatsApp `

TobinskiGitHub avatar Oct 13 '21 07:10 TobinskiGitHub

Same here. Installed also in a fresh Virtual Machine. No go. CT

caspertone2003 avatar Oct 13 '21 17:10 caspertone2003

Same here (using Windows 10 Pro): whatsapp

alienfactor avatar Oct 14 '21 03:10 alienfactor

Unfortunately same here....

Joe-LEV avatar Oct 16 '21 16:10 Joe-LEV

Here's a temporary fix !

  1. Go to the official Whatsapp install folder AppData\Local\WhatsApp\app-2.2134.10 and copy "resources" folder.

  2. Past or replace the resources folder that you copied into the Portable installation whatsapp-portable-win64-2.2132.6-31\app\app-2.2132.6

  3. Enjoy !

Solofandek avatar Oct 17 '21 14:10 Solofandek

does not work, same java error as before

Joe-LEV avatar Oct 17 '21 14:10 Joe-LEV

The latest update from crazy-max 2.2134.10-32 didn't work for me either, I had to do the same fix I showed earlier !

Solofandek avatar Oct 17 '21 14:10 Solofandek

I downloaded the last working version 2.2123.7-30 and copied not only resources but the whole folder. In my case whatsapp was installed from the Microsoft Store and its location was under C:\Program Files\WindowsApps (hidden folder). So working now.

Other than that, It seems the app is unable to update itself, stuck in an infite loop while trying. Is this a confirmed issue?

schneidermayer avatar Oct 18 '21 10:10 schneidermayer

Ok found the issue. Looks like this error is triggered when there is a new update available.

crazy-max avatar Oct 18 '21 22:10 crazy-max

For me the WA=WorkAround ;-) works, but had to delete the "resources" folder installed by WWA-portable before (don´t understand why but that was so..., perhaps I had any remnant o previous malfunction, or I had to re-run the .exe twice for it to work. So, if it does not work at first copy/overwrite, try it)

Here's a temporary fix !

1. Go to the official Whatsapp install folder _`AppData\Local\WhatsApp\app-2.2134.10`_ and copy "resources" folder.

2. Past or replace the resources folder that you copied into the Portable installation _`whatsapp-portable-win64-2.2132.6-31\app\app-2.2132.6`_

3. Enjoy !

caspertone2003 avatar Oct 20 '21 14:10 caspertone2003

Same problem. Just waiting for fix 🙏

BaeShtark avatar Oct 23 '21 22:10 BaeShtark

  • I confirm the problem.
  • Is there currently a working version. The version I had (app-2.2049.8) forced an update.. but this seems not be working as it keeps "updating"

stenootje avatar Oct 30 '21 08:10 stenootje

@stenootje try https://github.com/portapps/whatsapp-portable/issues/42#issuecomment-945629429

schneidermayer avatar Nov 11 '21 14:11 schneidermayer

SAME issue here.

I also had the same issue as @caspertone2003, and had to completely DELETE the resources folder BEFORE copying over the other one.

Too bad we can't simply pass in something like updates=0 in the shortcut. That would be MUCH simpler.

For me the WA=WorkAround ;-) works, but had to delete the "resources" folder installed by WWA-portable before (don´t understand why but that was so..., perhaps I had any remnant o previous malfunction, or I had to re-run the .exe twice for it to work. So, if it does not work at first copy/overwrite, try it)

Here's a temporary fix !

1. Go to the official Whatsapp install folder _`AppData\Local\WhatsApp\app-2.2134.10`_ and copy "resources" folder.

2. Past or replace the resources folder that you copied into the Portable installation _`whatsapp-portable-win64-2.2132.6-31\app\app-2.2132.6`_

3. Enjoy !

PwrSrg avatar Nov 13 '21 19:11 PwrSrg

I have made a completely clean install.......... first try to run whatsapp-portable.exe and it's not works.

I have look the suggested temporary fix but it's say to install the official version.... if i install it the portable setup it's be optional :)

EDIT The actual Whatsappsetup from official site it's contain a version "WhatsApp-2.2144.11-full.nupkg". You can obtain this file (apparently it's a basic zip file) if you extract the official setup whit a tools like "Universal Extractor".

Apparently all files it's be located here (after extraction): \WhatsAppSetup\WhatsApp-2.2144.11-full\lib\net45

I have tryed to copy all this files to whatsapp-portable\app\app-2.2134.10..... but it's not works.

DjDiabolik avatar Nov 25 '21 16:11 DjDiabolik

Download https://github.com/portapps/whatsapp-portable/releases/tag/2.2134.10-32 and install Delete resource folder in "Portable whatsapp\app\app-2.2134.10"

  1. Download last official whatsapp build: https://web.whatsapp.com/desktop/windows/ "win8 64-bit works in windows 10 too"
  2. 7-zip right click Extract WhatsAppSetup.exe
  3. Enter in extracted WhatsAppSetup folder
  4. 7-zip right click Extract "WhatsApp-2.2147.16-full.nupkg"
  5. Enter in extracted WhatsApp-2.2147.16-full\lib\net45
  6. Copy "resources" folder
  7. Paste in to Portable whatsapp\app\app-2.2134.10
  8. Run whatsapp-portable.exe Works great for me! thank you @caspertone2003

hurameshe avatar Dec 19 '21 19:12 hurameshe

@hurameshe it's the same way i do... apparently for me it's not works..... DOH :(

EDIT Also.... apparently your report link for official WA build it's not anymore valid...... apparently now it's here: https://web.whatsapp.com/desktop/windows/release/x64/WhatsAppSetup.exe

DjDiabolik avatar Dec 20 '21 11:12 DjDiabolik

@hurameshe it's the same way i do... apparently for me it's not works..... DOH :(

EDIT Also.... apparently your report link for official WA build it's not anymore valid...... apparently now it's here: https://web.whatsapp.com/desktop/windows/release/x64/WhatsAppSetup.exe

More detailed information, I hope you find another solution if this information below is not useful to you.

I'm using windows 10 pro 64bit, Ryzen 5 3600 and java enviromment paths: C:\Program Files (x86)\Common Files\Oracle\Java\javapath C:\Program Files\Common Files\Oracle\Java\javapath

C:>java --version openjdk 11.0.12 2021-07-20 OpenJDK Runtime Environment Microsoft-25199 (build 11.0.12+7) OpenJDK 64-Bit Server VM Microsoft-25199 (build 11.0.12+7, mixed mode)

hurameshe avatar Dec 20 '21 11:12 hurameshe

@hurameshe mmmm interesting.... i don't remember if i have the java environment installed on my windows 10 :)

Need to check.....

DjDiabolik avatar Dec 21 '21 00:12 DjDiabolik

@hurameshe solution works for me

midium81 avatar Jan 11 '22 09:01 midium81

@crazy-max I have a problem and where is the solution ?

SWxEng avatar Feb 16 '22 22:02 SWxEng

Download https://github.com/portapps/whatsapp-portable/releases/tag/2.2134.10-32 and install

. Delete ALL FILES from "whatsapp portable\app\app-2.2134.10" folder

. Download the latest official version of whatsapp: https://web.whatsapp.com/desktop/windows/

(win8 64-bit also works on windows 10)

.. 7-zip right click Extract WhatsAppSetup.exe

... Enter the extracted WhatsAppSetup folder

.... 7-zip right click Extract "WhatsApp-2.2147.16-full.nupkg"

..... Enter WhatsApp-2.2147.16-full\lib\net45 extracted

. Copy ALL FILES FROM net45 folder

. Paste ALL COPIED FILES into "whatsapp\app\app-2.2134.10" folder

. Run whatsapp-portable.exe

. It worked really well for me!

. thanks @caspertone2003

. thanks @hurameshe

DarkCapital avatar Feb 17 '22 01:02 DarkCapital

@DarkCapital

Why is it so difficult ? . Long and I didn't like it . It is a portable program that is supposed to transfer flash

SWxEng avatar Feb 17 '22 01:02 SWxEng

@DarkCapital

Why is it so difficult ? . Long and I didn't like it . It is a portable program that is supposed to transfer flash

I also think it should be like this....

But the official whataspp has created more and more difficulties to avoid hacking and that includes imposing restrictions on the creation of the portable version...

It's not the fault of whoever created the portable app, but of Zuckeberg's company...

DarkCapital avatar Feb 18 '22 20:02 DarkCapital

@DarkCapital OK Thank You

SWxEng avatar Feb 18 '22 22:02 SWxEng

I follow the step above and I am now able to open the app, but I can't find voice call and video call on the app, anyone experiencing same thing?

Aybee5 avatar Feb 24 '22 11:02 Aybee5

@crazy-max How can we help? I am happy to help testing but have no coding background CT

caspertone2003 avatar Mar 18 '22 21:03 caspertone2003

Can you try the artifact available at https://github.com/portapps/whatsapp-portable/actions/runs/2093325874 and let me know?

crazy-max avatar Apr 05 '22 00:04 crazy-max

Can you try the artifact available at https://github.com/portapps/whatsapp-portable/actions/runs/2093325874 and let me know?

Works a treat! Unzipped, local installed, go go go ...

I am not sure if it was just a local quirk, I had to authenticate twice with the mobile app.

Thanks for keeping portapss WA portable alive and kicking!!

CT

caspertone2003 avatar Apr 14 '22 13:04 caspertone2003

Can you try the artifact available at https://github.com/portapps/whatsapp-portable/actions/runs/2093325874 and let me know?

Wow the 2.2210.9-33 version included seems to work fine also here. Even two instances in the same Windows! Double QR Scan/Login seems to be a new "WhatsApp for Desktop feature". By one test QR Scan/Login was not necessary with every startup, which was a problem in Portables from other sources. So I would be happy if Meta/WhatsApp would allow this to run for some months. Thx @crazy-max

crti avatar Apr 23 '22 12:04 crti

Привет!

У меня все та же проблема с 2.2134.10-32 как и у бевора. Я уже изменил папку для хранения WhatsApp, но та же проблема возникает снова.

изображение

Журналы

`Ср, 13 октября 2021 г., 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:118 > -- ------ Ср, 13 октября 2021 г., 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:119 > Операционная система: Windows 10.0.18363 Wed, 13 Oct 2021 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:120 > Запуск WhatsApp 2.2134 .10-32 (portapps 3.3.1)... Ср, 13 октября 2021 г., 09:29:46 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:121 > Дата выпуска: 2021/10/13 02:44:15 Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:122 > Издатель: CrazyMax ( https://github.com/portapps/whatsapp-portable ) Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:123 > Корневой путь: C:\06-Скачать\whatsapp-portable-win64-2.2134.10-32 Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:127 > Конфигурация: общий: отключить_журнал: ложь аргументы: [] окружение: {} путь_приложения: "" приложение: очистка: ложь

Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:167 > Процесс: C :\06-Загрузить\whatsapp-portable-win64-2.2134.10-32\app\WhatsApp.exe Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:168 > Args (config файл): Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:169 > Args (cmd линия): Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:170 > Args (жестко закодированные ): --user-data-dir=C:\06-Download\whatsapp-portable-win64-2.2134.10-32\data Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:171 > Рабочий каталог: C:\06-Загрузить\whatsapp-portable-win64-2.2134.10-32\приложение\приложение-2.2134.10 Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:172 > Путь к приложению: C:\06-Скачать\whatsapp-portable-win64-2.2134.10-32\приложение Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:173 > Путь к данным: C:\06-Скачать\whatsapp-portable-win64-2.2134.10-32\данные Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:174 > Предыдущий путь: Wed, 13 Oct 2021 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:180 > Запуск WhatsApp Ср, 13 октября 2021 г., 09:29:47 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:190 > Exec C: \06-Загрузить\whatsapp-portable-win64-2.2134.10-32\app\WhatsApp.exe --user-data-dir=C:\06-Загрузить\whatsapp-portable-win64-2.2134.10-32\data

Wed, 13 Oct 2021 09:29:49 CEST INF ....\Users\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:211 > Закрытие WhatsApp `

karsarsputniK avatar May 05 '22 04:05 karsarsputniK