Beiträge zum Thema "(Web) Development"

PuTTY: Unable to use key file…

29. November 2010 | keine Kommentare

Gerade bin ich auf folgendes Problem bei der PuTTY-Nutzung gestoßen:

Unable to use key file "C:\Users\Andre\key.pem" (Open SSH-2 private key)

Ich hatte versucht einen OpenSSH-Key zu nutzen, ohne diesen vorher in PuTTYs ppk-Format umzuwandeln. Die Lösung des Problems ist recht simpel: Mit PuTTYgen lässt sich mit wenigen Klicks aus einem OpenSSH-Key ein PuTTY-ppk-Key erstellen. Sobald dieser in PuTTY hinterlegt ist, kann die Verbindung problemlos hergestellt werden.

Weitere Informationen gibt es hier.

THEMA: (Web) Development

setuptools & easy_install unter Windows 7 (64 Bit)

14. August 2010 | keine Kommentare

Da ich mich gerade bei der Installation der Python setuptools unter Windows (64 Bit) etwas dämlich angestellt habe – der reguläre Windows Installer läuft nämlich nicht… – hier die einfache Lösung:

  1. Aktuelles setuptools-egg runterladen.
  2. Außerhalb der Python-Installation entpacken.
  3. Via Konsole python setup.py install ausführen.

… und wo wir gerade dabei sind: Wer versucht SOAPpy via easy_install zu installieren, der findet hier die Lösung.

THEMA: (Web) Development

Probleme mit cURL POST-Request: “Failed to open/read local data from file/application”

29. September 2009 | 2 Kommentare

Nachdem ich eine Weile erfolglos versucht habe mit PHP’s cURL POST-Requests via SSL zu senden – es trat stets der Fehler 26 “Failed to open/read local data from file/application” auf – habe ich nach einer Weile die (wieder einmal sehr simple) Antwort gefunden. Selbst wenn keine Daten per POST gesendet werden, muss folgende Option gesetzt sein:

curl_setopt($ch, CURLOPT_POSTFIELDS, '');

… dann klappt’s auch mit dem cURL POST via SSL.

THEMA: (Web) Development

How to use Ext JS with Pylons and Mako

10. September 2009 | Ein Kommentar

ExtJS and AJAXIn this little tutorial I will show you how to use the Python web framework Pylons and the Mako template library with the cross-browser JavaScript framework Ext JS.

I will explain how to set up a complex layout (this means an Ext.Viewport) and how to dynamically load its contents and further functionality.

First of all, you need to set up Pylons and a create a new project. Let’s  name it “PylonsAndExt”. During setup, mako needs to be selected as our template engine. We do not require SQLAlchemy support…

» weiterlesen

THEMEN: (Web) Development, Ext JS, Pylons Web Framework