Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Help with a script

martip07martip07 Member
edited May 2015 in Help

Hi:

I have to run a comand, for example:

python2.7 /dir/modulo.py

modulo.py has an error (it doesnt matter what kind of error)

The output is:

Starting script...

File " /dir/modulo.py", line 77, in
main(config)
File " /dir/modulo.py", line 62, in main
rows = motorMySQL.getPortalDax(config)
NameError: global name 'motorMySQL' is not defined

I want to save the error in a file, problem is I don't know how to do it.

I tried with:

  python2.7 /dir/modulo.py > error.log

But it just save: "Starting script..." and not the error.

Thanks guys.

Comments

Sign In or Register to comment.