<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Thema "Betreff: Python Problem" in Programmierung</title>
    <link>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/656649#M8066</link>
    <description>&lt;P&gt;Neuaufsetzen wäre auf jeden Fall übertrieben.&lt;/P&gt;
&lt;P&gt;Du kannst erstmal probieren nur einen neuen Benutzer anzulegen.&lt;/P&gt;
&lt;P&gt;Was du auch machen kannst, ist das Script nicht von der Python-Palette aus, sondern z.B. von VSCode aus zu starten. &lt;/P&gt;
&lt;P&gt;Du hattest es mit anderen Python-Versionen ebenfalls probiert, richtig? Dann wird der Fehler evtl. eher auf Archicad-Seite zu suchen sein.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Mar 2025 20:32:00 GMT</pubDate>
    <dc:creator>runxel</dc:creator>
    <dc:date>2025-03-21T20:32:00Z</dc:date>
    <item>
      <title>Python Problem</title>
      <link>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/656582#M8061</link>
      <description>&lt;P&gt;Ich habe seit kurzem einen Fehler in der Python Console.&lt;/P&gt;
&lt;P&gt;Ich hab das Python Script neu installiert - Version 3.12.0 - der selbe Fehler taucht aber auch mit anderen Python Versionen auf.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/http/client.py", line 300, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kennt das jemand von euch? Ich komme hier nicht weiter.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 10:05:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/656582#M8061</guid>
      <dc:creator>pr3</dc:creator>
      <dc:date>2025-03-21T10:05:03Z</dc:date>
    </item>
    <item>
      <title>Betreff: Python Problem</title>
      <link>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/656622#M8062</link>
      <description>&lt;P&gt;Magst du vielleicht noch ein paar mehr Informationen liefern? Ist ein bisschen schwierig zu beurteilen, was hier passiert.&lt;/P&gt;
&lt;P&gt;Den Fehler hab ich jetzt noch nicht gesehen...&lt;/P&gt;
&lt;P&gt;Aber fangen wir doch erstmal beim Urschleim an:&lt;/P&gt;
&lt;P&gt;Welche Archicad-Version? Verwendest du die Python-Palette oder startest du das Script extern?&lt;/P&gt;
&lt;P&gt;Lief das Script schon mal und der Fehler taucht jetzt erst auf?&lt;/P&gt;
&lt;P&gt;Wann tritt der Fehler auf? Wie sieht dein Script aus?&lt;/P&gt;
&lt;P&gt;... usw.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 14:46:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/656622#M8062</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2025-03-21T14:46:40Z</dc:date>
    </item>
    <item>
      <title>Betreff: Python Problem</title>
      <link>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/656626#M8063</link>
      <description>&lt;P&gt;Na klar, sorry &lt;span class="lia-unicode-emoji" title=":leicht_lächelndes_Gesicht:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Archicad 28.0.2 auf OS 14 Mac Studio&lt;/P&gt;
&lt;P&gt;Ich verwende die Python Palette in Archicad.&lt;/P&gt;
&lt;P&gt;Ich verwende das Sum Area &lt;A title="Sum Area" href="https://community.graphisoft.com/t5/Archicad-Python-API/PYTHON-Sum-area-script/m-p/371704#M319" target="_blank" rel="noopener"&gt;Script&lt;/A&gt;. &amp;nbsp;Wir verwenden das Script seit einem guten Jahr&amp;nbsp;&lt;/P&gt;
&lt;P&gt;auf mehreren Rechnern im Büro (selbe Hardware oder auch IMAC) ohne Probleme.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Auch bei mir ist es auf Anhieb ohne Probleme gelaufen - dann hab ich das script ein paar Monate nicht verwendet&lt;/P&gt;
&lt;P&gt;und nun hab ich diese Meldung in der Konsole.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hier noch die gesamte Konsole:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;==========

Skript SCRIPT_SumAreaScript_Parametres.py wird ausgeführt

