Comments (6)
@delivrance Unfortunatetly, I'm not so good at python, so take it as a wish 😄
Also it would be great to have a configuration option of session file placement, because it has the same issue - it creates in execution root
from pyrogram.
Hi, don't name your project folder pyrogram
in the first place, as it can cause some weird issues.
Rename it to something else and let me know if the problem persists.
from pyrogram.
@delivrance Well, I already use other name, just took it here as example
P.S. Issue updated 'pyrogram' => 'MyFancyPythonModule'
from pyrogram.
@Onefivefournine Good, this is indeed some unwanted behaviour. Instead of __file__
you probably want to look at sys.argv
to extract the correct dir. Want to open a PR?
from pyrogram.
@Onefivefournine Noted. There is actually #4 open for that, but I'm still unsure how to make it nicer (without messing too much with Client parameters).
Regarding this issue, I'm labeling it as enhancement.
from pyrogram.
As a temporary workaround for this you can use the api_key parameter instead: https://docs.pyrogram.ml/start/ProjectSetup#configuration
There is also a proxy parameter as well.
from pyrogram.
Related Issues (20)
- Monitor chat updates where i am not a member (not joined this chat)
- Does not return an error when downloading HOT 3
- error 400 from poll HOT 4
- get poll voters info and results HOT 1
- Is pyrogram dead? (Update to latest api version of telegram bot) HOT 6
- Invoke click on inline webapp button
- So The Bug Is In Pyrogram Bot Which Is Present in Support group HOT 2
- copy_message() can't copy boost
- suggest HOT 1
- pyrogram.errors.BadMsgNotification: [16] The msg_id is too low, the client time has to be synchronized. HOT 10
- De-clubber PyPI
- There are multiple videos in a message, but only one video will be downloaded through message.video. Obviously, this is illogical HOT 2
- Обновить
- ОБНОВИТЬ ПАКЕТ СУКА!!!!!!!!!!!!!!!
- ГДЕ ЁБАНЫЕ ОБНОВЛЕНИЯ????????
- Your library is the BEST!
- Which is the Best Fork of Pyrogram? HOT 9
- Message missing text HOT 5
- Fix: Smart-plugin not supporting an off-drive path
- forward_messages missing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyrogram.