Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.0.2
-
Fix Version/s: None
-
Component/s: Mapping Drivers
-
Security Level: All
-
Labels:None
-
Environment:Ubuntu 10.10; PHP 5.3;
Description
As of the release of Doctrine ORM 2.0.2 I cannot seem to be able to use the Yaml mapping driver.
PHP Warning: require(/usr/share/php/Doctrine/Symfony/Component/Yaml/Yaml.php): failed to open stream: No such file or directory in /usr/share/php/Doctrine/Common/ClassLoader.php on line 148
I do have the Doctrine 2.0.2 packages installed, here's the output from my console:
Installed packages, channel pear.doctrine-project.org:
======================================================
Package Version State
DoctrineCommon 2.0.1 stable
DoctrineDBAL 2.0.2 stable
DoctrineORM 2.0.2 stable
DoctrineSymfonyConsole 2.0.2 stable
DoctrineSymfonyYaml 2.0.2 stable
It is all up to date, so I am not missing anything.
root@nikola-pc:/usr/share/php# pear upgrade-all
Nothing to upgrade-all
Navigating to the /usr/share/php folder, where the PEAR and all other stuff is located I can't seem to find the Yaml.php file, which should be distributed by some of the newly formed packages.
root@nikola-pc:/usr/share/php# find -iname 'yaml*'
./Doctrine/ORM/Mapping/Driver/YamlDriver.php
./Doctrine/ORM/Tools/Export/Driver/YamlExporter.php
./.registry/.channel.pear.symfony-project.com/yaml.reg
./data/DoctrineSymfonyYaml/Doctrine/Symfony/Component/Yaml
./PHPUnit/Extensions/Database/DataSet/YamlDataSet.php
./PHPUnit/Extensions/Database/DataSet/Persistors/Yaml.php
./PHPUnit/Extensions/Database/DataSet/Specs/Yaml.php
./SymfonyComponents/YAML
root@nikola-pc:/usr/share/php# find -iname 'yaml.php'
./PHPUnit/Extensions/Database/DataSet/Persistors/Yaml.php
./PHPUnit/Extensions/Database/DataSet/Specs/Yaml.php
root@nikola-pc:/usr/share/php#
root@nikola-pc:/usr/share/php/data/DoctrineSymfonyYaml# find
.
./LICENSE
./Doctrine
./Doctrine/Symfony
./Doctrine/Symfony/Component
./Doctrine/Symfony/Component/Yaml
./Doctrine/Symfony/Component/Yaml/LICENSE
./bin
./bin/doctrine.bat
./bin/doctrine
root@nikola-pc:/usr/share/php/data/DoctrineSymfonyYaml#
Please advise me what the possible solution would be in this case?
What Files are in the ./Doctrine/Symfony/Component/YAML Directory? Only LICENSE? Then maybe my build failed somehow.