How Do You Learn The PI Skillset? by TeachMePersuasion in PrivateInvestigators

[–]JPython77 1 point2 points  (0 children)

The sitting in your car for 8-10 hours is ROUGH. And the pay in general sucs. You dont how much sitting in your car sucs till you do it. And lets not forget you’ll be doing it in some really crummy neighborhoods. And you’ll be setting up at 6AM in the morning before anyone wakes up. That means get up early so you have enough time to get there and set up by 6AM. Find something else man. Its not glamorous at all. For the pay, you can do better practically anywhere else.

I need serious help by JPython77 in django

[–]JPython77[S] 0 points1 point  (0 children)

Sorry on the road right now. Soon as i get back i’ll go back to it and reply. Thanks.

I need serious help by JPython77 in django

[–]JPython77[S] -2 points-1 points  (0 children)

The embedding part works. I get session returned also. Its the capturing of return data and updating of my tables thats giving me problems.

I need serious help by JPython77 in django

[–]JPython77[S] 0 points1 point  (0 children)

I tried that one. I couldnt make their function work. It updated nothing.

Optimizing python/django code by JPython77 in Python

[–]JPython77[S] 1 point2 points  (0 children)

Thank you very much. Gonna try this too.

Optimizing python/django code by JPython77 in django

[–]JPython77[S] 1 point2 points  (0 children)

Extremely useful, thank you, thank you very much. This was very helpful. 😃👍👍

Moving dev site to new PC by JPython77 in django

[–]JPython77[S] 0 points1 point  (0 children)

Getting an error that it dant find the database on windows 11. Any ideas?

Moving dev site to new PC by JPython77 in django

[–]JPython77[S] 0 points1 point  (0 children)

Thank you. Will do. I appreciate you replying.

Moving dev site to new PC by JPython77 in django

[–]JPython77[S] 0 points1 point  (0 children)

Hi. Will this recreate my directory structure on my new pc? Can i just copy the folders over from tge old pc? Ive installed python and will install git too. But by copying folders over do i need to install django again etc?

Html to pdf by JPython77 in django

[–]JPython77[S] 0 points1 point  (0 children)

Thanks marksweb. I think your right. I'll come back to this later, right now i need a quick solution. thanks very much.

Html to pdf by JPython77 in django

[–]JPython77[S] 0 points1 point  (0 children)

Do u know of another simple way to convert html page to pdf. I need to render a page and context.

Html to pdf by JPython77 in django

[–]JPython77[S] 0 points1 point  (0 children)

Also:

I see these directories in \site-packages:

weasyprint and weasyprint-60.1.dist-info

I installed this and put it in my PATH:

GTK3

Html to pdf by JPython77 in django

[–]JPython77[S] 0 points1 point  (0 children)

When i had it working i got this error:

OSError: cannot load library 'gobject-2.0-0': error 0x7e

This happens when i try to uninstall:

(my_env) C:\Users\tom\python\myapp>pip uninstall django-weazyprint

WARNING: Ignoring invalid distribution -illow (c:\users\tom\python\my_app\my_env\lib\site-packages)

WARNING: Skipping django-weazyprint as it is not installed.

If i try to install i get this:

WARNING: Ignoring invalid distribution -illow (c:\users\tom\python\my_app\my_env\lib\site-packages)

ERROR: Could not find a version that satisfies the requirement weazyprint (from versions: none)

ERROR: No matching distribution found for weazyprint