Comments (8)
Can you please post whole text of the error output, including your project path if that is posible.
I suspect there is a space in your project file path or someting similar, that causes the error in getDBObjectFromPath function.
Thanks for your help.
from oradew-vscode.
The Error:
> Executing task: node /home/oracle/.vscode/extensions/mp.oradew-vscode-0.3.11/node_modules/gulp/bin/gulp.js --cwd /home/oracle/Dokumente/Oradew_Test --gulpfile /home/oracle/.vscode/extensions/mp.oradew-vscode-0.3.11/out/gulpfile.js --color true --silent true create --env DEV <
Created file ./src/HR/PACKAGES/HR_TEST_PKG.sql
Created file ./src/HR/PROCEDURES/SECURE_DML.sql
Created file ./src/HR/PROCEDURES/ADD_JOB_HISTORY.sql
Created file ./src/HR/PACKAGE_BODIES/HR_TEST_PKG.sql
Created file ./src/HR/VIEWS/EMP_DETAILS_VIEW.sql
Created file ./src/HR/TRIGGERS/SECURE_EMPLOYEES.sql
Created file ./src/HR/TRIGGERS/UPDATE_JOB_HISTORY.sql
Created file ./src/HR/TRIGGERS/EMPLOYEES_EMPLOYEE_ID_TRG.sql
Created file ./src/HR/TABLES/REGIONS.sql
Created file ./src/HR/TABLES/COUNTRIES.sql
Created file ./src/HR/TABLES/LOCATIONS.sql
Created file ./src/HR/TABLES/DEPARTMENTS.sql
Created file ./src/HR/TABLES/JOBS.sql
Created file ./src/HR/TABLES/EMPLOYEES.sql
Created file ./src/HR/TABLES/JOB_HISTORY.sql
Cannot read property 'toLowerCase' of undefined
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.
The Project path of an generated file:
/home/oracle/Dokumente/Oradew_Test/src/HR/VIEWS/EMP_DETAILS_VIEW.sql
from oradew-vscode.
Nothing unusual ...
One more thing, can you please open an empty file that was created (i.e.: ./src/HR/PACKAGES/HR_TEST_PKG.sql) and execute "Import Current File" (there is a link in the right-click menu or from Command Pallete)
from oradew-vscode.
I tried and got this error:
> Executing task: node /home/oracle/.vscode/extensions/mp.oradew-vscode-0.3.11/node_modules/gulp/bin/gulp.js --cwd /home/oracle/Dokumente/Oradew_Test --gulpfile /home/oracle/.vscode/extensions/mp.oradew-vscode-0.3.11/out/gulpfile.js --color true --silent true import --env DEV --file /home/oracle/Dokumente/Oradew_Test/src/HR/TABLES/DEPARTMENTS.sql <
ORA-31600: invalid input value FILE for parameter OBJECT_TYPE in function GET_DDL
ORA-06512: at "SYS.DBMS_METADATA", line 6478
ORA-06512: at "SYS.DBMS_METADATA", line 6264
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 4152
ORA-06512: at "SYS.DBMS_METADATA_INT", line 4629
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9617
ORA-06512: at "SYS.DBMS_METADATA", line 6207
ORA-06512: at "SYS.DBMS_METADATA", line 6320
ORA-06512: at "SYS.DBMS_METADATA", line 9202
ORA-06512: at line 1
Terminal will be reused by tasks, press any key to close it.
from oradew-vscode.
I have difficulties in reproducing this, because I am on different platform (Win). But it seems as it fails when parsing the file path (to extract "dir", "owner", "objectName" and "objectType", etc.)
oradew-vscode/src/common/utility.js
Lines 46 to 57 in 01f5582
Can you tell me the version of Node you are using. Thanks again (really helpful 👍 )
from oradew-vscode.
Node version is:
v10.16.3
from oradew-vscode.
and OS? :)
from oradew-vscode.
@gitguddy , I rewrote the critical function in the latest version (0.3.12). Can you please confirm if it works now? Thanks again for you help!
from oradew-vscode.
Related Issues (20)
- Run as Script hangs for a few minutes HOT 3
- Windows econding UTF8 problem HOT 42
- Compile error "ERROR ORA-06550: line 3, column 40:" HOT 8
- problems importing packages from the DB HOT 3
- Terminal output problem matcher HOT 26
- Generate: "output" doesn't work
- Extension causes high cpu load HOT 1
- Encoding error when importing the selected object HOT 8
- Displaying umlauts in terminal output
- Encoding problem in SQL-Statements HOT 3
- dbms_metadata.get_ddl does not work when used in UTL_GENERATE_ORADEW HOT 3
- Initialize Workspace not working HOT 8
- Oracle wallet authentication compatibility, userless & passwordless HOT 9
- Error while trying to retrieve text for error ORA-01804 HOT 5
- Drop support for sqlplus, sqlcl Liquibase ci/cd HOT 8
- Support latest version of node HOT 6
- Generating a source from a database HOT 5
- Create source from a non-DEV env
- Problem importing when object has "SQL" in the name HOT 1
- problems connecting to oracle database (proxy authentication) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oradew-vscode.