Traceback (most recent call last):
  File "/Volumes/bergwerk ORGANISATION/Vorlagen/01 Archicad Vorlagen/Python Scripts/SCRIPT_SUM AREA SCRIPT/SCRIPT_SumAreaScript_Parametres.py", line 24, in &amp;lt;module&amp;gt;
    conn = ACConnection.connect()
  File "/Users/studio1/Library/Python/3.9/lib/python/site-packages/archicad/connection.py", line 66, in connect
    conn = ACConnection.connect_from_args()
  File "/Users/studio1/Library/Python/3.9/lib/python/site-packages/archicad/connection.py", line 79, in connect_from_args
    return ACConnection.connect(port)
  File "/Users/studio1/Library/Python/3.9/lib/python/site-packages/archicad/connection.py", line 60, in connect
    conn = ACConnection(port)
  File "/Users/studio1/Library/Python/3.9/lib/python/site-packages/archicad/connection.py", line 38, in __init__
    self.version, self.build, self.lang = basic_commands.GetProductInfo()
  File "/Users/studio1/Library/Python/3.9/lib/python/site-packages/archicad/commands.py", line 48, in GetProductInfo
    result = post_command(self.__req, json.dumps({"command": "API.GetProductInfo"}))
  File "/Users/studio1/Library/Python/3.9/lib/python/site-packages/archicad/commands.py", line 13, in post_command
    response = urlopen(req, jsonStr.encode("UTF-8"))
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 517, in open
    response = self._open(req, data)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 534, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1375, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1350, in do_open
    r = h.getresponse()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/http/client.py", line 1349, in getresponse
    response.begin()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/http/client.py", line 316, in begin
    version, status, reason = self._read_status()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/http/client.py", line 285, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

=== Prozess abgebrochen ===&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 15:01:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/656626#M8063</guid>
      <dc:creator>pr3</dc:creator>
      <dc:date>2025-03-21T15:01:46Z</dc:date>
    </item>
    <item>
      <title>Betreff: Python Problem</title>
      <link>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/656638#M8064</link>
      <description>&lt;P&gt;Danke pre3!&lt;/P&gt;
&lt;P&gt;Hmm. Habt ihr sonst was verändert, seit ihr/du das letzte Mal das Script habt laufen lassen?&lt;/P&gt;
&lt;P&gt;Der Fehler deutet darauf hin, dass keine Kommunikation zu Archicad zustande kam. &lt;EM&gt;Warum&lt;/EM&gt; allerdings, das geht daraus nicht hervor.&lt;/P&gt;
&lt;P&gt;Wurde vielleicht der Port hart kodiert und das laufende Archicad hat einen ganz anderen Port offen? (den aktuell verwendeten sieht man durch Knopfdruck aufs (i) Symbol)&lt;/P&gt;
&lt;P&gt;Oder gehts auch bei allen Kollegen nicht mehr? Vielleicht habt ihr ja was am Setup geändert, z.B. durch die Installation einer neuen Firewall.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 15:44:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/656638#M8064</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2025-03-21T15:44:12Z</dc:date>
    </item>
    <item>
      <title>Betreff: Python Problem</title>
      <link>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/656644#M8065</link>
      <description>&lt;P&gt;Auf allen anderen Rechnern läuft Python ganz sauber - alle Rechner sind gleich konfiguriert.&amp;nbsp;&lt;BR /&gt;Ich hab mir auch schon den Kopf zerbrochen aber nichts dergleichen wurde verändert.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Aktuell fällt mir nur ein den Mac neu aufzesetzen - das würd ich aber gerne vermeiden&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;danke für deine Bemühungen&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 17:11:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/656644#M8065</guid>
      <dc:creator>pr3</dc:creator>
      <dc:date>2025-03-21T17:11:20Z</dc:date>
    </item>
    <item>
      <title>Betreff: Python Problem</title>
      <link>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/656649#M8066</link>
      <description>&lt;P&gt;Neuaufsetzen wäre auf jeden Fall übertrieben.&lt;/P&gt;
&lt;P&gt;Du kannst erstmal probieren nur einen neuen Benutzer anzulegen.&lt;/P&gt;
&lt;P&gt;Was du auch machen kannst, ist das Script nicht von der Python-Palette aus, sondern z.B. von VSCode aus zu starten. &lt;/P&gt;
&lt;P&gt;Du hattest es mit anderen Python-Versionen ebenfalls probiert, richtig? Dann wird der Fehler evtl. eher auf Archicad-Seite zu suchen sein.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 20:32:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/656649#M8066</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2025-03-21T20:32:00Z</dc:date>
    </item>
    <item>
      <title>Betreff: Python Problem</title>
      <link>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/657306#M8067</link>
      <description>&lt;P&gt;Ich hab nun einen neuen Benutzer angelegt und das Python-Script ausprobiert. Es läuft!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Neuer Benutzer, &lt;STRONG&gt;selbe Archicad Installation, selbe Python installation&lt;/STRONG&gt; - keine Veränderungen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 09:11:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/Python-Problem/m-p/657306#M8067</guid>
      <dc:creator>pr3</dc:creator>
      <dc:date>2025-03-27T09:11:13Z</dc:date>
    </item>
  </channel>
</rss>

