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.

28 questions
16
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
  • 2,267
  • 3
  • 21
  • 45
11
votes
2 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
  • 7,963
  • 6
  • 29
  • 45
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
  • 252
  • 1
  • 3
  • 13
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
  • 2,930
  • 1
  • 20
  • 31
3
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? …
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
  • 30,888
  • 13
  • 85
  • 169
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
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é
  • 21
  • 1
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
  • 462
  • 1
  • 8
  • 25
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,537
  • 4
  • 28
  • 47
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

How to restore a Firebird database in a Python script using FDB?

Firebird 3.0.4 is installed and Python v3.7.7 on a Windows10 64 bits system. I can restore a database with the following command: gbak.exe -r -USER user -PASSWORD password database.fdk database.fdb I would like to do the same using fdb (Firebird…
hganger
  • 97
  • 9
1
vote
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
  • 97
  • 9
1
vote
1 answer

Unable to select from table starting with "@" in Python fdb

I'm using FDB module to fetch data from Firebird database using Python. I'm trying to fetch data from table named @TABLE_NAME, it was not my idea to include "@" in the table name, and it makes it impossible to execute statements on it. When I try to…
1
vote
0 answers

FDB file extension may what database?

I got a fdb file, I thought it's a firebird database file, but cant't open using firebird, and I try sybase again, not work. this file used for a B/S software (java) client cache, maybe pretty old database, and this is not a compressed file,I can…
itsuki
  • 33
  • 1
  • 4
1
2