RevBusinessCardGen icon indicating copy to clipboard operation
RevBusinessCardGen copied to clipboard

gen fail to start

Open AdamR-7 opened this issue 3 years ago • 8 comments

Generator fail to start after "python gen.py" for this given error:

File "gen.py", line 14 def init(self) -> None: ^ SyntaxError: invalid syntax

AdamR-7 avatar May 31 '22 09:05 AdamR-7

def __init__(self) -> None: In the code is written like this.

devsheva avatar May 31 '22 09:05 devsheva

hi Mateo.

in the code it's written like you said but it brakes on starting.

Here a screenshot

[image: image.png]

if you need more info you can contact me on discord, Omnitel#5251

On Tue, May 31, 2022 at 11:18 AM Mateo @.***> wrote:

def init(self) -> None: In the code is written like this.

— Reply to this email directly, view it on GitHub https://github.com/younesdev1/RevBusinessCardGen/issues/11#issuecomment-1141885460, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWAXCHPQ3UNOA35NZZYQR7DVMXKPRANCNFSM5XM3O64A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

AdamR777 avatar May 31 '22 09:05 AdamR777

I can't see the screenshot, it probably hasn't been uploaded.

hi Mateo. in the code it's written like you said but it brakes on starting. Here a screenshot [image: image.png] if you need more info you can contact me on discord, Omnitel#5251 On Tue, May 31, 2022 at 11:18 AM Mateo @.> wrote: def init(self) -> None: In the code is written like this. — Reply to this email directly, view it on GitHub <#11 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWAXCHPQ3UNOA35NZZYQR7DVMXKPRANCNFSM5XM3O64A . You are receiving this because you are subscribed to this thread.Message ID: @.>

devsheva avatar May 31 '22 09:05 devsheva

hi,

check now please

thanks

On Tue, May 31, 2022 at 11:34 AM Mateo @.***> wrote:

I can't see the screenshot, it probably hasn't been uploaded.

hi Mateo. in the code it's written like you said but it brakes on starting. Here a screenshot [image: image.png] if you need more info you can contact me on discord, Omnitel#5251 … <#m_-8731268756600623274_> On Tue, May 31, 2022 at 11:18 AM Mateo @.> wrote: def init(self) -> None: In the code is written like this. — Reply to this email directly, view it on GitHub <#11 (comment) https://github.com/younesdev1/RevBusinessCardGen/issues/11#issuecomment-1141885460>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWAXCHPQ3UNOA35NZZYQR7DVMXKPRANCNFSM5XM3O64A https://github.com/notifications/unsubscribe-auth/AWAXCHPQ3UNOA35NZZYQR7DVMXKPRANCNFSM5XM3O64A . You are receiving this because you are subscribed to this thread.Message ID: @.>

— Reply to this email directly, view it on GitHub https://github.com/younesdev1/RevBusinessCardGen/issues/11#issuecomment-1141902796, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWAXCHMO4M6QOIRFS7L5MODVMXMKZANCNFSM5XM3O64A . You are receiving this because you commented.Message ID: @.***>

AdamR777 avatar May 31 '22 09:05 AdamR777

Still not available. Try to upload again

devsheva avatar May 31 '22 09:05 devsheva

try with this link please.

https://prnt.sc/ACSiqErk55lF

thanks

On Tue, May 31, 2022 at 11:43 AM Mateo @.***> wrote:

Still not available. Try to upload again

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

AdamR777 avatar May 31 '22 09:05 AdamR777

try with this link please. https://prnt.sc/ACSiqErk55lF thanks On Tue, May 31, 2022 at 11:43 AM Mateo @.> wrote: Still not available. Try to upload again — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

To be honest i can't find the error, can you try to type again the "->" manually ? maybe typo

devsheva avatar May 31 '22 11:05 devsheva

here's a snippet of the code, I even redownloaded it ecc and still have the "SyntaxError: invalid syntax" error

@ import datetime import config import traceback from logging import info, error, basicConfig, INFO, ERROR from datetime import date import time import pathlib import uuid import cloudscraper import os

class RevGen: def init(self) -> None:

    self.ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64)

AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36" if config.DEVICE_ID == "": config.DEVICE_ID = str(uuid.uuid4())

    self.headers_post =  {

where the issue is right after "class RevGen" line

On Tue, May 31, 2022 at 1:38 PM Mateo @.***> wrote:

try with this link please. https://prnt.sc/ACSiqErk55lF thanks … <#m_-7365521308814183268_> On Tue, May 31, 2022 at 11:43 AM Mateo @.> wrote: Still not available. Try to upload again — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

To be honest i can't find the error, can you try to type again the "->" manually ? maybe typo

— Reply to this email directly, view it on GitHub https://github.com/younesdev1/RevBusinessCardGen/issues/11#issuecomment-1142019489, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWAXCHIXDP3WLXRDKD7OVB3VMX22ZANCNFSM5XM3O64A . You are receiving this because you commented.Message ID: @.***>

AdamR777 avatar Oct 11 '22 08:10 AdamR777