SelfSolved

Record, recall, share

  • Log in
  • Sign up
  • About
  • What's New
  • Home
  • All Problems
  • SelfSolvers
Thumb_cartoon_futurama_flexo_thumb
102 XP

Registered: 2009-01-21

Update: about 1 month ago

Problems: 4

Solutions: 4

References: 2

Problem views: 300

Unsolved problem views: 73

hannes

User

Recent problems

Atom Feed

#82: Django: "Upload a valid image. The file you uploaded was either not an image or a corrupted image."

Solved!
on January 13, 2010, 11:32 AM UTC   —   from   Thumb_cartoon_futurama_flexo_small hannes    ( 134 views )
When uploading an image with Django, I get: "Upload a valid image. The file you uploaded was either not an image or a corrupted image."
Tags: python django jpeg pil
1 solution | 1 reference     Add Solution | Add Reference    

#50: MySQL suddenly stops working: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

on June 03, 2009, 09:05 AM UTC   —   from   Thumb_cartoon_futurama_flexo_small hannes    ( 37 views )
I had to reboot my Mac (OS 10.5, Intel MBP). After that, MySQL wouldn't start back up, giving me: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to call mysql on the command line. Calling mysql...
Tags: mysql mac
1 solution | 0 references     Add Solution | Add Reference    

#4: Paster restart socket error

on January 22, 2009, 03:38 PM UTC   —   from   Thumb_cartoon_futurama_flexo_small hannes    ( 36 views )
After saving source files (with --reload option activated), sometimes paster can't restart and encounters the below error. Mac OS 10.5 ------------------------- Starting server in PID 58828. Traceback (most recent call last): File "/usr/local/bin/paster...
Tags: Paster, Pylons, web framework, socket, web server, python
2 solutions | 0 references     Add Solution | Add Reference    

#3: iPython indents and command history broken

Solved!
on January 21, 2009, 02:04 AM UTC   —   from   Thumb_cartoon_futurama_flexo_small hannes    ( 95 views )
Pretty suddenly, ipython was acting weird. Auto-indentation after opening an if statement or loop stopped working. Command history (by pressing the up-arrow) yielded gibberish. Using Mac OS 10.5 and bash.
Tags: python, ipython
2 solutions | 1 reference     Add Solution | Add Reference    
  • About Us
  • Contact
  • Terms of Service
  • Privacy
  • Feedback
  • © 2009-2010 All rights reserved
  • Hosted on Linode