Questions tagged [fdb]

fdb is the command-line debugger for ActionScript 3.

fdb can be used to debug Flash, Flex, and AIR applications. It is included as part of the Flex SDK and the AIR SDK.

fdb is also a file extension used for FoxPro or Firebird database files.

34 questions
17
votes
1 answer

How to get data from SNMP with python?

How to get value mac and vlan from fdb table uses python? In bash snmpwalk work fine: snmpwalk -v2c -c pub 192.168.0.100 1.3.6.1.2.1.17.7.1.2.2.1.2 pysnmp: import os, sys import socket import random from struct import pack, unpack from datetime…
uralbash
  • 3,219
  • 5
  • 25
  • 45
14
votes
3 answers

Get list of column names from a Firebird database table

How do you get a list of the column names in an specific table? ie. Firebird table: | name | id | phone_number | get list like this: columnList = ['name', 'id', 'phone_number']
jramirez
  • 8,537
  • 7
  • 33
  • 46
5
votes
0 answers

Haxe/NME game failing on iOS devices after AIR version updated

So, I inherited a game project with the following setup: A core SWF of the game itself, written in Haxe (3.0)/NME (4.0.2), utilizing the Starling framework, compiled to a Flash target using FlashDevelop An AS3 wrapper which deals with assorted…
shiser
  • 262
  • 1
  • 3
  • 13
4
votes
1 answer

How to create "GENERATED BY DEFAULT AS IDENTITY" field in Firebird 3 via SQLAlchemy?

I want create column ID via SQLAlchemy. SQL seems like: CREATE TABLE OBJECT ( ID INTEGER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY, NAME VARCHAR(15) ) Or how to create table with autoincrement field? …
4
votes
2 answers

SQLAlchemy: successful insertion but then raises an exception

I am running SQLAlchemy against FirebirdSQL, and when I execute an insert command in my project, SQLAlchemy is raising an exception on returning from executing against the connection. However, the insert query is being constructed and executed…
Chris Krycho
  • 3,125
  • 1
  • 23
  • 35
3
votes
0 answers

Python, FDB - Firebird timeout

I'm writing a small script with python and the module fdb (http://pythonhosted.org//fdb/index.html) which reads data from a firebird database and then writes it into a postgres database. (With psycopg2 module) Everything works fine except one…
André
  • 31
  • 1
2
votes
1 answer

Firebird connection on a local database impossible within a Python script

I can connect to my Firebird database using Firebird ISQL Tool (Firebird 3.0.4) with the following command: connect "C:\Documents\database.db" user 'USER' password 'PASSWORD'; When I want to do it in a Python script (Python v3.7.7 on a Windows10 64…
hganger
  • 147
  • 2
  • 12
2
votes
2 answers

Connect to Firebird database as read-only

I want to connect to a Firebird database read-only (because the location where the .fdb is read-only for my application. I connect like this: conn = fdb.connect(dsn="/path/to.fdb", user='****', password='****', charset='iso8859_1') The error I am…
Bart Friederichs
  • 33,050
  • 15
  • 95
  • 195
2
votes
1 answer

How to get pdf/jpg files from Firebird 2.5 via Python 3.5?

I use Python 3.5 for this task + library fdb. My script: import fdb con = fdb.connect( host='host', database='database', user='IAKUZNETSOV', password='111111' ) cur = con.cursor() cur.execute("select DATA from ATTACHMENTS where OID =…
2
votes
1 answer

Python 3 + FDB: UnicodeDecodeError

I want to connect to Firebird 2.1 DB that uses cp1251, execute a statement and get the result. Here's what I do: import fdb def get_zone(reg, sps): con = fdb.connect( dsn='172.16.16.77:database', user='SYSDBA', password='1234', …
mekkanizer
  • 722
  • 2
  • 9
  • 28
2
votes
1 answer

Set a breakpoint at a given line number in Adobe's FDB?

I'm learning the Flex command-line debugger, and I haven't been able to find information on this particular use case. I'd like to add a breakpoint to a specific line in one of my class files. I can add breakpoints at the start of a function in a…
bedwyr
  • 5,774
  • 4
  • 31
  • 49
2
votes
1 answer

Support for FDB driver in SQLObject

Does anybody know if there are any support for the new FDB driver in SQLObject, as far as I can tell it only supports the outdated kinterbasedb. TIA
Johan85
  • 21
  • 1
1
vote
1 answer

export table from one firebird database to another

I need to export firebird database from one server to another. like: "IMPORT * FROM 1DB TO 2DB" or something like that im using python 3.11 and FDB lib
Enzer
  • 11
  • 1
1
vote
1 answer

How to solve this Token unknown DatabaseError?

I want to update an fdb file with python, but when trying to insert a string I get this error: DatabaseError Traceback (most recent call last) Cell In[13], line 8 6 num = int(num.strip()) 7 …
1
vote
0 answers

cannot use fdb with python windows 10

I'm unale to connect python to a firebird database using fdb i successefully installed fdb via pip my code looks like: import fdb con = fdb.connect(dsn='localhost:C:\\path\\to\\database.FDB',user='SYSDBA',password='123') When i run it, i got the…
1
2 3