Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] #3

Open
aglalit opened this issue Dec 2, 2021 · 5 comments
Open

[Bug] #3

aglalit opened this issue Dec 2, 2021 · 5 comments
Assignees
Labels
Type: Bug Something isn't working as expected.

Comments

@aglalit
Copy link

aglalit commented Dec 2, 2021

🐞 Bug Report

Doesn't work, here is the log:

Uploading file...
Traceback (most recent call last):
File "compress.py", line 51, in
task.execute()
File "/usr/local/lib/python3.8/site-packages/pylovepdf/task.py", line 169, in execute
self.upload()
File "/usr/local/lib/python3.8/site-packages/pylovepdf/task.py", line 79, in upload
file.server_filename = response.server_filename
AttributeError: 'Response' object has no attribute 'server_filename'

@aglalit aglalit added the Type: Bug Something isn't working as expected. label Dec 2, 2021
@welcome
Copy link

welcome bot commented Dec 2, 2021

Thanks for opening your first issue in Josee9988/project-template! Be sure to follow the issue template and provide every bit of information to help the developers!

@Josee9988
Copy link
Owner

Have you renamed the .env.example to .env and modified it with your credentials?

@aglalit
Copy link
Author

aglalit commented Dec 2, 2021

Have you renamed the .env.example to .env and modified it with your credentials?

Yes. I'll check my machine for firewall issues. Also, maybe there is a problem with a large file (50MB), which took too long to upload, so it broke the pipeline.

@Josee9988
Copy link
Owner

Also check to choose the a directory with at least 2 files because there is an unfixed bug that may occur if you only upload 1 file.
(This script is still untested and in beta versions so errors and unexpected bugs might happen)

@Josee9988
Copy link
Owner

Did it work @aglalit ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as expected.
Projects
None yet
Development

No branches or pull requests

2 participants